OSDN Git Service

ae9283da1512884cf5fd46da99e1907106591b2b
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization.  ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17   # is contrary to our usage.  Disable this feature.
18   alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68          X"$0" : 'X\(//\)$' \| \
69          X"$0" : 'X\(/\)$' \| \
70          .     : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73           /^X\/\(\/\/\)$/{ s//\1/; q; }
74           /^X\/\(\/\).*/{ s//\1/; q; }
75           s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88   echo "#! /bin/sh" >conf$$.sh
89   echo  "exit 0"   >>conf$$.sh
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103   test "x$as_lineno_1" != "x$as_lineno_2" &&
104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105   # Find who we are.  Look in the path if we contain no path at all
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117        ;;
118   esac
119   # We did not find ourselves, most probably we were run as `sh COMMAND'
120   # in which case we are not to be found in the path.
121   if test "x$as_myself" = x; then
122     as_myself=$0
123   fi
124   if test ! -f "$as_myself"; then
125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126    { (exit 1); exit 1; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136          case $as_dir in
137          /*)
138            if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142   test "x$as_lineno_1" != "x$as_lineno_2" &&
143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146              CONFIG_SHELL=$as_dir/$as_base
147              export CONFIG_SHELL
148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149            fi;;
150          esac
151        done
152 done
153 ;;
154   esac
155
156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157   # uniformly replaced by the line number.  The first 'sed' inserts a
158   # line-number line before each line; the second 'sed' does the real
159   # work.  The second script uses 'N' to pair each line-number line
160   # with the numbered line, and appends trailing '-' during
161   # substitution so that $LINENO is not a special case at line end.
162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164   sed '=' <$as_myself |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
174   chmod +x $as_me.lineno ||
175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176    { (exit 1); exit 1; }; }
177
178   # Don't try to exec as it changes $[0], causing all sort of problems
179   # (the dirname of $[0] is not the place where we might find the
180   # original and so on.  Autoconf is especially sensible to this).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='      ' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203   # We could just check for DJGPP; but this test a) works b) is more generic
204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205   if test -f conf$$.exe; then
206     # Don't use ln at all; we don't have any links
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete.  It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
273
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 #  include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 #  include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 #  include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
311
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
314
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
334
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
352
353 ac_prev=
354 for ac_option
355 do
356   # If the previous option needs an argument, assign it.
357   if test -n "$ac_prev"; then
358     eval "$ac_prev=\$ac_option"
359     ac_prev=
360     continue
361   fi
362
363   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364
365   # Accept the important Cygnus configure options, so we can diagnose typos.
366
367   case $ac_option in
368
369   -bindir | --bindir | --bindi | --bind | --bin | --bi)
370     ac_prev=bindir ;;
371   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372     bindir=$ac_optarg ;;
373
374   -build | --build | --buil | --bui | --bu)
375     ac_prev=build_alias ;;
376   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377     build_alias=$ac_optarg ;;
378
379   -cache-file | --cache-file | --cache-fil | --cache-fi \
380   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381     ac_prev=cache_file ;;
382   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384     cache_file=$ac_optarg ;;
385
386   --config-cache | -C)
387     cache_file=config.cache ;;
388
389   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390     ac_prev=datadir ;;
391   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392   | --da=*)
393     datadir=$ac_optarg ;;
394
395   -disable-* | --disable-*)
396     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397     # Reject names that are not valid shell variable names.
398     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400    { (exit 1); exit 1; }; }
401     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402     eval "enable_$ac_feature=no" ;;
403
404   -enable-* | --enable-*)
405     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406     # Reject names that are not valid shell variable names.
407     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409    { (exit 1); exit 1; }; }
410     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411     case $ac_option in
412       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413       *) ac_optarg=yes ;;
414     esac
415     eval "enable_$ac_feature='$ac_optarg'" ;;
416
417   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419   | --exec | --exe | --ex)
420     ac_prev=exec_prefix ;;
421   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423   | --exec=* | --exe=* | --ex=*)
424     exec_prefix=$ac_optarg ;;
425
426   -gas | --gas | --ga | --g)
427     # Obsolete; use --with-gas.
428     with_gas=yes ;;
429
430   -help | --help | --hel | --he | -h)
431     ac_init_help=long ;;
432   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433     ac_init_help=recursive ;;
434   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435     ac_init_help=short ;;
436
437   -host | --host | --hos | --ho)
438     ac_prev=host_alias ;;
439   -host=* | --host=* | --hos=* | --ho=*)
440     host_alias=$ac_optarg ;;
441
442   -includedir | --includedir | --includedi | --included | --include \
443   | --includ | --inclu | --incl | --inc)
444     ac_prev=includedir ;;
445   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446   | --includ=* | --inclu=* | --incl=* | --inc=*)
447     includedir=$ac_optarg ;;
448
449   -infodir | --infodir | --infodi | --infod | --info | --inf)
450     ac_prev=infodir ;;
451   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452     infodir=$ac_optarg ;;
453
454   -libdir | --libdir | --libdi | --libd)
455     ac_prev=libdir ;;
456   -libdir=* | --libdir=* | --libdi=* | --libd=*)
457     libdir=$ac_optarg ;;
458
459   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460   | --libexe | --libex | --libe)
461     ac_prev=libexecdir ;;
462   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463   | --libexe=* | --libex=* | --libe=*)
464     libexecdir=$ac_optarg ;;
465
466   -localstatedir | --localstatedir | --localstatedi | --localstated \
467   | --localstate | --localstat | --localsta | --localst \
468   | --locals | --local | --loca | --loc | --lo)
469     ac_prev=localstatedir ;;
470   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473     localstatedir=$ac_optarg ;;
474
475   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476     ac_prev=mandir ;;
477   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478     mandir=$ac_optarg ;;
479
480   -nfp | --nfp | --nf)
481     # Obsolete; use --without-fp.
482     with_fp=no ;;
483
484   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485   | --no-cr | --no-c | -n)
486     no_create=yes ;;
487
488   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490     no_recursion=yes ;;
491
492   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494   | --oldin | --oldi | --old | --ol | --o)
495     ac_prev=oldincludedir ;;
496   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499     oldincludedir=$ac_optarg ;;
500
501   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502     ac_prev=prefix ;;
503   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504     prefix=$ac_optarg ;;
505
506   -program-prefix | --program-prefix | --program-prefi | --program-pref \
507   | --program-pre | --program-pr | --program-p)
508     ac_prev=program_prefix ;;
509   -program-prefix=* | --program-prefix=* | --program-prefi=* \
510   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511     program_prefix=$ac_optarg ;;
512
513   -program-suffix | --program-suffix | --program-suffi | --program-suff \
514   | --program-suf | --program-su | --program-s)
515     ac_prev=program_suffix ;;
516   -program-suffix=* | --program-suffix=* | --program-suffi=* \
517   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518     program_suffix=$ac_optarg ;;
519
520   -program-transform-name | --program-transform-name \
521   | --program-transform-nam | --program-transform-na \
522   | --program-transform-n | --program-transform- \
523   | --program-transform | --program-transfor \
524   | --program-transfo | --program-transf \
525   | --program-trans | --program-tran \
526   | --progr-tra | --program-tr | --program-t)
527     ac_prev=program_transform_name ;;
528   -program-transform-name=* | --program-transform-name=* \
529   | --program-transform-nam=* | --program-transform-na=* \
530   | --program-transform-n=* | --program-transform-=* \
531   | --program-transform=* | --program-transfor=* \
532   | --program-transfo=* | --program-transf=* \
533   | --program-trans=* | --program-tran=* \
534   | --progr-tra=* | --program-tr=* | --program-t=*)
535     program_transform_name=$ac_optarg ;;
536
537   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538   | -silent | --silent | --silen | --sile | --sil)
539     silent=yes ;;
540
541   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542     ac_prev=sbindir ;;
543   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544   | --sbi=* | --sb=*)
545     sbindir=$ac_optarg ;;
546
547   -sharedstatedir | --sharedstatedir | --sharedstatedi \
548   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549   | --sharedst | --shareds | --shared | --share | --shar \
550   | --sha | --sh)
551     ac_prev=sharedstatedir ;;
552   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555   | --sha=* | --sh=*)
556     sharedstatedir=$ac_optarg ;;
557
558   -site | --site | --sit)
559     ac_prev=site ;;
560   -site=* | --site=* | --sit=*)
561     site=$ac_optarg ;;
562
563   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564     ac_prev=srcdir ;;
565   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566     srcdir=$ac_optarg ;;
567
568   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569   | --syscon | --sysco | --sysc | --sys | --sy)
570     ac_prev=sysconfdir ;;
571   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573     sysconfdir=$ac_optarg ;;
574
575   -target | --target | --targe | --targ | --tar | --ta | --t)
576     ac_prev=target_alias ;;
577   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578     target_alias=$ac_optarg ;;
579
580   -v | -verbose | --verbose | --verbos | --verbo | --verb)
581     verbose=yes ;;
582
583   -version | --version | --versio | --versi | --vers | -V)
584     ac_init_version=: ;;
585
586   -with-* | --with-*)
587     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588     # Reject names that are not valid shell variable names.
589     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590       { echo "$as_me: error: invalid package name: $ac_package" >&2
591    { (exit 1); exit 1; }; }
592     ac_package=`echo $ac_package| sed 's/-/_/g'`
593     case $ac_option in
594       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595       *) ac_optarg=yes ;;
596     esac
597     eval "with_$ac_package='$ac_optarg'" ;;
598
599   -without-* | --without-*)
600     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601     # Reject names that are not valid shell variable names.
602     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603       { echo "$as_me: error: invalid package name: $ac_package" >&2
604    { (exit 1); exit 1; }; }
605     ac_package=`echo $ac_package | sed 's/-/_/g'`
606     eval "with_$ac_package=no" ;;
607
608   --x)
609     # Obsolete; use --with-x.
610     with_x=yes ;;
611
612   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613   | --x-incl | --x-inc | --x-in | --x-i)
614     ac_prev=x_includes ;;
615   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617     x_includes=$ac_optarg ;;
618
619   -x-libraries | --x-libraries | --x-librarie | --x-librari \
620   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621     ac_prev=x_libraries ;;
622   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624     x_libraries=$ac_optarg ;;
625
626   -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628    { (exit 1); exit 1; }; }
629     ;;
630
631   *=*)
632     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633     # Reject names that are not valid shell variable names.
634     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636    { (exit 1); exit 1; }; }
637     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638     eval "$ac_envvar='$ac_optarg'"
639     export $ac_envvar ;;
640
641   *)
642     # FIXME: should be removed in autoconf 3.0.
643     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647     ;;
648
649   esac
650 done
651
652 if test -n "$ac_prev"; then
653   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654   { echo "$as_me: error: missing argument to $ac_option" >&2
655    { (exit 1); exit 1; }; }
656 fi
657
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
660 do
661   eval ac_val=$`echo $ac_var`
662   case $ac_val in
663     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665    { (exit 1); exit 1; }; };;
666   esac
667 done
668
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671               localstatedir libdir includedir oldincludedir infodir mandir
672 do
673   eval ac_val=$`echo $ac_var`
674   case $ac_val in
675     [\\/$]* | ?:[\\/]* ) ;;
676     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677    { (exit 1); exit 1; }; };;
678   esac
679 done
680
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
687
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690   if test "x$build_alias" = x; then
691     cross_compiling=maybe
692     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693     If a cross compiler is detected then cross compile mode will be used." >&2
694   elif test "x$build_alias" != "x$host_alias"; then
695     cross_compiling=yes
696   fi
697 fi
698
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
702 test "$silent" = yes && exec 6>/dev/null
703
704
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707   ac_srcdir_defaulted=yes
708   # Try the directory containing this script, then its parent.
709   ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711          X"$0" : 'X\(//\)[^/]' \| \
712          X"$0" : 'X\(//\)$' \| \
713          X"$0" : 'X\(/\)' \| \
714          .     : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718           /^X\(\/\/\)$/{ s//\1/; q; }
719           /^X\(\/\).*/{ s//\1/; q; }
720           s/.*/./; q'`
721   srcdir=$ac_confdir
722   if test ! -r $srcdir/$ac_unique_file; then
723     srcdir=..
724   fi
725 else
726   ac_srcdir_defaulted=no
727 fi
728 if test ! -r $srcdir/$ac_unique_file; then
729   if test "$ac_srcdir_defaulted" = yes; then
730     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731    { (exit 1); exit 1; }; }
732   else
733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734    { (exit 1); exit 1; }; }
735   fi
736 fi
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739    { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CPP_set=${CPP+set}
754 ac_env_CPP_value=$CPP
755 ac_cv_env_CPP_set=${CPP+set}
756 ac_cv_env_CPP_value=$CPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CXXCPP_set=${CXXCPP+set}
762 ac_env_CXXCPP_value=$CXXCPP
763 ac_cv_env_CXXCPP_set=${CXXCPP+set}
764 ac_cv_env_CXXCPP_value=$CXXCPP
765
766 #
767 # Report the --help message.
768 #
769 if test "$ac_init_help" = "long"; then
770   # Omit some internal or obsolete options to make the list less imposing.
771   # This message is too long to be a string in the A/UX 3.1 sh.
772   cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
774
775 Usage: $0 [OPTION]... [VAR=VALUE]...
776
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE.  See below for descriptions of some of the useful variables.
779
780 Defaults for the options are specified in brackets.
781
782 Configuration:
783   -h, --help              display this help and exit
784       --help=short        display options specific to this package
785       --help=recursive    display the short help of all the included packages
786   -V, --version           display version information and exit
787   -q, --quiet, --silent   do not print \`checking...' messages
788       --cache-file=FILE   cache test results in FILE [disabled]
789   -C, --config-cache      alias for \`--cache-file=config.cache'
790   -n, --no-create         do not create output files
791       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
792
793 _ACEOF
794
795   cat <<_ACEOF
796 Installation directories:
797   --prefix=PREFIX         install architecture-independent files in PREFIX
798                           [$ac_default_prefix]
799   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
800                           [PREFIX]
801
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
806
807 For better control, use the options below.
808
809 Fine tuning of the installation directories:
810   --bindir=DIR           user executables [EPREFIX/bin]
811   --sbindir=DIR          system admin executables [EPREFIX/sbin]
812   --libexecdir=DIR       program executables [EPREFIX/libexec]
813   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
814   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
815   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
816   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
817   --libdir=DIR           object code libraries [EPREFIX/lib]
818   --includedir=DIR       C header files [PREFIX/include]
819   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
820   --infodir=DIR          info documentation [PREFIX/info]
821   --mandir=DIR           man documentation [PREFIX/man]
822 _ACEOF
823
824   cat <<\_ACEOF
825
826 Program names:
827   --program-prefix=PREFIX            prepend PREFIX to installed program names
828   --program-suffix=SUFFIX            append SUFFIX to installed program names
829   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
830
831 System types:
832   --build=BUILD     configure for building on BUILD [guessed]
833   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
834   --target=TARGET   configure for building compilers for TARGET [HOST]
835 _ACEOF
836 fi
837
838 if test -n "$ac_init_help"; then
839   case $ac_init_help in
840      short | recursive ) echo "Configuration of package-unused version-unused:";;
841    esac
842   cat <<\_ACEOF
843
844 Optional Features:
845   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
846   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
847   --enable-multilib       build many library versions (default)
848   --enable-maintainer-mode  enable make rules and dependencies not useful
849                           (and sometimes confusing) to the casual installer
850   --enable-shared=PKGS  build shared libraries default=yes
851   --enable-static=PKGS  build static libraries default=yes
852   --enable-fast-install=PKGS  optimize for fast installation default=yes
853   --disable-libtool-lock  avoid locking (might break parallel builds)
854   --disable-hosted-libstdcxx
855                           only build freestanding C++ runtime support
856   --enable-sjlj-exceptions
857                           force use of builtin_setjmp for exceptions
858                           [default=auto]
859   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
860                           [default=$is_hosted]
861   --enable-cstdio=PACKAGE use target-specific I/O package
862                           [default=stdio]
863   --enable-clocale[=MODEL]
864                           use MODEL for target locale package
865                           [default=auto]
866   --enable-nls            use Native Language Support (default)
867   --enable-libstdcxx-allocator=KIND
868                           use KIND for target std::allocator base
869                           [default=auto]
870   --enable-cheaders=KIND  construct "C" headers for g++
871                           [default=$c_model]
872   --enable-long-long      enable template specializations for 'long long'
873                           [default=yes]
874   --enable-wchar_t        enable template specializations for 'wchar_t'
875                           [default=yes]
876   --enable-c99            turns on ISO/IEC 9899:1999 support
877                           [default=yes]
878   --enable-concept-checks use Boost-derived template checks [default=no]
879   --enable-libstdcxx-debug-flags=FLAGS
880                           pass compiler FLAGS when building debug library
881                           [default="-g3 -O0"]
882   --enable-libstdcxx-debug
883                           build extra debug library [default=no]
884   --enable-cxx-flags=FLAGS
885                           pass compiler FLAGS when building library
886                           [default=]
887   --enable-fully-dynamic-string
888                           do not put empty strings in per-process static
889                           memory [default=no]
890   --enable-tls            Use thread-local storage [default=yes]
891   --enable-symvers=STYLE  enables symbol versioning of the shared library
892                           [default=yes]
893   --enable-visibility     enables visibility safe usage [default=yes]
894   --enable-version-specific-runtime-libs
895                           Specify that runtime libraries should be installed
896                           in a compiler-specific directory
897
898 Optional Packages:
899   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
900   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
901   --with-target-subdir=SUBDIR
902                           configuring in a subdirectory
903   --with-cross-host=HOST  configuring with a cross compiler
904   --with-newlib           assume newlib as a system C library
905   --with-gnu-ld           assume the C compiler uses GNU ld default=no
906   --with-pic              try to use only PIC/non-PIC objects default=use both
907   --with-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:10: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   echo "$as_me:$LINENO: checking for ld version" >&5
8377 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
8378
8379   ldver=`$LD --version 2>/dev/null | head -1 | \
8380          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8381
8382   glibcxx_gnu_ld_version=`echo $ldver | \
8383          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8384   echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
8385 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
8386
8387   # Set --gc-sections.
8388   glibcxx_gcsections_min_ld=21602
8389   if test x"$with_gnu_ld" = x"yes" &&
8390         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
8391
8392     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
8393     # NB: This flag only works reliably after 2.16.1. Configure tests
8394     # for this are difficult, so hard wire a value that should work.
8395
8396     # All these tests are for C++, but run with the "C" compiler driver.
8397     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
8398     ac_test_CFLAGS="${CFLAGS+set}"
8399     ac_save_CFLAGS="$CFLAGS"
8400     CFLAGS='-x c++ -Wl,--gc-sections'
8401
8402     # Check for -Wl,--gc-sections
8403     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8404 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8405     if test x$gcc_no_link = xyes; then
8406   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8408    { (exit 1); exit 1; }; }
8409 fi
8410 cat >conftest.$ac_ext <<_ACEOF
8411 /* confdefs.h.  */
8412 _ACEOF
8413 cat confdefs.h >>conftest.$ac_ext
8414 cat >>conftest.$ac_ext <<_ACEOF
8415 /* end confdefs.h.  */
8416  int one(void) { return 1; }
8417      int two(void) { return 2; }
8418
8419 int
8420 main ()
8421 {
8422  two();
8423   ;
8424   return 0;
8425 }
8426 _ACEOF
8427 rm -f conftest.$ac_objext conftest$ac_exeext
8428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8429   (eval $ac_link) 2>conftest.er1
8430   ac_status=$?
8431   grep -v '^ *+' conftest.er1 >conftest.err
8432   rm -f conftest.er1
8433   cat conftest.err >&5
8434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435   (exit $ac_status); } &&
8436          { ac_try='test -z "$ac_c_werror_flag"
8437                          || test ! -s conftest.err'
8438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8439   (eval $ac_try) 2>&5
8440   ac_status=$?
8441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8442   (exit $ac_status); }; } &&
8443          { ac_try='test -s conftest$ac_exeext'
8444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8445   (eval $ac_try) 2>&5
8446   ac_status=$?
8447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448   (exit $ac_status); }; }; then
8449   ac_gcsections=yes
8450 else
8451   echo "$as_me: failed program was:" >&5
8452 sed 's/^/| /' conftest.$ac_ext >&5
8453
8454 ac_gcsections=no
8455 fi
8456 rm -f conftest.err conftest.$ac_objext \
8457       conftest$ac_exeext conftest.$ac_ext
8458     if test "$ac_gcsections" = "yes"; then
8459       rm -f conftest.c
8460       touch conftest.c
8461       if $CC -c conftest.c; then
8462         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
8463            grep "Warning: gc-sections option ignored" > /dev/null; then
8464           ac_gcsections=no
8465         fi
8466       fi
8467       rm -f conftest.c conftest.o conftest
8468     fi
8469     if test "$ac_gcsections" = "yes"; then
8470       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8471     fi
8472     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
8473 echo "${ECHO_T}$ac_gcsections" >&6
8474
8475     if test "$ac_test_CFLAGS" = set; then
8476       CFLAGS="$ac_save_CFLAGS"
8477     else
8478       # this is the suspicious part
8479       CFLAGS=''
8480     fi
8481   fi
8482
8483   # Set -z,relro.
8484   # Note this is only for shared objects.
8485   ac_ld_relro=no
8486   if test x"$with_gnu_ld" = x"yes"; then
8487     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
8488 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
8489     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
8490     if test -n "$cxx_z_relo"; then
8491       OPT_LDFLAGS="-Wl,-z,relro"
8492       ac_ld_relro=yes
8493     fi
8494     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
8495 echo "${ECHO_T}$ac_ld_relro" >&6
8496   fi
8497
8498   # Set linker optimization flags.
8499   if test x"$with_gnu_ld" = x"yes"; then
8500     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8501   fi
8502
8503
8504
8505
8506
8507   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8508   ac_save_CXXFLAGS="$CXXFLAGS"
8509   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8510
8511     echo "$as_me:$LINENO: checking for sin in -lm" >&5
8512 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8513 if test "${ac_cv_lib_m_sin+set}" = set; then
8514   echo $ECHO_N "(cached) $ECHO_C" >&6
8515 else
8516   ac_check_lib_save_LIBS=$LIBS
8517 LIBS="-lm  $LIBS"
8518 if test x$gcc_no_link = xyes; then
8519   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8521    { (exit 1); exit 1; }; }
8522 fi
8523 cat >conftest.$ac_ext <<_ACEOF
8524 /* confdefs.h.  */
8525 _ACEOF
8526 cat confdefs.h >>conftest.$ac_ext
8527 cat >>conftest.$ac_ext <<_ACEOF
8528 /* end confdefs.h.  */
8529
8530 /* Override any gcc2 internal prototype to avoid an error.  */
8531 #ifdef __cplusplus
8532 extern "C"
8533 #endif
8534 /* We use char because int might match the return type of a gcc2
8535    builtin and then its argument prototype would still apply.  */
8536 char sin ();
8537 int
8538 main ()
8539 {
8540 sin ();
8541   ;
8542   return 0;
8543 }
8544 _ACEOF
8545 rm -f conftest.$ac_objext conftest$ac_exeext
8546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8547   (eval $ac_link) 2>conftest.er1
8548   ac_status=$?
8549   grep -v '^ *+' conftest.er1 >conftest.err
8550   rm -f conftest.er1
8551   cat conftest.err >&5
8552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553   (exit $ac_status); } &&
8554          { ac_try='test -z "$ac_c_werror_flag"
8555                          || test ! -s conftest.err'
8556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8557   (eval $ac_try) 2>&5
8558   ac_status=$?
8559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560   (exit $ac_status); }; } &&
8561          { ac_try='test -s conftest$ac_exeext'
8562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8563   (eval $ac_try) 2>&5
8564   ac_status=$?
8565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8566   (exit $ac_status); }; }; then
8567   ac_cv_lib_m_sin=yes
8568 else
8569   echo "$as_me: failed program was:" >&5
8570 sed 's/^/| /' conftest.$ac_ext >&5
8571
8572 ac_cv_lib_m_sin=no
8573 fi
8574 rm -f conftest.err conftest.$ac_objext \
8575       conftest$ac_exeext conftest.$ac_ext
8576 LIBS=$ac_check_lib_save_LIBS
8577 fi
8578 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8579 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8580 if test $ac_cv_lib_m_sin = yes; then
8581   libm="-lm"
8582 fi
8583
8584   ac_save_LIBS="$LIBS"
8585   LIBS="$LIBS $libm"
8586
8587
8588
8589   echo "$as_me:$LINENO: checking for isinf declaration" >&5
8590 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8591   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8592     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8593   echo $ECHO_N "(cached) $ECHO_C" >&6
8594 else
8595
8596
8597
8598       ac_ext=cc
8599 ac_cpp='$CXXCPP $CPPFLAGS'
8600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8603
8604       cat >conftest.$ac_ext <<_ACEOF
8605 /* confdefs.h.  */
8606 _ACEOF
8607 cat confdefs.h >>conftest.$ac_ext
8608 cat >>conftest.$ac_ext <<_ACEOF
8609 /* end confdefs.h.  */
8610 #include <math.h>
8611                       #ifdef HAVE_IEEEFP_H
8612                       #include <ieeefp.h>
8613                       #endif
8614
8615 int
8616 main ()
8617 {
8618  isinf(0);
8619   ;
8620   return 0;
8621 }
8622 _ACEOF
8623 rm -f conftest.$ac_objext
8624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8625   (eval $ac_compile) 2>conftest.er1
8626   ac_status=$?
8627   grep -v '^ *+' conftest.er1 >conftest.err
8628   rm -f conftest.er1
8629   cat conftest.err >&5
8630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8631   (exit $ac_status); } &&
8632          { ac_try='test -z "$ac_cxx_werror_flag"
8633                          || test ! -s conftest.err'
8634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8635   (eval $ac_try) 2>&5
8636   ac_status=$?
8637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638   (exit $ac_status); }; } &&
8639          { ac_try='test -s conftest.$ac_objext'
8640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8641   (eval $ac_try) 2>&5
8642   ac_status=$?
8643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8644   (exit $ac_status); }; }; then
8645   glibcxx_cv_func_isinf_use=yes
8646 else
8647   echo "$as_me: failed program was:" >&5
8648 sed 's/^/| /' conftest.$ac_ext >&5
8649
8650 glibcxx_cv_func_isinf_use=no
8651 fi
8652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8653       ac_ext=c
8654 ac_cpp='$CPP $CPPFLAGS'
8655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8658
8659
8660 fi
8661
8662   fi
8663   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8664 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8665
8666   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8667
8668 for ac_func in isinf
8669 do
8670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8671 echo "$as_me:$LINENO: checking for $ac_func" >&5
8672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8673 if eval "test \"\${$as_ac_var+set}\" = set"; then
8674   echo $ECHO_N "(cached) $ECHO_C" >&6
8675 else
8676   if test x$gcc_no_link = xyes; then
8677   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8679    { (exit 1); exit 1; }; }
8680 fi
8681 cat >conftest.$ac_ext <<_ACEOF
8682 /* confdefs.h.  */
8683 _ACEOF
8684 cat confdefs.h >>conftest.$ac_ext
8685 cat >>conftest.$ac_ext <<_ACEOF
8686 /* end confdefs.h.  */
8687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8688    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8689 #define $ac_func innocuous_$ac_func
8690
8691 /* System header to define __stub macros and hopefully few prototypes,
8692     which can conflict with char $ac_func (); below.
8693     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8694     <limits.h> exists even on freestanding compilers.  */
8695
8696 #ifdef __STDC__
8697 # include <limits.h>
8698 #else
8699 # include <assert.h>
8700 #endif
8701
8702 #undef $ac_func
8703
8704 /* Override any gcc2 internal prototype to avoid an error.  */
8705 #ifdef __cplusplus
8706 extern "C"
8707 {
8708 #endif
8709 /* We use char because int might match the return type of a gcc2
8710    builtin and then its argument prototype would still apply.  */
8711 char $ac_func ();
8712 /* The GNU C library defines this for functions which it implements
8713     to always fail with ENOSYS.  Some functions are actually named
8714     something starting with __ and the normal name is an alias.  */
8715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8716 choke me
8717 #else
8718 char (*f) () = $ac_func;
8719 #endif
8720 #ifdef __cplusplus
8721 }
8722 #endif
8723
8724 int
8725 main ()
8726 {
8727 return f != $ac_func;
8728   ;
8729   return 0;
8730 }
8731 _ACEOF
8732 rm -f conftest.$ac_objext conftest$ac_exeext
8733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8734   (eval $ac_link) 2>conftest.er1
8735   ac_status=$?
8736   grep -v '^ *+' conftest.er1 >conftest.err
8737   rm -f conftest.er1
8738   cat conftest.err >&5
8739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740   (exit $ac_status); } &&
8741          { ac_try='test -z "$ac_c_werror_flag"
8742                          || test ! -s conftest.err'
8743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8744   (eval $ac_try) 2>&5
8745   ac_status=$?
8746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747   (exit $ac_status); }; } &&
8748          { ac_try='test -s conftest$ac_exeext'
8749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8750   (eval $ac_try) 2>&5
8751   ac_status=$?
8752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753   (exit $ac_status); }; }; then
8754   eval "$as_ac_var=yes"
8755 else
8756   echo "$as_me: failed program was:" >&5
8757 sed 's/^/| /' conftest.$ac_ext >&5
8758
8759 eval "$as_ac_var=no"
8760 fi
8761 rm -f conftest.err conftest.$ac_objext \
8762       conftest$ac_exeext conftest.$ac_ext
8763 fi
8764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8766 if test `eval echo '${'$as_ac_var'}'` = yes; then
8767   cat >>confdefs.h <<_ACEOF
8768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8769 _ACEOF
8770
8771 fi
8772 done
8773
8774   else
8775
8776   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8777 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8778   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8779     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8780   echo $ECHO_N "(cached) $ECHO_C" >&6
8781 else
8782
8783
8784
8785       ac_ext=cc
8786 ac_cpp='$CXXCPP $CPPFLAGS'
8787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8790
8791       cat >conftest.$ac_ext <<_ACEOF
8792 /* confdefs.h.  */
8793 _ACEOF
8794 cat confdefs.h >>conftest.$ac_ext
8795 cat >>conftest.$ac_ext <<_ACEOF
8796 /* end confdefs.h.  */
8797 #include <math.h>
8798                       #ifdef HAVE_IEEEFP_H
8799                       #include <ieeefp.h>
8800                       #endif
8801
8802 int
8803 main ()
8804 {
8805  _isinf(0);
8806   ;
8807   return 0;
8808 }
8809 _ACEOF
8810 rm -f conftest.$ac_objext
8811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8812   (eval $ac_compile) 2>conftest.er1
8813   ac_status=$?
8814   grep -v '^ *+' conftest.er1 >conftest.err
8815   rm -f conftest.er1
8816   cat conftest.err >&5
8817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818   (exit $ac_status); } &&
8819          { ac_try='test -z "$ac_cxx_werror_flag"
8820                          || test ! -s conftest.err'
8821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8822   (eval $ac_try) 2>&5
8823   ac_status=$?
8824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825   (exit $ac_status); }; } &&
8826          { ac_try='test -s conftest.$ac_objext'
8827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8828   (eval $ac_try) 2>&5
8829   ac_status=$?
8830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831   (exit $ac_status); }; }; then
8832   glibcxx_cv_func__isinf_use=yes
8833 else
8834   echo "$as_me: failed program was:" >&5
8835 sed 's/^/| /' conftest.$ac_ext >&5
8836
8837 glibcxx_cv_func__isinf_use=no
8838 fi
8839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8840       ac_ext=c
8841 ac_cpp='$CPP $CPPFLAGS'
8842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8845
8846
8847 fi
8848
8849   fi
8850   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8851 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8852
8853     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8854
8855 for ac_func in _isinf
8856 do
8857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8858 echo "$as_me:$LINENO: checking for $ac_func" >&5
8859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8860 if eval "test \"\${$as_ac_var+set}\" = set"; then
8861   echo $ECHO_N "(cached) $ECHO_C" >&6
8862 else
8863   if test x$gcc_no_link = xyes; then
8864   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8866    { (exit 1); exit 1; }; }
8867 fi
8868 cat >conftest.$ac_ext <<_ACEOF
8869 /* confdefs.h.  */
8870 _ACEOF
8871 cat confdefs.h >>conftest.$ac_ext
8872 cat >>conftest.$ac_ext <<_ACEOF
8873 /* end confdefs.h.  */
8874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8875    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8876 #define $ac_func innocuous_$ac_func
8877
8878 /* System header to define __stub macros and hopefully few prototypes,
8879     which can conflict with char $ac_func (); below.
8880     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8881     <limits.h> exists even on freestanding compilers.  */
8882
8883 #ifdef __STDC__
8884 # include <limits.h>
8885 #else
8886 # include <assert.h>
8887 #endif
8888
8889 #undef $ac_func
8890
8891 /* Override any gcc2 internal prototype to avoid an error.  */
8892 #ifdef __cplusplus
8893 extern "C"
8894 {
8895 #endif
8896 /* We use char because int might match the return type of a gcc2
8897    builtin and then its argument prototype would still apply.  */
8898 char $ac_func ();
8899 /* The GNU C library defines this for functions which it implements
8900     to always fail with ENOSYS.  Some functions are actually named
8901     something starting with __ and the normal name is an alias.  */
8902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8903 choke me
8904 #else
8905 char (*f) () = $ac_func;
8906 #endif
8907 #ifdef __cplusplus
8908 }
8909 #endif
8910
8911 int
8912 main ()
8913 {
8914 return f != $ac_func;
8915   ;
8916   return 0;
8917 }
8918 _ACEOF
8919 rm -f conftest.$ac_objext conftest$ac_exeext
8920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8921   (eval $ac_link) 2>conftest.er1
8922   ac_status=$?
8923   grep -v '^ *+' conftest.er1 >conftest.err
8924   rm -f conftest.er1
8925   cat conftest.err >&5
8926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8927   (exit $ac_status); } &&
8928          { ac_try='test -z "$ac_c_werror_flag"
8929                          || test ! -s conftest.err'
8930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8931   (eval $ac_try) 2>&5
8932   ac_status=$?
8933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8934   (exit $ac_status); }; } &&
8935          { ac_try='test -s conftest$ac_exeext'
8936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8937   (eval $ac_try) 2>&5
8938   ac_status=$?
8939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8940   (exit $ac_status); }; }; then
8941   eval "$as_ac_var=yes"
8942 else
8943   echo "$as_me: failed program was:" >&5
8944 sed 's/^/| /' conftest.$ac_ext >&5
8945
8946 eval "$as_ac_var=no"
8947 fi
8948 rm -f conftest.err conftest.$ac_objext \
8949       conftest$ac_exeext conftest.$ac_ext
8950 fi
8951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8953 if test `eval echo '${'$as_ac_var'}'` = yes; then
8954   cat >>confdefs.h <<_ACEOF
8955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8956 _ACEOF
8957
8958 fi
8959 done
8960
8961     fi
8962   fi
8963
8964
8965
8966
8967
8968
8969   echo "$as_me:$LINENO: checking for isnan declaration" >&5
8970 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8971   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8972     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8973   echo $ECHO_N "(cached) $ECHO_C" >&6
8974 else
8975
8976
8977
8978       ac_ext=cc
8979 ac_cpp='$CXXCPP $CPPFLAGS'
8980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8983
8984       cat >conftest.$ac_ext <<_ACEOF
8985 /* confdefs.h.  */
8986 _ACEOF
8987 cat confdefs.h >>conftest.$ac_ext
8988 cat >>conftest.$ac_ext <<_ACEOF
8989 /* end confdefs.h.  */
8990 #include <math.h>
8991                       #ifdef HAVE_IEEEFP_H
8992                       #include <ieeefp.h>
8993                       #endif
8994
8995 int
8996 main ()
8997 {
8998  isnan(0);
8999   ;
9000   return 0;
9001 }
9002 _ACEOF
9003 rm -f conftest.$ac_objext
9004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9005   (eval $ac_compile) 2>conftest.er1
9006   ac_status=$?
9007   grep -v '^ *+' conftest.er1 >conftest.err
9008   rm -f conftest.er1
9009   cat conftest.err >&5
9010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9011   (exit $ac_status); } &&
9012          { ac_try='test -z "$ac_cxx_werror_flag"
9013                          || test ! -s conftest.err'
9014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9015   (eval $ac_try) 2>&5
9016   ac_status=$?
9017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018   (exit $ac_status); }; } &&
9019          { ac_try='test -s conftest.$ac_objext'
9020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9021   (eval $ac_try) 2>&5
9022   ac_status=$?
9023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024   (exit $ac_status); }; }; then
9025   glibcxx_cv_func_isnan_use=yes
9026 else
9027   echo "$as_me: failed program was:" >&5
9028 sed 's/^/| /' conftest.$ac_ext >&5
9029
9030 glibcxx_cv_func_isnan_use=no
9031 fi
9032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9033       ac_ext=c
9034 ac_cpp='$CPP $CPPFLAGS'
9035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9038
9039
9040 fi
9041
9042   fi
9043   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
9044 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
9045
9046   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
9047
9048 for ac_func in isnan
9049 do
9050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9051 echo "$as_me:$LINENO: checking for $ac_func" >&5
9052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9053 if eval "test \"\${$as_ac_var+set}\" = set"; then
9054   echo $ECHO_N "(cached) $ECHO_C" >&6
9055 else
9056   if test x$gcc_no_link = xyes; then
9057   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9059    { (exit 1); exit 1; }; }
9060 fi
9061 cat >conftest.$ac_ext <<_ACEOF
9062 /* confdefs.h.  */
9063 _ACEOF
9064 cat confdefs.h >>conftest.$ac_ext
9065 cat >>conftest.$ac_ext <<_ACEOF
9066 /* end confdefs.h.  */
9067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9068    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9069 #define $ac_func innocuous_$ac_func
9070
9071 /* System header to define __stub macros and hopefully few prototypes,
9072     which can conflict with char $ac_func (); below.
9073     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9074     <limits.h> exists even on freestanding compilers.  */
9075
9076 #ifdef __STDC__
9077 # include <limits.h>
9078 #else
9079 # include <assert.h>
9080 #endif
9081
9082 #undef $ac_func
9083
9084 /* Override any gcc2 internal prototype to avoid an error.  */
9085 #ifdef __cplusplus
9086 extern "C"
9087 {
9088 #endif
9089 /* We use char because int might match the return type of a gcc2
9090    builtin and then its argument prototype would still apply.  */
9091 char $ac_func ();
9092 /* The GNU C library defines this for functions which it implements
9093     to always fail with ENOSYS.  Some functions are actually named
9094     something starting with __ and the normal name is an alias.  */
9095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9096 choke me
9097 #else
9098 char (*f) () = $ac_func;
9099 #endif
9100 #ifdef __cplusplus
9101 }
9102 #endif
9103
9104 int
9105 main ()
9106 {
9107 return f != $ac_func;
9108   ;
9109   return 0;
9110 }
9111 _ACEOF
9112 rm -f conftest.$ac_objext conftest$ac_exeext
9113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9114   (eval $ac_link) 2>conftest.er1
9115   ac_status=$?
9116   grep -v '^ *+' conftest.er1 >conftest.err
9117   rm -f conftest.er1
9118   cat conftest.err >&5
9119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120   (exit $ac_status); } &&
9121          { ac_try='test -z "$ac_c_werror_flag"
9122                          || test ! -s conftest.err'
9123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9124   (eval $ac_try) 2>&5
9125   ac_status=$?
9126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127   (exit $ac_status); }; } &&
9128          { ac_try='test -s conftest$ac_exeext'
9129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9130   (eval $ac_try) 2>&5
9131   ac_status=$?
9132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133   (exit $ac_status); }; }; then
9134   eval "$as_ac_var=yes"
9135 else
9136   echo "$as_me: failed program was:" >&5
9137 sed 's/^/| /' conftest.$ac_ext >&5
9138
9139 eval "$as_ac_var=no"
9140 fi
9141 rm -f conftest.err conftest.$ac_objext \
9142       conftest$ac_exeext conftest.$ac_ext
9143 fi
9144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9146 if test `eval echo '${'$as_ac_var'}'` = yes; then
9147   cat >>confdefs.h <<_ACEOF
9148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9149 _ACEOF
9150
9151 fi
9152 done
9153
9154   else
9155
9156   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
9157 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
9158   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
9159     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
9160   echo $ECHO_N "(cached) $ECHO_C" >&6
9161 else
9162
9163
9164
9165       ac_ext=cc
9166 ac_cpp='$CXXCPP $CPPFLAGS'
9167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9170
9171       cat >conftest.$ac_ext <<_ACEOF
9172 /* confdefs.h.  */
9173 _ACEOF
9174 cat confdefs.h >>conftest.$ac_ext
9175 cat >>conftest.$ac_ext <<_ACEOF
9176 /* end confdefs.h.  */
9177 #include <math.h>
9178                       #ifdef HAVE_IEEEFP_H
9179                       #include <ieeefp.h>
9180                       #endif
9181
9182 int
9183 main ()
9184 {
9185  _isnan(0);
9186   ;
9187   return 0;
9188 }
9189 _ACEOF
9190 rm -f conftest.$ac_objext
9191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9192   (eval $ac_compile) 2>conftest.er1
9193   ac_status=$?
9194   grep -v '^ *+' conftest.er1 >conftest.err
9195   rm -f conftest.er1
9196   cat conftest.err >&5
9197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9198   (exit $ac_status); } &&
9199          { ac_try='test -z "$ac_cxx_werror_flag"
9200                          || test ! -s conftest.err'
9201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9202   (eval $ac_try) 2>&5
9203   ac_status=$?
9204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9205   (exit $ac_status); }; } &&
9206          { ac_try='test -s conftest.$ac_objext'
9207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9208   (eval $ac_try) 2>&5
9209   ac_status=$?
9210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9211   (exit $ac_status); }; }; then
9212   glibcxx_cv_func__isnan_use=yes
9213 else
9214   echo "$as_me: failed program was:" >&5
9215 sed 's/^/| /' conftest.$ac_ext >&5
9216
9217 glibcxx_cv_func__isnan_use=no
9218 fi
9219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9220       ac_ext=c
9221 ac_cpp='$CPP $CPPFLAGS'
9222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9225
9226
9227 fi
9228
9229   fi
9230   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9231 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9232
9233     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9234
9235 for ac_func in _isnan
9236 do
9237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9238 echo "$as_me:$LINENO: checking for $ac_func" >&5
9239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9240 if eval "test \"\${$as_ac_var+set}\" = set"; then
9241   echo $ECHO_N "(cached) $ECHO_C" >&6
9242 else
9243   if test x$gcc_no_link = xyes; then
9244   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9246    { (exit 1); exit 1; }; }
9247 fi
9248 cat >conftest.$ac_ext <<_ACEOF
9249 /* confdefs.h.  */
9250 _ACEOF
9251 cat confdefs.h >>conftest.$ac_ext
9252 cat >>conftest.$ac_ext <<_ACEOF
9253 /* end confdefs.h.  */
9254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9255    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9256 #define $ac_func innocuous_$ac_func
9257
9258 /* System header to define __stub macros and hopefully few prototypes,
9259     which can conflict with char $ac_func (); below.
9260     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9261     <limits.h> exists even on freestanding compilers.  */
9262
9263 #ifdef __STDC__
9264 # include <limits.h>
9265 #else
9266 # include <assert.h>
9267 #endif
9268
9269 #undef $ac_func
9270
9271 /* Override any gcc2 internal prototype to avoid an error.  */
9272 #ifdef __cplusplus
9273 extern "C"
9274 {
9275 #endif
9276 /* We use char because int might match the return type of a gcc2
9277    builtin and then its argument prototype would still apply.  */
9278 char $ac_func ();
9279 /* The GNU C library defines this for functions which it implements
9280     to always fail with ENOSYS.  Some functions are actually named
9281     something starting with __ and the normal name is an alias.  */
9282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9283 choke me
9284 #else
9285 char (*f) () = $ac_func;
9286 #endif
9287 #ifdef __cplusplus
9288 }
9289 #endif
9290
9291 int
9292 main ()
9293 {
9294 return f != $ac_func;
9295   ;
9296   return 0;
9297 }
9298 _ACEOF
9299 rm -f conftest.$ac_objext conftest$ac_exeext
9300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9301   (eval $ac_link) 2>conftest.er1
9302   ac_status=$?
9303   grep -v '^ *+' conftest.er1 >conftest.err
9304   rm -f conftest.er1
9305   cat conftest.err >&5
9306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9307   (exit $ac_status); } &&
9308          { ac_try='test -z "$ac_c_werror_flag"
9309                          || test ! -s conftest.err'
9310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9311   (eval $ac_try) 2>&5
9312   ac_status=$?
9313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9314   (exit $ac_status); }; } &&
9315          { ac_try='test -s conftest$ac_exeext'
9316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9317   (eval $ac_try) 2>&5
9318   ac_status=$?
9319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9320   (exit $ac_status); }; }; then
9321   eval "$as_ac_var=yes"
9322 else
9323   echo "$as_me: failed program was:" >&5
9324 sed 's/^/| /' conftest.$ac_ext >&5
9325
9326 eval "$as_ac_var=no"
9327 fi
9328 rm -f conftest.err conftest.$ac_objext \
9329       conftest$ac_exeext conftest.$ac_ext
9330 fi
9331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9333 if test `eval echo '${'$as_ac_var'}'` = yes; then
9334   cat >>confdefs.h <<_ACEOF
9335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9336 _ACEOF
9337
9338 fi
9339 done
9340
9341     fi
9342   fi
9343
9344
9345
9346
9347
9348
9349   echo "$as_me:$LINENO: checking for finite declaration" >&5
9350 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9351   if test x${glibcxx_cv_func_finite_use+set} != xset; then
9352     if test "${glibcxx_cv_func_finite_use+set}" = set; then
9353   echo $ECHO_N "(cached) $ECHO_C" >&6
9354 else
9355
9356
9357
9358       ac_ext=cc
9359 ac_cpp='$CXXCPP $CPPFLAGS'
9360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9363
9364       cat >conftest.$ac_ext <<_ACEOF
9365 /* confdefs.h.  */
9366 _ACEOF
9367 cat confdefs.h >>conftest.$ac_ext
9368 cat >>conftest.$ac_ext <<_ACEOF
9369 /* end confdefs.h.  */
9370 #include <math.h>
9371                       #ifdef HAVE_IEEEFP_H
9372                       #include <ieeefp.h>
9373                       #endif
9374
9375 int
9376 main ()
9377 {
9378  finite(0);
9379   ;
9380   return 0;
9381 }
9382 _ACEOF
9383 rm -f conftest.$ac_objext
9384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9385   (eval $ac_compile) 2>conftest.er1
9386   ac_status=$?
9387   grep -v '^ *+' conftest.er1 >conftest.err
9388   rm -f conftest.er1
9389   cat conftest.err >&5
9390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9391   (exit $ac_status); } &&
9392          { ac_try='test -z "$ac_cxx_werror_flag"
9393                          || test ! -s conftest.err'
9394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9395   (eval $ac_try) 2>&5
9396   ac_status=$?
9397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9398   (exit $ac_status); }; } &&
9399          { ac_try='test -s conftest.$ac_objext'
9400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9401   (eval $ac_try) 2>&5
9402   ac_status=$?
9403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9404   (exit $ac_status); }; }; then
9405   glibcxx_cv_func_finite_use=yes
9406 else
9407   echo "$as_me: failed program was:" >&5
9408 sed 's/^/| /' conftest.$ac_ext >&5
9409
9410 glibcxx_cv_func_finite_use=no
9411 fi
9412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9413       ac_ext=c
9414 ac_cpp='$CPP $CPPFLAGS'
9415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9418
9419
9420 fi
9421
9422   fi
9423   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9424 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9425
9426   if test x$glibcxx_cv_func_finite_use = x"yes"; then
9427
9428 for ac_func in finite
9429 do
9430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9431 echo "$as_me:$LINENO: checking for $ac_func" >&5
9432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9433 if eval "test \"\${$as_ac_var+set}\" = set"; then
9434   echo $ECHO_N "(cached) $ECHO_C" >&6
9435 else
9436   if test x$gcc_no_link = xyes; then
9437   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9439    { (exit 1); exit 1; }; }
9440 fi
9441 cat >conftest.$ac_ext <<_ACEOF
9442 /* confdefs.h.  */
9443 _ACEOF
9444 cat confdefs.h >>conftest.$ac_ext
9445 cat >>conftest.$ac_ext <<_ACEOF
9446 /* end confdefs.h.  */
9447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9448    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9449 #define $ac_func innocuous_$ac_func
9450
9451 /* System header to define __stub macros and hopefully few prototypes,
9452     which can conflict with char $ac_func (); below.
9453     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9454     <limits.h> exists even on freestanding compilers.  */
9455
9456 #ifdef __STDC__
9457 # include <limits.h>
9458 #else
9459 # include <assert.h>
9460 #endif
9461
9462 #undef $ac_func
9463
9464 /* Override any gcc2 internal prototype to avoid an error.  */
9465 #ifdef __cplusplus
9466 extern "C"
9467 {
9468 #endif
9469 /* We use char because int might match the return type of a gcc2
9470    builtin and then its argument prototype would still apply.  */
9471 char $ac_func ();
9472 /* The GNU C library defines this for functions which it implements
9473     to always fail with ENOSYS.  Some functions are actually named
9474     something starting with __ and the normal name is an alias.  */
9475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9476 choke me
9477 #else
9478 char (*f) () = $ac_func;
9479 #endif
9480 #ifdef __cplusplus
9481 }
9482 #endif
9483
9484 int
9485 main ()
9486 {
9487 return f != $ac_func;
9488   ;
9489   return 0;
9490 }
9491 _ACEOF
9492 rm -f conftest.$ac_objext conftest$ac_exeext
9493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9494   (eval $ac_link) 2>conftest.er1
9495   ac_status=$?
9496   grep -v '^ *+' conftest.er1 >conftest.err
9497   rm -f conftest.er1
9498   cat conftest.err >&5
9499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500   (exit $ac_status); } &&
9501          { ac_try='test -z "$ac_c_werror_flag"
9502                          || test ! -s conftest.err'
9503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9504   (eval $ac_try) 2>&5
9505   ac_status=$?
9506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9507   (exit $ac_status); }; } &&
9508          { ac_try='test -s conftest$ac_exeext'
9509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9510   (eval $ac_try) 2>&5
9511   ac_status=$?
9512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9513   (exit $ac_status); }; }; then
9514   eval "$as_ac_var=yes"
9515 else
9516   echo "$as_me: failed program was:" >&5
9517 sed 's/^/| /' conftest.$ac_ext >&5
9518
9519 eval "$as_ac_var=no"
9520 fi
9521 rm -f conftest.err conftest.$ac_objext \
9522       conftest$ac_exeext conftest.$ac_ext
9523 fi
9524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9526 if test `eval echo '${'$as_ac_var'}'` = yes; then
9527   cat >>confdefs.h <<_ACEOF
9528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9529 _ACEOF
9530
9531 fi
9532 done
9533
9534   else
9535
9536   echo "$as_me:$LINENO: checking for _finite declaration" >&5
9537 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9538   if test x${glibcxx_cv_func__finite_use+set} != xset; then
9539     if test "${glibcxx_cv_func__finite_use+set}" = set; then
9540   echo $ECHO_N "(cached) $ECHO_C" >&6
9541 else
9542
9543
9544
9545       ac_ext=cc
9546 ac_cpp='$CXXCPP $CPPFLAGS'
9547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9550
9551       cat >conftest.$ac_ext <<_ACEOF
9552 /* confdefs.h.  */
9553 _ACEOF
9554 cat confdefs.h >>conftest.$ac_ext
9555 cat >>conftest.$ac_ext <<_ACEOF
9556 /* end confdefs.h.  */
9557 #include <math.h>
9558                       #ifdef HAVE_IEEEFP_H
9559                       #include <ieeefp.h>
9560                       #endif
9561
9562 int
9563 main ()
9564 {
9565  _finite(0);
9566   ;
9567   return 0;
9568 }
9569 _ACEOF
9570 rm -f conftest.$ac_objext
9571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9572   (eval $ac_compile) 2>conftest.er1
9573   ac_status=$?
9574   grep -v '^ *+' conftest.er1 >conftest.err
9575   rm -f conftest.er1
9576   cat conftest.err >&5
9577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9578   (exit $ac_status); } &&
9579          { ac_try='test -z "$ac_cxx_werror_flag"
9580                          || test ! -s conftest.err'
9581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9582   (eval $ac_try) 2>&5
9583   ac_status=$?
9584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585   (exit $ac_status); }; } &&
9586          { ac_try='test -s conftest.$ac_objext'
9587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9588   (eval $ac_try) 2>&5
9589   ac_status=$?
9590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9591   (exit $ac_status); }; }; then
9592   glibcxx_cv_func__finite_use=yes
9593 else
9594   echo "$as_me: failed program was:" >&5
9595 sed 's/^/| /' conftest.$ac_ext >&5
9596
9597 glibcxx_cv_func__finite_use=no
9598 fi
9599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9600       ac_ext=c
9601 ac_cpp='$CPP $CPPFLAGS'
9602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9605
9606
9607 fi
9608
9609   fi
9610   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9611 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9612
9613     if test x$glibcxx_cv_func__finite_use = x"yes"; then
9614
9615 for ac_func in _finite
9616 do
9617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9618 echo "$as_me:$LINENO: checking for $ac_func" >&5
9619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9620 if eval "test \"\${$as_ac_var+set}\" = set"; then
9621   echo $ECHO_N "(cached) $ECHO_C" >&6
9622 else
9623   if test x$gcc_no_link = xyes; then
9624   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9626    { (exit 1); exit 1; }; }
9627 fi
9628 cat >conftest.$ac_ext <<_ACEOF
9629 /* confdefs.h.  */
9630 _ACEOF
9631 cat confdefs.h >>conftest.$ac_ext
9632 cat >>conftest.$ac_ext <<_ACEOF
9633 /* end confdefs.h.  */
9634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9635    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9636 #define $ac_func innocuous_$ac_func
9637
9638 /* System header to define __stub macros and hopefully few prototypes,
9639     which can conflict with char $ac_func (); below.
9640     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9641     <limits.h> exists even on freestanding compilers.  */
9642
9643 #ifdef __STDC__
9644 # include <limits.h>
9645 #else
9646 # include <assert.h>
9647 #endif
9648
9649 #undef $ac_func
9650
9651 /* Override any gcc2 internal prototype to avoid an error.  */
9652 #ifdef __cplusplus
9653 extern "C"
9654 {
9655 #endif
9656 /* We use char because int might match the return type of a gcc2
9657    builtin and then its argument prototype would still apply.  */
9658 char $ac_func ();
9659 /* The GNU C library defines this for functions which it implements
9660     to always fail with ENOSYS.  Some functions are actually named
9661     something starting with __ and the normal name is an alias.  */
9662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9663 choke me
9664 #else
9665 char (*f) () = $ac_func;
9666 #endif
9667 #ifdef __cplusplus
9668 }
9669 #endif
9670
9671 int
9672 main ()
9673 {
9674 return f != $ac_func;
9675   ;
9676   return 0;
9677 }
9678 _ACEOF
9679 rm -f conftest.$ac_objext conftest$ac_exeext
9680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9681   (eval $ac_link) 2>conftest.er1
9682   ac_status=$?
9683   grep -v '^ *+' conftest.er1 >conftest.err
9684   rm -f conftest.er1
9685   cat conftest.err >&5
9686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687   (exit $ac_status); } &&
9688          { ac_try='test -z "$ac_c_werror_flag"
9689                          || test ! -s conftest.err'
9690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9691   (eval $ac_try) 2>&5
9692   ac_status=$?
9693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694   (exit $ac_status); }; } &&
9695          { ac_try='test -s conftest$ac_exeext'
9696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9697   (eval $ac_try) 2>&5
9698   ac_status=$?
9699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700   (exit $ac_status); }; }; then
9701   eval "$as_ac_var=yes"
9702 else
9703   echo "$as_me: failed program was:" >&5
9704 sed 's/^/| /' conftest.$ac_ext >&5
9705
9706 eval "$as_ac_var=no"
9707 fi
9708 rm -f conftest.err conftest.$ac_objext \
9709       conftest$ac_exeext conftest.$ac_ext
9710 fi
9711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9713 if test `eval echo '${'$as_ac_var'}'` = yes; then
9714   cat >>confdefs.h <<_ACEOF
9715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9716 _ACEOF
9717
9718 fi
9719 done
9720
9721     fi
9722   fi
9723
9724
9725
9726
9727
9728
9729   echo "$as_me:$LINENO: checking for copysign declaration" >&5
9730 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9731   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9732     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9733   echo $ECHO_N "(cached) $ECHO_C" >&6
9734 else
9735
9736
9737
9738       ac_ext=cc
9739 ac_cpp='$CXXCPP $CPPFLAGS'
9740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9743
9744       cat >conftest.$ac_ext <<_ACEOF
9745 /* confdefs.h.  */
9746 _ACEOF
9747 cat confdefs.h >>conftest.$ac_ext
9748 cat >>conftest.$ac_ext <<_ACEOF
9749 /* end confdefs.h.  */
9750 #include <math.h>
9751 int
9752 main ()
9753 {
9754  copysign(0, 0);
9755   ;
9756   return 0;
9757 }
9758 _ACEOF
9759 rm -f conftest.$ac_objext
9760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9761   (eval $ac_compile) 2>conftest.er1
9762   ac_status=$?
9763   grep -v '^ *+' conftest.er1 >conftest.err
9764   rm -f conftest.er1
9765   cat conftest.err >&5
9766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9767   (exit $ac_status); } &&
9768          { ac_try='test -z "$ac_cxx_werror_flag"
9769                          || test ! -s conftest.err'
9770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9771   (eval $ac_try) 2>&5
9772   ac_status=$?
9773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774   (exit $ac_status); }; } &&
9775          { ac_try='test -s conftest.$ac_objext'
9776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9777   (eval $ac_try) 2>&5
9778   ac_status=$?
9779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780   (exit $ac_status); }; }; then
9781   glibcxx_cv_func_copysign_use=yes
9782 else
9783   echo "$as_me: failed program was:" >&5
9784 sed 's/^/| /' conftest.$ac_ext >&5
9785
9786 glibcxx_cv_func_copysign_use=no
9787 fi
9788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9789       ac_ext=c
9790 ac_cpp='$CPP $CPPFLAGS'
9791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9794
9795
9796 fi
9797
9798   fi
9799   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9800 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9801
9802   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9803
9804 for ac_func in copysign
9805 do
9806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9807 echo "$as_me:$LINENO: checking for $ac_func" >&5
9808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9809 if eval "test \"\${$as_ac_var+set}\" = set"; then
9810   echo $ECHO_N "(cached) $ECHO_C" >&6
9811 else
9812   if test x$gcc_no_link = xyes; then
9813   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9815    { (exit 1); exit 1; }; }
9816 fi
9817 cat >conftest.$ac_ext <<_ACEOF
9818 /* confdefs.h.  */
9819 _ACEOF
9820 cat confdefs.h >>conftest.$ac_ext
9821 cat >>conftest.$ac_ext <<_ACEOF
9822 /* end confdefs.h.  */
9823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9824    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9825 #define $ac_func innocuous_$ac_func
9826
9827 /* System header to define __stub macros and hopefully few prototypes,
9828     which can conflict with char $ac_func (); below.
9829     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9830     <limits.h> exists even on freestanding compilers.  */
9831
9832 #ifdef __STDC__
9833 # include <limits.h>
9834 #else
9835 # include <assert.h>
9836 #endif
9837
9838 #undef $ac_func
9839
9840 /* Override any gcc2 internal prototype to avoid an error.  */
9841 #ifdef __cplusplus
9842 extern "C"
9843 {
9844 #endif
9845 /* We use char because int might match the return type of a gcc2
9846    builtin and then its argument prototype would still apply.  */
9847 char $ac_func ();
9848 /* The GNU C library defines this for functions which it implements
9849     to always fail with ENOSYS.  Some functions are actually named
9850     something starting with __ and the normal name is an alias.  */
9851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9852 choke me
9853 #else
9854 char (*f) () = $ac_func;
9855 #endif
9856 #ifdef __cplusplus
9857 }
9858 #endif
9859
9860 int
9861 main ()
9862 {
9863 return f != $ac_func;
9864   ;
9865   return 0;
9866 }
9867 _ACEOF
9868 rm -f conftest.$ac_objext conftest$ac_exeext
9869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9870   (eval $ac_link) 2>conftest.er1
9871   ac_status=$?
9872   grep -v '^ *+' conftest.er1 >conftest.err
9873   rm -f conftest.er1
9874   cat conftest.err >&5
9875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9876   (exit $ac_status); } &&
9877          { ac_try='test -z "$ac_c_werror_flag"
9878                          || test ! -s conftest.err'
9879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9880   (eval $ac_try) 2>&5
9881   ac_status=$?
9882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9883   (exit $ac_status); }; } &&
9884          { ac_try='test -s conftest$ac_exeext'
9885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9886   (eval $ac_try) 2>&5
9887   ac_status=$?
9888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9889   (exit $ac_status); }; }; then
9890   eval "$as_ac_var=yes"
9891 else
9892   echo "$as_me: failed program was:" >&5
9893 sed 's/^/| /' conftest.$ac_ext >&5
9894
9895 eval "$as_ac_var=no"
9896 fi
9897 rm -f conftest.err conftest.$ac_objext \
9898       conftest$ac_exeext conftest.$ac_ext
9899 fi
9900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9902 if test `eval echo '${'$as_ac_var'}'` = yes; then
9903   cat >>confdefs.h <<_ACEOF
9904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9905 _ACEOF
9906
9907 fi
9908 done
9909
9910   else
9911
9912   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9913 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9914   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9915     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9916   echo $ECHO_N "(cached) $ECHO_C" >&6
9917 else
9918
9919
9920
9921       ac_ext=cc
9922 ac_cpp='$CXXCPP $CPPFLAGS'
9923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9926
9927       cat >conftest.$ac_ext <<_ACEOF
9928 /* confdefs.h.  */
9929 _ACEOF
9930 cat confdefs.h >>conftest.$ac_ext
9931 cat >>conftest.$ac_ext <<_ACEOF
9932 /* end confdefs.h.  */
9933 #include <math.h>
9934 int
9935 main ()
9936 {
9937  _copysign(0, 0);
9938   ;
9939   return 0;
9940 }
9941 _ACEOF
9942 rm -f conftest.$ac_objext
9943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9944   (eval $ac_compile) 2>conftest.er1
9945   ac_status=$?
9946   grep -v '^ *+' conftest.er1 >conftest.err
9947   rm -f conftest.er1
9948   cat conftest.err >&5
9949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950   (exit $ac_status); } &&
9951          { ac_try='test -z "$ac_cxx_werror_flag"
9952                          || test ! -s conftest.err'
9953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9954   (eval $ac_try) 2>&5
9955   ac_status=$?
9956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9957   (exit $ac_status); }; } &&
9958          { ac_try='test -s conftest.$ac_objext'
9959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9960   (eval $ac_try) 2>&5
9961   ac_status=$?
9962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9963   (exit $ac_status); }; }; then
9964   glibcxx_cv_func__copysign_use=yes
9965 else
9966   echo "$as_me: failed program was:" >&5
9967 sed 's/^/| /' conftest.$ac_ext >&5
9968
9969 glibcxx_cv_func__copysign_use=no
9970 fi
9971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9972       ac_ext=c
9973 ac_cpp='$CPP $CPPFLAGS'
9974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9977
9978
9979 fi
9980
9981   fi
9982   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9983 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9984
9985     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9986
9987 for ac_func in _copysign
9988 do
9989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9990 echo "$as_me:$LINENO: checking for $ac_func" >&5
9991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9992 if eval "test \"\${$as_ac_var+set}\" = set"; then
9993   echo $ECHO_N "(cached) $ECHO_C" >&6
9994 else
9995   if test x$gcc_no_link = xyes; then
9996   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9998    { (exit 1); exit 1; }; }
9999 fi
10000 cat >conftest.$ac_ext <<_ACEOF
10001 /* confdefs.h.  */
10002 _ACEOF
10003 cat confdefs.h >>conftest.$ac_ext
10004 cat >>conftest.$ac_ext <<_ACEOF
10005 /* end confdefs.h.  */
10006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10007    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10008 #define $ac_func innocuous_$ac_func
10009
10010 /* System header to define __stub macros and hopefully few prototypes,
10011     which can conflict with char $ac_func (); below.
10012     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10013     <limits.h> exists even on freestanding compilers.  */
10014
10015 #ifdef __STDC__
10016 # include <limits.h>
10017 #else
10018 # include <assert.h>
10019 #endif
10020
10021 #undef $ac_func
10022
10023 /* Override any gcc2 internal prototype to avoid an error.  */
10024 #ifdef __cplusplus
10025 extern "C"
10026 {
10027 #endif
10028 /* We use char because int might match the return type of a gcc2
10029    builtin and then its argument prototype would still apply.  */
10030 char $ac_func ();
10031 /* The GNU C library defines this for functions which it implements
10032     to always fail with ENOSYS.  Some functions are actually named
10033     something starting with __ and the normal name is an alias.  */
10034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10035 choke me
10036 #else
10037 char (*f) () = $ac_func;
10038 #endif
10039 #ifdef __cplusplus
10040 }
10041 #endif
10042
10043 int
10044 main ()
10045 {
10046 return f != $ac_func;
10047   ;
10048   return 0;
10049 }
10050 _ACEOF
10051 rm -f conftest.$ac_objext conftest$ac_exeext
10052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10053   (eval $ac_link) 2>conftest.er1
10054   ac_status=$?
10055   grep -v '^ *+' conftest.er1 >conftest.err
10056   rm -f conftest.er1
10057   cat conftest.err >&5
10058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10059   (exit $ac_status); } &&
10060          { ac_try='test -z "$ac_c_werror_flag"
10061                          || test ! -s conftest.err'
10062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10063   (eval $ac_try) 2>&5
10064   ac_status=$?
10065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10066   (exit $ac_status); }; } &&
10067          { ac_try='test -s conftest$ac_exeext'
10068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10069   (eval $ac_try) 2>&5
10070   ac_status=$?
10071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072   (exit $ac_status); }; }; then
10073   eval "$as_ac_var=yes"
10074 else
10075   echo "$as_me: failed program was:" >&5
10076 sed 's/^/| /' conftest.$ac_ext >&5
10077
10078 eval "$as_ac_var=no"
10079 fi
10080 rm -f conftest.err conftest.$ac_objext \
10081       conftest$ac_exeext conftest.$ac_ext
10082 fi
10083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10085 if test `eval echo '${'$as_ac_var'}'` = yes; then
10086   cat >>confdefs.h <<_ACEOF
10087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10088 _ACEOF
10089
10090 fi
10091 done
10092
10093     fi
10094   fi
10095
10096
10097
10098
10099
10100
10101   echo "$as_me:$LINENO: checking for sincos declaration" >&5
10102 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
10103   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
10104     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
10105   echo $ECHO_N "(cached) $ECHO_C" >&6
10106 else
10107
10108
10109
10110       ac_ext=cc
10111 ac_cpp='$CXXCPP $CPPFLAGS'
10112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10115
10116       cat >conftest.$ac_ext <<_ACEOF
10117 /* confdefs.h.  */
10118 _ACEOF
10119 cat confdefs.h >>conftest.$ac_ext
10120 cat >>conftest.$ac_ext <<_ACEOF
10121 /* end confdefs.h.  */
10122 #include <math.h>
10123 int
10124 main ()
10125 {
10126  sincos(0, 0, 0);
10127   ;
10128   return 0;
10129 }
10130 _ACEOF
10131 rm -f conftest.$ac_objext
10132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10133   (eval $ac_compile) 2>conftest.er1
10134   ac_status=$?
10135   grep -v '^ *+' conftest.er1 >conftest.err
10136   rm -f conftest.er1
10137   cat conftest.err >&5
10138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10139   (exit $ac_status); } &&
10140          { ac_try='test -z "$ac_cxx_werror_flag"
10141                          || test ! -s conftest.err'
10142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10143   (eval $ac_try) 2>&5
10144   ac_status=$?
10145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146   (exit $ac_status); }; } &&
10147          { ac_try='test -s conftest.$ac_objext'
10148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10149   (eval $ac_try) 2>&5
10150   ac_status=$?
10151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10152   (exit $ac_status); }; }; then
10153   glibcxx_cv_func_sincos_use=yes
10154 else
10155   echo "$as_me: failed program was:" >&5
10156 sed 's/^/| /' conftest.$ac_ext >&5
10157
10158 glibcxx_cv_func_sincos_use=no
10159 fi
10160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10161       ac_ext=c
10162 ac_cpp='$CPP $CPPFLAGS'
10163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10166
10167
10168 fi
10169
10170   fi
10171   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
10172 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
10173
10174   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
10175
10176 for ac_func in sincos
10177 do
10178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10179 echo "$as_me:$LINENO: checking for $ac_func" >&5
10180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10181 if eval "test \"\${$as_ac_var+set}\" = set"; then
10182   echo $ECHO_N "(cached) $ECHO_C" >&6
10183 else
10184   if test x$gcc_no_link = xyes; then
10185   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10187    { (exit 1); exit 1; }; }
10188 fi
10189 cat >conftest.$ac_ext <<_ACEOF
10190 /* confdefs.h.  */
10191 _ACEOF
10192 cat confdefs.h >>conftest.$ac_ext
10193 cat >>conftest.$ac_ext <<_ACEOF
10194 /* end confdefs.h.  */
10195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10196    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10197 #define $ac_func innocuous_$ac_func
10198
10199 /* System header to define __stub macros and hopefully few prototypes,
10200     which can conflict with char $ac_func (); below.
10201     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10202     <limits.h> exists even on freestanding compilers.  */
10203
10204 #ifdef __STDC__
10205 # include <limits.h>
10206 #else
10207 # include <assert.h>
10208 #endif
10209
10210 #undef $ac_func
10211
10212 /* Override any gcc2 internal prototype to avoid an error.  */
10213 #ifdef __cplusplus
10214 extern "C"
10215 {
10216 #endif
10217 /* We use char because int might match the return type of a gcc2
10218    builtin and then its argument prototype would still apply.  */
10219 char $ac_func ();
10220 /* The GNU C library defines this for functions which it implements
10221     to always fail with ENOSYS.  Some functions are actually named
10222     something starting with __ and the normal name is an alias.  */
10223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10224 choke me
10225 #else
10226 char (*f) () = $ac_func;
10227 #endif
10228 #ifdef __cplusplus
10229 }
10230 #endif
10231
10232 int
10233 main ()
10234 {
10235 return f != $ac_func;
10236   ;
10237   return 0;
10238 }
10239 _ACEOF
10240 rm -f conftest.$ac_objext conftest$ac_exeext
10241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10242   (eval $ac_link) 2>conftest.er1
10243   ac_status=$?
10244   grep -v '^ *+' conftest.er1 >conftest.err
10245   rm -f conftest.er1
10246   cat conftest.err >&5
10247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10248   (exit $ac_status); } &&
10249          { ac_try='test -z "$ac_c_werror_flag"
10250                          || test ! -s conftest.err'
10251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10252   (eval $ac_try) 2>&5
10253   ac_status=$?
10254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10255   (exit $ac_status); }; } &&
10256          { ac_try='test -s conftest$ac_exeext'
10257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10258   (eval $ac_try) 2>&5
10259   ac_status=$?
10260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261   (exit $ac_status); }; }; then
10262   eval "$as_ac_var=yes"
10263 else
10264   echo "$as_me: failed program was:" >&5
10265 sed 's/^/| /' conftest.$ac_ext >&5
10266
10267 eval "$as_ac_var=no"
10268 fi
10269 rm -f conftest.err conftest.$ac_objext \
10270       conftest$ac_exeext conftest.$ac_ext
10271 fi
10272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10274 if test `eval echo '${'$as_ac_var'}'` = yes; then
10275   cat >>confdefs.h <<_ACEOF
10276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10277 _ACEOF
10278
10279 fi
10280 done
10281
10282   else
10283
10284   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10285 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10286   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10287     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10288   echo $ECHO_N "(cached) $ECHO_C" >&6
10289 else
10290
10291
10292
10293       ac_ext=cc
10294 ac_cpp='$CXXCPP $CPPFLAGS'
10295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10298
10299       cat >conftest.$ac_ext <<_ACEOF
10300 /* confdefs.h.  */
10301 _ACEOF
10302 cat confdefs.h >>conftest.$ac_ext
10303 cat >>conftest.$ac_ext <<_ACEOF
10304 /* end confdefs.h.  */
10305 #include <math.h>
10306 int
10307 main ()
10308 {
10309  _sincos(0, 0, 0);
10310   ;
10311   return 0;
10312 }
10313 _ACEOF
10314 rm -f conftest.$ac_objext
10315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10316   (eval $ac_compile) 2>conftest.er1
10317   ac_status=$?
10318   grep -v '^ *+' conftest.er1 >conftest.err
10319   rm -f conftest.er1
10320   cat conftest.err >&5
10321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322   (exit $ac_status); } &&
10323          { ac_try='test -z "$ac_cxx_werror_flag"
10324                          || test ! -s conftest.err'
10325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10326   (eval $ac_try) 2>&5
10327   ac_status=$?
10328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329   (exit $ac_status); }; } &&
10330          { ac_try='test -s conftest.$ac_objext'
10331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10332   (eval $ac_try) 2>&5
10333   ac_status=$?
10334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335   (exit $ac_status); }; }; then
10336   glibcxx_cv_func__sincos_use=yes
10337 else
10338   echo "$as_me: failed program was:" >&5
10339 sed 's/^/| /' conftest.$ac_ext >&5
10340
10341 glibcxx_cv_func__sincos_use=no
10342 fi
10343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10344       ac_ext=c
10345 ac_cpp='$CPP $CPPFLAGS'
10346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10349
10350
10351 fi
10352
10353   fi
10354   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10355 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10356
10357     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10358
10359 for ac_func in _sincos
10360 do
10361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10362 echo "$as_me:$LINENO: checking for $ac_func" >&5
10363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10364 if eval "test \"\${$as_ac_var+set}\" = set"; then
10365   echo $ECHO_N "(cached) $ECHO_C" >&6
10366 else
10367   if test x$gcc_no_link = xyes; then
10368   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10370    { (exit 1); exit 1; }; }
10371 fi
10372 cat >conftest.$ac_ext <<_ACEOF
10373 /* confdefs.h.  */
10374 _ACEOF
10375 cat confdefs.h >>conftest.$ac_ext
10376 cat >>conftest.$ac_ext <<_ACEOF
10377 /* end confdefs.h.  */
10378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10379    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10380 #define $ac_func innocuous_$ac_func
10381
10382 /* System header to define __stub macros and hopefully few prototypes,
10383     which can conflict with char $ac_func (); below.
10384     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10385     <limits.h> exists even on freestanding compilers.  */
10386
10387 #ifdef __STDC__
10388 # include <limits.h>
10389 #else
10390 # include <assert.h>
10391 #endif
10392
10393 #undef $ac_func
10394
10395 /* Override any gcc2 internal prototype to avoid an error.  */
10396 #ifdef __cplusplus
10397 extern "C"
10398 {
10399 #endif
10400 /* We use char because int might match the return type of a gcc2
10401    builtin and then its argument prototype would still apply.  */
10402 char $ac_func ();
10403 /* The GNU C library defines this for functions which it implements
10404     to always fail with ENOSYS.  Some functions are actually named
10405     something starting with __ and the normal name is an alias.  */
10406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10407 choke me
10408 #else
10409 char (*f) () = $ac_func;
10410 #endif
10411 #ifdef __cplusplus
10412 }
10413 #endif
10414
10415 int
10416 main ()
10417 {
10418 return f != $ac_func;
10419   ;
10420   return 0;
10421 }
10422 _ACEOF
10423 rm -f conftest.$ac_objext conftest$ac_exeext
10424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10425   (eval $ac_link) 2>conftest.er1
10426   ac_status=$?
10427   grep -v '^ *+' conftest.er1 >conftest.err
10428   rm -f conftest.er1
10429   cat conftest.err >&5
10430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10431   (exit $ac_status); } &&
10432          { ac_try='test -z "$ac_c_werror_flag"
10433                          || test ! -s conftest.err'
10434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10435   (eval $ac_try) 2>&5
10436   ac_status=$?
10437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10438   (exit $ac_status); }; } &&
10439          { ac_try='test -s conftest$ac_exeext'
10440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10441   (eval $ac_try) 2>&5
10442   ac_status=$?
10443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444   (exit $ac_status); }; }; then
10445   eval "$as_ac_var=yes"
10446 else
10447   echo "$as_me: failed program was:" >&5
10448 sed 's/^/| /' conftest.$ac_ext >&5
10449
10450 eval "$as_ac_var=no"
10451 fi
10452 rm -f conftest.err conftest.$ac_objext \
10453       conftest$ac_exeext conftest.$ac_ext
10454 fi
10455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10457 if test `eval echo '${'$as_ac_var'}'` = yes; then
10458   cat >>confdefs.h <<_ACEOF
10459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10460 _ACEOF
10461
10462 fi
10463 done
10464
10465     fi
10466   fi
10467
10468
10469
10470
10471
10472
10473   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10474 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10475   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10476     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10477   echo $ECHO_N "(cached) $ECHO_C" >&6
10478 else
10479
10480
10481
10482       ac_ext=cc
10483 ac_cpp='$CXXCPP $CPPFLAGS'
10484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10487
10488       cat >conftest.$ac_ext <<_ACEOF
10489 /* confdefs.h.  */
10490 _ACEOF
10491 cat confdefs.h >>conftest.$ac_ext
10492 cat >>conftest.$ac_ext <<_ACEOF
10493 /* end confdefs.h.  */
10494 #include <math.h>
10495                       #ifdef HAVE_IEEEFP_H
10496                       #include <ieeefp.h>
10497                       #endif
10498
10499 int
10500 main ()
10501 {
10502  fpclass(0);
10503   ;
10504   return 0;
10505 }
10506 _ACEOF
10507 rm -f conftest.$ac_objext
10508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10509   (eval $ac_compile) 2>conftest.er1
10510   ac_status=$?
10511   grep -v '^ *+' conftest.er1 >conftest.err
10512   rm -f conftest.er1
10513   cat conftest.err >&5
10514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515   (exit $ac_status); } &&
10516          { ac_try='test -z "$ac_cxx_werror_flag"
10517                          || test ! -s conftest.err'
10518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10519   (eval $ac_try) 2>&5
10520   ac_status=$?
10521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10522   (exit $ac_status); }; } &&
10523          { ac_try='test -s conftest.$ac_objext'
10524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10525   (eval $ac_try) 2>&5
10526   ac_status=$?
10527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528   (exit $ac_status); }; }; then
10529   glibcxx_cv_func_fpclass_use=yes
10530 else
10531   echo "$as_me: failed program was:" >&5
10532 sed 's/^/| /' conftest.$ac_ext >&5
10533
10534 glibcxx_cv_func_fpclass_use=no
10535 fi
10536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10537       ac_ext=c
10538 ac_cpp='$CPP $CPPFLAGS'
10539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10542
10543
10544 fi
10545
10546   fi
10547   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10548 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10549
10550   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10551
10552 for ac_func in fpclass
10553 do
10554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10555 echo "$as_me:$LINENO: checking for $ac_func" >&5
10556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10557 if eval "test \"\${$as_ac_var+set}\" = set"; then
10558   echo $ECHO_N "(cached) $ECHO_C" >&6
10559 else
10560   if test x$gcc_no_link = xyes; then
10561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10563    { (exit 1); exit 1; }; }
10564 fi
10565 cat >conftest.$ac_ext <<_ACEOF
10566 /* confdefs.h.  */
10567 _ACEOF
10568 cat confdefs.h >>conftest.$ac_ext
10569 cat >>conftest.$ac_ext <<_ACEOF
10570 /* end confdefs.h.  */
10571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10572    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10573 #define $ac_func innocuous_$ac_func
10574
10575 /* System header to define __stub macros and hopefully few prototypes,
10576     which can conflict with char $ac_func (); below.
10577     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10578     <limits.h> exists even on freestanding compilers.  */
10579
10580 #ifdef __STDC__
10581 # include <limits.h>
10582 #else
10583 # include <assert.h>
10584 #endif
10585
10586 #undef $ac_func
10587
10588 /* Override any gcc2 internal prototype to avoid an error.  */
10589 #ifdef __cplusplus
10590 extern "C"
10591 {
10592 #endif
10593 /* We use char because int might match the return type of a gcc2
10594    builtin and then its argument prototype would still apply.  */
10595 char $ac_func ();
10596 /* The GNU C library defines this for functions which it implements
10597     to always fail with ENOSYS.  Some functions are actually named
10598     something starting with __ and the normal name is an alias.  */
10599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10600 choke me
10601 #else
10602 char (*f) () = $ac_func;
10603 #endif
10604 #ifdef __cplusplus
10605 }
10606 #endif
10607
10608 int
10609 main ()
10610 {
10611 return f != $ac_func;
10612   ;
10613   return 0;
10614 }
10615 _ACEOF
10616 rm -f conftest.$ac_objext conftest$ac_exeext
10617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10618   (eval $ac_link) 2>conftest.er1
10619   ac_status=$?
10620   grep -v '^ *+' conftest.er1 >conftest.err
10621   rm -f conftest.er1
10622   cat conftest.err >&5
10623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624   (exit $ac_status); } &&
10625          { ac_try='test -z "$ac_c_werror_flag"
10626                          || test ! -s conftest.err'
10627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10628   (eval $ac_try) 2>&5
10629   ac_status=$?
10630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10631   (exit $ac_status); }; } &&
10632          { ac_try='test -s conftest$ac_exeext'
10633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10634   (eval $ac_try) 2>&5
10635   ac_status=$?
10636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637   (exit $ac_status); }; }; then
10638   eval "$as_ac_var=yes"
10639 else
10640   echo "$as_me: failed program was:" >&5
10641 sed 's/^/| /' conftest.$ac_ext >&5
10642
10643 eval "$as_ac_var=no"
10644 fi
10645 rm -f conftest.err conftest.$ac_objext \
10646       conftest$ac_exeext conftest.$ac_ext
10647 fi
10648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10650 if test `eval echo '${'$as_ac_var'}'` = yes; then
10651   cat >>confdefs.h <<_ACEOF
10652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10653 _ACEOF
10654
10655 fi
10656 done
10657
10658   else
10659
10660   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10661 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10662   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10663     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10664   echo $ECHO_N "(cached) $ECHO_C" >&6
10665 else
10666
10667
10668
10669       ac_ext=cc
10670 ac_cpp='$CXXCPP $CPPFLAGS'
10671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10674
10675       cat >conftest.$ac_ext <<_ACEOF
10676 /* confdefs.h.  */
10677 _ACEOF
10678 cat confdefs.h >>conftest.$ac_ext
10679 cat >>conftest.$ac_ext <<_ACEOF
10680 /* end confdefs.h.  */
10681 #include <math.h>
10682                       #ifdef HAVE_IEEEFP_H
10683                       #include <ieeefp.h>
10684                       #endif
10685
10686 int
10687 main ()
10688 {
10689  _fpclass(0);
10690   ;
10691   return 0;
10692 }
10693 _ACEOF
10694 rm -f conftest.$ac_objext
10695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10696   (eval $ac_compile) 2>conftest.er1
10697   ac_status=$?
10698   grep -v '^ *+' conftest.er1 >conftest.err
10699   rm -f conftest.er1
10700   cat conftest.err >&5
10701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10702   (exit $ac_status); } &&
10703          { ac_try='test -z "$ac_cxx_werror_flag"
10704                          || test ! -s conftest.err'
10705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10706   (eval $ac_try) 2>&5
10707   ac_status=$?
10708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709   (exit $ac_status); }; } &&
10710          { ac_try='test -s conftest.$ac_objext'
10711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10712   (eval $ac_try) 2>&5
10713   ac_status=$?
10714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715   (exit $ac_status); }; }; then
10716   glibcxx_cv_func__fpclass_use=yes
10717 else
10718   echo "$as_me: failed program was:" >&5
10719 sed 's/^/| /' conftest.$ac_ext >&5
10720
10721 glibcxx_cv_func__fpclass_use=no
10722 fi
10723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10724       ac_ext=c
10725 ac_cpp='$CPP $CPPFLAGS'
10726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10729
10730
10731 fi
10732
10733   fi
10734   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10735 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10736
10737     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10738
10739 for ac_func in _fpclass
10740 do
10741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10742 echo "$as_me:$LINENO: checking for $ac_func" >&5
10743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10744 if eval "test \"\${$as_ac_var+set}\" = set"; then
10745   echo $ECHO_N "(cached) $ECHO_C" >&6
10746 else
10747   if test x$gcc_no_link = xyes; then
10748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10750    { (exit 1); exit 1; }; }
10751 fi
10752 cat >conftest.$ac_ext <<_ACEOF
10753 /* confdefs.h.  */
10754 _ACEOF
10755 cat confdefs.h >>conftest.$ac_ext
10756 cat >>conftest.$ac_ext <<_ACEOF
10757 /* end confdefs.h.  */
10758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10759    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10760 #define $ac_func innocuous_$ac_func
10761
10762 /* System header to define __stub macros and hopefully few prototypes,
10763     which can conflict with char $ac_func (); below.
10764     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10765     <limits.h> exists even on freestanding compilers.  */
10766
10767 #ifdef __STDC__
10768 # include <limits.h>
10769 #else
10770 # include <assert.h>
10771 #endif
10772
10773 #undef $ac_func
10774
10775 /* Override any gcc2 internal prototype to avoid an error.  */
10776 #ifdef __cplusplus
10777 extern "C"
10778 {
10779 #endif
10780 /* We use char because int might match the return type of a gcc2
10781    builtin and then its argument prototype would still apply.  */
10782 char $ac_func ();
10783 /* The GNU C library defines this for functions which it implements
10784     to always fail with ENOSYS.  Some functions are actually named
10785     something starting with __ and the normal name is an alias.  */
10786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10787 choke me
10788 #else
10789 char (*f) () = $ac_func;
10790 #endif
10791 #ifdef __cplusplus
10792 }
10793 #endif
10794
10795 int
10796 main ()
10797 {
10798 return f != $ac_func;
10799   ;
10800   return 0;
10801 }
10802 _ACEOF
10803 rm -f conftest.$ac_objext conftest$ac_exeext
10804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10805   (eval $ac_link) 2>conftest.er1
10806   ac_status=$?
10807   grep -v '^ *+' conftest.er1 >conftest.err
10808   rm -f conftest.er1
10809   cat conftest.err >&5
10810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811   (exit $ac_status); } &&
10812          { ac_try='test -z "$ac_c_werror_flag"
10813                          || test ! -s conftest.err'
10814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10815   (eval $ac_try) 2>&5
10816   ac_status=$?
10817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10818   (exit $ac_status); }; } &&
10819          { ac_try='test -s conftest$ac_exeext'
10820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10821   (eval $ac_try) 2>&5
10822   ac_status=$?
10823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824   (exit $ac_status); }; }; then
10825   eval "$as_ac_var=yes"
10826 else
10827   echo "$as_me: failed program was:" >&5
10828 sed 's/^/| /' conftest.$ac_ext >&5
10829
10830 eval "$as_ac_var=no"
10831 fi
10832 rm -f conftest.err conftest.$ac_objext \
10833       conftest$ac_exeext conftest.$ac_ext
10834 fi
10835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10837 if test `eval echo '${'$as_ac_var'}'` = yes; then
10838   cat >>confdefs.h <<_ACEOF
10839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10840 _ACEOF
10841
10842 fi
10843 done
10844
10845     fi
10846   fi
10847
10848
10849
10850
10851
10852
10853   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10854 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10855   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10856     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10857   echo $ECHO_N "(cached) $ECHO_C" >&6
10858 else
10859
10860
10861
10862       ac_ext=cc
10863 ac_cpp='$CXXCPP $CPPFLAGS'
10864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10867
10868       cat >conftest.$ac_ext <<_ACEOF
10869 /* confdefs.h.  */
10870 _ACEOF
10871 cat confdefs.h >>conftest.$ac_ext
10872 cat >>conftest.$ac_ext <<_ACEOF
10873 /* end confdefs.h.  */
10874 #include <math.h>
10875                       #ifdef HAVE_IEEEFP_H
10876                       #include <ieeefp.h>
10877                       #endif
10878
10879 int
10880 main ()
10881 {
10882  qfpclass(0);
10883   ;
10884   return 0;
10885 }
10886 _ACEOF
10887 rm -f conftest.$ac_objext
10888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10889   (eval $ac_compile) 2>conftest.er1
10890   ac_status=$?
10891   grep -v '^ *+' conftest.er1 >conftest.err
10892   rm -f conftest.er1
10893   cat conftest.err >&5
10894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10895   (exit $ac_status); } &&
10896          { ac_try='test -z "$ac_cxx_werror_flag"
10897                          || test ! -s conftest.err'
10898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10899   (eval $ac_try) 2>&5
10900   ac_status=$?
10901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10902   (exit $ac_status); }; } &&
10903          { ac_try='test -s conftest.$ac_objext'
10904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10905   (eval $ac_try) 2>&5
10906   ac_status=$?
10907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10908   (exit $ac_status); }; }; then
10909   glibcxx_cv_func_qfpclass_use=yes
10910 else
10911   echo "$as_me: failed program was:" >&5
10912 sed 's/^/| /' conftest.$ac_ext >&5
10913
10914 glibcxx_cv_func_qfpclass_use=no
10915 fi
10916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10917       ac_ext=c
10918 ac_cpp='$CPP $CPPFLAGS'
10919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10922
10923
10924 fi
10925
10926   fi
10927   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10928 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10929
10930   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10931
10932 for ac_func in qfpclass
10933 do
10934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10935 echo "$as_me:$LINENO: checking for $ac_func" >&5
10936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10937 if eval "test \"\${$as_ac_var+set}\" = set"; then
10938   echo $ECHO_N "(cached) $ECHO_C" >&6
10939 else
10940   if test x$gcc_no_link = xyes; then
10941   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10943    { (exit 1); exit 1; }; }
10944 fi
10945 cat >conftest.$ac_ext <<_ACEOF
10946 /* confdefs.h.  */
10947 _ACEOF
10948 cat confdefs.h >>conftest.$ac_ext
10949 cat >>conftest.$ac_ext <<_ACEOF
10950 /* end confdefs.h.  */
10951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10952    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10953 #define $ac_func innocuous_$ac_func
10954
10955 /* System header to define __stub macros and hopefully few prototypes,
10956     which can conflict with char $ac_func (); below.
10957     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10958     <limits.h> exists even on freestanding compilers.  */
10959
10960 #ifdef __STDC__
10961 # include <limits.h>
10962 #else
10963 # include <assert.h>
10964 #endif
10965
10966 #undef $ac_func
10967
10968 /* Override any gcc2 internal prototype to avoid an error.  */
10969 #ifdef __cplusplus
10970 extern "C"
10971 {
10972 #endif
10973 /* We use char because int might match the return type of a gcc2
10974    builtin and then its argument prototype would still apply.  */
10975 char $ac_func ();
10976 /* The GNU C library defines this for functions which it implements
10977     to always fail with ENOSYS.  Some functions are actually named
10978     something starting with __ and the normal name is an alias.  */
10979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10980 choke me
10981 #else
10982 char (*f) () = $ac_func;
10983 #endif
10984 #ifdef __cplusplus
10985 }
10986 #endif
10987
10988 int
10989 main ()
10990 {
10991 return f != $ac_func;
10992   ;
10993   return 0;
10994 }
10995 _ACEOF
10996 rm -f conftest.$ac_objext conftest$ac_exeext
10997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10998   (eval $ac_link) 2>conftest.er1
10999   ac_status=$?
11000   grep -v '^ *+' conftest.er1 >conftest.err
11001   rm -f conftest.er1
11002   cat conftest.err >&5
11003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11004   (exit $ac_status); } &&
11005          { ac_try='test -z "$ac_c_werror_flag"
11006                          || test ! -s conftest.err'
11007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11008   (eval $ac_try) 2>&5
11009   ac_status=$?
11010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011   (exit $ac_status); }; } &&
11012          { ac_try='test -s conftest$ac_exeext'
11013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11014   (eval $ac_try) 2>&5
11015   ac_status=$?
11016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017   (exit $ac_status); }; }; then
11018   eval "$as_ac_var=yes"
11019 else
11020   echo "$as_me: failed program was:" >&5
11021 sed 's/^/| /' conftest.$ac_ext >&5
11022
11023 eval "$as_ac_var=no"
11024 fi
11025 rm -f conftest.err conftest.$ac_objext \
11026       conftest$ac_exeext conftest.$ac_ext
11027 fi
11028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11030 if test `eval echo '${'$as_ac_var'}'` = yes; then
11031   cat >>confdefs.h <<_ACEOF
11032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11033 _ACEOF
11034
11035 fi
11036 done
11037
11038   else
11039
11040   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
11041 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
11042   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
11043     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
11044   echo $ECHO_N "(cached) $ECHO_C" >&6
11045 else
11046
11047
11048
11049       ac_ext=cc
11050 ac_cpp='$CXXCPP $CPPFLAGS'
11051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11054
11055       cat >conftest.$ac_ext <<_ACEOF
11056 /* confdefs.h.  */
11057 _ACEOF
11058 cat confdefs.h >>conftest.$ac_ext
11059 cat >>conftest.$ac_ext <<_ACEOF
11060 /* end confdefs.h.  */
11061 #include <math.h>
11062                       #ifdef HAVE_IEEEFP_H
11063                       #include <ieeefp.h>
11064                       #endif
11065
11066 int
11067 main ()
11068 {
11069  _qfpclass(0);
11070   ;
11071   return 0;
11072 }
11073 _ACEOF
11074 rm -f conftest.$ac_objext
11075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11076   (eval $ac_compile) 2>conftest.er1
11077   ac_status=$?
11078   grep -v '^ *+' conftest.er1 >conftest.err
11079   rm -f conftest.er1
11080   cat conftest.err >&5
11081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082   (exit $ac_status); } &&
11083          { ac_try='test -z "$ac_cxx_werror_flag"
11084                          || test ! -s conftest.err'
11085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11086   (eval $ac_try) 2>&5
11087   ac_status=$?
11088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11089   (exit $ac_status); }; } &&
11090          { ac_try='test -s conftest.$ac_objext'
11091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11092   (eval $ac_try) 2>&5
11093   ac_status=$?
11094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11095   (exit $ac_status); }; }; then
11096   glibcxx_cv_func__qfpclass_use=yes
11097 else
11098   echo "$as_me: failed program was:" >&5
11099 sed 's/^/| /' conftest.$ac_ext >&5
11100
11101 glibcxx_cv_func__qfpclass_use=no
11102 fi
11103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11104       ac_ext=c
11105 ac_cpp='$CPP $CPPFLAGS'
11106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11109
11110
11111 fi
11112
11113   fi
11114   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
11115 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
11116
11117     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
11118
11119 for ac_func in _qfpclass
11120 do
11121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11122 echo "$as_me:$LINENO: checking for $ac_func" >&5
11123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11124 if eval "test \"\${$as_ac_var+set}\" = set"; then
11125   echo $ECHO_N "(cached) $ECHO_C" >&6
11126 else
11127   if test x$gcc_no_link = xyes; then
11128   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11130    { (exit 1); exit 1; }; }
11131 fi
11132 cat >conftest.$ac_ext <<_ACEOF
11133 /* confdefs.h.  */
11134 _ACEOF
11135 cat confdefs.h >>conftest.$ac_ext
11136 cat >>conftest.$ac_ext <<_ACEOF
11137 /* end confdefs.h.  */
11138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11139    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11140 #define $ac_func innocuous_$ac_func
11141
11142 /* System header to define __stub macros and hopefully few prototypes,
11143     which can conflict with char $ac_func (); below.
11144     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11145     <limits.h> exists even on freestanding compilers.  */
11146
11147 #ifdef __STDC__
11148 # include <limits.h>
11149 #else
11150 # include <assert.h>
11151 #endif
11152
11153 #undef $ac_func
11154
11155 /* Override any gcc2 internal prototype to avoid an error.  */
11156 #ifdef __cplusplus
11157 extern "C"
11158 {
11159 #endif
11160 /* We use char because int might match the return type of a gcc2
11161    builtin and then its argument prototype would still apply.  */
11162 char $ac_func ();
11163 /* The GNU C library defines this for functions which it implements
11164     to always fail with ENOSYS.  Some functions are actually named
11165     something starting with __ and the normal name is an alias.  */
11166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11167 choke me
11168 #else
11169 char (*f) () = $ac_func;
11170 #endif
11171 #ifdef __cplusplus
11172 }
11173 #endif
11174
11175 int
11176 main ()
11177 {
11178 return f != $ac_func;
11179   ;
11180   return 0;
11181 }
11182 _ACEOF
11183 rm -f conftest.$ac_objext conftest$ac_exeext
11184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11185   (eval $ac_link) 2>conftest.er1
11186   ac_status=$?
11187   grep -v '^ *+' conftest.er1 >conftest.err
11188   rm -f conftest.er1
11189   cat conftest.err >&5
11190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11191   (exit $ac_status); } &&
11192          { ac_try='test -z "$ac_c_werror_flag"
11193                          || test ! -s conftest.err'
11194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11195   (eval $ac_try) 2>&5
11196   ac_status=$?
11197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11198   (exit $ac_status); }; } &&
11199          { ac_try='test -s conftest$ac_exeext'
11200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11201   (eval $ac_try) 2>&5
11202   ac_status=$?
11203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11204   (exit $ac_status); }; }; then
11205   eval "$as_ac_var=yes"
11206 else
11207   echo "$as_me: failed program was:" >&5
11208 sed 's/^/| /' conftest.$ac_ext >&5
11209
11210 eval "$as_ac_var=no"
11211 fi
11212 rm -f conftest.err conftest.$ac_objext \
11213       conftest$ac_exeext conftest.$ac_ext
11214 fi
11215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11217 if test `eval echo '${'$as_ac_var'}'` = yes; then
11218   cat >>confdefs.h <<_ACEOF
11219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11220 _ACEOF
11221
11222 fi
11223 done
11224
11225     fi
11226   fi
11227
11228
11229
11230
11231
11232
11233   echo "$as_me:$LINENO: checking for hypot declaration" >&5
11234 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11235   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11236     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11237   echo $ECHO_N "(cached) $ECHO_C" >&6
11238 else
11239
11240
11241
11242       ac_ext=cc
11243 ac_cpp='$CXXCPP $CPPFLAGS'
11244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11247
11248       cat >conftest.$ac_ext <<_ACEOF
11249 /* confdefs.h.  */
11250 _ACEOF
11251 cat confdefs.h >>conftest.$ac_ext
11252 cat >>conftest.$ac_ext <<_ACEOF
11253 /* end confdefs.h.  */
11254 #include <math.h>
11255 int
11256 main ()
11257 {
11258  hypot(0, 0);
11259   ;
11260   return 0;
11261 }
11262 _ACEOF
11263 rm -f conftest.$ac_objext
11264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11265   (eval $ac_compile) 2>conftest.er1
11266   ac_status=$?
11267   grep -v '^ *+' conftest.er1 >conftest.err
11268   rm -f conftest.er1
11269   cat conftest.err >&5
11270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11271   (exit $ac_status); } &&
11272          { ac_try='test -z "$ac_cxx_werror_flag"
11273                          || test ! -s conftest.err'
11274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11275   (eval $ac_try) 2>&5
11276   ac_status=$?
11277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11278   (exit $ac_status); }; } &&
11279          { ac_try='test -s conftest.$ac_objext'
11280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11281   (eval $ac_try) 2>&5
11282   ac_status=$?
11283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284   (exit $ac_status); }; }; then
11285   glibcxx_cv_func_hypot_use=yes
11286 else
11287   echo "$as_me: failed program was:" >&5
11288 sed 's/^/| /' conftest.$ac_ext >&5
11289
11290 glibcxx_cv_func_hypot_use=no
11291 fi
11292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11293       ac_ext=c
11294 ac_cpp='$CPP $CPPFLAGS'
11295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11298
11299
11300 fi
11301
11302   fi
11303   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11304 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11305
11306   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11307
11308 for ac_func in hypot
11309 do
11310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11311 echo "$as_me:$LINENO: checking for $ac_func" >&5
11312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11313 if eval "test \"\${$as_ac_var+set}\" = set"; then
11314   echo $ECHO_N "(cached) $ECHO_C" >&6
11315 else
11316   if test x$gcc_no_link = xyes; then
11317   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11319    { (exit 1); exit 1; }; }
11320 fi
11321 cat >conftest.$ac_ext <<_ACEOF
11322 /* confdefs.h.  */
11323 _ACEOF
11324 cat confdefs.h >>conftest.$ac_ext
11325 cat >>conftest.$ac_ext <<_ACEOF
11326 /* end confdefs.h.  */
11327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11328    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11329 #define $ac_func innocuous_$ac_func
11330
11331 /* System header to define __stub macros and hopefully few prototypes,
11332     which can conflict with char $ac_func (); below.
11333     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11334     <limits.h> exists even on freestanding compilers.  */
11335
11336 #ifdef __STDC__
11337 # include <limits.h>
11338 #else
11339 # include <assert.h>
11340 #endif
11341
11342 #undef $ac_func
11343
11344 /* Override any gcc2 internal prototype to avoid an error.  */
11345 #ifdef __cplusplus
11346 extern "C"
11347 {
11348 #endif
11349 /* We use char because int might match the return type of a gcc2
11350    builtin and then its argument prototype would still apply.  */
11351 char $ac_func ();
11352 /* The GNU C library defines this for functions which it implements
11353     to always fail with ENOSYS.  Some functions are actually named
11354     something starting with __ and the normal name is an alias.  */
11355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11356 choke me
11357 #else
11358 char (*f) () = $ac_func;
11359 #endif
11360 #ifdef __cplusplus
11361 }
11362 #endif
11363
11364 int
11365 main ()
11366 {
11367 return f != $ac_func;
11368   ;
11369   return 0;
11370 }
11371 _ACEOF
11372 rm -f conftest.$ac_objext conftest$ac_exeext
11373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11374   (eval $ac_link) 2>conftest.er1
11375   ac_status=$?
11376   grep -v '^ *+' conftest.er1 >conftest.err
11377   rm -f conftest.er1
11378   cat conftest.err >&5
11379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380   (exit $ac_status); } &&
11381          { ac_try='test -z "$ac_c_werror_flag"
11382                          || test ! -s conftest.err'
11383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11384   (eval $ac_try) 2>&5
11385   ac_status=$?
11386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387   (exit $ac_status); }; } &&
11388          { ac_try='test -s conftest$ac_exeext'
11389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11390   (eval $ac_try) 2>&5
11391   ac_status=$?
11392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11393   (exit $ac_status); }; }; then
11394   eval "$as_ac_var=yes"
11395 else
11396   echo "$as_me: failed program was:" >&5
11397 sed 's/^/| /' conftest.$ac_ext >&5
11398
11399 eval "$as_ac_var=no"
11400 fi
11401 rm -f conftest.err conftest.$ac_objext \
11402       conftest$ac_exeext conftest.$ac_ext
11403 fi
11404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11406 if test `eval echo '${'$as_ac_var'}'` = yes; then
11407   cat >>confdefs.h <<_ACEOF
11408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11409 _ACEOF
11410
11411 fi
11412 done
11413
11414   else
11415
11416   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11417 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11418   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11419     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11420   echo $ECHO_N "(cached) $ECHO_C" >&6
11421 else
11422
11423
11424
11425       ac_ext=cc
11426 ac_cpp='$CXXCPP $CPPFLAGS'
11427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11430
11431       cat >conftest.$ac_ext <<_ACEOF
11432 /* confdefs.h.  */
11433 _ACEOF
11434 cat confdefs.h >>conftest.$ac_ext
11435 cat >>conftest.$ac_ext <<_ACEOF
11436 /* end confdefs.h.  */
11437 #include <math.h>
11438 int
11439 main ()
11440 {
11441  _hypot(0, 0);
11442   ;
11443   return 0;
11444 }
11445 _ACEOF
11446 rm -f conftest.$ac_objext
11447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11448   (eval $ac_compile) 2>conftest.er1
11449   ac_status=$?
11450   grep -v '^ *+' conftest.er1 >conftest.err
11451   rm -f conftest.er1
11452   cat conftest.err >&5
11453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454   (exit $ac_status); } &&
11455          { ac_try='test -z "$ac_cxx_werror_flag"
11456                          || test ! -s conftest.err'
11457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11458   (eval $ac_try) 2>&5
11459   ac_status=$?
11460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11461   (exit $ac_status); }; } &&
11462          { ac_try='test -s conftest.$ac_objext'
11463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11464   (eval $ac_try) 2>&5
11465   ac_status=$?
11466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11467   (exit $ac_status); }; }; then
11468   glibcxx_cv_func__hypot_use=yes
11469 else
11470   echo "$as_me: failed program was:" >&5
11471 sed 's/^/| /' conftest.$ac_ext >&5
11472
11473 glibcxx_cv_func__hypot_use=no
11474 fi
11475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11476       ac_ext=c
11477 ac_cpp='$CPP $CPPFLAGS'
11478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11481
11482
11483 fi
11484
11485   fi
11486   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11487 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11488
11489     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11490
11491 for ac_func in _hypot
11492 do
11493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11494 echo "$as_me:$LINENO: checking for $ac_func" >&5
11495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11496 if eval "test \"\${$as_ac_var+set}\" = set"; then
11497   echo $ECHO_N "(cached) $ECHO_C" >&6
11498 else
11499   if test x$gcc_no_link = xyes; then
11500   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11502    { (exit 1); exit 1; }; }
11503 fi
11504 cat >conftest.$ac_ext <<_ACEOF
11505 /* confdefs.h.  */
11506 _ACEOF
11507 cat confdefs.h >>conftest.$ac_ext
11508 cat >>conftest.$ac_ext <<_ACEOF
11509 /* end confdefs.h.  */
11510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11511    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11512 #define $ac_func innocuous_$ac_func
11513
11514 /* System header to define __stub macros and hopefully few prototypes,
11515     which can conflict with char $ac_func (); below.
11516     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11517     <limits.h> exists even on freestanding compilers.  */
11518
11519 #ifdef __STDC__
11520 # include <limits.h>
11521 #else
11522 # include <assert.h>
11523 #endif
11524
11525 #undef $ac_func
11526
11527 /* Override any gcc2 internal prototype to avoid an error.  */
11528 #ifdef __cplusplus
11529 extern "C"
11530 {
11531 #endif
11532 /* We use char because int might match the return type of a gcc2
11533    builtin and then its argument prototype would still apply.  */
11534 char $ac_func ();
11535 /* The GNU C library defines this for functions which it implements
11536     to always fail with ENOSYS.  Some functions are actually named
11537     something starting with __ and the normal name is an alias.  */
11538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11539 choke me
11540 #else
11541 char (*f) () = $ac_func;
11542 #endif
11543 #ifdef __cplusplus
11544 }
11545 #endif
11546
11547 int
11548 main ()
11549 {
11550 return f != $ac_func;
11551   ;
11552   return 0;
11553 }
11554 _ACEOF
11555 rm -f conftest.$ac_objext conftest$ac_exeext
11556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11557   (eval $ac_link) 2>conftest.er1
11558   ac_status=$?
11559   grep -v '^ *+' conftest.er1 >conftest.err
11560   rm -f conftest.er1
11561   cat conftest.err >&5
11562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563   (exit $ac_status); } &&
11564          { ac_try='test -z "$ac_c_werror_flag"
11565                          || test ! -s conftest.err'
11566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11567   (eval $ac_try) 2>&5
11568   ac_status=$?
11569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11570   (exit $ac_status); }; } &&
11571          { ac_try='test -s conftest$ac_exeext'
11572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11573   (eval $ac_try) 2>&5
11574   ac_status=$?
11575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576   (exit $ac_status); }; }; then
11577   eval "$as_ac_var=yes"
11578 else
11579   echo "$as_me: failed program was:" >&5
11580 sed 's/^/| /' conftest.$ac_ext >&5
11581
11582 eval "$as_ac_var=no"
11583 fi
11584 rm -f conftest.err conftest.$ac_objext \
11585       conftest$ac_exeext conftest.$ac_ext
11586 fi
11587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11589 if test `eval echo '${'$as_ac_var'}'` = yes; then
11590   cat >>confdefs.h <<_ACEOF
11591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11592 _ACEOF
11593
11594 fi
11595 done
11596
11597     fi
11598   fi
11599
11600
11601
11602
11603
11604
11605     echo "$as_me:$LINENO: checking for float trig functions" >&5
11606 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11607   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11608   echo $ECHO_N "(cached) $ECHO_C" >&6
11609 else
11610
11611
11612
11613     ac_ext=cc
11614 ac_cpp='$CXXCPP $CPPFLAGS'
11615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11618
11619     cat >conftest.$ac_ext <<_ACEOF
11620 /* confdefs.h.  */
11621 _ACEOF
11622 cat confdefs.h >>conftest.$ac_ext
11623 cat >>conftest.$ac_ext <<_ACEOF
11624 /* end confdefs.h.  */
11625 #include <math.h>
11626 int
11627 main ()
11628 {
11629 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11630   ;
11631   return 0;
11632 }
11633 _ACEOF
11634 rm -f conftest.$ac_objext
11635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11636   (eval $ac_compile) 2>conftest.er1
11637   ac_status=$?
11638   grep -v '^ *+' conftest.er1 >conftest.err
11639   rm -f conftest.er1
11640   cat conftest.err >&5
11641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11642   (exit $ac_status); } &&
11643          { ac_try='test -z "$ac_cxx_werror_flag"
11644                          || test ! -s conftest.err'
11645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11646   (eval $ac_try) 2>&5
11647   ac_status=$?
11648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649   (exit $ac_status); }; } &&
11650          { ac_try='test -s conftest.$ac_objext'
11651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11652   (eval $ac_try) 2>&5
11653   ac_status=$?
11654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655   (exit $ac_status); }; }; then
11656   glibcxx_cv_func_float_trig_use=yes
11657 else
11658   echo "$as_me: failed program was:" >&5
11659 sed 's/^/| /' conftest.$ac_ext >&5
11660
11661 glibcxx_cv_func_float_trig_use=no
11662 fi
11663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11664     ac_ext=c
11665 ac_cpp='$CPP $CPPFLAGS'
11666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11669
11670 fi
11671
11672   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11673 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11674   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11685 do
11686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11687 echo "$as_me:$LINENO: checking for $ac_func" >&5
11688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11689 if eval "test \"\${$as_ac_var+set}\" = set"; then
11690   echo $ECHO_N "(cached) $ECHO_C" >&6
11691 else
11692   if test x$gcc_no_link = xyes; then
11693   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11695    { (exit 1); exit 1; }; }
11696 fi
11697 cat >conftest.$ac_ext <<_ACEOF
11698 /* confdefs.h.  */
11699 _ACEOF
11700 cat confdefs.h >>conftest.$ac_ext
11701 cat >>conftest.$ac_ext <<_ACEOF
11702 /* end confdefs.h.  */
11703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11704    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11705 #define $ac_func innocuous_$ac_func
11706
11707 /* System header to define __stub macros and hopefully few prototypes,
11708     which can conflict with char $ac_func (); below.
11709     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11710     <limits.h> exists even on freestanding compilers.  */
11711
11712 #ifdef __STDC__
11713 # include <limits.h>
11714 #else
11715 # include <assert.h>
11716 #endif
11717
11718 #undef $ac_func
11719
11720 /* Override any gcc2 internal prototype to avoid an error.  */
11721 #ifdef __cplusplus
11722 extern "C"
11723 {
11724 #endif
11725 /* We use char because int might match the return type of a gcc2
11726    builtin and then its argument prototype would still apply.  */
11727 char $ac_func ();
11728 /* The GNU C library defines this for functions which it implements
11729     to always fail with ENOSYS.  Some functions are actually named
11730     something starting with __ and the normal name is an alias.  */
11731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11732 choke me
11733 #else
11734 char (*f) () = $ac_func;
11735 #endif
11736 #ifdef __cplusplus
11737 }
11738 #endif
11739
11740 int
11741 main ()
11742 {
11743 return f != $ac_func;
11744   ;
11745   return 0;
11746 }
11747 _ACEOF
11748 rm -f conftest.$ac_objext conftest$ac_exeext
11749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11750   (eval $ac_link) 2>conftest.er1
11751   ac_status=$?
11752   grep -v '^ *+' conftest.er1 >conftest.err
11753   rm -f conftest.er1
11754   cat conftest.err >&5
11755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11756   (exit $ac_status); } &&
11757          { ac_try='test -z "$ac_c_werror_flag"
11758                          || test ! -s conftest.err'
11759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11760   (eval $ac_try) 2>&5
11761   ac_status=$?
11762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11763   (exit $ac_status); }; } &&
11764          { ac_try='test -s conftest$ac_exeext'
11765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11766   (eval $ac_try) 2>&5
11767   ac_status=$?
11768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769   (exit $ac_status); }; }; then
11770   eval "$as_ac_var=yes"
11771 else
11772   echo "$as_me: failed program was:" >&5
11773 sed 's/^/| /' conftest.$ac_ext >&5
11774
11775 eval "$as_ac_var=no"
11776 fi
11777 rm -f conftest.err conftest.$ac_objext \
11778       conftest$ac_exeext conftest.$ac_ext
11779 fi
11780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11782 if test `eval echo '${'$as_ac_var'}'` = yes; then
11783   cat >>confdefs.h <<_ACEOF
11784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11785 _ACEOF
11786
11787 fi
11788 done
11789
11790   else
11791     echo "$as_me:$LINENO: checking for _float trig functions" >&5
11792 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11793     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11794   echo $ECHO_N "(cached) $ECHO_C" >&6
11795 else
11796
11797
11798
11799       ac_ext=cc
11800 ac_cpp='$CXXCPP $CPPFLAGS'
11801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11804
11805       cat >conftest.$ac_ext <<_ACEOF
11806 /* confdefs.h.  */
11807 _ACEOF
11808 cat confdefs.h >>conftest.$ac_ext
11809 cat >>conftest.$ac_ext <<_ACEOF
11810 /* end confdefs.h.  */
11811 #include <math.h>
11812 int
11813 main ()
11814 {
11815 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11816   ;
11817   return 0;
11818 }
11819 _ACEOF
11820 rm -f conftest.$ac_objext
11821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11822   (eval $ac_compile) 2>conftest.er1
11823   ac_status=$?
11824   grep -v '^ *+' conftest.er1 >conftest.err
11825   rm -f conftest.er1
11826   cat conftest.err >&5
11827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11828   (exit $ac_status); } &&
11829          { ac_try='test -z "$ac_cxx_werror_flag"
11830                          || test ! -s conftest.err'
11831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11832   (eval $ac_try) 2>&5
11833   ac_status=$?
11834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835   (exit $ac_status); }; } &&
11836          { ac_try='test -s conftest.$ac_objext'
11837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838   (eval $ac_try) 2>&5
11839   ac_status=$?
11840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841   (exit $ac_status); }; }; then
11842   glibcxx_cv_func__float_trig_use=yes
11843 else
11844   echo "$as_me: failed program was:" >&5
11845 sed 's/^/| /' conftest.$ac_ext >&5
11846
11847 glibcxx_cv_func__float_trig_use=no
11848 fi
11849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11850       ac_ext=c
11851 ac_cpp='$CPP $CPPFLAGS'
11852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11855
11856 fi
11857
11858     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11859 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11860     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11871 do
11872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11873 echo "$as_me:$LINENO: checking for $ac_func" >&5
11874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11875 if eval "test \"\${$as_ac_var+set}\" = set"; then
11876   echo $ECHO_N "(cached) $ECHO_C" >&6
11877 else
11878   if test x$gcc_no_link = xyes; then
11879   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11881    { (exit 1); exit 1; }; }
11882 fi
11883 cat >conftest.$ac_ext <<_ACEOF
11884 /* confdefs.h.  */
11885 _ACEOF
11886 cat confdefs.h >>conftest.$ac_ext
11887 cat >>conftest.$ac_ext <<_ACEOF
11888 /* end confdefs.h.  */
11889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11890    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11891 #define $ac_func innocuous_$ac_func
11892
11893 /* System header to define __stub macros and hopefully few prototypes,
11894     which can conflict with char $ac_func (); below.
11895     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11896     <limits.h> exists even on freestanding compilers.  */
11897
11898 #ifdef __STDC__
11899 # include <limits.h>
11900 #else
11901 # include <assert.h>
11902 #endif
11903
11904 #undef $ac_func
11905
11906 /* Override any gcc2 internal prototype to avoid an error.  */
11907 #ifdef __cplusplus
11908 extern "C"
11909 {
11910 #endif
11911 /* We use char because int might match the return type of a gcc2
11912    builtin and then its argument prototype would still apply.  */
11913 char $ac_func ();
11914 /* The GNU C library defines this for functions which it implements
11915     to always fail with ENOSYS.  Some functions are actually named
11916     something starting with __ and the normal name is an alias.  */
11917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11918 choke me
11919 #else
11920 char (*f) () = $ac_func;
11921 #endif
11922 #ifdef __cplusplus
11923 }
11924 #endif
11925
11926 int
11927 main ()
11928 {
11929 return f != $ac_func;
11930   ;
11931   return 0;
11932 }
11933 _ACEOF
11934 rm -f conftest.$ac_objext conftest$ac_exeext
11935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11936   (eval $ac_link) 2>conftest.er1
11937   ac_status=$?
11938   grep -v '^ *+' conftest.er1 >conftest.err
11939   rm -f conftest.er1
11940   cat conftest.err >&5
11941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942   (exit $ac_status); } &&
11943          { ac_try='test -z "$ac_c_werror_flag"
11944                          || test ! -s conftest.err'
11945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11946   (eval $ac_try) 2>&5
11947   ac_status=$?
11948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949   (exit $ac_status); }; } &&
11950          { ac_try='test -s conftest$ac_exeext'
11951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11952   (eval $ac_try) 2>&5
11953   ac_status=$?
11954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955   (exit $ac_status); }; }; then
11956   eval "$as_ac_var=yes"
11957 else
11958   echo "$as_me: failed program was:" >&5
11959 sed 's/^/| /' conftest.$ac_ext >&5
11960
11961 eval "$as_ac_var=no"
11962 fi
11963 rm -f conftest.err conftest.$ac_objext \
11964       conftest$ac_exeext conftest.$ac_ext
11965 fi
11966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11968 if test `eval echo '${'$as_ac_var'}'` = yes; then
11969   cat >>confdefs.h <<_ACEOF
11970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11971 _ACEOF
11972
11973 fi
11974 done
11975
11976     fi
11977   fi
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992     echo "$as_me:$LINENO: checking for float round functions" >&5
11993 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11994   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11995   echo $ECHO_N "(cached) $ECHO_C" >&6
11996 else
11997
11998
11999
12000     ac_ext=cc
12001 ac_cpp='$CXXCPP $CPPFLAGS'
12002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12005
12006     cat >conftest.$ac_ext <<_ACEOF
12007 /* confdefs.h.  */
12008 _ACEOF
12009 cat confdefs.h >>conftest.$ac_ext
12010 cat >>conftest.$ac_ext <<_ACEOF
12011 /* end confdefs.h.  */
12012 #include <math.h>
12013 int
12014 main ()
12015 {
12016 ceilf (0); floorf (0);
12017   ;
12018   return 0;
12019 }
12020 _ACEOF
12021 rm -f conftest.$ac_objext
12022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12023   (eval $ac_compile) 2>conftest.er1
12024   ac_status=$?
12025   grep -v '^ *+' conftest.er1 >conftest.err
12026   rm -f conftest.er1
12027   cat conftest.err >&5
12028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029   (exit $ac_status); } &&
12030          { ac_try='test -z "$ac_cxx_werror_flag"
12031                          || test ! -s conftest.err'
12032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12033   (eval $ac_try) 2>&5
12034   ac_status=$?
12035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036   (exit $ac_status); }; } &&
12037          { ac_try='test -s conftest.$ac_objext'
12038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12039   (eval $ac_try) 2>&5
12040   ac_status=$?
12041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12042   (exit $ac_status); }; }; then
12043   glibcxx_cv_func_float_round_use=yes
12044 else
12045   echo "$as_me: failed program was:" >&5
12046 sed 's/^/| /' conftest.$ac_ext >&5
12047
12048 glibcxx_cv_func_float_round_use=no
12049 fi
12050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12051     ac_ext=c
12052 ac_cpp='$CPP $CPPFLAGS'
12053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12056
12057 fi
12058
12059   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
12060 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
12061   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
12062
12063
12064 for ac_func in ceilf floorf
12065 do
12066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12067 echo "$as_me:$LINENO: checking for $ac_func" >&5
12068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12069 if eval "test \"\${$as_ac_var+set}\" = set"; then
12070   echo $ECHO_N "(cached) $ECHO_C" >&6
12071 else
12072   if test x$gcc_no_link = xyes; then
12073   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12075    { (exit 1); exit 1; }; }
12076 fi
12077 cat >conftest.$ac_ext <<_ACEOF
12078 /* confdefs.h.  */
12079 _ACEOF
12080 cat confdefs.h >>conftest.$ac_ext
12081 cat >>conftest.$ac_ext <<_ACEOF
12082 /* end confdefs.h.  */
12083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12084    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12085 #define $ac_func innocuous_$ac_func
12086
12087 /* System header to define __stub macros and hopefully few prototypes,
12088     which can conflict with char $ac_func (); below.
12089     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12090     <limits.h> exists even on freestanding compilers.  */
12091
12092 #ifdef __STDC__
12093 # include <limits.h>
12094 #else
12095 # include <assert.h>
12096 #endif
12097
12098 #undef $ac_func
12099
12100 /* Override any gcc2 internal prototype to avoid an error.  */
12101 #ifdef __cplusplus
12102 extern "C"
12103 {
12104 #endif
12105 /* We use char because int might match the return type of a gcc2
12106    builtin and then its argument prototype would still apply.  */
12107 char $ac_func ();
12108 /* The GNU C library defines this for functions which it implements
12109     to always fail with ENOSYS.  Some functions are actually named
12110     something starting with __ and the normal name is an alias.  */
12111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12112 choke me
12113 #else
12114 char (*f) () = $ac_func;
12115 #endif
12116 #ifdef __cplusplus
12117 }
12118 #endif
12119
12120 int
12121 main ()
12122 {
12123 return f != $ac_func;
12124   ;
12125   return 0;
12126 }
12127 _ACEOF
12128 rm -f conftest.$ac_objext conftest$ac_exeext
12129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12130   (eval $ac_link) 2>conftest.er1
12131   ac_status=$?
12132   grep -v '^ *+' conftest.er1 >conftest.err
12133   rm -f conftest.er1
12134   cat conftest.err >&5
12135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136   (exit $ac_status); } &&
12137          { ac_try='test -z "$ac_c_werror_flag"
12138                          || test ! -s conftest.err'
12139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12140   (eval $ac_try) 2>&5
12141   ac_status=$?
12142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143   (exit $ac_status); }; } &&
12144          { ac_try='test -s conftest$ac_exeext'
12145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12146   (eval $ac_try) 2>&5
12147   ac_status=$?
12148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149   (exit $ac_status); }; }; then
12150   eval "$as_ac_var=yes"
12151 else
12152   echo "$as_me: failed program was:" >&5
12153 sed 's/^/| /' conftest.$ac_ext >&5
12154
12155 eval "$as_ac_var=no"
12156 fi
12157 rm -f conftest.err conftest.$ac_objext \
12158       conftest$ac_exeext conftest.$ac_ext
12159 fi
12160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12162 if test `eval echo '${'$as_ac_var'}'` = yes; then
12163   cat >>confdefs.h <<_ACEOF
12164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12165 _ACEOF
12166
12167 fi
12168 done
12169
12170   else
12171     echo "$as_me:$LINENO: checking for _float round functions" >&5
12172 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
12173     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
12174   echo $ECHO_N "(cached) $ECHO_C" >&6
12175 else
12176
12177
12178
12179       ac_ext=cc
12180 ac_cpp='$CXXCPP $CPPFLAGS'
12181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12184
12185       cat >conftest.$ac_ext <<_ACEOF
12186 /* confdefs.h.  */
12187 _ACEOF
12188 cat confdefs.h >>conftest.$ac_ext
12189 cat >>conftest.$ac_ext <<_ACEOF
12190 /* end confdefs.h.  */
12191 #include <math.h>
12192 int
12193 main ()
12194 {
12195 _ceilf (0); _floorf (0);
12196   ;
12197   return 0;
12198 }
12199 _ACEOF
12200 rm -f conftest.$ac_objext
12201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12202   (eval $ac_compile) 2>conftest.er1
12203   ac_status=$?
12204   grep -v '^ *+' conftest.er1 >conftest.err
12205   rm -f conftest.er1
12206   cat conftest.err >&5
12207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208   (exit $ac_status); } &&
12209          { ac_try='test -z "$ac_cxx_werror_flag"
12210                          || test ! -s conftest.err'
12211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12212   (eval $ac_try) 2>&5
12213   ac_status=$?
12214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12215   (exit $ac_status); }; } &&
12216          { ac_try='test -s conftest.$ac_objext'
12217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12218   (eval $ac_try) 2>&5
12219   ac_status=$?
12220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12221   (exit $ac_status); }; }; then
12222   glibcxx_cv_func__float_round_use=yes
12223 else
12224   echo "$as_me: failed program was:" >&5
12225 sed 's/^/| /' conftest.$ac_ext >&5
12226
12227 glibcxx_cv_func__float_round_use=no
12228 fi
12229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12230       ac_ext=c
12231 ac_cpp='$CPP $CPPFLAGS'
12232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12235
12236 fi
12237
12238     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12239 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12240     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12241
12242
12243 for ac_func in _ceilf _floorf
12244 do
12245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12246 echo "$as_me:$LINENO: checking for $ac_func" >&5
12247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12248 if eval "test \"\${$as_ac_var+set}\" = set"; then
12249   echo $ECHO_N "(cached) $ECHO_C" >&6
12250 else
12251   if test x$gcc_no_link = xyes; then
12252   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12254    { (exit 1); exit 1; }; }
12255 fi
12256 cat >conftest.$ac_ext <<_ACEOF
12257 /* confdefs.h.  */
12258 _ACEOF
12259 cat confdefs.h >>conftest.$ac_ext
12260 cat >>conftest.$ac_ext <<_ACEOF
12261 /* end confdefs.h.  */
12262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12263    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12264 #define $ac_func innocuous_$ac_func
12265
12266 /* System header to define __stub macros and hopefully few prototypes,
12267     which can conflict with char $ac_func (); below.
12268     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12269     <limits.h> exists even on freestanding compilers.  */
12270
12271 #ifdef __STDC__
12272 # include <limits.h>
12273 #else
12274 # include <assert.h>
12275 #endif
12276
12277 #undef $ac_func
12278
12279 /* Override any gcc2 internal prototype to avoid an error.  */
12280 #ifdef __cplusplus
12281 extern "C"
12282 {
12283 #endif
12284 /* We use char because int might match the return type of a gcc2
12285    builtin and then its argument prototype would still apply.  */
12286 char $ac_func ();
12287 /* The GNU C library defines this for functions which it implements
12288     to always fail with ENOSYS.  Some functions are actually named
12289     something starting with __ and the normal name is an alias.  */
12290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12291 choke me
12292 #else
12293 char (*f) () = $ac_func;
12294 #endif
12295 #ifdef __cplusplus
12296 }
12297 #endif
12298
12299 int
12300 main ()
12301 {
12302 return f != $ac_func;
12303   ;
12304   return 0;
12305 }
12306 _ACEOF
12307 rm -f conftest.$ac_objext conftest$ac_exeext
12308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12309   (eval $ac_link) 2>conftest.er1
12310   ac_status=$?
12311   grep -v '^ *+' conftest.er1 >conftest.err
12312   rm -f conftest.er1
12313   cat conftest.err >&5
12314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12315   (exit $ac_status); } &&
12316          { ac_try='test -z "$ac_c_werror_flag"
12317                          || test ! -s conftest.err'
12318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12319   (eval $ac_try) 2>&5
12320   ac_status=$?
12321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12322   (exit $ac_status); }; } &&
12323          { ac_try='test -s conftest$ac_exeext'
12324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12325   (eval $ac_try) 2>&5
12326   ac_status=$?
12327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328   (exit $ac_status); }; }; then
12329   eval "$as_ac_var=yes"
12330 else
12331   echo "$as_me: failed program was:" >&5
12332 sed 's/^/| /' conftest.$ac_ext >&5
12333
12334 eval "$as_ac_var=no"
12335 fi
12336 rm -f conftest.err conftest.$ac_objext \
12337       conftest$ac_exeext conftest.$ac_ext
12338 fi
12339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12341 if test `eval echo '${'$as_ac_var'}'` = yes; then
12342   cat >>confdefs.h <<_ACEOF
12343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12344 _ACEOF
12345
12346 fi
12347 done
12348
12349     fi
12350   fi
12351
12352
12353
12354
12355
12356
12357
12358
12359   echo "$as_me:$LINENO: checking for expf declaration" >&5
12360 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12361   if test x${glibcxx_cv_func_expf_use+set} != xset; then
12362     if test "${glibcxx_cv_func_expf_use+set}" = set; then
12363   echo $ECHO_N "(cached) $ECHO_C" >&6
12364 else
12365
12366
12367
12368       ac_ext=cc
12369 ac_cpp='$CXXCPP $CPPFLAGS'
12370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12373
12374       cat >conftest.$ac_ext <<_ACEOF
12375 /* confdefs.h.  */
12376 _ACEOF
12377 cat confdefs.h >>conftest.$ac_ext
12378 cat >>conftest.$ac_ext <<_ACEOF
12379 /* end confdefs.h.  */
12380 #include <math.h>
12381                       #ifdef HAVE_IEEEFP_H
12382                       #include <ieeefp.h>
12383                       #endif
12384
12385 int
12386 main ()
12387 {
12388  expf(0);
12389   ;
12390   return 0;
12391 }
12392 _ACEOF
12393 rm -f conftest.$ac_objext
12394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12395   (eval $ac_compile) 2>conftest.er1
12396   ac_status=$?
12397   grep -v '^ *+' conftest.er1 >conftest.err
12398   rm -f conftest.er1
12399   cat conftest.err >&5
12400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12401   (exit $ac_status); } &&
12402          { ac_try='test -z "$ac_cxx_werror_flag"
12403                          || test ! -s conftest.err'
12404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12405   (eval $ac_try) 2>&5
12406   ac_status=$?
12407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12408   (exit $ac_status); }; } &&
12409          { ac_try='test -s conftest.$ac_objext'
12410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12411   (eval $ac_try) 2>&5
12412   ac_status=$?
12413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12414   (exit $ac_status); }; }; then
12415   glibcxx_cv_func_expf_use=yes
12416 else
12417   echo "$as_me: failed program was:" >&5
12418 sed 's/^/| /' conftest.$ac_ext >&5
12419
12420 glibcxx_cv_func_expf_use=no
12421 fi
12422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12423       ac_ext=c
12424 ac_cpp='$CPP $CPPFLAGS'
12425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12428
12429
12430 fi
12431
12432   fi
12433   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12434 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12435
12436   if test x$glibcxx_cv_func_expf_use = x"yes"; then
12437
12438 for ac_func in expf
12439 do
12440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12441 echo "$as_me:$LINENO: checking for $ac_func" >&5
12442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12443 if eval "test \"\${$as_ac_var+set}\" = set"; then
12444   echo $ECHO_N "(cached) $ECHO_C" >&6
12445 else
12446   if test x$gcc_no_link = xyes; then
12447   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12449    { (exit 1); exit 1; }; }
12450 fi
12451 cat >conftest.$ac_ext <<_ACEOF
12452 /* confdefs.h.  */
12453 _ACEOF
12454 cat confdefs.h >>conftest.$ac_ext
12455 cat >>conftest.$ac_ext <<_ACEOF
12456 /* end confdefs.h.  */
12457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12458    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12459 #define $ac_func innocuous_$ac_func
12460
12461 /* System header to define __stub macros and hopefully few prototypes,
12462     which can conflict with char $ac_func (); below.
12463     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12464     <limits.h> exists even on freestanding compilers.  */
12465
12466 #ifdef __STDC__
12467 # include <limits.h>
12468 #else
12469 # include <assert.h>
12470 #endif
12471
12472 #undef $ac_func
12473
12474 /* Override any gcc2 internal prototype to avoid an error.  */
12475 #ifdef __cplusplus
12476 extern "C"
12477 {
12478 #endif
12479 /* We use char because int might match the return type of a gcc2
12480    builtin and then its argument prototype would still apply.  */
12481 char $ac_func ();
12482 /* The GNU C library defines this for functions which it implements
12483     to always fail with ENOSYS.  Some functions are actually named
12484     something starting with __ and the normal name is an alias.  */
12485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12486 choke me
12487 #else
12488 char (*f) () = $ac_func;
12489 #endif
12490 #ifdef __cplusplus
12491 }
12492 #endif
12493
12494 int
12495 main ()
12496 {
12497 return f != $ac_func;
12498   ;
12499   return 0;
12500 }
12501 _ACEOF
12502 rm -f conftest.$ac_objext conftest$ac_exeext
12503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12504   (eval $ac_link) 2>conftest.er1
12505   ac_status=$?
12506   grep -v '^ *+' conftest.er1 >conftest.err
12507   rm -f conftest.er1
12508   cat conftest.err >&5
12509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12510   (exit $ac_status); } &&
12511          { ac_try='test -z "$ac_c_werror_flag"
12512                          || test ! -s conftest.err'
12513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12514   (eval $ac_try) 2>&5
12515   ac_status=$?
12516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517   (exit $ac_status); }; } &&
12518          { ac_try='test -s conftest$ac_exeext'
12519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12520   (eval $ac_try) 2>&5
12521   ac_status=$?
12522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523   (exit $ac_status); }; }; then
12524   eval "$as_ac_var=yes"
12525 else
12526   echo "$as_me: failed program was:" >&5
12527 sed 's/^/| /' conftest.$ac_ext >&5
12528
12529 eval "$as_ac_var=no"
12530 fi
12531 rm -f conftest.err conftest.$ac_objext \
12532       conftest$ac_exeext conftest.$ac_ext
12533 fi
12534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12536 if test `eval echo '${'$as_ac_var'}'` = yes; then
12537   cat >>confdefs.h <<_ACEOF
12538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12539 _ACEOF
12540
12541 fi
12542 done
12543
12544   else
12545
12546   echo "$as_me:$LINENO: checking for _expf declaration" >&5
12547 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12548   if test x${glibcxx_cv_func__expf_use+set} != xset; then
12549     if test "${glibcxx_cv_func__expf_use+set}" = set; then
12550   echo $ECHO_N "(cached) $ECHO_C" >&6
12551 else
12552
12553
12554
12555       ac_ext=cc
12556 ac_cpp='$CXXCPP $CPPFLAGS'
12557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12560
12561       cat >conftest.$ac_ext <<_ACEOF
12562 /* confdefs.h.  */
12563 _ACEOF
12564 cat confdefs.h >>conftest.$ac_ext
12565 cat >>conftest.$ac_ext <<_ACEOF
12566 /* end confdefs.h.  */
12567 #include <math.h>
12568                       #ifdef HAVE_IEEEFP_H
12569                       #include <ieeefp.h>
12570                       #endif
12571
12572 int
12573 main ()
12574 {
12575  _expf(0);
12576   ;
12577   return 0;
12578 }
12579 _ACEOF
12580 rm -f conftest.$ac_objext
12581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12582   (eval $ac_compile) 2>conftest.er1
12583   ac_status=$?
12584   grep -v '^ *+' conftest.er1 >conftest.err
12585   rm -f conftest.er1
12586   cat conftest.err >&5
12587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12588   (exit $ac_status); } &&
12589          { ac_try='test -z "$ac_cxx_werror_flag"
12590                          || test ! -s conftest.err'
12591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12592   (eval $ac_try) 2>&5
12593   ac_status=$?
12594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595   (exit $ac_status); }; } &&
12596          { ac_try='test -s conftest.$ac_objext'
12597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12598   (eval $ac_try) 2>&5
12599   ac_status=$?
12600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601   (exit $ac_status); }; }; then
12602   glibcxx_cv_func__expf_use=yes
12603 else
12604   echo "$as_me: failed program was:" >&5
12605 sed 's/^/| /' conftest.$ac_ext >&5
12606
12607 glibcxx_cv_func__expf_use=no
12608 fi
12609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12610       ac_ext=c
12611 ac_cpp='$CPP $CPPFLAGS'
12612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12615
12616
12617 fi
12618
12619   fi
12620   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12621 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12622
12623     if test x$glibcxx_cv_func__expf_use = x"yes"; then
12624
12625 for ac_func in _expf
12626 do
12627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12628 echo "$as_me:$LINENO: checking for $ac_func" >&5
12629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12630 if eval "test \"\${$as_ac_var+set}\" = set"; then
12631   echo $ECHO_N "(cached) $ECHO_C" >&6
12632 else
12633   if test x$gcc_no_link = xyes; then
12634   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12636    { (exit 1); exit 1; }; }
12637 fi
12638 cat >conftest.$ac_ext <<_ACEOF
12639 /* confdefs.h.  */
12640 _ACEOF
12641 cat confdefs.h >>conftest.$ac_ext
12642 cat >>conftest.$ac_ext <<_ACEOF
12643 /* end confdefs.h.  */
12644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12645    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12646 #define $ac_func innocuous_$ac_func
12647
12648 /* System header to define __stub macros and hopefully few prototypes,
12649     which can conflict with char $ac_func (); below.
12650     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12651     <limits.h> exists even on freestanding compilers.  */
12652
12653 #ifdef __STDC__
12654 # include <limits.h>
12655 #else
12656 # include <assert.h>
12657 #endif
12658
12659 #undef $ac_func
12660
12661 /* Override any gcc2 internal prototype to avoid an error.  */
12662 #ifdef __cplusplus
12663 extern "C"
12664 {
12665 #endif
12666 /* We use char because int might match the return type of a gcc2
12667    builtin and then its argument prototype would still apply.  */
12668 char $ac_func ();
12669 /* The GNU C library defines this for functions which it implements
12670     to always fail with ENOSYS.  Some functions are actually named
12671     something starting with __ and the normal name is an alias.  */
12672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12673 choke me
12674 #else
12675 char (*f) () = $ac_func;
12676 #endif
12677 #ifdef __cplusplus
12678 }
12679 #endif
12680
12681 int
12682 main ()
12683 {
12684 return f != $ac_func;
12685   ;
12686   return 0;
12687 }
12688 _ACEOF
12689 rm -f conftest.$ac_objext conftest$ac_exeext
12690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12691   (eval $ac_link) 2>conftest.er1
12692   ac_status=$?
12693   grep -v '^ *+' conftest.er1 >conftest.err
12694   rm -f conftest.er1
12695   cat conftest.err >&5
12696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697   (exit $ac_status); } &&
12698          { ac_try='test -z "$ac_c_werror_flag"
12699                          || test ! -s conftest.err'
12700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12701   (eval $ac_try) 2>&5
12702   ac_status=$?
12703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704   (exit $ac_status); }; } &&
12705          { ac_try='test -s conftest$ac_exeext'
12706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12707   (eval $ac_try) 2>&5
12708   ac_status=$?
12709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710   (exit $ac_status); }; }; then
12711   eval "$as_ac_var=yes"
12712 else
12713   echo "$as_me: failed program was:" >&5
12714 sed 's/^/| /' conftest.$ac_ext >&5
12715
12716 eval "$as_ac_var=no"
12717 fi
12718 rm -f conftest.err conftest.$ac_objext \
12719       conftest$ac_exeext conftest.$ac_ext
12720 fi
12721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12723 if test `eval echo '${'$as_ac_var'}'` = yes; then
12724   cat >>confdefs.h <<_ACEOF
12725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12726 _ACEOF
12727
12728 fi
12729 done
12730
12731     fi
12732   fi
12733
12734
12735
12736
12737
12738
12739   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12740 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12741   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12742     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12743   echo $ECHO_N "(cached) $ECHO_C" >&6
12744 else
12745
12746
12747
12748       ac_ext=cc
12749 ac_cpp='$CXXCPP $CPPFLAGS'
12750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12753
12754       cat >conftest.$ac_ext <<_ACEOF
12755 /* confdefs.h.  */
12756 _ACEOF
12757 cat confdefs.h >>conftest.$ac_ext
12758 cat >>conftest.$ac_ext <<_ACEOF
12759 /* end confdefs.h.  */
12760 #include <math.h>
12761                       #ifdef HAVE_IEEEFP_H
12762                       #include <ieeefp.h>
12763                       #endif
12764
12765 int
12766 main ()
12767 {
12768  isnanf(0);
12769   ;
12770   return 0;
12771 }
12772 _ACEOF
12773 rm -f conftest.$ac_objext
12774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12775   (eval $ac_compile) 2>conftest.er1
12776   ac_status=$?
12777   grep -v '^ *+' conftest.er1 >conftest.err
12778   rm -f conftest.er1
12779   cat conftest.err >&5
12780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12781   (exit $ac_status); } &&
12782          { ac_try='test -z "$ac_cxx_werror_flag"
12783                          || test ! -s conftest.err'
12784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12785   (eval $ac_try) 2>&5
12786   ac_status=$?
12787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788   (exit $ac_status); }; } &&
12789          { ac_try='test -s conftest.$ac_objext'
12790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12791   (eval $ac_try) 2>&5
12792   ac_status=$?
12793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12794   (exit $ac_status); }; }; then
12795   glibcxx_cv_func_isnanf_use=yes
12796 else
12797   echo "$as_me: failed program was:" >&5
12798 sed 's/^/| /' conftest.$ac_ext >&5
12799
12800 glibcxx_cv_func_isnanf_use=no
12801 fi
12802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12803       ac_ext=c
12804 ac_cpp='$CPP $CPPFLAGS'
12805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12808
12809
12810 fi
12811
12812   fi
12813   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12814 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12815
12816   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12817
12818 for ac_func in isnanf
12819 do
12820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12821 echo "$as_me:$LINENO: checking for $ac_func" >&5
12822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12823 if eval "test \"\${$as_ac_var+set}\" = set"; then
12824   echo $ECHO_N "(cached) $ECHO_C" >&6
12825 else
12826   if test x$gcc_no_link = xyes; then
12827   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12829    { (exit 1); exit 1; }; }
12830 fi
12831 cat >conftest.$ac_ext <<_ACEOF
12832 /* confdefs.h.  */
12833 _ACEOF
12834 cat confdefs.h >>conftest.$ac_ext
12835 cat >>conftest.$ac_ext <<_ACEOF
12836 /* end confdefs.h.  */
12837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12838    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12839 #define $ac_func innocuous_$ac_func
12840
12841 /* System header to define __stub macros and hopefully few prototypes,
12842     which can conflict with char $ac_func (); below.
12843     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12844     <limits.h> exists even on freestanding compilers.  */
12845
12846 #ifdef __STDC__
12847 # include <limits.h>
12848 #else
12849 # include <assert.h>
12850 #endif
12851
12852 #undef $ac_func
12853
12854 /* Override any gcc2 internal prototype to avoid an error.  */
12855 #ifdef __cplusplus
12856 extern "C"
12857 {
12858 #endif
12859 /* We use char because int might match the return type of a gcc2
12860    builtin and then its argument prototype would still apply.  */
12861 char $ac_func ();
12862 /* The GNU C library defines this for functions which it implements
12863     to always fail with ENOSYS.  Some functions are actually named
12864     something starting with __ and the normal name is an alias.  */
12865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12866 choke me
12867 #else
12868 char (*f) () = $ac_func;
12869 #endif
12870 #ifdef __cplusplus
12871 }
12872 #endif
12873
12874 int
12875 main ()
12876 {
12877 return f != $ac_func;
12878   ;
12879   return 0;
12880 }
12881 _ACEOF
12882 rm -f conftest.$ac_objext conftest$ac_exeext
12883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12884   (eval $ac_link) 2>conftest.er1
12885   ac_status=$?
12886   grep -v '^ *+' conftest.er1 >conftest.err
12887   rm -f conftest.er1
12888   cat conftest.err >&5
12889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890   (exit $ac_status); } &&
12891          { ac_try='test -z "$ac_c_werror_flag"
12892                          || test ! -s conftest.err'
12893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12894   (eval $ac_try) 2>&5
12895   ac_status=$?
12896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897   (exit $ac_status); }; } &&
12898          { ac_try='test -s conftest$ac_exeext'
12899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12900   (eval $ac_try) 2>&5
12901   ac_status=$?
12902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903   (exit $ac_status); }; }; then
12904   eval "$as_ac_var=yes"
12905 else
12906   echo "$as_me: failed program was:" >&5
12907 sed 's/^/| /' conftest.$ac_ext >&5
12908
12909 eval "$as_ac_var=no"
12910 fi
12911 rm -f conftest.err conftest.$ac_objext \
12912       conftest$ac_exeext conftest.$ac_ext
12913 fi
12914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12916 if test `eval echo '${'$as_ac_var'}'` = yes; then
12917   cat >>confdefs.h <<_ACEOF
12918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12919 _ACEOF
12920
12921 fi
12922 done
12923
12924   else
12925
12926   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12927 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12928   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12929     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12930   echo $ECHO_N "(cached) $ECHO_C" >&6
12931 else
12932
12933
12934
12935       ac_ext=cc
12936 ac_cpp='$CXXCPP $CPPFLAGS'
12937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12940
12941       cat >conftest.$ac_ext <<_ACEOF
12942 /* confdefs.h.  */
12943 _ACEOF
12944 cat confdefs.h >>conftest.$ac_ext
12945 cat >>conftest.$ac_ext <<_ACEOF
12946 /* end confdefs.h.  */
12947 #include <math.h>
12948                       #ifdef HAVE_IEEEFP_H
12949                       #include <ieeefp.h>
12950                       #endif
12951
12952 int
12953 main ()
12954 {
12955  _isnanf(0);
12956   ;
12957   return 0;
12958 }
12959 _ACEOF
12960 rm -f conftest.$ac_objext
12961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12962   (eval $ac_compile) 2>conftest.er1
12963   ac_status=$?
12964   grep -v '^ *+' conftest.er1 >conftest.err
12965   rm -f conftest.er1
12966   cat conftest.err >&5
12967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12968   (exit $ac_status); } &&
12969          { ac_try='test -z "$ac_cxx_werror_flag"
12970                          || test ! -s conftest.err'
12971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12972   (eval $ac_try) 2>&5
12973   ac_status=$?
12974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12975   (exit $ac_status); }; } &&
12976          { ac_try='test -s conftest.$ac_objext'
12977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12978   (eval $ac_try) 2>&5
12979   ac_status=$?
12980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12981   (exit $ac_status); }; }; then
12982   glibcxx_cv_func__isnanf_use=yes
12983 else
12984   echo "$as_me: failed program was:" >&5
12985 sed 's/^/| /' conftest.$ac_ext >&5
12986
12987 glibcxx_cv_func__isnanf_use=no
12988 fi
12989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12990       ac_ext=c
12991 ac_cpp='$CPP $CPPFLAGS'
12992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12995
12996
12997 fi
12998
12999   fi
13000   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
13001 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
13002
13003     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
13004
13005 for ac_func in _isnanf
13006 do
13007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13008 echo "$as_me:$LINENO: checking for $ac_func" >&5
13009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13010 if eval "test \"\${$as_ac_var+set}\" = set"; then
13011   echo $ECHO_N "(cached) $ECHO_C" >&6
13012 else
13013   if test x$gcc_no_link = xyes; then
13014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13016    { (exit 1); exit 1; }; }
13017 fi
13018 cat >conftest.$ac_ext <<_ACEOF
13019 /* confdefs.h.  */
13020 _ACEOF
13021 cat confdefs.h >>conftest.$ac_ext
13022 cat >>conftest.$ac_ext <<_ACEOF
13023 /* end confdefs.h.  */
13024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13025    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13026 #define $ac_func innocuous_$ac_func
13027
13028 /* System header to define __stub macros and hopefully few prototypes,
13029     which can conflict with char $ac_func (); below.
13030     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13031     <limits.h> exists even on freestanding compilers.  */
13032
13033 #ifdef __STDC__
13034 # include <limits.h>
13035 #else
13036 # include <assert.h>
13037 #endif
13038
13039 #undef $ac_func
13040
13041 /* Override any gcc2 internal prototype to avoid an error.  */
13042 #ifdef __cplusplus
13043 extern "C"
13044 {
13045 #endif
13046 /* We use char because int might match the return type of a gcc2
13047    builtin and then its argument prototype would still apply.  */
13048 char $ac_func ();
13049 /* The GNU C library defines this for functions which it implements
13050     to always fail with ENOSYS.  Some functions are actually named
13051     something starting with __ and the normal name is an alias.  */
13052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13053 choke me
13054 #else
13055 char (*f) () = $ac_func;
13056 #endif
13057 #ifdef __cplusplus
13058 }
13059 #endif
13060
13061 int
13062 main ()
13063 {
13064 return f != $ac_func;
13065   ;
13066   return 0;
13067 }
13068 _ACEOF
13069 rm -f conftest.$ac_objext conftest$ac_exeext
13070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13071   (eval $ac_link) 2>conftest.er1
13072   ac_status=$?
13073   grep -v '^ *+' conftest.er1 >conftest.err
13074   rm -f conftest.er1
13075   cat conftest.err >&5
13076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13077   (exit $ac_status); } &&
13078          { ac_try='test -z "$ac_c_werror_flag"
13079                          || test ! -s conftest.err'
13080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13081   (eval $ac_try) 2>&5
13082   ac_status=$?
13083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084   (exit $ac_status); }; } &&
13085          { ac_try='test -s conftest$ac_exeext'
13086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13087   (eval $ac_try) 2>&5
13088   ac_status=$?
13089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13090   (exit $ac_status); }; }; then
13091   eval "$as_ac_var=yes"
13092 else
13093   echo "$as_me: failed program was:" >&5
13094 sed 's/^/| /' conftest.$ac_ext >&5
13095
13096 eval "$as_ac_var=no"
13097 fi
13098 rm -f conftest.err conftest.$ac_objext \
13099       conftest$ac_exeext conftest.$ac_ext
13100 fi
13101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13103 if test `eval echo '${'$as_ac_var'}'` = yes; then
13104   cat >>confdefs.h <<_ACEOF
13105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13106 _ACEOF
13107
13108 fi
13109 done
13110
13111     fi
13112   fi
13113
13114
13115
13116
13117
13118
13119   echo "$as_me:$LINENO: checking for isinff declaration" >&5
13120 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
13121   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
13122     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
13123   echo $ECHO_N "(cached) $ECHO_C" >&6
13124 else
13125
13126
13127
13128       ac_ext=cc
13129 ac_cpp='$CXXCPP $CPPFLAGS'
13130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13133
13134       cat >conftest.$ac_ext <<_ACEOF
13135 /* confdefs.h.  */
13136 _ACEOF
13137 cat confdefs.h >>conftest.$ac_ext
13138 cat >>conftest.$ac_ext <<_ACEOF
13139 /* end confdefs.h.  */
13140 #include <math.h>
13141                       #ifdef HAVE_IEEEFP_H
13142                       #include <ieeefp.h>
13143                       #endif
13144
13145 int
13146 main ()
13147 {
13148  isinff(0);
13149   ;
13150   return 0;
13151 }
13152 _ACEOF
13153 rm -f conftest.$ac_objext
13154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13155   (eval $ac_compile) 2>conftest.er1
13156   ac_status=$?
13157   grep -v '^ *+' conftest.er1 >conftest.err
13158   rm -f conftest.er1
13159   cat conftest.err >&5
13160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161   (exit $ac_status); } &&
13162          { ac_try='test -z "$ac_cxx_werror_flag"
13163                          || test ! -s conftest.err'
13164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13165   (eval $ac_try) 2>&5
13166   ac_status=$?
13167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168   (exit $ac_status); }; } &&
13169          { ac_try='test -s conftest.$ac_objext'
13170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13171   (eval $ac_try) 2>&5
13172   ac_status=$?
13173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174   (exit $ac_status); }; }; then
13175   glibcxx_cv_func_isinff_use=yes
13176 else
13177   echo "$as_me: failed program was:" >&5
13178 sed 's/^/| /' conftest.$ac_ext >&5
13179
13180 glibcxx_cv_func_isinff_use=no
13181 fi
13182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13183       ac_ext=c
13184 ac_cpp='$CPP $CPPFLAGS'
13185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13188
13189
13190 fi
13191
13192   fi
13193   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
13194 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
13195
13196   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
13197
13198 for ac_func in isinff
13199 do
13200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13201 echo "$as_me:$LINENO: checking for $ac_func" >&5
13202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13203 if eval "test \"\${$as_ac_var+set}\" = set"; then
13204   echo $ECHO_N "(cached) $ECHO_C" >&6
13205 else
13206   if test x$gcc_no_link = xyes; then
13207   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13209    { (exit 1); exit 1; }; }
13210 fi
13211 cat >conftest.$ac_ext <<_ACEOF
13212 /* confdefs.h.  */
13213 _ACEOF
13214 cat confdefs.h >>conftest.$ac_ext
13215 cat >>conftest.$ac_ext <<_ACEOF
13216 /* end confdefs.h.  */
13217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13218    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13219 #define $ac_func innocuous_$ac_func
13220
13221 /* System header to define __stub macros and hopefully few prototypes,
13222     which can conflict with char $ac_func (); below.
13223     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13224     <limits.h> exists even on freestanding compilers.  */
13225
13226 #ifdef __STDC__
13227 # include <limits.h>
13228 #else
13229 # include <assert.h>
13230 #endif
13231
13232 #undef $ac_func
13233
13234 /* Override any gcc2 internal prototype to avoid an error.  */
13235 #ifdef __cplusplus
13236 extern "C"
13237 {
13238 #endif
13239 /* We use char because int might match the return type of a gcc2
13240    builtin and then its argument prototype would still apply.  */
13241 char $ac_func ();
13242 /* The GNU C library defines this for functions which it implements
13243     to always fail with ENOSYS.  Some functions are actually named
13244     something starting with __ and the normal name is an alias.  */
13245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13246 choke me
13247 #else
13248 char (*f) () = $ac_func;
13249 #endif
13250 #ifdef __cplusplus
13251 }
13252 #endif
13253
13254 int
13255 main ()
13256 {
13257 return f != $ac_func;
13258   ;
13259   return 0;
13260 }
13261 _ACEOF
13262 rm -f conftest.$ac_objext conftest$ac_exeext
13263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13264   (eval $ac_link) 2>conftest.er1
13265   ac_status=$?
13266   grep -v '^ *+' conftest.er1 >conftest.err
13267   rm -f conftest.er1
13268   cat conftest.err >&5
13269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13270   (exit $ac_status); } &&
13271          { ac_try='test -z "$ac_c_werror_flag"
13272                          || test ! -s conftest.err'
13273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13274   (eval $ac_try) 2>&5
13275   ac_status=$?
13276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13277   (exit $ac_status); }; } &&
13278          { ac_try='test -s conftest$ac_exeext'
13279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13280   (eval $ac_try) 2>&5
13281   ac_status=$?
13282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13283   (exit $ac_status); }; }; then
13284   eval "$as_ac_var=yes"
13285 else
13286   echo "$as_me: failed program was:" >&5
13287 sed 's/^/| /' conftest.$ac_ext >&5
13288
13289 eval "$as_ac_var=no"
13290 fi
13291 rm -f conftest.err conftest.$ac_objext \
13292       conftest$ac_exeext conftest.$ac_ext
13293 fi
13294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13296 if test `eval echo '${'$as_ac_var'}'` = yes; then
13297   cat >>confdefs.h <<_ACEOF
13298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13299 _ACEOF
13300
13301 fi
13302 done
13303
13304   else
13305
13306   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13307 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13308   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13309     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13310   echo $ECHO_N "(cached) $ECHO_C" >&6
13311 else
13312
13313
13314
13315       ac_ext=cc
13316 ac_cpp='$CXXCPP $CPPFLAGS'
13317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13320
13321       cat >conftest.$ac_ext <<_ACEOF
13322 /* confdefs.h.  */
13323 _ACEOF
13324 cat confdefs.h >>conftest.$ac_ext
13325 cat >>conftest.$ac_ext <<_ACEOF
13326 /* end confdefs.h.  */
13327 #include <math.h>
13328                       #ifdef HAVE_IEEEFP_H
13329                       #include <ieeefp.h>
13330                       #endif
13331
13332 int
13333 main ()
13334 {
13335  _isinff(0);
13336   ;
13337   return 0;
13338 }
13339 _ACEOF
13340 rm -f conftest.$ac_objext
13341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13342   (eval $ac_compile) 2>conftest.er1
13343   ac_status=$?
13344   grep -v '^ *+' conftest.er1 >conftest.err
13345   rm -f conftest.er1
13346   cat conftest.err >&5
13347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13348   (exit $ac_status); } &&
13349          { ac_try='test -z "$ac_cxx_werror_flag"
13350                          || test ! -s conftest.err'
13351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13352   (eval $ac_try) 2>&5
13353   ac_status=$?
13354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355   (exit $ac_status); }; } &&
13356          { ac_try='test -s conftest.$ac_objext'
13357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13358   (eval $ac_try) 2>&5
13359   ac_status=$?
13360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361   (exit $ac_status); }; }; then
13362   glibcxx_cv_func__isinff_use=yes
13363 else
13364   echo "$as_me: failed program was:" >&5
13365 sed 's/^/| /' conftest.$ac_ext >&5
13366
13367 glibcxx_cv_func__isinff_use=no
13368 fi
13369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13370       ac_ext=c
13371 ac_cpp='$CPP $CPPFLAGS'
13372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13375
13376
13377 fi
13378
13379   fi
13380   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13381 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13382
13383     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13384
13385 for ac_func in _isinff
13386 do
13387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13388 echo "$as_me:$LINENO: checking for $ac_func" >&5
13389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13390 if eval "test \"\${$as_ac_var+set}\" = set"; then
13391   echo $ECHO_N "(cached) $ECHO_C" >&6
13392 else
13393   if test x$gcc_no_link = xyes; then
13394   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13396    { (exit 1); exit 1; }; }
13397 fi
13398 cat >conftest.$ac_ext <<_ACEOF
13399 /* confdefs.h.  */
13400 _ACEOF
13401 cat confdefs.h >>conftest.$ac_ext
13402 cat >>conftest.$ac_ext <<_ACEOF
13403 /* end confdefs.h.  */
13404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13405    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13406 #define $ac_func innocuous_$ac_func
13407
13408 /* System header to define __stub macros and hopefully few prototypes,
13409     which can conflict with char $ac_func (); below.
13410     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13411     <limits.h> exists even on freestanding compilers.  */
13412
13413 #ifdef __STDC__
13414 # include <limits.h>
13415 #else
13416 # include <assert.h>
13417 #endif
13418
13419 #undef $ac_func
13420
13421 /* Override any gcc2 internal prototype to avoid an error.  */
13422 #ifdef __cplusplus
13423 extern "C"
13424 {
13425 #endif
13426 /* We use char because int might match the return type of a gcc2
13427    builtin and then its argument prototype would still apply.  */
13428 char $ac_func ();
13429 /* The GNU C library defines this for functions which it implements
13430     to always fail with ENOSYS.  Some functions are actually named
13431     something starting with __ and the normal name is an alias.  */
13432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13433 choke me
13434 #else
13435 char (*f) () = $ac_func;
13436 #endif
13437 #ifdef __cplusplus
13438 }
13439 #endif
13440
13441 int
13442 main ()
13443 {
13444 return f != $ac_func;
13445   ;
13446   return 0;
13447 }
13448 _ACEOF
13449 rm -f conftest.$ac_objext conftest$ac_exeext
13450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13451   (eval $ac_link) 2>conftest.er1
13452   ac_status=$?
13453   grep -v '^ *+' conftest.er1 >conftest.err
13454   rm -f conftest.er1
13455   cat conftest.err >&5
13456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13457   (exit $ac_status); } &&
13458          { ac_try='test -z "$ac_c_werror_flag"
13459                          || test ! -s conftest.err'
13460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13461   (eval $ac_try) 2>&5
13462   ac_status=$?
13463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464   (exit $ac_status); }; } &&
13465          { ac_try='test -s conftest$ac_exeext'
13466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13467   (eval $ac_try) 2>&5
13468   ac_status=$?
13469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470   (exit $ac_status); }; }; then
13471   eval "$as_ac_var=yes"
13472 else
13473   echo "$as_me: failed program was:" >&5
13474 sed 's/^/| /' conftest.$ac_ext >&5
13475
13476 eval "$as_ac_var=no"
13477 fi
13478 rm -f conftest.err conftest.$ac_objext \
13479       conftest$ac_exeext conftest.$ac_ext
13480 fi
13481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13483 if test `eval echo '${'$as_ac_var'}'` = yes; then
13484   cat >>confdefs.h <<_ACEOF
13485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13486 _ACEOF
13487
13488 fi
13489 done
13490
13491     fi
13492   fi
13493
13494
13495
13496
13497
13498
13499   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13500 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13501   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13502     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13503   echo $ECHO_N "(cached) $ECHO_C" >&6
13504 else
13505
13506
13507
13508       ac_ext=cc
13509 ac_cpp='$CXXCPP $CPPFLAGS'
13510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13513
13514       cat >conftest.$ac_ext <<_ACEOF
13515 /* confdefs.h.  */
13516 _ACEOF
13517 cat confdefs.h >>conftest.$ac_ext
13518 cat >>conftest.$ac_ext <<_ACEOF
13519 /* end confdefs.h.  */
13520 #include <math.h>
13521 int
13522 main ()
13523 {
13524  atan2f(0, 0);
13525   ;
13526   return 0;
13527 }
13528 _ACEOF
13529 rm -f conftest.$ac_objext
13530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13531   (eval $ac_compile) 2>conftest.er1
13532   ac_status=$?
13533   grep -v '^ *+' conftest.er1 >conftest.err
13534   rm -f conftest.er1
13535   cat conftest.err >&5
13536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537   (exit $ac_status); } &&
13538          { ac_try='test -z "$ac_cxx_werror_flag"
13539                          || test ! -s conftest.err'
13540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13541   (eval $ac_try) 2>&5
13542   ac_status=$?
13543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13544   (exit $ac_status); }; } &&
13545          { ac_try='test -s conftest.$ac_objext'
13546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13547   (eval $ac_try) 2>&5
13548   ac_status=$?
13549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13550   (exit $ac_status); }; }; then
13551   glibcxx_cv_func_atan2f_use=yes
13552 else
13553   echo "$as_me: failed program was:" >&5
13554 sed 's/^/| /' conftest.$ac_ext >&5
13555
13556 glibcxx_cv_func_atan2f_use=no
13557 fi
13558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13559       ac_ext=c
13560 ac_cpp='$CPP $CPPFLAGS'
13561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13564
13565
13566 fi
13567
13568   fi
13569   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13570 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13571
13572   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13573
13574 for ac_func in atan2f
13575 do
13576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13577 echo "$as_me:$LINENO: checking for $ac_func" >&5
13578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13579 if eval "test \"\${$as_ac_var+set}\" = set"; then
13580   echo $ECHO_N "(cached) $ECHO_C" >&6
13581 else
13582   if test x$gcc_no_link = xyes; then
13583   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13585    { (exit 1); exit 1; }; }
13586 fi
13587 cat >conftest.$ac_ext <<_ACEOF
13588 /* confdefs.h.  */
13589 _ACEOF
13590 cat confdefs.h >>conftest.$ac_ext
13591 cat >>conftest.$ac_ext <<_ACEOF
13592 /* end confdefs.h.  */
13593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13594    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13595 #define $ac_func innocuous_$ac_func
13596
13597 /* System header to define __stub macros and hopefully few prototypes,
13598     which can conflict with char $ac_func (); below.
13599     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13600     <limits.h> exists even on freestanding compilers.  */
13601
13602 #ifdef __STDC__
13603 # include <limits.h>
13604 #else
13605 # include <assert.h>
13606 #endif
13607
13608 #undef $ac_func
13609
13610 /* Override any gcc2 internal prototype to avoid an error.  */
13611 #ifdef __cplusplus
13612 extern "C"
13613 {
13614 #endif
13615 /* We use char because int might match the return type of a gcc2
13616    builtin and then its argument prototype would still apply.  */
13617 char $ac_func ();
13618 /* The GNU C library defines this for functions which it implements
13619     to always fail with ENOSYS.  Some functions are actually named
13620     something starting with __ and the normal name is an alias.  */
13621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13622 choke me
13623 #else
13624 char (*f) () = $ac_func;
13625 #endif
13626 #ifdef __cplusplus
13627 }
13628 #endif
13629
13630 int
13631 main ()
13632 {
13633 return f != $ac_func;
13634   ;
13635   return 0;
13636 }
13637 _ACEOF
13638 rm -f conftest.$ac_objext conftest$ac_exeext
13639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13640   (eval $ac_link) 2>conftest.er1
13641   ac_status=$?
13642   grep -v '^ *+' conftest.er1 >conftest.err
13643   rm -f conftest.er1
13644   cat conftest.err >&5
13645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13646   (exit $ac_status); } &&
13647          { ac_try='test -z "$ac_c_werror_flag"
13648                          || test ! -s conftest.err'
13649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13650   (eval $ac_try) 2>&5
13651   ac_status=$?
13652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13653   (exit $ac_status); }; } &&
13654          { ac_try='test -s conftest$ac_exeext'
13655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13656   (eval $ac_try) 2>&5
13657   ac_status=$?
13658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13659   (exit $ac_status); }; }; then
13660   eval "$as_ac_var=yes"
13661 else
13662   echo "$as_me: failed program was:" >&5
13663 sed 's/^/| /' conftest.$ac_ext >&5
13664
13665 eval "$as_ac_var=no"
13666 fi
13667 rm -f conftest.err conftest.$ac_objext \
13668       conftest$ac_exeext conftest.$ac_ext
13669 fi
13670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13672 if test `eval echo '${'$as_ac_var'}'` = yes; then
13673   cat >>confdefs.h <<_ACEOF
13674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13675 _ACEOF
13676
13677 fi
13678 done
13679
13680   else
13681
13682   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13683 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13684   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13685     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13686   echo $ECHO_N "(cached) $ECHO_C" >&6
13687 else
13688
13689
13690
13691       ac_ext=cc
13692 ac_cpp='$CXXCPP $CPPFLAGS'
13693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13696
13697       cat >conftest.$ac_ext <<_ACEOF
13698 /* confdefs.h.  */
13699 _ACEOF
13700 cat confdefs.h >>conftest.$ac_ext
13701 cat >>conftest.$ac_ext <<_ACEOF
13702 /* end confdefs.h.  */
13703 #include <math.h>
13704 int
13705 main ()
13706 {
13707  _atan2f(0, 0);
13708   ;
13709   return 0;
13710 }
13711 _ACEOF
13712 rm -f conftest.$ac_objext
13713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13714   (eval $ac_compile) 2>conftest.er1
13715   ac_status=$?
13716   grep -v '^ *+' conftest.er1 >conftest.err
13717   rm -f conftest.er1
13718   cat conftest.err >&5
13719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13720   (exit $ac_status); } &&
13721          { ac_try='test -z "$ac_cxx_werror_flag"
13722                          || test ! -s conftest.err'
13723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13724   (eval $ac_try) 2>&5
13725   ac_status=$?
13726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727   (exit $ac_status); }; } &&
13728          { ac_try='test -s conftest.$ac_objext'
13729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13730   (eval $ac_try) 2>&5
13731   ac_status=$?
13732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13733   (exit $ac_status); }; }; then
13734   glibcxx_cv_func__atan2f_use=yes
13735 else
13736   echo "$as_me: failed program was:" >&5
13737 sed 's/^/| /' conftest.$ac_ext >&5
13738
13739 glibcxx_cv_func__atan2f_use=no
13740 fi
13741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13742       ac_ext=c
13743 ac_cpp='$CPP $CPPFLAGS'
13744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13747
13748
13749 fi
13750
13751   fi
13752   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13753 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13754
13755     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13756
13757 for ac_func in _atan2f
13758 do
13759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13760 echo "$as_me:$LINENO: checking for $ac_func" >&5
13761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13762 if eval "test \"\${$as_ac_var+set}\" = set"; then
13763   echo $ECHO_N "(cached) $ECHO_C" >&6
13764 else
13765   if test x$gcc_no_link = xyes; then
13766   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13768    { (exit 1); exit 1; }; }
13769 fi
13770 cat >conftest.$ac_ext <<_ACEOF
13771 /* confdefs.h.  */
13772 _ACEOF
13773 cat confdefs.h >>conftest.$ac_ext
13774 cat >>conftest.$ac_ext <<_ACEOF
13775 /* end confdefs.h.  */
13776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13777    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13778 #define $ac_func innocuous_$ac_func
13779
13780 /* System header to define __stub macros and hopefully few prototypes,
13781     which can conflict with char $ac_func (); below.
13782     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13783     <limits.h> exists even on freestanding compilers.  */
13784
13785 #ifdef __STDC__
13786 # include <limits.h>
13787 #else
13788 # include <assert.h>
13789 #endif
13790
13791 #undef $ac_func
13792
13793 /* Override any gcc2 internal prototype to avoid an error.  */
13794 #ifdef __cplusplus
13795 extern "C"
13796 {
13797 #endif
13798 /* We use char because int might match the return type of a gcc2
13799    builtin and then its argument prototype would still apply.  */
13800 char $ac_func ();
13801 /* The GNU C library defines this for functions which it implements
13802     to always fail with ENOSYS.  Some functions are actually named
13803     something starting with __ and the normal name is an alias.  */
13804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13805 choke me
13806 #else
13807 char (*f) () = $ac_func;
13808 #endif
13809 #ifdef __cplusplus
13810 }
13811 #endif
13812
13813 int
13814 main ()
13815 {
13816 return f != $ac_func;
13817   ;
13818   return 0;
13819 }
13820 _ACEOF
13821 rm -f conftest.$ac_objext conftest$ac_exeext
13822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13823   (eval $ac_link) 2>conftest.er1
13824   ac_status=$?
13825   grep -v '^ *+' conftest.er1 >conftest.err
13826   rm -f conftest.er1
13827   cat conftest.err >&5
13828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13829   (exit $ac_status); } &&
13830          { ac_try='test -z "$ac_c_werror_flag"
13831                          || test ! -s conftest.err'
13832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13833   (eval $ac_try) 2>&5
13834   ac_status=$?
13835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836   (exit $ac_status); }; } &&
13837          { ac_try='test -s conftest$ac_exeext'
13838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13839   (eval $ac_try) 2>&5
13840   ac_status=$?
13841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842   (exit $ac_status); }; }; then
13843   eval "$as_ac_var=yes"
13844 else
13845   echo "$as_me: failed program was:" >&5
13846 sed 's/^/| /' conftest.$ac_ext >&5
13847
13848 eval "$as_ac_var=no"
13849 fi
13850 rm -f conftest.err conftest.$ac_objext \
13851       conftest$ac_exeext conftest.$ac_ext
13852 fi
13853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13855 if test `eval echo '${'$as_ac_var'}'` = yes; then
13856   cat >>confdefs.h <<_ACEOF
13857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13858 _ACEOF
13859
13860 fi
13861 done
13862
13863     fi
13864   fi
13865
13866
13867
13868
13869
13870
13871   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13872 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13873   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13874     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13875   echo $ECHO_N "(cached) $ECHO_C" >&6
13876 else
13877
13878
13879
13880       ac_ext=cc
13881 ac_cpp='$CXXCPP $CPPFLAGS'
13882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13885
13886       cat >conftest.$ac_ext <<_ACEOF
13887 /* confdefs.h.  */
13888 _ACEOF
13889 cat confdefs.h >>conftest.$ac_ext
13890 cat >>conftest.$ac_ext <<_ACEOF
13891 /* end confdefs.h.  */
13892 #include <math.h>
13893                       #ifdef HAVE_IEEEFP_H
13894                       #include <ieeefp.h>
13895                       #endif
13896
13897 int
13898 main ()
13899 {
13900  fabsf(0);
13901   ;
13902   return 0;
13903 }
13904 _ACEOF
13905 rm -f conftest.$ac_objext
13906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13907   (eval $ac_compile) 2>conftest.er1
13908   ac_status=$?
13909   grep -v '^ *+' conftest.er1 >conftest.err
13910   rm -f conftest.er1
13911   cat conftest.err >&5
13912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913   (exit $ac_status); } &&
13914          { ac_try='test -z "$ac_cxx_werror_flag"
13915                          || test ! -s conftest.err'
13916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13917   (eval $ac_try) 2>&5
13918   ac_status=$?
13919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920   (exit $ac_status); }; } &&
13921          { ac_try='test -s conftest.$ac_objext'
13922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13923   (eval $ac_try) 2>&5
13924   ac_status=$?
13925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926   (exit $ac_status); }; }; then
13927   glibcxx_cv_func_fabsf_use=yes
13928 else
13929   echo "$as_me: failed program was:" >&5
13930 sed 's/^/| /' conftest.$ac_ext >&5
13931
13932 glibcxx_cv_func_fabsf_use=no
13933 fi
13934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13935       ac_ext=c
13936 ac_cpp='$CPP $CPPFLAGS'
13937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13940
13941
13942 fi
13943
13944   fi
13945   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13946 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13947
13948   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13949
13950 for ac_func in fabsf
13951 do
13952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13953 echo "$as_me:$LINENO: checking for $ac_func" >&5
13954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13955 if eval "test \"\${$as_ac_var+set}\" = set"; then
13956   echo $ECHO_N "(cached) $ECHO_C" >&6
13957 else
13958   if test x$gcc_no_link = xyes; then
13959   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13961    { (exit 1); exit 1; }; }
13962 fi
13963 cat >conftest.$ac_ext <<_ACEOF
13964 /* confdefs.h.  */
13965 _ACEOF
13966 cat confdefs.h >>conftest.$ac_ext
13967 cat >>conftest.$ac_ext <<_ACEOF
13968 /* end confdefs.h.  */
13969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13970    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13971 #define $ac_func innocuous_$ac_func
13972
13973 /* System header to define __stub macros and hopefully few prototypes,
13974     which can conflict with char $ac_func (); below.
13975     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13976     <limits.h> exists even on freestanding compilers.  */
13977
13978 #ifdef __STDC__
13979 # include <limits.h>
13980 #else
13981 # include <assert.h>
13982 #endif
13983
13984 #undef $ac_func
13985
13986 /* Override any gcc2 internal prototype to avoid an error.  */
13987 #ifdef __cplusplus
13988 extern "C"
13989 {
13990 #endif
13991 /* We use char because int might match the return type of a gcc2
13992    builtin and then its argument prototype would still apply.  */
13993 char $ac_func ();
13994 /* The GNU C library defines this for functions which it implements
13995     to always fail with ENOSYS.  Some functions are actually named
13996     something starting with __ and the normal name is an alias.  */
13997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13998 choke me
13999 #else
14000 char (*f) () = $ac_func;
14001 #endif
14002 #ifdef __cplusplus
14003 }
14004 #endif
14005
14006 int
14007 main ()
14008 {
14009 return f != $ac_func;
14010   ;
14011   return 0;
14012 }
14013 _ACEOF
14014 rm -f conftest.$ac_objext conftest$ac_exeext
14015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14016   (eval $ac_link) 2>conftest.er1
14017   ac_status=$?
14018   grep -v '^ *+' conftest.er1 >conftest.err
14019   rm -f conftest.er1
14020   cat conftest.err >&5
14021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14022   (exit $ac_status); } &&
14023          { ac_try='test -z "$ac_c_werror_flag"
14024                          || test ! -s conftest.err'
14025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14026   (eval $ac_try) 2>&5
14027   ac_status=$?
14028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029   (exit $ac_status); }; } &&
14030          { ac_try='test -s conftest$ac_exeext'
14031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14032   (eval $ac_try) 2>&5
14033   ac_status=$?
14034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14035   (exit $ac_status); }; }; then
14036   eval "$as_ac_var=yes"
14037 else
14038   echo "$as_me: failed program was:" >&5
14039 sed 's/^/| /' conftest.$ac_ext >&5
14040
14041 eval "$as_ac_var=no"
14042 fi
14043 rm -f conftest.err conftest.$ac_objext \
14044       conftest$ac_exeext conftest.$ac_ext
14045 fi
14046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14048 if test `eval echo '${'$as_ac_var'}'` = yes; then
14049   cat >>confdefs.h <<_ACEOF
14050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14051 _ACEOF
14052
14053 fi
14054 done
14055
14056   else
14057
14058   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
14059 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
14060   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
14061     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
14062   echo $ECHO_N "(cached) $ECHO_C" >&6
14063 else
14064
14065
14066
14067       ac_ext=cc
14068 ac_cpp='$CXXCPP $CPPFLAGS'
14069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14072
14073       cat >conftest.$ac_ext <<_ACEOF
14074 /* confdefs.h.  */
14075 _ACEOF
14076 cat confdefs.h >>conftest.$ac_ext
14077 cat >>conftest.$ac_ext <<_ACEOF
14078 /* end confdefs.h.  */
14079 #include <math.h>
14080                       #ifdef HAVE_IEEEFP_H
14081                       #include <ieeefp.h>
14082                       #endif
14083
14084 int
14085 main ()
14086 {
14087  _fabsf(0);
14088   ;
14089   return 0;
14090 }
14091 _ACEOF
14092 rm -f conftest.$ac_objext
14093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14094   (eval $ac_compile) 2>conftest.er1
14095   ac_status=$?
14096   grep -v '^ *+' conftest.er1 >conftest.err
14097   rm -f conftest.er1
14098   cat conftest.err >&5
14099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100   (exit $ac_status); } &&
14101          { ac_try='test -z "$ac_cxx_werror_flag"
14102                          || test ! -s conftest.err'
14103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14104   (eval $ac_try) 2>&5
14105   ac_status=$?
14106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107   (exit $ac_status); }; } &&
14108          { ac_try='test -s conftest.$ac_objext'
14109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14110   (eval $ac_try) 2>&5
14111   ac_status=$?
14112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14113   (exit $ac_status); }; }; then
14114   glibcxx_cv_func__fabsf_use=yes
14115 else
14116   echo "$as_me: failed program was:" >&5
14117 sed 's/^/| /' conftest.$ac_ext >&5
14118
14119 glibcxx_cv_func__fabsf_use=no
14120 fi
14121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14122       ac_ext=c
14123 ac_cpp='$CPP $CPPFLAGS'
14124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14127
14128
14129 fi
14130
14131   fi
14132   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
14133 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
14134
14135     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
14136
14137 for ac_func in _fabsf
14138 do
14139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14140 echo "$as_me:$LINENO: checking for $ac_func" >&5
14141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14142 if eval "test \"\${$as_ac_var+set}\" = set"; then
14143   echo $ECHO_N "(cached) $ECHO_C" >&6
14144 else
14145   if test x$gcc_no_link = xyes; then
14146   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14148    { (exit 1); exit 1; }; }
14149 fi
14150 cat >conftest.$ac_ext <<_ACEOF
14151 /* confdefs.h.  */
14152 _ACEOF
14153 cat confdefs.h >>conftest.$ac_ext
14154 cat >>conftest.$ac_ext <<_ACEOF
14155 /* end confdefs.h.  */
14156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14157    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14158 #define $ac_func innocuous_$ac_func
14159
14160 /* System header to define __stub macros and hopefully few prototypes,
14161     which can conflict with char $ac_func (); below.
14162     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14163     <limits.h> exists even on freestanding compilers.  */
14164
14165 #ifdef __STDC__
14166 # include <limits.h>
14167 #else
14168 # include <assert.h>
14169 #endif
14170
14171 #undef $ac_func
14172
14173 /* Override any gcc2 internal prototype to avoid an error.  */
14174 #ifdef __cplusplus
14175 extern "C"
14176 {
14177 #endif
14178 /* We use char because int might match the return type of a gcc2
14179    builtin and then its argument prototype would still apply.  */
14180 char $ac_func ();
14181 /* The GNU C library defines this for functions which it implements
14182     to always fail with ENOSYS.  Some functions are actually named
14183     something starting with __ and the normal name is an alias.  */
14184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14185 choke me
14186 #else
14187 char (*f) () = $ac_func;
14188 #endif
14189 #ifdef __cplusplus
14190 }
14191 #endif
14192
14193 int
14194 main ()
14195 {
14196 return f != $ac_func;
14197   ;
14198   return 0;
14199 }
14200 _ACEOF
14201 rm -f conftest.$ac_objext conftest$ac_exeext
14202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14203   (eval $ac_link) 2>conftest.er1
14204   ac_status=$?
14205   grep -v '^ *+' conftest.er1 >conftest.err
14206   rm -f conftest.er1
14207   cat conftest.err >&5
14208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209   (exit $ac_status); } &&
14210          { ac_try='test -z "$ac_c_werror_flag"
14211                          || test ! -s conftest.err'
14212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14213   (eval $ac_try) 2>&5
14214   ac_status=$?
14215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216   (exit $ac_status); }; } &&
14217          { ac_try='test -s conftest$ac_exeext'
14218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14219   (eval $ac_try) 2>&5
14220   ac_status=$?
14221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222   (exit $ac_status); }; }; then
14223   eval "$as_ac_var=yes"
14224 else
14225   echo "$as_me: failed program was:" >&5
14226 sed 's/^/| /' conftest.$ac_ext >&5
14227
14228 eval "$as_ac_var=no"
14229 fi
14230 rm -f conftest.err conftest.$ac_objext \
14231       conftest$ac_exeext conftest.$ac_ext
14232 fi
14233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14235 if test `eval echo '${'$as_ac_var'}'` = yes; then
14236   cat >>confdefs.h <<_ACEOF
14237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14238 _ACEOF
14239
14240 fi
14241 done
14242
14243     fi
14244   fi
14245
14246
14247
14248
14249
14250
14251   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14252 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14253   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14254     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14255   echo $ECHO_N "(cached) $ECHO_C" >&6
14256 else
14257
14258
14259
14260       ac_ext=cc
14261 ac_cpp='$CXXCPP $CPPFLAGS'
14262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14265
14266       cat >conftest.$ac_ext <<_ACEOF
14267 /* confdefs.h.  */
14268 _ACEOF
14269 cat confdefs.h >>conftest.$ac_ext
14270 cat >>conftest.$ac_ext <<_ACEOF
14271 /* end confdefs.h.  */
14272 #include <math.h>
14273 int
14274 main ()
14275 {
14276  fmodf(0, 0);
14277   ;
14278   return 0;
14279 }
14280 _ACEOF
14281 rm -f conftest.$ac_objext
14282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14283   (eval $ac_compile) 2>conftest.er1
14284   ac_status=$?
14285   grep -v '^ *+' conftest.er1 >conftest.err
14286   rm -f conftest.er1
14287   cat conftest.err >&5
14288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289   (exit $ac_status); } &&
14290          { ac_try='test -z "$ac_cxx_werror_flag"
14291                          || test ! -s conftest.err'
14292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14293   (eval $ac_try) 2>&5
14294   ac_status=$?
14295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296   (exit $ac_status); }; } &&
14297          { ac_try='test -s conftest.$ac_objext'
14298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14299   (eval $ac_try) 2>&5
14300   ac_status=$?
14301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302   (exit $ac_status); }; }; then
14303   glibcxx_cv_func_fmodf_use=yes
14304 else
14305   echo "$as_me: failed program was:" >&5
14306 sed 's/^/| /' conftest.$ac_ext >&5
14307
14308 glibcxx_cv_func_fmodf_use=no
14309 fi
14310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14311       ac_ext=c
14312 ac_cpp='$CPP $CPPFLAGS'
14313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14316
14317
14318 fi
14319
14320   fi
14321   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14322 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14323
14324   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14325
14326 for ac_func in fmodf
14327 do
14328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14329 echo "$as_me:$LINENO: checking for $ac_func" >&5
14330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14331 if eval "test \"\${$as_ac_var+set}\" = set"; then
14332   echo $ECHO_N "(cached) $ECHO_C" >&6
14333 else
14334   if test x$gcc_no_link = xyes; then
14335   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14337    { (exit 1); exit 1; }; }
14338 fi
14339 cat >conftest.$ac_ext <<_ACEOF
14340 /* confdefs.h.  */
14341 _ACEOF
14342 cat confdefs.h >>conftest.$ac_ext
14343 cat >>conftest.$ac_ext <<_ACEOF
14344 /* end confdefs.h.  */
14345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14346    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14347 #define $ac_func innocuous_$ac_func
14348
14349 /* System header to define __stub macros and hopefully few prototypes,
14350     which can conflict with char $ac_func (); below.
14351     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14352     <limits.h> exists even on freestanding compilers.  */
14353
14354 #ifdef __STDC__
14355 # include <limits.h>
14356 #else
14357 # include <assert.h>
14358 #endif
14359
14360 #undef $ac_func
14361
14362 /* Override any gcc2 internal prototype to avoid an error.  */
14363 #ifdef __cplusplus
14364 extern "C"
14365 {
14366 #endif
14367 /* We use char because int might match the return type of a gcc2
14368    builtin and then its argument prototype would still apply.  */
14369 char $ac_func ();
14370 /* The GNU C library defines this for functions which it implements
14371     to always fail with ENOSYS.  Some functions are actually named
14372     something starting with __ and the normal name is an alias.  */
14373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14374 choke me
14375 #else
14376 char (*f) () = $ac_func;
14377 #endif
14378 #ifdef __cplusplus
14379 }
14380 #endif
14381
14382 int
14383 main ()
14384 {
14385 return f != $ac_func;
14386   ;
14387   return 0;
14388 }
14389 _ACEOF
14390 rm -f conftest.$ac_objext conftest$ac_exeext
14391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14392   (eval $ac_link) 2>conftest.er1
14393   ac_status=$?
14394   grep -v '^ *+' conftest.er1 >conftest.err
14395   rm -f conftest.er1
14396   cat conftest.err >&5
14397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398   (exit $ac_status); } &&
14399          { ac_try='test -z "$ac_c_werror_flag"
14400                          || test ! -s conftest.err'
14401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14402   (eval $ac_try) 2>&5
14403   ac_status=$?
14404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405   (exit $ac_status); }; } &&
14406          { ac_try='test -s conftest$ac_exeext'
14407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14408   (eval $ac_try) 2>&5
14409   ac_status=$?
14410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14411   (exit $ac_status); }; }; then
14412   eval "$as_ac_var=yes"
14413 else
14414   echo "$as_me: failed program was:" >&5
14415 sed 's/^/| /' conftest.$ac_ext >&5
14416
14417 eval "$as_ac_var=no"
14418 fi
14419 rm -f conftest.err conftest.$ac_objext \
14420       conftest$ac_exeext conftest.$ac_ext
14421 fi
14422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14424 if test `eval echo '${'$as_ac_var'}'` = yes; then
14425   cat >>confdefs.h <<_ACEOF
14426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14427 _ACEOF
14428
14429 fi
14430 done
14431
14432   else
14433
14434   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14435 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14436   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14437     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14438   echo $ECHO_N "(cached) $ECHO_C" >&6
14439 else
14440
14441
14442
14443       ac_ext=cc
14444 ac_cpp='$CXXCPP $CPPFLAGS'
14445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14448
14449       cat >conftest.$ac_ext <<_ACEOF
14450 /* confdefs.h.  */
14451 _ACEOF
14452 cat confdefs.h >>conftest.$ac_ext
14453 cat >>conftest.$ac_ext <<_ACEOF
14454 /* end confdefs.h.  */
14455 #include <math.h>
14456 int
14457 main ()
14458 {
14459  _fmodf(0, 0);
14460   ;
14461   return 0;
14462 }
14463 _ACEOF
14464 rm -f conftest.$ac_objext
14465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14466   (eval $ac_compile) 2>conftest.er1
14467   ac_status=$?
14468   grep -v '^ *+' conftest.er1 >conftest.err
14469   rm -f conftest.er1
14470   cat conftest.err >&5
14471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14472   (exit $ac_status); } &&
14473          { ac_try='test -z "$ac_cxx_werror_flag"
14474                          || test ! -s conftest.err'
14475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14476   (eval $ac_try) 2>&5
14477   ac_status=$?
14478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479   (exit $ac_status); }; } &&
14480          { ac_try='test -s conftest.$ac_objext'
14481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14482   (eval $ac_try) 2>&5
14483   ac_status=$?
14484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485   (exit $ac_status); }; }; then
14486   glibcxx_cv_func__fmodf_use=yes
14487 else
14488   echo "$as_me: failed program was:" >&5
14489 sed 's/^/| /' conftest.$ac_ext >&5
14490
14491 glibcxx_cv_func__fmodf_use=no
14492 fi
14493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14494       ac_ext=c
14495 ac_cpp='$CPP $CPPFLAGS'
14496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14499
14500
14501 fi
14502
14503   fi
14504   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14505 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14506
14507     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14508
14509 for ac_func in _fmodf
14510 do
14511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14512 echo "$as_me:$LINENO: checking for $ac_func" >&5
14513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14514 if eval "test \"\${$as_ac_var+set}\" = set"; then
14515   echo $ECHO_N "(cached) $ECHO_C" >&6
14516 else
14517   if test x$gcc_no_link = xyes; then
14518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14520    { (exit 1); exit 1; }; }
14521 fi
14522 cat >conftest.$ac_ext <<_ACEOF
14523 /* confdefs.h.  */
14524 _ACEOF
14525 cat confdefs.h >>conftest.$ac_ext
14526 cat >>conftest.$ac_ext <<_ACEOF
14527 /* end confdefs.h.  */
14528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14529    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14530 #define $ac_func innocuous_$ac_func
14531
14532 /* System header to define __stub macros and hopefully few prototypes,
14533     which can conflict with char $ac_func (); below.
14534     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14535     <limits.h> exists even on freestanding compilers.  */
14536
14537 #ifdef __STDC__
14538 # include <limits.h>
14539 #else
14540 # include <assert.h>
14541 #endif
14542
14543 #undef $ac_func
14544
14545 /* Override any gcc2 internal prototype to avoid an error.  */
14546 #ifdef __cplusplus
14547 extern "C"
14548 {
14549 #endif
14550 /* We use char because int might match the return type of a gcc2
14551    builtin and then its argument prototype would still apply.  */
14552 char $ac_func ();
14553 /* The GNU C library defines this for functions which it implements
14554     to always fail with ENOSYS.  Some functions are actually named
14555     something starting with __ and the normal name is an alias.  */
14556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14557 choke me
14558 #else
14559 char (*f) () = $ac_func;
14560 #endif
14561 #ifdef __cplusplus
14562 }
14563 #endif
14564
14565 int
14566 main ()
14567 {
14568 return f != $ac_func;
14569   ;
14570   return 0;
14571 }
14572 _ACEOF
14573 rm -f conftest.$ac_objext conftest$ac_exeext
14574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14575   (eval $ac_link) 2>conftest.er1
14576   ac_status=$?
14577   grep -v '^ *+' conftest.er1 >conftest.err
14578   rm -f conftest.er1
14579   cat conftest.err >&5
14580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581   (exit $ac_status); } &&
14582          { ac_try='test -z "$ac_c_werror_flag"
14583                          || test ! -s conftest.err'
14584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14585   (eval $ac_try) 2>&5
14586   ac_status=$?
14587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588   (exit $ac_status); }; } &&
14589          { ac_try='test -s conftest$ac_exeext'
14590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14591   (eval $ac_try) 2>&5
14592   ac_status=$?
14593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594   (exit $ac_status); }; }; then
14595   eval "$as_ac_var=yes"
14596 else
14597   echo "$as_me: failed program was:" >&5
14598 sed 's/^/| /' conftest.$ac_ext >&5
14599
14600 eval "$as_ac_var=no"
14601 fi
14602 rm -f conftest.err conftest.$ac_objext \
14603       conftest$ac_exeext conftest.$ac_ext
14604 fi
14605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14607 if test `eval echo '${'$as_ac_var'}'` = yes; then
14608   cat >>confdefs.h <<_ACEOF
14609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14610 _ACEOF
14611
14612 fi
14613 done
14614
14615     fi
14616   fi
14617
14618
14619
14620
14621
14622
14623   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14624 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14625   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14626     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14627   echo $ECHO_N "(cached) $ECHO_C" >&6
14628 else
14629
14630
14631
14632       ac_ext=cc
14633 ac_cpp='$CXXCPP $CPPFLAGS'
14634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14637
14638       cat >conftest.$ac_ext <<_ACEOF
14639 /* confdefs.h.  */
14640 _ACEOF
14641 cat confdefs.h >>conftest.$ac_ext
14642 cat >>conftest.$ac_ext <<_ACEOF
14643 /* end confdefs.h.  */
14644 #include <math.h>
14645 int
14646 main ()
14647 {
14648  frexpf(0, 0);
14649   ;
14650   return 0;
14651 }
14652 _ACEOF
14653 rm -f conftest.$ac_objext
14654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14655   (eval $ac_compile) 2>conftest.er1
14656   ac_status=$?
14657   grep -v '^ *+' conftest.er1 >conftest.err
14658   rm -f conftest.er1
14659   cat conftest.err >&5
14660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14661   (exit $ac_status); } &&
14662          { ac_try='test -z "$ac_cxx_werror_flag"
14663                          || test ! -s conftest.err'
14664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14665   (eval $ac_try) 2>&5
14666   ac_status=$?
14667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14668   (exit $ac_status); }; } &&
14669          { ac_try='test -s conftest.$ac_objext'
14670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14671   (eval $ac_try) 2>&5
14672   ac_status=$?
14673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674   (exit $ac_status); }; }; then
14675   glibcxx_cv_func_frexpf_use=yes
14676 else
14677   echo "$as_me: failed program was:" >&5
14678 sed 's/^/| /' conftest.$ac_ext >&5
14679
14680 glibcxx_cv_func_frexpf_use=no
14681 fi
14682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14683       ac_ext=c
14684 ac_cpp='$CPP $CPPFLAGS'
14685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14688
14689
14690 fi
14691
14692   fi
14693   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14694 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14695
14696   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14697
14698 for ac_func in frexpf
14699 do
14700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14701 echo "$as_me:$LINENO: checking for $ac_func" >&5
14702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14703 if eval "test \"\${$as_ac_var+set}\" = set"; then
14704   echo $ECHO_N "(cached) $ECHO_C" >&6
14705 else
14706   if test x$gcc_no_link = xyes; then
14707   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14709    { (exit 1); exit 1; }; }
14710 fi
14711 cat >conftest.$ac_ext <<_ACEOF
14712 /* confdefs.h.  */
14713 _ACEOF
14714 cat confdefs.h >>conftest.$ac_ext
14715 cat >>conftest.$ac_ext <<_ACEOF
14716 /* end confdefs.h.  */
14717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14718    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14719 #define $ac_func innocuous_$ac_func
14720
14721 /* System header to define __stub macros and hopefully few prototypes,
14722     which can conflict with char $ac_func (); below.
14723     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14724     <limits.h> exists even on freestanding compilers.  */
14725
14726 #ifdef __STDC__
14727 # include <limits.h>
14728 #else
14729 # include <assert.h>
14730 #endif
14731
14732 #undef $ac_func
14733
14734 /* Override any gcc2 internal prototype to avoid an error.  */
14735 #ifdef __cplusplus
14736 extern "C"
14737 {
14738 #endif
14739 /* We use char because int might match the return type of a gcc2
14740    builtin and then its argument prototype would still apply.  */
14741 char $ac_func ();
14742 /* The GNU C library defines this for functions which it implements
14743     to always fail with ENOSYS.  Some functions are actually named
14744     something starting with __ and the normal name is an alias.  */
14745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14746 choke me
14747 #else
14748 char (*f) () = $ac_func;
14749 #endif
14750 #ifdef __cplusplus
14751 }
14752 #endif
14753
14754 int
14755 main ()
14756 {
14757 return f != $ac_func;
14758   ;
14759   return 0;
14760 }
14761 _ACEOF
14762 rm -f conftest.$ac_objext conftest$ac_exeext
14763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14764   (eval $ac_link) 2>conftest.er1
14765   ac_status=$?
14766   grep -v '^ *+' conftest.er1 >conftest.err
14767   rm -f conftest.er1
14768   cat conftest.err >&5
14769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14770   (exit $ac_status); } &&
14771          { ac_try='test -z "$ac_c_werror_flag"
14772                          || test ! -s conftest.err'
14773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14774   (eval $ac_try) 2>&5
14775   ac_status=$?
14776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777   (exit $ac_status); }; } &&
14778          { ac_try='test -s conftest$ac_exeext'
14779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14780   (eval $ac_try) 2>&5
14781   ac_status=$?
14782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14783   (exit $ac_status); }; }; then
14784   eval "$as_ac_var=yes"
14785 else
14786   echo "$as_me: failed program was:" >&5
14787 sed 's/^/| /' conftest.$ac_ext >&5
14788
14789 eval "$as_ac_var=no"
14790 fi
14791 rm -f conftest.err conftest.$ac_objext \
14792       conftest$ac_exeext conftest.$ac_ext
14793 fi
14794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14796 if test `eval echo '${'$as_ac_var'}'` = yes; then
14797   cat >>confdefs.h <<_ACEOF
14798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14799 _ACEOF
14800
14801 fi
14802 done
14803
14804   else
14805
14806   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14807 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14808   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14809     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14810   echo $ECHO_N "(cached) $ECHO_C" >&6
14811 else
14812
14813
14814
14815       ac_ext=cc
14816 ac_cpp='$CXXCPP $CPPFLAGS'
14817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14820
14821       cat >conftest.$ac_ext <<_ACEOF
14822 /* confdefs.h.  */
14823 _ACEOF
14824 cat confdefs.h >>conftest.$ac_ext
14825 cat >>conftest.$ac_ext <<_ACEOF
14826 /* end confdefs.h.  */
14827 #include <math.h>
14828 int
14829 main ()
14830 {
14831  _frexpf(0, 0);
14832   ;
14833   return 0;
14834 }
14835 _ACEOF
14836 rm -f conftest.$ac_objext
14837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14838   (eval $ac_compile) 2>conftest.er1
14839   ac_status=$?
14840   grep -v '^ *+' conftest.er1 >conftest.err
14841   rm -f conftest.er1
14842   cat conftest.err >&5
14843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14844   (exit $ac_status); } &&
14845          { ac_try='test -z "$ac_cxx_werror_flag"
14846                          || test ! -s conftest.err'
14847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14848   (eval $ac_try) 2>&5
14849   ac_status=$?
14850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851   (exit $ac_status); }; } &&
14852          { ac_try='test -s conftest.$ac_objext'
14853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14854   (eval $ac_try) 2>&5
14855   ac_status=$?
14856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14857   (exit $ac_status); }; }; then
14858   glibcxx_cv_func__frexpf_use=yes
14859 else
14860   echo "$as_me: failed program was:" >&5
14861 sed 's/^/| /' conftest.$ac_ext >&5
14862
14863 glibcxx_cv_func__frexpf_use=no
14864 fi
14865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14866       ac_ext=c
14867 ac_cpp='$CPP $CPPFLAGS'
14868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14871
14872
14873 fi
14874
14875   fi
14876   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14877 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14878
14879     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14880
14881 for ac_func in _frexpf
14882 do
14883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14884 echo "$as_me:$LINENO: checking for $ac_func" >&5
14885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14886 if eval "test \"\${$as_ac_var+set}\" = set"; then
14887   echo $ECHO_N "(cached) $ECHO_C" >&6
14888 else
14889   if test x$gcc_no_link = xyes; then
14890   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14892    { (exit 1); exit 1; }; }
14893 fi
14894 cat >conftest.$ac_ext <<_ACEOF
14895 /* confdefs.h.  */
14896 _ACEOF
14897 cat confdefs.h >>conftest.$ac_ext
14898 cat >>conftest.$ac_ext <<_ACEOF
14899 /* end confdefs.h.  */
14900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14901    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14902 #define $ac_func innocuous_$ac_func
14903
14904 /* System header to define __stub macros and hopefully few prototypes,
14905     which can conflict with char $ac_func (); below.
14906     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14907     <limits.h> exists even on freestanding compilers.  */
14908
14909 #ifdef __STDC__
14910 # include <limits.h>
14911 #else
14912 # include <assert.h>
14913 #endif
14914
14915 #undef $ac_func
14916
14917 /* Override any gcc2 internal prototype to avoid an error.  */
14918 #ifdef __cplusplus
14919 extern "C"
14920 {
14921 #endif
14922 /* We use char because int might match the return type of a gcc2
14923    builtin and then its argument prototype would still apply.  */
14924 char $ac_func ();
14925 /* The GNU C library defines this for functions which it implements
14926     to always fail with ENOSYS.  Some functions are actually named
14927     something starting with __ and the normal name is an alias.  */
14928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14929 choke me
14930 #else
14931 char (*f) () = $ac_func;
14932 #endif
14933 #ifdef __cplusplus
14934 }
14935 #endif
14936
14937 int
14938 main ()
14939 {
14940 return f != $ac_func;
14941   ;
14942   return 0;
14943 }
14944 _ACEOF
14945 rm -f conftest.$ac_objext conftest$ac_exeext
14946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14947   (eval $ac_link) 2>conftest.er1
14948   ac_status=$?
14949   grep -v '^ *+' conftest.er1 >conftest.err
14950   rm -f conftest.er1
14951   cat conftest.err >&5
14952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953   (exit $ac_status); } &&
14954          { ac_try='test -z "$ac_c_werror_flag"
14955                          || test ! -s conftest.err'
14956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14957   (eval $ac_try) 2>&5
14958   ac_status=$?
14959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960   (exit $ac_status); }; } &&
14961          { ac_try='test -s conftest$ac_exeext'
14962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14963   (eval $ac_try) 2>&5
14964   ac_status=$?
14965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966   (exit $ac_status); }; }; then
14967   eval "$as_ac_var=yes"
14968 else
14969   echo "$as_me: failed program was:" >&5
14970 sed 's/^/| /' conftest.$ac_ext >&5
14971
14972 eval "$as_ac_var=no"
14973 fi
14974 rm -f conftest.err conftest.$ac_objext \
14975       conftest$ac_exeext conftest.$ac_ext
14976 fi
14977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14979 if test `eval echo '${'$as_ac_var'}'` = yes; then
14980   cat >>confdefs.h <<_ACEOF
14981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14982 _ACEOF
14983
14984 fi
14985 done
14986
14987     fi
14988   fi
14989
14990
14991
14992
14993
14994
14995   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14996 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14997   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14998     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14999   echo $ECHO_N "(cached) $ECHO_C" >&6
15000 else
15001
15002
15003
15004       ac_ext=cc
15005 ac_cpp='$CXXCPP $CPPFLAGS'
15006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15009
15010       cat >conftest.$ac_ext <<_ACEOF
15011 /* confdefs.h.  */
15012 _ACEOF
15013 cat confdefs.h >>conftest.$ac_ext
15014 cat >>conftest.$ac_ext <<_ACEOF
15015 /* end confdefs.h.  */
15016 #include <math.h>
15017 int
15018 main ()
15019 {
15020  hypotf(0, 0);
15021   ;
15022   return 0;
15023 }
15024 _ACEOF
15025 rm -f conftest.$ac_objext
15026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15027   (eval $ac_compile) 2>conftest.er1
15028   ac_status=$?
15029   grep -v '^ *+' conftest.er1 >conftest.err
15030   rm -f conftest.er1
15031   cat conftest.err >&5
15032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033   (exit $ac_status); } &&
15034          { ac_try='test -z "$ac_cxx_werror_flag"
15035                          || test ! -s conftest.err'
15036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15037   (eval $ac_try) 2>&5
15038   ac_status=$?
15039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040   (exit $ac_status); }; } &&
15041          { ac_try='test -s conftest.$ac_objext'
15042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15043   (eval $ac_try) 2>&5
15044   ac_status=$?
15045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046   (exit $ac_status); }; }; then
15047   glibcxx_cv_func_hypotf_use=yes
15048 else
15049   echo "$as_me: failed program was:" >&5
15050 sed 's/^/| /' conftest.$ac_ext >&5
15051
15052 glibcxx_cv_func_hypotf_use=no
15053 fi
15054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15055       ac_ext=c
15056 ac_cpp='$CPP $CPPFLAGS'
15057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15060
15061
15062 fi
15063
15064   fi
15065   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
15066 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
15067
15068   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
15069
15070 for ac_func in hypotf
15071 do
15072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15073 echo "$as_me:$LINENO: checking for $ac_func" >&5
15074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15075 if eval "test \"\${$as_ac_var+set}\" = set"; then
15076   echo $ECHO_N "(cached) $ECHO_C" >&6
15077 else
15078   if test x$gcc_no_link = xyes; then
15079   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15081    { (exit 1); exit 1; }; }
15082 fi
15083 cat >conftest.$ac_ext <<_ACEOF
15084 /* confdefs.h.  */
15085 _ACEOF
15086 cat confdefs.h >>conftest.$ac_ext
15087 cat >>conftest.$ac_ext <<_ACEOF
15088 /* end confdefs.h.  */
15089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15090    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15091 #define $ac_func innocuous_$ac_func
15092
15093 /* System header to define __stub macros and hopefully few prototypes,
15094     which can conflict with char $ac_func (); below.
15095     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15096     <limits.h> exists even on freestanding compilers.  */
15097
15098 #ifdef __STDC__
15099 # include <limits.h>
15100 #else
15101 # include <assert.h>
15102 #endif
15103
15104 #undef $ac_func
15105
15106 /* Override any gcc2 internal prototype to avoid an error.  */
15107 #ifdef __cplusplus
15108 extern "C"
15109 {
15110 #endif
15111 /* We use char because int might match the return type of a gcc2
15112    builtin and then its argument prototype would still apply.  */
15113 char $ac_func ();
15114 /* The GNU C library defines this for functions which it implements
15115     to always fail with ENOSYS.  Some functions are actually named
15116     something starting with __ and the normal name is an alias.  */
15117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15118 choke me
15119 #else
15120 char (*f) () = $ac_func;
15121 #endif
15122 #ifdef __cplusplus
15123 }
15124 #endif
15125
15126 int
15127 main ()
15128 {
15129 return f != $ac_func;
15130   ;
15131   return 0;
15132 }
15133 _ACEOF
15134 rm -f conftest.$ac_objext conftest$ac_exeext
15135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15136   (eval $ac_link) 2>conftest.er1
15137   ac_status=$?
15138   grep -v '^ *+' conftest.er1 >conftest.err
15139   rm -f conftest.er1
15140   cat conftest.err >&5
15141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15142   (exit $ac_status); } &&
15143          { ac_try='test -z "$ac_c_werror_flag"
15144                          || test ! -s conftest.err'
15145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15146   (eval $ac_try) 2>&5
15147   ac_status=$?
15148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149   (exit $ac_status); }; } &&
15150          { ac_try='test -s conftest$ac_exeext'
15151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15152   (eval $ac_try) 2>&5
15153   ac_status=$?
15154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155   (exit $ac_status); }; }; then
15156   eval "$as_ac_var=yes"
15157 else
15158   echo "$as_me: failed program was:" >&5
15159 sed 's/^/| /' conftest.$ac_ext >&5
15160
15161 eval "$as_ac_var=no"
15162 fi
15163 rm -f conftest.err conftest.$ac_objext \
15164       conftest$ac_exeext conftest.$ac_ext
15165 fi
15166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15168 if test `eval echo '${'$as_ac_var'}'` = yes; then
15169   cat >>confdefs.h <<_ACEOF
15170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15171 _ACEOF
15172
15173 fi
15174 done
15175
15176   else
15177
15178   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
15179 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
15180   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
15181     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
15182   echo $ECHO_N "(cached) $ECHO_C" >&6
15183 else
15184
15185
15186
15187       ac_ext=cc
15188 ac_cpp='$CXXCPP $CPPFLAGS'
15189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15192
15193       cat >conftest.$ac_ext <<_ACEOF
15194 /* confdefs.h.  */
15195 _ACEOF
15196 cat confdefs.h >>conftest.$ac_ext
15197 cat >>conftest.$ac_ext <<_ACEOF
15198 /* end confdefs.h.  */
15199 #include <math.h>
15200 int
15201 main ()
15202 {
15203  _hypotf(0, 0);
15204   ;
15205   return 0;
15206 }
15207 _ACEOF
15208 rm -f conftest.$ac_objext
15209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15210   (eval $ac_compile) 2>conftest.er1
15211   ac_status=$?
15212   grep -v '^ *+' conftest.er1 >conftest.err
15213   rm -f conftest.er1
15214   cat conftest.err >&5
15215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15216   (exit $ac_status); } &&
15217          { ac_try='test -z "$ac_cxx_werror_flag"
15218                          || test ! -s conftest.err'
15219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15220   (eval $ac_try) 2>&5
15221   ac_status=$?
15222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15223   (exit $ac_status); }; } &&
15224          { ac_try='test -s conftest.$ac_objext'
15225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15226   (eval $ac_try) 2>&5
15227   ac_status=$?
15228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15229   (exit $ac_status); }; }; then
15230   glibcxx_cv_func__hypotf_use=yes
15231 else
15232   echo "$as_me: failed program was:" >&5
15233 sed 's/^/| /' conftest.$ac_ext >&5
15234
15235 glibcxx_cv_func__hypotf_use=no
15236 fi
15237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15238       ac_ext=c
15239 ac_cpp='$CPP $CPPFLAGS'
15240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15243
15244
15245 fi
15246
15247   fi
15248   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15249 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15250
15251     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15252
15253 for ac_func in _hypotf
15254 do
15255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15256 echo "$as_me:$LINENO: checking for $ac_func" >&5
15257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15258 if eval "test \"\${$as_ac_var+set}\" = set"; then
15259   echo $ECHO_N "(cached) $ECHO_C" >&6
15260 else
15261   if test x$gcc_no_link = xyes; then
15262   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15264    { (exit 1); exit 1; }; }
15265 fi
15266 cat >conftest.$ac_ext <<_ACEOF
15267 /* confdefs.h.  */
15268 _ACEOF
15269 cat confdefs.h >>conftest.$ac_ext
15270 cat >>conftest.$ac_ext <<_ACEOF
15271 /* end confdefs.h.  */
15272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15273    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15274 #define $ac_func innocuous_$ac_func
15275
15276 /* System header to define __stub macros and hopefully few prototypes,
15277     which can conflict with char $ac_func (); below.
15278     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15279     <limits.h> exists even on freestanding compilers.  */
15280
15281 #ifdef __STDC__
15282 # include <limits.h>
15283 #else
15284 # include <assert.h>
15285 #endif
15286
15287 #undef $ac_func
15288
15289 /* Override any gcc2 internal prototype to avoid an error.  */
15290 #ifdef __cplusplus
15291 extern "C"
15292 {
15293 #endif
15294 /* We use char because int might match the return type of a gcc2
15295    builtin and then its argument prototype would still apply.  */
15296 char $ac_func ();
15297 /* The GNU C library defines this for functions which it implements
15298     to always fail with ENOSYS.  Some functions are actually named
15299     something starting with __ and the normal name is an alias.  */
15300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15301 choke me
15302 #else
15303 char (*f) () = $ac_func;
15304 #endif
15305 #ifdef __cplusplus
15306 }
15307 #endif
15308
15309 int
15310 main ()
15311 {
15312 return f != $ac_func;
15313   ;
15314   return 0;
15315 }
15316 _ACEOF
15317 rm -f conftest.$ac_objext conftest$ac_exeext
15318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15319   (eval $ac_link) 2>conftest.er1
15320   ac_status=$?
15321   grep -v '^ *+' conftest.er1 >conftest.err
15322   rm -f conftest.er1
15323   cat conftest.err >&5
15324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325   (exit $ac_status); } &&
15326          { ac_try='test -z "$ac_c_werror_flag"
15327                          || test ! -s conftest.err'
15328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15329   (eval $ac_try) 2>&5
15330   ac_status=$?
15331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15332   (exit $ac_status); }; } &&
15333          { ac_try='test -s conftest$ac_exeext'
15334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15335   (eval $ac_try) 2>&5
15336   ac_status=$?
15337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15338   (exit $ac_status); }; }; then
15339   eval "$as_ac_var=yes"
15340 else
15341   echo "$as_me: failed program was:" >&5
15342 sed 's/^/| /' conftest.$ac_ext >&5
15343
15344 eval "$as_ac_var=no"
15345 fi
15346 rm -f conftest.err conftest.$ac_objext \
15347       conftest$ac_exeext conftest.$ac_ext
15348 fi
15349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15351 if test `eval echo '${'$as_ac_var'}'` = yes; then
15352   cat >>confdefs.h <<_ACEOF
15353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15354 _ACEOF
15355
15356 fi
15357 done
15358
15359     fi
15360   fi
15361
15362
15363
15364
15365
15366
15367   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15368 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15369   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15370     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15371   echo $ECHO_N "(cached) $ECHO_C" >&6
15372 else
15373
15374
15375
15376       ac_ext=cc
15377 ac_cpp='$CXXCPP $CPPFLAGS'
15378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15381
15382       cat >conftest.$ac_ext <<_ACEOF
15383 /* confdefs.h.  */
15384 _ACEOF
15385 cat confdefs.h >>conftest.$ac_ext
15386 cat >>conftest.$ac_ext <<_ACEOF
15387 /* end confdefs.h.  */
15388 #include <math.h>
15389 int
15390 main ()
15391 {
15392  ldexpf(0, 0);
15393   ;
15394   return 0;
15395 }
15396 _ACEOF
15397 rm -f conftest.$ac_objext
15398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15399   (eval $ac_compile) 2>conftest.er1
15400   ac_status=$?
15401   grep -v '^ *+' conftest.er1 >conftest.err
15402   rm -f conftest.er1
15403   cat conftest.err >&5
15404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405   (exit $ac_status); } &&
15406          { ac_try='test -z "$ac_cxx_werror_flag"
15407                          || test ! -s conftest.err'
15408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15409   (eval $ac_try) 2>&5
15410   ac_status=$?
15411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15412   (exit $ac_status); }; } &&
15413          { ac_try='test -s conftest.$ac_objext'
15414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15415   (eval $ac_try) 2>&5
15416   ac_status=$?
15417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418   (exit $ac_status); }; }; then
15419   glibcxx_cv_func_ldexpf_use=yes
15420 else
15421   echo "$as_me: failed program was:" >&5
15422 sed 's/^/| /' conftest.$ac_ext >&5
15423
15424 glibcxx_cv_func_ldexpf_use=no
15425 fi
15426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15427       ac_ext=c
15428 ac_cpp='$CPP $CPPFLAGS'
15429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15432
15433
15434 fi
15435
15436   fi
15437   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15438 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15439
15440   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15441
15442 for ac_func in ldexpf
15443 do
15444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15445 echo "$as_me:$LINENO: checking for $ac_func" >&5
15446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15447 if eval "test \"\${$as_ac_var+set}\" = set"; then
15448   echo $ECHO_N "(cached) $ECHO_C" >&6
15449 else
15450   if test x$gcc_no_link = xyes; then
15451   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15453    { (exit 1); exit 1; }; }
15454 fi
15455 cat >conftest.$ac_ext <<_ACEOF
15456 /* confdefs.h.  */
15457 _ACEOF
15458 cat confdefs.h >>conftest.$ac_ext
15459 cat >>conftest.$ac_ext <<_ACEOF
15460 /* end confdefs.h.  */
15461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15462    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15463 #define $ac_func innocuous_$ac_func
15464
15465 /* System header to define __stub macros and hopefully few prototypes,
15466     which can conflict with char $ac_func (); below.
15467     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15468     <limits.h> exists even on freestanding compilers.  */
15469
15470 #ifdef __STDC__
15471 # include <limits.h>
15472 #else
15473 # include <assert.h>
15474 #endif
15475
15476 #undef $ac_func
15477
15478 /* Override any gcc2 internal prototype to avoid an error.  */
15479 #ifdef __cplusplus
15480 extern "C"
15481 {
15482 #endif
15483 /* We use char because int might match the return type of a gcc2
15484    builtin and then its argument prototype would still apply.  */
15485 char $ac_func ();
15486 /* The GNU C library defines this for functions which it implements
15487     to always fail with ENOSYS.  Some functions are actually named
15488     something starting with __ and the normal name is an alias.  */
15489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15490 choke me
15491 #else
15492 char (*f) () = $ac_func;
15493 #endif
15494 #ifdef __cplusplus
15495 }
15496 #endif
15497
15498 int
15499 main ()
15500 {
15501 return f != $ac_func;
15502   ;
15503   return 0;
15504 }
15505 _ACEOF
15506 rm -f conftest.$ac_objext conftest$ac_exeext
15507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15508   (eval $ac_link) 2>conftest.er1
15509   ac_status=$?
15510   grep -v '^ *+' conftest.er1 >conftest.err
15511   rm -f conftest.er1
15512   cat conftest.err >&5
15513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15514   (exit $ac_status); } &&
15515          { ac_try='test -z "$ac_c_werror_flag"
15516                          || test ! -s conftest.err'
15517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15518   (eval $ac_try) 2>&5
15519   ac_status=$?
15520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521   (exit $ac_status); }; } &&
15522          { ac_try='test -s conftest$ac_exeext'
15523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15524   (eval $ac_try) 2>&5
15525   ac_status=$?
15526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15527   (exit $ac_status); }; }; then
15528   eval "$as_ac_var=yes"
15529 else
15530   echo "$as_me: failed program was:" >&5
15531 sed 's/^/| /' conftest.$ac_ext >&5
15532
15533 eval "$as_ac_var=no"
15534 fi
15535 rm -f conftest.err conftest.$ac_objext \
15536       conftest$ac_exeext conftest.$ac_ext
15537 fi
15538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15540 if test `eval echo '${'$as_ac_var'}'` = yes; then
15541   cat >>confdefs.h <<_ACEOF
15542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15543 _ACEOF
15544
15545 fi
15546 done
15547
15548   else
15549
15550   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15551 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15552   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15553     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15554   echo $ECHO_N "(cached) $ECHO_C" >&6
15555 else
15556
15557
15558
15559       ac_ext=cc
15560 ac_cpp='$CXXCPP $CPPFLAGS'
15561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15564
15565       cat >conftest.$ac_ext <<_ACEOF
15566 /* confdefs.h.  */
15567 _ACEOF
15568 cat confdefs.h >>conftest.$ac_ext
15569 cat >>conftest.$ac_ext <<_ACEOF
15570 /* end confdefs.h.  */
15571 #include <math.h>
15572 int
15573 main ()
15574 {
15575  _ldexpf(0, 0);
15576   ;
15577   return 0;
15578 }
15579 _ACEOF
15580 rm -f conftest.$ac_objext
15581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15582   (eval $ac_compile) 2>conftest.er1
15583   ac_status=$?
15584   grep -v '^ *+' conftest.er1 >conftest.err
15585   rm -f conftest.er1
15586   cat conftest.err >&5
15587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588   (exit $ac_status); } &&
15589          { ac_try='test -z "$ac_cxx_werror_flag"
15590                          || test ! -s conftest.err'
15591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15592   (eval $ac_try) 2>&5
15593   ac_status=$?
15594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595   (exit $ac_status); }; } &&
15596          { ac_try='test -s conftest.$ac_objext'
15597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15598   (eval $ac_try) 2>&5
15599   ac_status=$?
15600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601   (exit $ac_status); }; }; then
15602   glibcxx_cv_func__ldexpf_use=yes
15603 else
15604   echo "$as_me: failed program was:" >&5
15605 sed 's/^/| /' conftest.$ac_ext >&5
15606
15607 glibcxx_cv_func__ldexpf_use=no
15608 fi
15609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15610       ac_ext=c
15611 ac_cpp='$CPP $CPPFLAGS'
15612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15615
15616
15617 fi
15618
15619   fi
15620   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15621 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15622
15623     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15624
15625 for ac_func in _ldexpf
15626 do
15627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15628 echo "$as_me:$LINENO: checking for $ac_func" >&5
15629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15630 if eval "test \"\${$as_ac_var+set}\" = set"; then
15631   echo $ECHO_N "(cached) $ECHO_C" >&6
15632 else
15633   if test x$gcc_no_link = xyes; then
15634   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15636    { (exit 1); exit 1; }; }
15637 fi
15638 cat >conftest.$ac_ext <<_ACEOF
15639 /* confdefs.h.  */
15640 _ACEOF
15641 cat confdefs.h >>conftest.$ac_ext
15642 cat >>conftest.$ac_ext <<_ACEOF
15643 /* end confdefs.h.  */
15644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15645    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15646 #define $ac_func innocuous_$ac_func
15647
15648 /* System header to define __stub macros and hopefully few prototypes,
15649     which can conflict with char $ac_func (); below.
15650     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15651     <limits.h> exists even on freestanding compilers.  */
15652
15653 #ifdef __STDC__
15654 # include <limits.h>
15655 #else
15656 # include <assert.h>
15657 #endif
15658
15659 #undef $ac_func
15660
15661 /* Override any gcc2 internal prototype to avoid an error.  */
15662 #ifdef __cplusplus
15663 extern "C"
15664 {
15665 #endif
15666 /* We use char because int might match the return type of a gcc2
15667    builtin and then its argument prototype would still apply.  */
15668 char $ac_func ();
15669 /* The GNU C library defines this for functions which it implements
15670     to always fail with ENOSYS.  Some functions are actually named
15671     something starting with __ and the normal name is an alias.  */
15672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15673 choke me
15674 #else
15675 char (*f) () = $ac_func;
15676 #endif
15677 #ifdef __cplusplus
15678 }
15679 #endif
15680
15681 int
15682 main ()
15683 {
15684 return f != $ac_func;
15685   ;
15686   return 0;
15687 }
15688 _ACEOF
15689 rm -f conftest.$ac_objext conftest$ac_exeext
15690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15691   (eval $ac_link) 2>conftest.er1
15692   ac_status=$?
15693   grep -v '^ *+' conftest.er1 >conftest.err
15694   rm -f conftest.er1
15695   cat conftest.err >&5
15696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697   (exit $ac_status); } &&
15698          { ac_try='test -z "$ac_c_werror_flag"
15699                          || test ! -s conftest.err'
15700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15701   (eval $ac_try) 2>&5
15702   ac_status=$?
15703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704   (exit $ac_status); }; } &&
15705          { ac_try='test -s conftest$ac_exeext'
15706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15707   (eval $ac_try) 2>&5
15708   ac_status=$?
15709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15710   (exit $ac_status); }; }; then
15711   eval "$as_ac_var=yes"
15712 else
15713   echo "$as_me: failed program was:" >&5
15714 sed 's/^/| /' conftest.$ac_ext >&5
15715
15716 eval "$as_ac_var=no"
15717 fi
15718 rm -f conftest.err conftest.$ac_objext \
15719       conftest$ac_exeext conftest.$ac_ext
15720 fi
15721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15723 if test `eval echo '${'$as_ac_var'}'` = yes; then
15724   cat >>confdefs.h <<_ACEOF
15725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15726 _ACEOF
15727
15728 fi
15729 done
15730
15731     fi
15732   fi
15733
15734
15735
15736
15737
15738
15739   echo "$as_me:$LINENO: checking for logf declaration" >&5
15740 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15741   if test x${glibcxx_cv_func_logf_use+set} != xset; then
15742     if test "${glibcxx_cv_func_logf_use+set}" = set; then
15743   echo $ECHO_N "(cached) $ECHO_C" >&6
15744 else
15745
15746
15747
15748       ac_ext=cc
15749 ac_cpp='$CXXCPP $CPPFLAGS'
15750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15753
15754       cat >conftest.$ac_ext <<_ACEOF
15755 /* confdefs.h.  */
15756 _ACEOF
15757 cat confdefs.h >>conftest.$ac_ext
15758 cat >>conftest.$ac_ext <<_ACEOF
15759 /* end confdefs.h.  */
15760 #include <math.h>
15761                       #ifdef HAVE_IEEEFP_H
15762                       #include <ieeefp.h>
15763                       #endif
15764
15765 int
15766 main ()
15767 {
15768  logf(0);
15769   ;
15770   return 0;
15771 }
15772 _ACEOF
15773 rm -f conftest.$ac_objext
15774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15775   (eval $ac_compile) 2>conftest.er1
15776   ac_status=$?
15777   grep -v '^ *+' conftest.er1 >conftest.err
15778   rm -f conftest.er1
15779   cat conftest.err >&5
15780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781   (exit $ac_status); } &&
15782          { ac_try='test -z "$ac_cxx_werror_flag"
15783                          || test ! -s conftest.err'
15784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15785   (eval $ac_try) 2>&5
15786   ac_status=$?
15787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788   (exit $ac_status); }; } &&
15789          { ac_try='test -s conftest.$ac_objext'
15790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15791   (eval $ac_try) 2>&5
15792   ac_status=$?
15793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794   (exit $ac_status); }; }; then
15795   glibcxx_cv_func_logf_use=yes
15796 else
15797   echo "$as_me: failed program was:" >&5
15798 sed 's/^/| /' conftest.$ac_ext >&5
15799
15800 glibcxx_cv_func_logf_use=no
15801 fi
15802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15803       ac_ext=c
15804 ac_cpp='$CPP $CPPFLAGS'
15805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15808
15809
15810 fi
15811
15812   fi
15813   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15814 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15815
15816   if test x$glibcxx_cv_func_logf_use = x"yes"; then
15817
15818 for ac_func in logf
15819 do
15820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15821 echo "$as_me:$LINENO: checking for $ac_func" >&5
15822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15823 if eval "test \"\${$as_ac_var+set}\" = set"; then
15824   echo $ECHO_N "(cached) $ECHO_C" >&6
15825 else
15826   if test x$gcc_no_link = xyes; then
15827   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15829    { (exit 1); exit 1; }; }
15830 fi
15831 cat >conftest.$ac_ext <<_ACEOF
15832 /* confdefs.h.  */
15833 _ACEOF
15834 cat confdefs.h >>conftest.$ac_ext
15835 cat >>conftest.$ac_ext <<_ACEOF
15836 /* end confdefs.h.  */
15837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15838    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15839 #define $ac_func innocuous_$ac_func
15840
15841 /* System header to define __stub macros and hopefully few prototypes,
15842     which can conflict with char $ac_func (); below.
15843     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15844     <limits.h> exists even on freestanding compilers.  */
15845
15846 #ifdef __STDC__
15847 # include <limits.h>
15848 #else
15849 # include <assert.h>
15850 #endif
15851
15852 #undef $ac_func
15853
15854 /* Override any gcc2 internal prototype to avoid an error.  */
15855 #ifdef __cplusplus
15856 extern "C"
15857 {
15858 #endif
15859 /* We use char because int might match the return type of a gcc2
15860    builtin and then its argument prototype would still apply.  */
15861 char $ac_func ();
15862 /* The GNU C library defines this for functions which it implements
15863     to always fail with ENOSYS.  Some functions are actually named
15864     something starting with __ and the normal name is an alias.  */
15865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15866 choke me
15867 #else
15868 char (*f) () = $ac_func;
15869 #endif
15870 #ifdef __cplusplus
15871 }
15872 #endif
15873
15874 int
15875 main ()
15876 {
15877 return f != $ac_func;
15878   ;
15879   return 0;
15880 }
15881 _ACEOF
15882 rm -f conftest.$ac_objext conftest$ac_exeext
15883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15884   (eval $ac_link) 2>conftest.er1
15885   ac_status=$?
15886   grep -v '^ *+' conftest.er1 >conftest.err
15887   rm -f conftest.er1
15888   cat conftest.err >&5
15889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890   (exit $ac_status); } &&
15891          { ac_try='test -z "$ac_c_werror_flag"
15892                          || test ! -s conftest.err'
15893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15894   (eval $ac_try) 2>&5
15895   ac_status=$?
15896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897   (exit $ac_status); }; } &&
15898          { ac_try='test -s conftest$ac_exeext'
15899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15900   (eval $ac_try) 2>&5
15901   ac_status=$?
15902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903   (exit $ac_status); }; }; then
15904   eval "$as_ac_var=yes"
15905 else
15906   echo "$as_me: failed program was:" >&5
15907 sed 's/^/| /' conftest.$ac_ext >&5
15908
15909 eval "$as_ac_var=no"
15910 fi
15911 rm -f conftest.err conftest.$ac_objext \
15912       conftest$ac_exeext conftest.$ac_ext
15913 fi
15914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15916 if test `eval echo '${'$as_ac_var'}'` = yes; then
15917   cat >>confdefs.h <<_ACEOF
15918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15919 _ACEOF
15920
15921 fi
15922 done
15923
15924   else
15925
15926   echo "$as_me:$LINENO: checking for _logf declaration" >&5
15927 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15928   if test x${glibcxx_cv_func__logf_use+set} != xset; then
15929     if test "${glibcxx_cv_func__logf_use+set}" = set; then
15930   echo $ECHO_N "(cached) $ECHO_C" >&6
15931 else
15932
15933
15934
15935       ac_ext=cc
15936 ac_cpp='$CXXCPP $CPPFLAGS'
15937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15940
15941       cat >conftest.$ac_ext <<_ACEOF
15942 /* confdefs.h.  */
15943 _ACEOF
15944 cat confdefs.h >>conftest.$ac_ext
15945 cat >>conftest.$ac_ext <<_ACEOF
15946 /* end confdefs.h.  */
15947 #include <math.h>
15948                       #ifdef HAVE_IEEEFP_H
15949                       #include <ieeefp.h>
15950                       #endif
15951
15952 int
15953 main ()
15954 {
15955  _logf(0);
15956   ;
15957   return 0;
15958 }
15959 _ACEOF
15960 rm -f conftest.$ac_objext
15961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15962   (eval $ac_compile) 2>conftest.er1
15963   ac_status=$?
15964   grep -v '^ *+' conftest.er1 >conftest.err
15965   rm -f conftest.er1
15966   cat conftest.err >&5
15967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968   (exit $ac_status); } &&
15969          { ac_try='test -z "$ac_cxx_werror_flag"
15970                          || test ! -s conftest.err'
15971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15972   (eval $ac_try) 2>&5
15973   ac_status=$?
15974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15975   (exit $ac_status); }; } &&
15976          { ac_try='test -s conftest.$ac_objext'
15977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15978   (eval $ac_try) 2>&5
15979   ac_status=$?
15980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15981   (exit $ac_status); }; }; then
15982   glibcxx_cv_func__logf_use=yes
15983 else
15984   echo "$as_me: failed program was:" >&5
15985 sed 's/^/| /' conftest.$ac_ext >&5
15986
15987 glibcxx_cv_func__logf_use=no
15988 fi
15989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15990       ac_ext=c
15991 ac_cpp='$CPP $CPPFLAGS'
15992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15995
15996
15997 fi
15998
15999   fi
16000   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
16001 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
16002
16003     if test x$glibcxx_cv_func__logf_use = x"yes"; then
16004
16005 for ac_func in _logf
16006 do
16007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16008 echo "$as_me:$LINENO: checking for $ac_func" >&5
16009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16010 if eval "test \"\${$as_ac_var+set}\" = set"; then
16011   echo $ECHO_N "(cached) $ECHO_C" >&6
16012 else
16013   if test x$gcc_no_link = xyes; then
16014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16016    { (exit 1); exit 1; }; }
16017 fi
16018 cat >conftest.$ac_ext <<_ACEOF
16019 /* confdefs.h.  */
16020 _ACEOF
16021 cat confdefs.h >>conftest.$ac_ext
16022 cat >>conftest.$ac_ext <<_ACEOF
16023 /* end confdefs.h.  */
16024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16025    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16026 #define $ac_func innocuous_$ac_func
16027
16028 /* System header to define __stub macros and hopefully few prototypes,
16029     which can conflict with char $ac_func (); below.
16030     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16031     <limits.h> exists even on freestanding compilers.  */
16032
16033 #ifdef __STDC__
16034 # include <limits.h>
16035 #else
16036 # include <assert.h>
16037 #endif
16038
16039 #undef $ac_func
16040
16041 /* Override any gcc2 internal prototype to avoid an error.  */
16042 #ifdef __cplusplus
16043 extern "C"
16044 {
16045 #endif
16046 /* We use char because int might match the return type of a gcc2
16047    builtin and then its argument prototype would still apply.  */
16048 char $ac_func ();
16049 /* The GNU C library defines this for functions which it implements
16050     to always fail with ENOSYS.  Some functions are actually named
16051     something starting with __ and the normal name is an alias.  */
16052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16053 choke me
16054 #else
16055 char (*f) () = $ac_func;
16056 #endif
16057 #ifdef __cplusplus
16058 }
16059 #endif
16060
16061 int
16062 main ()
16063 {
16064 return f != $ac_func;
16065   ;
16066   return 0;
16067 }
16068 _ACEOF
16069 rm -f conftest.$ac_objext conftest$ac_exeext
16070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16071   (eval $ac_link) 2>conftest.er1
16072   ac_status=$?
16073   grep -v '^ *+' conftest.er1 >conftest.err
16074   rm -f conftest.er1
16075   cat conftest.err >&5
16076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077   (exit $ac_status); } &&
16078          { ac_try='test -z "$ac_c_werror_flag"
16079                          || test ! -s conftest.err'
16080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16081   (eval $ac_try) 2>&5
16082   ac_status=$?
16083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084   (exit $ac_status); }; } &&
16085          { ac_try='test -s conftest$ac_exeext'
16086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087   (eval $ac_try) 2>&5
16088   ac_status=$?
16089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090   (exit $ac_status); }; }; then
16091   eval "$as_ac_var=yes"
16092 else
16093   echo "$as_me: failed program was:" >&5
16094 sed 's/^/| /' conftest.$ac_ext >&5
16095
16096 eval "$as_ac_var=no"
16097 fi
16098 rm -f conftest.err conftest.$ac_objext \
16099       conftest$ac_exeext conftest.$ac_ext
16100 fi
16101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16103 if test `eval echo '${'$as_ac_var'}'` = yes; then
16104   cat >>confdefs.h <<_ACEOF
16105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16106 _ACEOF
16107
16108 fi
16109 done
16110
16111     fi
16112   fi
16113
16114
16115
16116
16117
16118
16119   echo "$as_me:$LINENO: checking for log10f declaration" >&5
16120 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
16121   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
16122     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
16123   echo $ECHO_N "(cached) $ECHO_C" >&6
16124 else
16125
16126
16127
16128       ac_ext=cc
16129 ac_cpp='$CXXCPP $CPPFLAGS'
16130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16133
16134       cat >conftest.$ac_ext <<_ACEOF
16135 /* confdefs.h.  */
16136 _ACEOF
16137 cat confdefs.h >>conftest.$ac_ext
16138 cat >>conftest.$ac_ext <<_ACEOF
16139 /* end confdefs.h.  */
16140 #include <math.h>
16141                       #ifdef HAVE_IEEEFP_H
16142                       #include <ieeefp.h>
16143                       #endif
16144
16145 int
16146 main ()
16147 {
16148  log10f(0);
16149   ;
16150   return 0;
16151 }
16152 _ACEOF
16153 rm -f conftest.$ac_objext
16154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16155   (eval $ac_compile) 2>conftest.er1
16156   ac_status=$?
16157   grep -v '^ *+' conftest.er1 >conftest.err
16158   rm -f conftest.er1
16159   cat conftest.err >&5
16160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161   (exit $ac_status); } &&
16162          { ac_try='test -z "$ac_cxx_werror_flag"
16163                          || test ! -s conftest.err'
16164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16165   (eval $ac_try) 2>&5
16166   ac_status=$?
16167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168   (exit $ac_status); }; } &&
16169          { ac_try='test -s conftest.$ac_objext'
16170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16171   (eval $ac_try) 2>&5
16172   ac_status=$?
16173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174   (exit $ac_status); }; }; then
16175   glibcxx_cv_func_log10f_use=yes
16176 else
16177   echo "$as_me: failed program was:" >&5
16178 sed 's/^/| /' conftest.$ac_ext >&5
16179
16180 glibcxx_cv_func_log10f_use=no
16181 fi
16182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16183       ac_ext=c
16184 ac_cpp='$CPP $CPPFLAGS'
16185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16188
16189
16190 fi
16191
16192   fi
16193   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
16194 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
16195
16196   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
16197
16198 for ac_func in log10f
16199 do
16200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16201 echo "$as_me:$LINENO: checking for $ac_func" >&5
16202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16203 if eval "test \"\${$as_ac_var+set}\" = set"; then
16204   echo $ECHO_N "(cached) $ECHO_C" >&6
16205 else
16206   if test x$gcc_no_link = xyes; then
16207   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16209    { (exit 1); exit 1; }; }
16210 fi
16211 cat >conftest.$ac_ext <<_ACEOF
16212 /* confdefs.h.  */
16213 _ACEOF
16214 cat confdefs.h >>conftest.$ac_ext
16215 cat >>conftest.$ac_ext <<_ACEOF
16216 /* end confdefs.h.  */
16217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16218    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16219 #define $ac_func innocuous_$ac_func
16220
16221 /* System header to define __stub macros and hopefully few prototypes,
16222     which can conflict with char $ac_func (); below.
16223     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16224     <limits.h> exists even on freestanding compilers.  */
16225
16226 #ifdef __STDC__
16227 # include <limits.h>
16228 #else
16229 # include <assert.h>
16230 #endif
16231
16232 #undef $ac_func
16233
16234 /* Override any gcc2 internal prototype to avoid an error.  */
16235 #ifdef __cplusplus
16236 extern "C"
16237 {
16238 #endif
16239 /* We use char because int might match the return type of a gcc2
16240    builtin and then its argument prototype would still apply.  */
16241 char $ac_func ();
16242 /* The GNU C library defines this for functions which it implements
16243     to always fail with ENOSYS.  Some functions are actually named
16244     something starting with __ and the normal name is an alias.  */
16245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16246 choke me
16247 #else
16248 char (*f) () = $ac_func;
16249 #endif
16250 #ifdef __cplusplus
16251 }
16252 #endif
16253
16254 int
16255 main ()
16256 {
16257 return f != $ac_func;
16258   ;
16259   return 0;
16260 }
16261 _ACEOF
16262 rm -f conftest.$ac_objext conftest$ac_exeext
16263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16264   (eval $ac_link) 2>conftest.er1
16265   ac_status=$?
16266   grep -v '^ *+' conftest.er1 >conftest.err
16267   rm -f conftest.er1
16268   cat conftest.err >&5
16269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16270   (exit $ac_status); } &&
16271          { ac_try='test -z "$ac_c_werror_flag"
16272                          || test ! -s conftest.err'
16273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16274   (eval $ac_try) 2>&5
16275   ac_status=$?
16276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277   (exit $ac_status); }; } &&
16278          { ac_try='test -s conftest$ac_exeext'
16279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16280   (eval $ac_try) 2>&5
16281   ac_status=$?
16282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283   (exit $ac_status); }; }; then
16284   eval "$as_ac_var=yes"
16285 else
16286   echo "$as_me: failed program was:" >&5
16287 sed 's/^/| /' conftest.$ac_ext >&5
16288
16289 eval "$as_ac_var=no"
16290 fi
16291 rm -f conftest.err conftest.$ac_objext \
16292       conftest$ac_exeext conftest.$ac_ext
16293 fi
16294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16296 if test `eval echo '${'$as_ac_var'}'` = yes; then
16297   cat >>confdefs.h <<_ACEOF
16298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16299 _ACEOF
16300
16301 fi
16302 done
16303
16304   else
16305
16306   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16307 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16308   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16309     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16310   echo $ECHO_N "(cached) $ECHO_C" >&6
16311 else
16312
16313
16314
16315       ac_ext=cc
16316 ac_cpp='$CXXCPP $CPPFLAGS'
16317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16320
16321       cat >conftest.$ac_ext <<_ACEOF
16322 /* confdefs.h.  */
16323 _ACEOF
16324 cat confdefs.h >>conftest.$ac_ext
16325 cat >>conftest.$ac_ext <<_ACEOF
16326 /* end confdefs.h.  */
16327 #include <math.h>
16328                       #ifdef HAVE_IEEEFP_H
16329                       #include <ieeefp.h>
16330                       #endif
16331
16332 int
16333 main ()
16334 {
16335  _log10f(0);
16336   ;
16337   return 0;
16338 }
16339 _ACEOF
16340 rm -f conftest.$ac_objext
16341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16342   (eval $ac_compile) 2>conftest.er1
16343   ac_status=$?
16344   grep -v '^ *+' conftest.er1 >conftest.err
16345   rm -f conftest.er1
16346   cat conftest.err >&5
16347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348   (exit $ac_status); } &&
16349          { ac_try='test -z "$ac_cxx_werror_flag"
16350                          || test ! -s conftest.err'
16351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16352   (eval $ac_try) 2>&5
16353   ac_status=$?
16354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355   (exit $ac_status); }; } &&
16356          { ac_try='test -s conftest.$ac_objext'
16357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16358   (eval $ac_try) 2>&5
16359   ac_status=$?
16360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361   (exit $ac_status); }; }; then
16362   glibcxx_cv_func__log10f_use=yes
16363 else
16364   echo "$as_me: failed program was:" >&5
16365 sed 's/^/| /' conftest.$ac_ext >&5
16366
16367 glibcxx_cv_func__log10f_use=no
16368 fi
16369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16370       ac_ext=c
16371 ac_cpp='$CPP $CPPFLAGS'
16372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16375
16376
16377 fi
16378
16379   fi
16380   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16381 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16382
16383     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16384
16385 for ac_func in _log10f
16386 do
16387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16388 echo "$as_me:$LINENO: checking for $ac_func" >&5
16389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16390 if eval "test \"\${$as_ac_var+set}\" = set"; then
16391   echo $ECHO_N "(cached) $ECHO_C" >&6
16392 else
16393   if test x$gcc_no_link = xyes; then
16394   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16396    { (exit 1); exit 1; }; }
16397 fi
16398 cat >conftest.$ac_ext <<_ACEOF
16399 /* confdefs.h.  */
16400 _ACEOF
16401 cat confdefs.h >>conftest.$ac_ext
16402 cat >>conftest.$ac_ext <<_ACEOF
16403 /* end confdefs.h.  */
16404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16405    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16406 #define $ac_func innocuous_$ac_func
16407
16408 /* System header to define __stub macros and hopefully few prototypes,
16409     which can conflict with char $ac_func (); below.
16410     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16411     <limits.h> exists even on freestanding compilers.  */
16412
16413 #ifdef __STDC__
16414 # include <limits.h>
16415 #else
16416 # include <assert.h>
16417 #endif
16418
16419 #undef $ac_func
16420
16421 /* Override any gcc2 internal prototype to avoid an error.  */
16422 #ifdef __cplusplus
16423 extern "C"
16424 {
16425 #endif
16426 /* We use char because int might match the return type of a gcc2
16427    builtin and then its argument prototype would still apply.  */
16428 char $ac_func ();
16429 /* The GNU C library defines this for functions which it implements
16430     to always fail with ENOSYS.  Some functions are actually named
16431     something starting with __ and the normal name is an alias.  */
16432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16433 choke me
16434 #else
16435 char (*f) () = $ac_func;
16436 #endif
16437 #ifdef __cplusplus
16438 }
16439 #endif
16440
16441 int
16442 main ()
16443 {
16444 return f != $ac_func;
16445   ;
16446   return 0;
16447 }
16448 _ACEOF
16449 rm -f conftest.$ac_objext conftest$ac_exeext
16450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16451   (eval $ac_link) 2>conftest.er1
16452   ac_status=$?
16453   grep -v '^ *+' conftest.er1 >conftest.err
16454   rm -f conftest.er1
16455   cat conftest.err >&5
16456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457   (exit $ac_status); } &&
16458          { ac_try='test -z "$ac_c_werror_flag"
16459                          || test ! -s conftest.err'
16460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16461   (eval $ac_try) 2>&5
16462   ac_status=$?
16463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464   (exit $ac_status); }; } &&
16465          { ac_try='test -s conftest$ac_exeext'
16466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16467   (eval $ac_try) 2>&5
16468   ac_status=$?
16469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470   (exit $ac_status); }; }; then
16471   eval "$as_ac_var=yes"
16472 else
16473   echo "$as_me: failed program was:" >&5
16474 sed 's/^/| /' conftest.$ac_ext >&5
16475
16476 eval "$as_ac_var=no"
16477 fi
16478 rm -f conftest.err conftest.$ac_objext \
16479       conftest$ac_exeext conftest.$ac_ext
16480 fi
16481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16483 if test `eval echo '${'$as_ac_var'}'` = yes; then
16484   cat >>confdefs.h <<_ACEOF
16485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16486 _ACEOF
16487
16488 fi
16489 done
16490
16491     fi
16492   fi
16493
16494
16495
16496
16497
16498
16499   echo "$as_me:$LINENO: checking for modff declaration" >&5
16500 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16501   if test x${glibcxx_cv_func_modff_use+set} != xset; then
16502     if test "${glibcxx_cv_func_modff_use+set}" = set; then
16503   echo $ECHO_N "(cached) $ECHO_C" >&6
16504 else
16505
16506
16507
16508       ac_ext=cc
16509 ac_cpp='$CXXCPP $CPPFLAGS'
16510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16513
16514       cat >conftest.$ac_ext <<_ACEOF
16515 /* confdefs.h.  */
16516 _ACEOF
16517 cat confdefs.h >>conftest.$ac_ext
16518 cat >>conftest.$ac_ext <<_ACEOF
16519 /* end confdefs.h.  */
16520 #include <math.h>
16521 int
16522 main ()
16523 {
16524  modff(0, 0);
16525   ;
16526   return 0;
16527 }
16528 _ACEOF
16529 rm -f conftest.$ac_objext
16530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16531   (eval $ac_compile) 2>conftest.er1
16532   ac_status=$?
16533   grep -v '^ *+' conftest.er1 >conftest.err
16534   rm -f conftest.er1
16535   cat conftest.err >&5
16536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537   (exit $ac_status); } &&
16538          { ac_try='test -z "$ac_cxx_werror_flag"
16539                          || test ! -s conftest.err'
16540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16541   (eval $ac_try) 2>&5
16542   ac_status=$?
16543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16544   (exit $ac_status); }; } &&
16545          { ac_try='test -s conftest.$ac_objext'
16546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16547   (eval $ac_try) 2>&5
16548   ac_status=$?
16549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550   (exit $ac_status); }; }; then
16551   glibcxx_cv_func_modff_use=yes
16552 else
16553   echo "$as_me: failed program was:" >&5
16554 sed 's/^/| /' conftest.$ac_ext >&5
16555
16556 glibcxx_cv_func_modff_use=no
16557 fi
16558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16559       ac_ext=c
16560 ac_cpp='$CPP $CPPFLAGS'
16561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16564
16565
16566 fi
16567
16568   fi
16569   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16570 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16571
16572   if test x$glibcxx_cv_func_modff_use = x"yes"; then
16573
16574 for ac_func in modff
16575 do
16576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16577 echo "$as_me:$LINENO: checking for $ac_func" >&5
16578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16579 if eval "test \"\${$as_ac_var+set}\" = set"; then
16580   echo $ECHO_N "(cached) $ECHO_C" >&6
16581 else
16582   if test x$gcc_no_link = xyes; then
16583   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16585    { (exit 1); exit 1; }; }
16586 fi
16587 cat >conftest.$ac_ext <<_ACEOF
16588 /* confdefs.h.  */
16589 _ACEOF
16590 cat confdefs.h >>conftest.$ac_ext
16591 cat >>conftest.$ac_ext <<_ACEOF
16592 /* end confdefs.h.  */
16593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16594    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16595 #define $ac_func innocuous_$ac_func
16596
16597 /* System header to define __stub macros and hopefully few prototypes,
16598     which can conflict with char $ac_func (); below.
16599     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16600     <limits.h> exists even on freestanding compilers.  */
16601
16602 #ifdef __STDC__
16603 # include <limits.h>
16604 #else
16605 # include <assert.h>
16606 #endif
16607
16608 #undef $ac_func
16609
16610 /* Override any gcc2 internal prototype to avoid an error.  */
16611 #ifdef __cplusplus
16612 extern "C"
16613 {
16614 #endif
16615 /* We use char because int might match the return type of a gcc2
16616    builtin and then its argument prototype would still apply.  */
16617 char $ac_func ();
16618 /* The GNU C library defines this for functions which it implements
16619     to always fail with ENOSYS.  Some functions are actually named
16620     something starting with __ and the normal name is an alias.  */
16621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16622 choke me
16623 #else
16624 char (*f) () = $ac_func;
16625 #endif
16626 #ifdef __cplusplus
16627 }
16628 #endif
16629
16630 int
16631 main ()
16632 {
16633 return f != $ac_func;
16634   ;
16635   return 0;
16636 }
16637 _ACEOF
16638 rm -f conftest.$ac_objext conftest$ac_exeext
16639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16640   (eval $ac_link) 2>conftest.er1
16641   ac_status=$?
16642   grep -v '^ *+' conftest.er1 >conftest.err
16643   rm -f conftest.er1
16644   cat conftest.err >&5
16645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646   (exit $ac_status); } &&
16647          { ac_try='test -z "$ac_c_werror_flag"
16648                          || test ! -s conftest.err'
16649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16650   (eval $ac_try) 2>&5
16651   ac_status=$?
16652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653   (exit $ac_status); }; } &&
16654          { ac_try='test -s conftest$ac_exeext'
16655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16656   (eval $ac_try) 2>&5
16657   ac_status=$?
16658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659   (exit $ac_status); }; }; then
16660   eval "$as_ac_var=yes"
16661 else
16662   echo "$as_me: failed program was:" >&5
16663 sed 's/^/| /' conftest.$ac_ext >&5
16664
16665 eval "$as_ac_var=no"
16666 fi
16667 rm -f conftest.err conftest.$ac_objext \
16668       conftest$ac_exeext conftest.$ac_ext
16669 fi
16670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16672 if test `eval echo '${'$as_ac_var'}'` = yes; then
16673   cat >>confdefs.h <<_ACEOF
16674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16675 _ACEOF
16676
16677 fi
16678 done
16679
16680   else
16681
16682   echo "$as_me:$LINENO: checking for _modff declaration" >&5
16683 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16684   if test x${glibcxx_cv_func__modff_use+set} != xset; then
16685     if test "${glibcxx_cv_func__modff_use+set}" = set; then
16686   echo $ECHO_N "(cached) $ECHO_C" >&6
16687 else
16688
16689
16690
16691       ac_ext=cc
16692 ac_cpp='$CXXCPP $CPPFLAGS'
16693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16696
16697       cat >conftest.$ac_ext <<_ACEOF
16698 /* confdefs.h.  */
16699 _ACEOF
16700 cat confdefs.h >>conftest.$ac_ext
16701 cat >>conftest.$ac_ext <<_ACEOF
16702 /* end confdefs.h.  */
16703 #include <math.h>
16704 int
16705 main ()
16706 {
16707  _modff(0, 0);
16708   ;
16709   return 0;
16710 }
16711 _ACEOF
16712 rm -f conftest.$ac_objext
16713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16714   (eval $ac_compile) 2>conftest.er1
16715   ac_status=$?
16716   grep -v '^ *+' conftest.er1 >conftest.err
16717   rm -f conftest.er1
16718   cat conftest.err >&5
16719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720   (exit $ac_status); } &&
16721          { ac_try='test -z "$ac_cxx_werror_flag"
16722                          || test ! -s conftest.err'
16723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16724   (eval $ac_try) 2>&5
16725   ac_status=$?
16726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16727   (exit $ac_status); }; } &&
16728          { ac_try='test -s conftest.$ac_objext'
16729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16730   (eval $ac_try) 2>&5
16731   ac_status=$?
16732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16733   (exit $ac_status); }; }; then
16734   glibcxx_cv_func__modff_use=yes
16735 else
16736   echo "$as_me: failed program was:" >&5
16737 sed 's/^/| /' conftest.$ac_ext >&5
16738
16739 glibcxx_cv_func__modff_use=no
16740 fi
16741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16742       ac_ext=c
16743 ac_cpp='$CPP $CPPFLAGS'
16744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16747
16748
16749 fi
16750
16751   fi
16752   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16753 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16754
16755     if test x$glibcxx_cv_func__modff_use = x"yes"; then
16756
16757 for ac_func in _modff
16758 do
16759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16760 echo "$as_me:$LINENO: checking for $ac_func" >&5
16761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16762 if eval "test \"\${$as_ac_var+set}\" = set"; then
16763   echo $ECHO_N "(cached) $ECHO_C" >&6
16764 else
16765   if test x$gcc_no_link = xyes; then
16766   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16768    { (exit 1); exit 1; }; }
16769 fi
16770 cat >conftest.$ac_ext <<_ACEOF
16771 /* confdefs.h.  */
16772 _ACEOF
16773 cat confdefs.h >>conftest.$ac_ext
16774 cat >>conftest.$ac_ext <<_ACEOF
16775 /* end confdefs.h.  */
16776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16777    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16778 #define $ac_func innocuous_$ac_func
16779
16780 /* System header to define __stub macros and hopefully few prototypes,
16781     which can conflict with char $ac_func (); below.
16782     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16783     <limits.h> exists even on freestanding compilers.  */
16784
16785 #ifdef __STDC__
16786 # include <limits.h>
16787 #else
16788 # include <assert.h>
16789 #endif
16790
16791 #undef $ac_func
16792
16793 /* Override any gcc2 internal prototype to avoid an error.  */
16794 #ifdef __cplusplus
16795 extern "C"
16796 {
16797 #endif
16798 /* We use char because int might match the return type of a gcc2
16799    builtin and then its argument prototype would still apply.  */
16800 char $ac_func ();
16801 /* The GNU C library defines this for functions which it implements
16802     to always fail with ENOSYS.  Some functions are actually named
16803     something starting with __ and the normal name is an alias.  */
16804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16805 choke me
16806 #else
16807 char (*f) () = $ac_func;
16808 #endif
16809 #ifdef __cplusplus
16810 }
16811 #endif
16812
16813 int
16814 main ()
16815 {
16816 return f != $ac_func;
16817   ;
16818   return 0;
16819 }
16820 _ACEOF
16821 rm -f conftest.$ac_objext conftest$ac_exeext
16822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16823   (eval $ac_link) 2>conftest.er1
16824   ac_status=$?
16825   grep -v '^ *+' conftest.er1 >conftest.err
16826   rm -f conftest.er1
16827   cat conftest.err >&5
16828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16829   (exit $ac_status); } &&
16830          { ac_try='test -z "$ac_c_werror_flag"
16831                          || test ! -s conftest.err'
16832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16833   (eval $ac_try) 2>&5
16834   ac_status=$?
16835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836   (exit $ac_status); }; } &&
16837          { ac_try='test -s conftest$ac_exeext'
16838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16839   (eval $ac_try) 2>&5
16840   ac_status=$?
16841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842   (exit $ac_status); }; }; then
16843   eval "$as_ac_var=yes"
16844 else
16845   echo "$as_me: failed program was:" >&5
16846 sed 's/^/| /' conftest.$ac_ext >&5
16847
16848 eval "$as_ac_var=no"
16849 fi
16850 rm -f conftest.err conftest.$ac_objext \
16851       conftest$ac_exeext conftest.$ac_ext
16852 fi
16853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16855 if test `eval echo '${'$as_ac_var'}'` = yes; then
16856   cat >>confdefs.h <<_ACEOF
16857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16858 _ACEOF
16859
16860 fi
16861 done
16862
16863     fi
16864   fi
16865
16866
16867
16868
16869
16870
16871   echo "$as_me:$LINENO: checking for modf declaration" >&5
16872 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16873   if test x${glibcxx_cv_func_modf_use+set} != xset; then
16874     if test "${glibcxx_cv_func_modf_use+set}" = set; then
16875   echo $ECHO_N "(cached) $ECHO_C" >&6
16876 else
16877
16878
16879
16880       ac_ext=cc
16881 ac_cpp='$CXXCPP $CPPFLAGS'
16882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16885
16886       cat >conftest.$ac_ext <<_ACEOF
16887 /* confdefs.h.  */
16888 _ACEOF
16889 cat confdefs.h >>conftest.$ac_ext
16890 cat >>conftest.$ac_ext <<_ACEOF
16891 /* end confdefs.h.  */
16892 #include <math.h>
16893 int
16894 main ()
16895 {
16896  modf(0, 0);
16897   ;
16898   return 0;
16899 }
16900 _ACEOF
16901 rm -f conftest.$ac_objext
16902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16903   (eval $ac_compile) 2>conftest.er1
16904   ac_status=$?
16905   grep -v '^ *+' conftest.er1 >conftest.err
16906   rm -f conftest.er1
16907   cat conftest.err >&5
16908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16909   (exit $ac_status); } &&
16910          { ac_try='test -z "$ac_cxx_werror_flag"
16911                          || test ! -s conftest.err'
16912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913   (eval $ac_try) 2>&5
16914   ac_status=$?
16915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916   (exit $ac_status); }; } &&
16917          { ac_try='test -s conftest.$ac_objext'
16918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16919   (eval $ac_try) 2>&5
16920   ac_status=$?
16921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922   (exit $ac_status); }; }; then
16923   glibcxx_cv_func_modf_use=yes
16924 else
16925   echo "$as_me: failed program was:" >&5
16926 sed 's/^/| /' conftest.$ac_ext >&5
16927
16928 glibcxx_cv_func_modf_use=no
16929 fi
16930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16931       ac_ext=c
16932 ac_cpp='$CPP $CPPFLAGS'
16933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16936
16937
16938 fi
16939
16940   fi
16941   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16942 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16943
16944   if test x$glibcxx_cv_func_modf_use = x"yes"; then
16945
16946 for ac_func in modf
16947 do
16948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16949 echo "$as_me:$LINENO: checking for $ac_func" >&5
16950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16951 if eval "test \"\${$as_ac_var+set}\" = set"; then
16952   echo $ECHO_N "(cached) $ECHO_C" >&6
16953 else
16954   if test x$gcc_no_link = xyes; then
16955   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16957    { (exit 1); exit 1; }; }
16958 fi
16959 cat >conftest.$ac_ext <<_ACEOF
16960 /* confdefs.h.  */
16961 _ACEOF
16962 cat confdefs.h >>conftest.$ac_ext
16963 cat >>conftest.$ac_ext <<_ACEOF
16964 /* end confdefs.h.  */
16965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16966    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16967 #define $ac_func innocuous_$ac_func
16968
16969 /* System header to define __stub macros and hopefully few prototypes,
16970     which can conflict with char $ac_func (); below.
16971     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16972     <limits.h> exists even on freestanding compilers.  */
16973
16974 #ifdef __STDC__
16975 # include <limits.h>
16976 #else
16977 # include <assert.h>
16978 #endif
16979
16980 #undef $ac_func
16981
16982 /* Override any gcc2 internal prototype to avoid an error.  */
16983 #ifdef __cplusplus
16984 extern "C"
16985 {
16986 #endif
16987 /* We use char because int might match the return type of a gcc2
16988    builtin and then its argument prototype would still apply.  */
16989 char $ac_func ();
16990 /* The GNU C library defines this for functions which it implements
16991     to always fail with ENOSYS.  Some functions are actually named
16992     something starting with __ and the normal name is an alias.  */
16993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16994 choke me
16995 #else
16996 char (*f) () = $ac_func;
16997 #endif
16998 #ifdef __cplusplus
16999 }
17000 #endif
17001
17002 int
17003 main ()
17004 {
17005 return f != $ac_func;
17006   ;
17007   return 0;
17008 }
17009 _ACEOF
17010 rm -f conftest.$ac_objext conftest$ac_exeext
17011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17012   (eval $ac_link) 2>conftest.er1
17013   ac_status=$?
17014   grep -v '^ *+' conftest.er1 >conftest.err
17015   rm -f conftest.er1
17016   cat conftest.err >&5
17017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018   (exit $ac_status); } &&
17019          { ac_try='test -z "$ac_c_werror_flag"
17020                          || test ! -s conftest.err'
17021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17022   (eval $ac_try) 2>&5
17023   ac_status=$?
17024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025   (exit $ac_status); }; } &&
17026          { ac_try='test -s conftest$ac_exeext'
17027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17028   (eval $ac_try) 2>&5
17029   ac_status=$?
17030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031   (exit $ac_status); }; }; then
17032   eval "$as_ac_var=yes"
17033 else
17034   echo "$as_me: failed program was:" >&5
17035 sed 's/^/| /' conftest.$ac_ext >&5
17036
17037 eval "$as_ac_var=no"
17038 fi
17039 rm -f conftest.err conftest.$ac_objext \
17040       conftest$ac_exeext conftest.$ac_ext
17041 fi
17042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17044 if test `eval echo '${'$as_ac_var'}'` = yes; then
17045   cat >>confdefs.h <<_ACEOF
17046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17047 _ACEOF
17048
17049 fi
17050 done
17051
17052   else
17053
17054   echo "$as_me:$LINENO: checking for _modf declaration" >&5
17055 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
17056   if test x${glibcxx_cv_func__modf_use+set} != xset; then
17057     if test "${glibcxx_cv_func__modf_use+set}" = set; then
17058   echo $ECHO_N "(cached) $ECHO_C" >&6
17059 else
17060
17061
17062
17063       ac_ext=cc
17064 ac_cpp='$CXXCPP $CPPFLAGS'
17065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17068
17069       cat >conftest.$ac_ext <<_ACEOF
17070 /* confdefs.h.  */
17071 _ACEOF
17072 cat confdefs.h >>conftest.$ac_ext
17073 cat >>conftest.$ac_ext <<_ACEOF
17074 /* end confdefs.h.  */
17075 #include <math.h>
17076 int
17077 main ()
17078 {
17079  _modf(0, 0);
17080   ;
17081   return 0;
17082 }
17083 _ACEOF
17084 rm -f conftest.$ac_objext
17085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17086   (eval $ac_compile) 2>conftest.er1
17087   ac_status=$?
17088   grep -v '^ *+' conftest.er1 >conftest.err
17089   rm -f conftest.er1
17090   cat conftest.err >&5
17091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092   (exit $ac_status); } &&
17093          { ac_try='test -z "$ac_cxx_werror_flag"
17094                          || test ! -s conftest.err'
17095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17096   (eval $ac_try) 2>&5
17097   ac_status=$?
17098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099   (exit $ac_status); }; } &&
17100          { ac_try='test -s conftest.$ac_objext'
17101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17102   (eval $ac_try) 2>&5
17103   ac_status=$?
17104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105   (exit $ac_status); }; }; then
17106   glibcxx_cv_func__modf_use=yes
17107 else
17108   echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.$ac_ext >&5
17110
17111 glibcxx_cv_func__modf_use=no
17112 fi
17113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17114       ac_ext=c
17115 ac_cpp='$CPP $CPPFLAGS'
17116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17119
17120
17121 fi
17122
17123   fi
17124   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
17125 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
17126
17127     if test x$glibcxx_cv_func__modf_use = x"yes"; then
17128
17129 for ac_func in _modf
17130 do
17131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17132 echo "$as_me:$LINENO: checking for $ac_func" >&5
17133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17134 if eval "test \"\${$as_ac_var+set}\" = set"; then
17135   echo $ECHO_N "(cached) $ECHO_C" >&6
17136 else
17137   if test x$gcc_no_link = xyes; then
17138   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17140    { (exit 1); exit 1; }; }
17141 fi
17142 cat >conftest.$ac_ext <<_ACEOF
17143 /* confdefs.h.  */
17144 _ACEOF
17145 cat confdefs.h >>conftest.$ac_ext
17146 cat >>conftest.$ac_ext <<_ACEOF
17147 /* end confdefs.h.  */
17148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17149    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17150 #define $ac_func innocuous_$ac_func
17151
17152 /* System header to define __stub macros and hopefully few prototypes,
17153     which can conflict with char $ac_func (); below.
17154     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17155     <limits.h> exists even on freestanding compilers.  */
17156
17157 #ifdef __STDC__
17158 # include <limits.h>
17159 #else
17160 # include <assert.h>
17161 #endif
17162
17163 #undef $ac_func
17164
17165 /* Override any gcc2 internal prototype to avoid an error.  */
17166 #ifdef __cplusplus
17167 extern "C"
17168 {
17169 #endif
17170 /* We use char because int might match the return type of a gcc2
17171    builtin and then its argument prototype would still apply.  */
17172 char $ac_func ();
17173 /* The GNU C library defines this for functions which it implements
17174     to always fail with ENOSYS.  Some functions are actually named
17175     something starting with __ and the normal name is an alias.  */
17176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17177 choke me
17178 #else
17179 char (*f) () = $ac_func;
17180 #endif
17181 #ifdef __cplusplus
17182 }
17183 #endif
17184
17185 int
17186 main ()
17187 {
17188 return f != $ac_func;
17189   ;
17190   return 0;
17191 }
17192 _ACEOF
17193 rm -f conftest.$ac_objext conftest$ac_exeext
17194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17195   (eval $ac_link) 2>conftest.er1
17196   ac_status=$?
17197   grep -v '^ *+' conftest.er1 >conftest.err
17198   rm -f conftest.er1
17199   cat conftest.err >&5
17200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201   (exit $ac_status); } &&
17202          { ac_try='test -z "$ac_c_werror_flag"
17203                          || test ! -s conftest.err'
17204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17205   (eval $ac_try) 2>&5
17206   ac_status=$?
17207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208   (exit $ac_status); }; } &&
17209          { ac_try='test -s conftest$ac_exeext'
17210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17211   (eval $ac_try) 2>&5
17212   ac_status=$?
17213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17214   (exit $ac_status); }; }; then
17215   eval "$as_ac_var=yes"
17216 else
17217   echo "$as_me: failed program was:" >&5
17218 sed 's/^/| /' conftest.$ac_ext >&5
17219
17220 eval "$as_ac_var=no"
17221 fi
17222 rm -f conftest.err conftest.$ac_objext \
17223       conftest$ac_exeext conftest.$ac_ext
17224 fi
17225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17227 if test `eval echo '${'$as_ac_var'}'` = yes; then
17228   cat >>confdefs.h <<_ACEOF
17229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17230 _ACEOF
17231
17232 fi
17233 done
17234
17235     fi
17236   fi
17237
17238
17239
17240
17241
17242
17243   echo "$as_me:$LINENO: checking for powf declaration" >&5
17244 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17245   if test x${glibcxx_cv_func_powf_use+set} != xset; then
17246     if test "${glibcxx_cv_func_powf_use+set}" = set; then
17247   echo $ECHO_N "(cached) $ECHO_C" >&6
17248 else
17249
17250
17251
17252       ac_ext=cc
17253 ac_cpp='$CXXCPP $CPPFLAGS'
17254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17257
17258       cat >conftest.$ac_ext <<_ACEOF
17259 /* confdefs.h.  */
17260 _ACEOF
17261 cat confdefs.h >>conftest.$ac_ext
17262 cat >>conftest.$ac_ext <<_ACEOF
17263 /* end confdefs.h.  */
17264 #include <math.h>
17265 int
17266 main ()
17267 {
17268  powf(0, 0);
17269   ;
17270   return 0;
17271 }
17272 _ACEOF
17273 rm -f conftest.$ac_objext
17274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17275   (eval $ac_compile) 2>conftest.er1
17276   ac_status=$?
17277   grep -v '^ *+' conftest.er1 >conftest.err
17278   rm -f conftest.er1
17279   cat conftest.err >&5
17280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17281   (exit $ac_status); } &&
17282          { ac_try='test -z "$ac_cxx_werror_flag"
17283                          || test ! -s conftest.err'
17284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17285   (eval $ac_try) 2>&5
17286   ac_status=$?
17287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288   (exit $ac_status); }; } &&
17289          { ac_try='test -s conftest.$ac_objext'
17290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17291   (eval $ac_try) 2>&5
17292   ac_status=$?
17293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17294   (exit $ac_status); }; }; then
17295   glibcxx_cv_func_powf_use=yes
17296 else
17297   echo "$as_me: failed program was:" >&5
17298 sed 's/^/| /' conftest.$ac_ext >&5
17299
17300 glibcxx_cv_func_powf_use=no
17301 fi
17302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17303       ac_ext=c
17304 ac_cpp='$CPP $CPPFLAGS'
17305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17308
17309
17310 fi
17311
17312   fi
17313   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17314 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17315
17316   if test x$glibcxx_cv_func_powf_use = x"yes"; then
17317
17318 for ac_func in powf
17319 do
17320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17321 echo "$as_me:$LINENO: checking for $ac_func" >&5
17322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17323 if eval "test \"\${$as_ac_var+set}\" = set"; then
17324   echo $ECHO_N "(cached) $ECHO_C" >&6
17325 else
17326   if test x$gcc_no_link = xyes; then
17327   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17329    { (exit 1); exit 1; }; }
17330 fi
17331 cat >conftest.$ac_ext <<_ACEOF
17332 /* confdefs.h.  */
17333 _ACEOF
17334 cat confdefs.h >>conftest.$ac_ext
17335 cat >>conftest.$ac_ext <<_ACEOF
17336 /* end confdefs.h.  */
17337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17338    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17339 #define $ac_func innocuous_$ac_func
17340
17341 /* System header to define __stub macros and hopefully few prototypes,
17342     which can conflict with char $ac_func (); below.
17343     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17344     <limits.h> exists even on freestanding compilers.  */
17345
17346 #ifdef __STDC__
17347 # include <limits.h>
17348 #else
17349 # include <assert.h>
17350 #endif
17351
17352 #undef $ac_func
17353
17354 /* Override any gcc2 internal prototype to avoid an error.  */
17355 #ifdef __cplusplus
17356 extern "C"
17357 {
17358 #endif
17359 /* We use char because int might match the return type of a gcc2
17360    builtin and then its argument prototype would still apply.  */
17361 char $ac_func ();
17362 /* The GNU C library defines this for functions which it implements
17363     to always fail with ENOSYS.  Some functions are actually named
17364     something starting with __ and the normal name is an alias.  */
17365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17366 choke me
17367 #else
17368 char (*f) () = $ac_func;
17369 #endif
17370 #ifdef __cplusplus
17371 }
17372 #endif
17373
17374 int
17375 main ()
17376 {
17377 return f != $ac_func;
17378   ;
17379   return 0;
17380 }
17381 _ACEOF
17382 rm -f conftest.$ac_objext conftest$ac_exeext
17383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17384   (eval $ac_link) 2>conftest.er1
17385   ac_status=$?
17386   grep -v '^ *+' conftest.er1 >conftest.err
17387   rm -f conftest.er1
17388   cat conftest.err >&5
17389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390   (exit $ac_status); } &&
17391          { ac_try='test -z "$ac_c_werror_flag"
17392                          || test ! -s conftest.err'
17393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17394   (eval $ac_try) 2>&5
17395   ac_status=$?
17396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397   (exit $ac_status); }; } &&
17398          { ac_try='test -s conftest$ac_exeext'
17399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400   (eval $ac_try) 2>&5
17401   ac_status=$?
17402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403   (exit $ac_status); }; }; then
17404   eval "$as_ac_var=yes"
17405 else
17406   echo "$as_me: failed program was:" >&5
17407 sed 's/^/| /' conftest.$ac_ext >&5
17408
17409 eval "$as_ac_var=no"
17410 fi
17411 rm -f conftest.err conftest.$ac_objext \
17412       conftest$ac_exeext conftest.$ac_ext
17413 fi
17414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17416 if test `eval echo '${'$as_ac_var'}'` = yes; then
17417   cat >>confdefs.h <<_ACEOF
17418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17419 _ACEOF
17420
17421 fi
17422 done
17423
17424   else
17425
17426   echo "$as_me:$LINENO: checking for _powf declaration" >&5
17427 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17428   if test x${glibcxx_cv_func__powf_use+set} != xset; then
17429     if test "${glibcxx_cv_func__powf_use+set}" = set; then
17430   echo $ECHO_N "(cached) $ECHO_C" >&6
17431 else
17432
17433
17434
17435       ac_ext=cc
17436 ac_cpp='$CXXCPP $CPPFLAGS'
17437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17440
17441       cat >conftest.$ac_ext <<_ACEOF
17442 /* confdefs.h.  */
17443 _ACEOF
17444 cat confdefs.h >>conftest.$ac_ext
17445 cat >>conftest.$ac_ext <<_ACEOF
17446 /* end confdefs.h.  */
17447 #include <math.h>
17448 int
17449 main ()
17450 {
17451  _powf(0, 0);
17452   ;
17453   return 0;
17454 }
17455 _ACEOF
17456 rm -f conftest.$ac_objext
17457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17458   (eval $ac_compile) 2>conftest.er1
17459   ac_status=$?
17460   grep -v '^ *+' conftest.er1 >conftest.err
17461   rm -f conftest.er1
17462   cat conftest.err >&5
17463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464   (exit $ac_status); } &&
17465          { ac_try='test -z "$ac_cxx_werror_flag"
17466                          || test ! -s conftest.err'
17467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17468   (eval $ac_try) 2>&5
17469   ac_status=$?
17470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471   (exit $ac_status); }; } &&
17472          { ac_try='test -s conftest.$ac_objext'
17473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17474   (eval $ac_try) 2>&5
17475   ac_status=$?
17476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477   (exit $ac_status); }; }; then
17478   glibcxx_cv_func__powf_use=yes
17479 else
17480   echo "$as_me: failed program was:" >&5
17481 sed 's/^/| /' conftest.$ac_ext >&5
17482
17483 glibcxx_cv_func__powf_use=no
17484 fi
17485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17486       ac_ext=c
17487 ac_cpp='$CPP $CPPFLAGS'
17488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17491
17492
17493 fi
17494
17495   fi
17496   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17497 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17498
17499     if test x$glibcxx_cv_func__powf_use = x"yes"; then
17500
17501 for ac_func in _powf
17502 do
17503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17504 echo "$as_me:$LINENO: checking for $ac_func" >&5
17505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17506 if eval "test \"\${$as_ac_var+set}\" = set"; then
17507   echo $ECHO_N "(cached) $ECHO_C" >&6
17508 else
17509   if test x$gcc_no_link = xyes; then
17510   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17512    { (exit 1); exit 1; }; }
17513 fi
17514 cat >conftest.$ac_ext <<_ACEOF
17515 /* confdefs.h.  */
17516 _ACEOF
17517 cat confdefs.h >>conftest.$ac_ext
17518 cat >>conftest.$ac_ext <<_ACEOF
17519 /* end confdefs.h.  */
17520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17521    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17522 #define $ac_func innocuous_$ac_func
17523
17524 /* System header to define __stub macros and hopefully few prototypes,
17525     which can conflict with char $ac_func (); below.
17526     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17527     <limits.h> exists even on freestanding compilers.  */
17528
17529 #ifdef __STDC__
17530 # include <limits.h>
17531 #else
17532 # include <assert.h>
17533 #endif
17534
17535 #undef $ac_func
17536
17537 /* Override any gcc2 internal prototype to avoid an error.  */
17538 #ifdef __cplusplus
17539 extern "C"
17540 {
17541 #endif
17542 /* We use char because int might match the return type of a gcc2
17543    builtin and then its argument prototype would still apply.  */
17544 char $ac_func ();
17545 /* The GNU C library defines this for functions which it implements
17546     to always fail with ENOSYS.  Some functions are actually named
17547     something starting with __ and the normal name is an alias.  */
17548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17549 choke me
17550 #else
17551 char (*f) () = $ac_func;
17552 #endif
17553 #ifdef __cplusplus
17554 }
17555 #endif
17556
17557 int
17558 main ()
17559 {
17560 return f != $ac_func;
17561   ;
17562   return 0;
17563 }
17564 _ACEOF
17565 rm -f conftest.$ac_objext conftest$ac_exeext
17566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17567   (eval $ac_link) 2>conftest.er1
17568   ac_status=$?
17569   grep -v '^ *+' conftest.er1 >conftest.err
17570   rm -f conftest.er1
17571   cat conftest.err >&5
17572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573   (exit $ac_status); } &&
17574          { ac_try='test -z "$ac_c_werror_flag"
17575                          || test ! -s conftest.err'
17576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17577   (eval $ac_try) 2>&5
17578   ac_status=$?
17579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580   (exit $ac_status); }; } &&
17581          { ac_try='test -s conftest$ac_exeext'
17582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17583   (eval $ac_try) 2>&5
17584   ac_status=$?
17585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586   (exit $ac_status); }; }; then
17587   eval "$as_ac_var=yes"
17588 else
17589   echo "$as_me: failed program was:" >&5
17590 sed 's/^/| /' conftest.$ac_ext >&5
17591
17592 eval "$as_ac_var=no"
17593 fi
17594 rm -f conftest.err conftest.$ac_objext \
17595       conftest$ac_exeext conftest.$ac_ext
17596 fi
17597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17599 if test `eval echo '${'$as_ac_var'}'` = yes; then
17600   cat >>confdefs.h <<_ACEOF
17601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17602 _ACEOF
17603
17604 fi
17605 done
17606
17607     fi
17608   fi
17609
17610
17611
17612
17613
17614
17615   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17616 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17617   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17618     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17619   echo $ECHO_N "(cached) $ECHO_C" >&6
17620 else
17621
17622
17623
17624       ac_ext=cc
17625 ac_cpp='$CXXCPP $CPPFLAGS'
17626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17629
17630       cat >conftest.$ac_ext <<_ACEOF
17631 /* confdefs.h.  */
17632 _ACEOF
17633 cat confdefs.h >>conftest.$ac_ext
17634 cat >>conftest.$ac_ext <<_ACEOF
17635 /* end confdefs.h.  */
17636 #include <math.h>
17637                       #ifdef HAVE_IEEEFP_H
17638                       #include <ieeefp.h>
17639                       #endif
17640
17641 int
17642 main ()
17643 {
17644  sqrtf(0);
17645   ;
17646   return 0;
17647 }
17648 _ACEOF
17649 rm -f conftest.$ac_objext
17650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17651   (eval $ac_compile) 2>conftest.er1
17652   ac_status=$?
17653   grep -v '^ *+' conftest.er1 >conftest.err
17654   rm -f conftest.er1
17655   cat conftest.err >&5
17656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657   (exit $ac_status); } &&
17658          { ac_try='test -z "$ac_cxx_werror_flag"
17659                          || test ! -s conftest.err'
17660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17661   (eval $ac_try) 2>&5
17662   ac_status=$?
17663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664   (exit $ac_status); }; } &&
17665          { ac_try='test -s conftest.$ac_objext'
17666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17667   (eval $ac_try) 2>&5
17668   ac_status=$?
17669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670   (exit $ac_status); }; }; then
17671   glibcxx_cv_func_sqrtf_use=yes
17672 else
17673   echo "$as_me: failed program was:" >&5
17674 sed 's/^/| /' conftest.$ac_ext >&5
17675
17676 glibcxx_cv_func_sqrtf_use=no
17677 fi
17678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17679       ac_ext=c
17680 ac_cpp='$CPP $CPPFLAGS'
17681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17684
17685
17686 fi
17687
17688   fi
17689   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17690 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17691
17692   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17693
17694 for ac_func in sqrtf
17695 do
17696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17697 echo "$as_me:$LINENO: checking for $ac_func" >&5
17698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17699 if eval "test \"\${$as_ac_var+set}\" = set"; then
17700   echo $ECHO_N "(cached) $ECHO_C" >&6
17701 else
17702   if test x$gcc_no_link = xyes; then
17703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17705    { (exit 1); exit 1; }; }
17706 fi
17707 cat >conftest.$ac_ext <<_ACEOF
17708 /* confdefs.h.  */
17709 _ACEOF
17710 cat confdefs.h >>conftest.$ac_ext
17711 cat >>conftest.$ac_ext <<_ACEOF
17712 /* end confdefs.h.  */
17713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17714    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17715 #define $ac_func innocuous_$ac_func
17716
17717 /* System header to define __stub macros and hopefully few prototypes,
17718     which can conflict with char $ac_func (); below.
17719     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17720     <limits.h> exists even on freestanding compilers.  */
17721
17722 #ifdef __STDC__
17723 # include <limits.h>
17724 #else
17725 # include <assert.h>
17726 #endif
17727
17728 #undef $ac_func
17729
17730 /* Override any gcc2 internal prototype to avoid an error.  */
17731 #ifdef __cplusplus
17732 extern "C"
17733 {
17734 #endif
17735 /* We use char because int might match the return type of a gcc2
17736    builtin and then its argument prototype would still apply.  */
17737 char $ac_func ();
17738 /* The GNU C library defines this for functions which it implements
17739     to always fail with ENOSYS.  Some functions are actually named
17740     something starting with __ and the normal name is an alias.  */
17741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17742 choke me
17743 #else
17744 char (*f) () = $ac_func;
17745 #endif
17746 #ifdef __cplusplus
17747 }
17748 #endif
17749
17750 int
17751 main ()
17752 {
17753 return f != $ac_func;
17754   ;
17755   return 0;
17756 }
17757 _ACEOF
17758 rm -f conftest.$ac_objext conftest$ac_exeext
17759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17760   (eval $ac_link) 2>conftest.er1
17761   ac_status=$?
17762   grep -v '^ *+' conftest.er1 >conftest.err
17763   rm -f conftest.er1
17764   cat conftest.err >&5
17765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766   (exit $ac_status); } &&
17767          { ac_try='test -z "$ac_c_werror_flag"
17768                          || test ! -s conftest.err'
17769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17770   (eval $ac_try) 2>&5
17771   ac_status=$?
17772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773   (exit $ac_status); }; } &&
17774          { ac_try='test -s conftest$ac_exeext'
17775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776   (eval $ac_try) 2>&5
17777   ac_status=$?
17778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779   (exit $ac_status); }; }; then
17780   eval "$as_ac_var=yes"
17781 else
17782   echo "$as_me: failed program was:" >&5
17783 sed 's/^/| /' conftest.$ac_ext >&5
17784
17785 eval "$as_ac_var=no"
17786 fi
17787 rm -f conftest.err conftest.$ac_objext \
17788       conftest$ac_exeext conftest.$ac_ext
17789 fi
17790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17792 if test `eval echo '${'$as_ac_var'}'` = yes; then
17793   cat >>confdefs.h <<_ACEOF
17794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17795 _ACEOF
17796
17797 fi
17798 done
17799
17800   else
17801
17802   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17803 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17804   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17805     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17806   echo $ECHO_N "(cached) $ECHO_C" >&6
17807 else
17808
17809
17810
17811       ac_ext=cc
17812 ac_cpp='$CXXCPP $CPPFLAGS'
17813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17816
17817       cat >conftest.$ac_ext <<_ACEOF
17818 /* confdefs.h.  */
17819 _ACEOF
17820 cat confdefs.h >>conftest.$ac_ext
17821 cat >>conftest.$ac_ext <<_ACEOF
17822 /* end confdefs.h.  */
17823 #include <math.h>
17824                       #ifdef HAVE_IEEEFP_H
17825                       #include <ieeefp.h>
17826                       #endif
17827
17828 int
17829 main ()
17830 {
17831  _sqrtf(0);
17832   ;
17833   return 0;
17834 }
17835 _ACEOF
17836 rm -f conftest.$ac_objext
17837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17838   (eval $ac_compile) 2>conftest.er1
17839   ac_status=$?
17840   grep -v '^ *+' conftest.er1 >conftest.err
17841   rm -f conftest.er1
17842   cat conftest.err >&5
17843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844   (exit $ac_status); } &&
17845          { ac_try='test -z "$ac_cxx_werror_flag"
17846                          || test ! -s conftest.err'
17847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17848   (eval $ac_try) 2>&5
17849   ac_status=$?
17850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851   (exit $ac_status); }; } &&
17852          { ac_try='test -s conftest.$ac_objext'
17853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854   (eval $ac_try) 2>&5
17855   ac_status=$?
17856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857   (exit $ac_status); }; }; then
17858   glibcxx_cv_func__sqrtf_use=yes
17859 else
17860   echo "$as_me: failed program was:" >&5
17861 sed 's/^/| /' conftest.$ac_ext >&5
17862
17863 glibcxx_cv_func__sqrtf_use=no
17864 fi
17865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17866       ac_ext=c
17867 ac_cpp='$CPP $CPPFLAGS'
17868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17871
17872
17873 fi
17874
17875   fi
17876   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17877 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17878
17879     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17880
17881 for ac_func in _sqrtf
17882 do
17883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17884 echo "$as_me:$LINENO: checking for $ac_func" >&5
17885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17886 if eval "test \"\${$as_ac_var+set}\" = set"; then
17887   echo $ECHO_N "(cached) $ECHO_C" >&6
17888 else
17889   if test x$gcc_no_link = xyes; then
17890   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17892    { (exit 1); exit 1; }; }
17893 fi
17894 cat >conftest.$ac_ext <<_ACEOF
17895 /* confdefs.h.  */
17896 _ACEOF
17897 cat confdefs.h >>conftest.$ac_ext
17898 cat >>conftest.$ac_ext <<_ACEOF
17899 /* end confdefs.h.  */
17900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17901    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17902 #define $ac_func innocuous_$ac_func
17903
17904 /* System header to define __stub macros and hopefully few prototypes,
17905     which can conflict with char $ac_func (); below.
17906     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17907     <limits.h> exists even on freestanding compilers.  */
17908
17909 #ifdef __STDC__
17910 # include <limits.h>
17911 #else
17912 # include <assert.h>
17913 #endif
17914
17915 #undef $ac_func
17916
17917 /* Override any gcc2 internal prototype to avoid an error.  */
17918 #ifdef __cplusplus
17919 extern "C"
17920 {
17921 #endif
17922 /* We use char because int might match the return type of a gcc2
17923    builtin and then its argument prototype would still apply.  */
17924 char $ac_func ();
17925 /* The GNU C library defines this for functions which it implements
17926     to always fail with ENOSYS.  Some functions are actually named
17927     something starting with __ and the normal name is an alias.  */
17928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17929 choke me
17930 #else
17931 char (*f) () = $ac_func;
17932 #endif
17933 #ifdef __cplusplus
17934 }
17935 #endif
17936
17937 int
17938 main ()
17939 {
17940 return f != $ac_func;
17941   ;
17942   return 0;
17943 }
17944 _ACEOF
17945 rm -f conftest.$ac_objext conftest$ac_exeext
17946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17947   (eval $ac_link) 2>conftest.er1
17948   ac_status=$?
17949   grep -v '^ *+' conftest.er1 >conftest.err
17950   rm -f conftest.er1
17951   cat conftest.err >&5
17952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953   (exit $ac_status); } &&
17954          { ac_try='test -z "$ac_c_werror_flag"
17955                          || test ! -s conftest.err'
17956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17957   (eval $ac_try) 2>&5
17958   ac_status=$?
17959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960   (exit $ac_status); }; } &&
17961          { ac_try='test -s conftest$ac_exeext'
17962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17963   (eval $ac_try) 2>&5
17964   ac_status=$?
17965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966   (exit $ac_status); }; }; then
17967   eval "$as_ac_var=yes"
17968 else
17969   echo "$as_me: failed program was:" >&5
17970 sed 's/^/| /' conftest.$ac_ext >&5
17971
17972 eval "$as_ac_var=no"
17973 fi
17974 rm -f conftest.err conftest.$ac_objext \
17975       conftest$ac_exeext conftest.$ac_ext
17976 fi
17977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17979 if test `eval echo '${'$as_ac_var'}'` = yes; then
17980   cat >>confdefs.h <<_ACEOF
17981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17982 _ACEOF
17983
17984 fi
17985 done
17986
17987     fi
17988   fi
17989
17990
17991
17992
17993
17994
17995   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17996 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17997   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17998     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17999   echo $ECHO_N "(cached) $ECHO_C" >&6
18000 else
18001
18002
18003
18004       ac_ext=cc
18005 ac_cpp='$CXXCPP $CPPFLAGS'
18006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18009
18010       cat >conftest.$ac_ext <<_ACEOF
18011 /* confdefs.h.  */
18012 _ACEOF
18013 cat confdefs.h >>conftest.$ac_ext
18014 cat >>conftest.$ac_ext <<_ACEOF
18015 /* end confdefs.h.  */
18016 #include <math.h>
18017 int
18018 main ()
18019 {
18020  sincosf(0, 0, 0);
18021   ;
18022   return 0;
18023 }
18024 _ACEOF
18025 rm -f conftest.$ac_objext
18026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18027   (eval $ac_compile) 2>conftest.er1
18028   ac_status=$?
18029   grep -v '^ *+' conftest.er1 >conftest.err
18030   rm -f conftest.er1
18031   cat conftest.err >&5
18032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18033   (exit $ac_status); } &&
18034          { ac_try='test -z "$ac_cxx_werror_flag"
18035                          || test ! -s conftest.err'
18036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18037   (eval $ac_try) 2>&5
18038   ac_status=$?
18039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040   (exit $ac_status); }; } &&
18041          { ac_try='test -s conftest.$ac_objext'
18042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18043   (eval $ac_try) 2>&5
18044   ac_status=$?
18045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046   (exit $ac_status); }; }; then
18047   glibcxx_cv_func_sincosf_use=yes
18048 else
18049   echo "$as_me: failed program was:" >&5
18050 sed 's/^/| /' conftest.$ac_ext >&5
18051
18052 glibcxx_cv_func_sincosf_use=no
18053 fi
18054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18055       ac_ext=c
18056 ac_cpp='$CPP $CPPFLAGS'
18057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18060
18061
18062 fi
18063
18064   fi
18065   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
18066 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
18067
18068   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
18069
18070 for ac_func in sincosf
18071 do
18072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18073 echo "$as_me:$LINENO: checking for $ac_func" >&5
18074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18075 if eval "test \"\${$as_ac_var+set}\" = set"; then
18076   echo $ECHO_N "(cached) $ECHO_C" >&6
18077 else
18078   if test x$gcc_no_link = xyes; then
18079   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18081    { (exit 1); exit 1; }; }
18082 fi
18083 cat >conftest.$ac_ext <<_ACEOF
18084 /* confdefs.h.  */
18085 _ACEOF
18086 cat confdefs.h >>conftest.$ac_ext
18087 cat >>conftest.$ac_ext <<_ACEOF
18088 /* end confdefs.h.  */
18089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18090    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18091 #define $ac_func innocuous_$ac_func
18092
18093 /* System header to define __stub macros and hopefully few prototypes,
18094     which can conflict with char $ac_func (); below.
18095     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18096     <limits.h> exists even on freestanding compilers.  */
18097
18098 #ifdef __STDC__
18099 # include <limits.h>
18100 #else
18101 # include <assert.h>
18102 #endif
18103
18104 #undef $ac_func
18105
18106 /* Override any gcc2 internal prototype to avoid an error.  */
18107 #ifdef __cplusplus
18108 extern "C"
18109 {
18110 #endif
18111 /* We use char because int might match the return type of a gcc2
18112    builtin and then its argument prototype would still apply.  */
18113 char $ac_func ();
18114 /* The GNU C library defines this for functions which it implements
18115     to always fail with ENOSYS.  Some functions are actually named
18116     something starting with __ and the normal name is an alias.  */
18117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18118 choke me
18119 #else
18120 char (*f) () = $ac_func;
18121 #endif
18122 #ifdef __cplusplus
18123 }
18124 #endif
18125
18126 int
18127 main ()
18128 {
18129 return f != $ac_func;
18130   ;
18131   return 0;
18132 }
18133 _ACEOF
18134 rm -f conftest.$ac_objext conftest$ac_exeext
18135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18136   (eval $ac_link) 2>conftest.er1
18137   ac_status=$?
18138   grep -v '^ *+' conftest.er1 >conftest.err
18139   rm -f conftest.er1
18140   cat conftest.err >&5
18141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142   (exit $ac_status); } &&
18143          { ac_try='test -z "$ac_c_werror_flag"
18144                          || test ! -s conftest.err'
18145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18146   (eval $ac_try) 2>&5
18147   ac_status=$?
18148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149   (exit $ac_status); }; } &&
18150          { ac_try='test -s conftest$ac_exeext'
18151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18152   (eval $ac_try) 2>&5
18153   ac_status=$?
18154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155   (exit $ac_status); }; }; then
18156   eval "$as_ac_var=yes"
18157 else
18158   echo "$as_me: failed program was:" >&5
18159 sed 's/^/| /' conftest.$ac_ext >&5
18160
18161 eval "$as_ac_var=no"
18162 fi
18163 rm -f conftest.err conftest.$ac_objext \
18164       conftest$ac_exeext conftest.$ac_ext
18165 fi
18166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18168 if test `eval echo '${'$as_ac_var'}'` = yes; then
18169   cat >>confdefs.h <<_ACEOF
18170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18171 _ACEOF
18172
18173 fi
18174 done
18175
18176   else
18177
18178   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
18179 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
18180   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
18181     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
18182   echo $ECHO_N "(cached) $ECHO_C" >&6
18183 else
18184
18185
18186
18187       ac_ext=cc
18188 ac_cpp='$CXXCPP $CPPFLAGS'
18189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18192
18193       cat >conftest.$ac_ext <<_ACEOF
18194 /* confdefs.h.  */
18195 _ACEOF
18196 cat confdefs.h >>conftest.$ac_ext
18197 cat >>conftest.$ac_ext <<_ACEOF
18198 /* end confdefs.h.  */
18199 #include <math.h>
18200 int
18201 main ()
18202 {
18203  _sincosf(0, 0, 0);
18204   ;
18205   return 0;
18206 }
18207 _ACEOF
18208 rm -f conftest.$ac_objext
18209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18210   (eval $ac_compile) 2>conftest.er1
18211   ac_status=$?
18212   grep -v '^ *+' conftest.er1 >conftest.err
18213   rm -f conftest.er1
18214   cat conftest.err >&5
18215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216   (exit $ac_status); } &&
18217          { ac_try='test -z "$ac_cxx_werror_flag"
18218                          || test ! -s conftest.err'
18219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220   (eval $ac_try) 2>&5
18221   ac_status=$?
18222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223   (exit $ac_status); }; } &&
18224          { ac_try='test -s conftest.$ac_objext'
18225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226   (eval $ac_try) 2>&5
18227   ac_status=$?
18228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229   (exit $ac_status); }; }; then
18230   glibcxx_cv_func__sincosf_use=yes
18231 else
18232   echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.$ac_ext >&5
18234
18235 glibcxx_cv_func__sincosf_use=no
18236 fi
18237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18238       ac_ext=c
18239 ac_cpp='$CPP $CPPFLAGS'
18240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18243
18244
18245 fi
18246
18247   fi
18248   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18249 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18250
18251     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18252
18253 for ac_func in _sincosf
18254 do
18255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18256 echo "$as_me:$LINENO: checking for $ac_func" >&5
18257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18258 if eval "test \"\${$as_ac_var+set}\" = set"; then
18259   echo $ECHO_N "(cached) $ECHO_C" >&6
18260 else
18261   if test x$gcc_no_link = xyes; then
18262   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18264    { (exit 1); exit 1; }; }
18265 fi
18266 cat >conftest.$ac_ext <<_ACEOF
18267 /* confdefs.h.  */
18268 _ACEOF
18269 cat confdefs.h >>conftest.$ac_ext
18270 cat >>conftest.$ac_ext <<_ACEOF
18271 /* end confdefs.h.  */
18272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18273    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18274 #define $ac_func innocuous_$ac_func
18275
18276 /* System header to define __stub macros and hopefully few prototypes,
18277     which can conflict with char $ac_func (); below.
18278     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18279     <limits.h> exists even on freestanding compilers.  */
18280
18281 #ifdef __STDC__
18282 # include <limits.h>
18283 #else
18284 # include <assert.h>
18285 #endif
18286
18287 #undef $ac_func
18288
18289 /* Override any gcc2 internal prototype to avoid an error.  */
18290 #ifdef __cplusplus
18291 extern "C"
18292 {
18293 #endif
18294 /* We use char because int might match the return type of a gcc2
18295    builtin and then its argument prototype would still apply.  */
18296 char $ac_func ();
18297 /* The GNU C library defines this for functions which it implements
18298     to always fail with ENOSYS.  Some functions are actually named
18299     something starting with __ and the normal name is an alias.  */
18300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18301 choke me
18302 #else
18303 char (*f) () = $ac_func;
18304 #endif
18305 #ifdef __cplusplus
18306 }
18307 #endif
18308
18309 int
18310 main ()
18311 {
18312 return f != $ac_func;
18313   ;
18314   return 0;
18315 }
18316 _ACEOF
18317 rm -f conftest.$ac_objext conftest$ac_exeext
18318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18319   (eval $ac_link) 2>conftest.er1
18320   ac_status=$?
18321   grep -v '^ *+' conftest.er1 >conftest.err
18322   rm -f conftest.er1
18323   cat conftest.err >&5
18324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325   (exit $ac_status); } &&
18326          { ac_try='test -z "$ac_c_werror_flag"
18327                          || test ! -s conftest.err'
18328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18329   (eval $ac_try) 2>&5
18330   ac_status=$?
18331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332   (exit $ac_status); }; } &&
18333          { ac_try='test -s conftest$ac_exeext'
18334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18335   (eval $ac_try) 2>&5
18336   ac_status=$?
18337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338   (exit $ac_status); }; }; then
18339   eval "$as_ac_var=yes"
18340 else
18341   echo "$as_me: failed program was:" >&5
18342 sed 's/^/| /' conftest.$ac_ext >&5
18343
18344 eval "$as_ac_var=no"
18345 fi
18346 rm -f conftest.err conftest.$ac_objext \
18347       conftest$ac_exeext conftest.$ac_ext
18348 fi
18349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18351 if test `eval echo '${'$as_ac_var'}'` = yes; then
18352   cat >>confdefs.h <<_ACEOF
18353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18354 _ACEOF
18355
18356 fi
18357 done
18358
18359     fi
18360   fi
18361
18362
18363
18364
18365
18366
18367   echo "$as_me:$LINENO: checking for finitef declaration" >&5
18368 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18369   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18370     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18371   echo $ECHO_N "(cached) $ECHO_C" >&6
18372 else
18373
18374
18375
18376       ac_ext=cc
18377 ac_cpp='$CXXCPP $CPPFLAGS'
18378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18381
18382       cat >conftest.$ac_ext <<_ACEOF
18383 /* confdefs.h.  */
18384 _ACEOF
18385 cat confdefs.h >>conftest.$ac_ext
18386 cat >>conftest.$ac_ext <<_ACEOF
18387 /* end confdefs.h.  */
18388 #include <math.h>
18389                       #ifdef HAVE_IEEEFP_H
18390                       #include <ieeefp.h>
18391                       #endif
18392
18393 int
18394 main ()
18395 {
18396  finitef(0);
18397   ;
18398   return 0;
18399 }
18400 _ACEOF
18401 rm -f conftest.$ac_objext
18402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18403   (eval $ac_compile) 2>conftest.er1
18404   ac_status=$?
18405   grep -v '^ *+' conftest.er1 >conftest.err
18406   rm -f conftest.er1
18407   cat conftest.err >&5
18408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18409   (exit $ac_status); } &&
18410          { ac_try='test -z "$ac_cxx_werror_flag"
18411                          || test ! -s conftest.err'
18412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18413   (eval $ac_try) 2>&5
18414   ac_status=$?
18415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18416   (exit $ac_status); }; } &&
18417          { ac_try='test -s conftest.$ac_objext'
18418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18419   (eval $ac_try) 2>&5
18420   ac_status=$?
18421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422   (exit $ac_status); }; }; then
18423   glibcxx_cv_func_finitef_use=yes
18424 else
18425   echo "$as_me: failed program was:" >&5
18426 sed 's/^/| /' conftest.$ac_ext >&5
18427
18428 glibcxx_cv_func_finitef_use=no
18429 fi
18430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18431       ac_ext=c
18432 ac_cpp='$CPP $CPPFLAGS'
18433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18436
18437
18438 fi
18439
18440   fi
18441   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18442 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18443
18444   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18445
18446 for ac_func in finitef
18447 do
18448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18449 echo "$as_me:$LINENO: checking for $ac_func" >&5
18450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18451 if eval "test \"\${$as_ac_var+set}\" = set"; then
18452   echo $ECHO_N "(cached) $ECHO_C" >&6
18453 else
18454   if test x$gcc_no_link = xyes; then
18455   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18457    { (exit 1); exit 1; }; }
18458 fi
18459 cat >conftest.$ac_ext <<_ACEOF
18460 /* confdefs.h.  */
18461 _ACEOF
18462 cat confdefs.h >>conftest.$ac_ext
18463 cat >>conftest.$ac_ext <<_ACEOF
18464 /* end confdefs.h.  */
18465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18466    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18467 #define $ac_func innocuous_$ac_func
18468
18469 /* System header to define __stub macros and hopefully few prototypes,
18470     which can conflict with char $ac_func (); below.
18471     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18472     <limits.h> exists even on freestanding compilers.  */
18473
18474 #ifdef __STDC__
18475 # include <limits.h>
18476 #else
18477 # include <assert.h>
18478 #endif
18479
18480 #undef $ac_func
18481
18482 /* Override any gcc2 internal prototype to avoid an error.  */
18483 #ifdef __cplusplus
18484 extern "C"
18485 {
18486 #endif
18487 /* We use char because int might match the return type of a gcc2
18488    builtin and then its argument prototype would still apply.  */
18489 char $ac_func ();
18490 /* The GNU C library defines this for functions which it implements
18491     to always fail with ENOSYS.  Some functions are actually named
18492     something starting with __ and the normal name is an alias.  */
18493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18494 choke me
18495 #else
18496 char (*f) () = $ac_func;
18497 #endif
18498 #ifdef __cplusplus
18499 }
18500 #endif
18501
18502 int
18503 main ()
18504 {
18505 return f != $ac_func;
18506   ;
18507   return 0;
18508 }
18509 _ACEOF
18510 rm -f conftest.$ac_objext conftest$ac_exeext
18511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18512   (eval $ac_link) 2>conftest.er1
18513   ac_status=$?
18514   grep -v '^ *+' conftest.er1 >conftest.err
18515   rm -f conftest.er1
18516   cat conftest.err >&5
18517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18518   (exit $ac_status); } &&
18519          { ac_try='test -z "$ac_c_werror_flag"
18520                          || test ! -s conftest.err'
18521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18522   (eval $ac_try) 2>&5
18523   ac_status=$?
18524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525   (exit $ac_status); }; } &&
18526          { ac_try='test -s conftest$ac_exeext'
18527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18528   (eval $ac_try) 2>&5
18529   ac_status=$?
18530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531   (exit $ac_status); }; }; then
18532   eval "$as_ac_var=yes"
18533 else
18534   echo "$as_me: failed program was:" >&5
18535 sed 's/^/| /' conftest.$ac_ext >&5
18536
18537 eval "$as_ac_var=no"
18538 fi
18539 rm -f conftest.err conftest.$ac_objext \
18540       conftest$ac_exeext conftest.$ac_ext
18541 fi
18542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18544 if test `eval echo '${'$as_ac_var'}'` = yes; then
18545   cat >>confdefs.h <<_ACEOF
18546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18547 _ACEOF
18548
18549 fi
18550 done
18551
18552   else
18553
18554   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18555 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18556   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18557     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18558   echo $ECHO_N "(cached) $ECHO_C" >&6
18559 else
18560
18561
18562
18563       ac_ext=cc
18564 ac_cpp='$CXXCPP $CPPFLAGS'
18565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18568
18569       cat >conftest.$ac_ext <<_ACEOF
18570 /* confdefs.h.  */
18571 _ACEOF
18572 cat confdefs.h >>conftest.$ac_ext
18573 cat >>conftest.$ac_ext <<_ACEOF
18574 /* end confdefs.h.  */
18575 #include <math.h>
18576                       #ifdef HAVE_IEEEFP_H
18577                       #include <ieeefp.h>
18578                       #endif
18579
18580 int
18581 main ()
18582 {
18583  _finitef(0);
18584   ;
18585   return 0;
18586 }
18587 _ACEOF
18588 rm -f conftest.$ac_objext
18589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18590   (eval $ac_compile) 2>conftest.er1
18591   ac_status=$?
18592   grep -v '^ *+' conftest.er1 >conftest.err
18593   rm -f conftest.er1
18594   cat conftest.err >&5
18595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596   (exit $ac_status); } &&
18597          { ac_try='test -z "$ac_cxx_werror_flag"
18598                          || test ! -s conftest.err'
18599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18600   (eval $ac_try) 2>&5
18601   ac_status=$?
18602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18603   (exit $ac_status); }; } &&
18604          { ac_try='test -s conftest.$ac_objext'
18605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18606   (eval $ac_try) 2>&5
18607   ac_status=$?
18608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18609   (exit $ac_status); }; }; then
18610   glibcxx_cv_func__finitef_use=yes
18611 else
18612   echo "$as_me: failed program was:" >&5
18613 sed 's/^/| /' conftest.$ac_ext >&5
18614
18615 glibcxx_cv_func__finitef_use=no
18616 fi
18617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18618       ac_ext=c
18619 ac_cpp='$CPP $CPPFLAGS'
18620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18623
18624
18625 fi
18626
18627   fi
18628   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18629 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18630
18631     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18632
18633 for ac_func in _finitef
18634 do
18635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18636 echo "$as_me:$LINENO: checking for $ac_func" >&5
18637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18638 if eval "test \"\${$as_ac_var+set}\" = set"; then
18639   echo $ECHO_N "(cached) $ECHO_C" >&6
18640 else
18641   if test x$gcc_no_link = xyes; then
18642   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18644    { (exit 1); exit 1; }; }
18645 fi
18646 cat >conftest.$ac_ext <<_ACEOF
18647 /* confdefs.h.  */
18648 _ACEOF
18649 cat confdefs.h >>conftest.$ac_ext
18650 cat >>conftest.$ac_ext <<_ACEOF
18651 /* end confdefs.h.  */
18652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18653    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18654 #define $ac_func innocuous_$ac_func
18655
18656 /* System header to define __stub macros and hopefully few prototypes,
18657     which can conflict with char $ac_func (); below.
18658     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18659     <limits.h> exists even on freestanding compilers.  */
18660
18661 #ifdef __STDC__
18662 # include <limits.h>
18663 #else
18664 # include <assert.h>
18665 #endif
18666
18667 #undef $ac_func
18668
18669 /* Override any gcc2 internal prototype to avoid an error.  */
18670 #ifdef __cplusplus
18671 extern "C"
18672 {
18673 #endif
18674 /* We use char because int might match the return type of a gcc2
18675    builtin and then its argument prototype would still apply.  */
18676 char $ac_func ();
18677 /* The GNU C library defines this for functions which it implements
18678     to always fail with ENOSYS.  Some functions are actually named
18679     something starting with __ and the normal name is an alias.  */
18680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18681 choke me
18682 #else
18683 char (*f) () = $ac_func;
18684 #endif
18685 #ifdef __cplusplus
18686 }
18687 #endif
18688
18689 int
18690 main ()
18691 {
18692 return f != $ac_func;
18693   ;
18694   return 0;
18695 }
18696 _ACEOF
18697 rm -f conftest.$ac_objext conftest$ac_exeext
18698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18699   (eval $ac_link) 2>conftest.er1
18700   ac_status=$?
18701   grep -v '^ *+' conftest.er1 >conftest.err
18702   rm -f conftest.er1
18703   cat conftest.err >&5
18704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705   (exit $ac_status); } &&
18706          { ac_try='test -z "$ac_c_werror_flag"
18707                          || test ! -s conftest.err'
18708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18709   (eval $ac_try) 2>&5
18710   ac_status=$?
18711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18712   (exit $ac_status); }; } &&
18713          { ac_try='test -s conftest$ac_exeext'
18714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18715   (eval $ac_try) 2>&5
18716   ac_status=$?
18717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18718   (exit $ac_status); }; }; then
18719   eval "$as_ac_var=yes"
18720 else
18721   echo "$as_me: failed program was:" >&5
18722 sed 's/^/| /' conftest.$ac_ext >&5
18723
18724 eval "$as_ac_var=no"
18725 fi
18726 rm -f conftest.err conftest.$ac_objext \
18727       conftest$ac_exeext conftest.$ac_ext
18728 fi
18729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18731 if test `eval echo '${'$as_ac_var'}'` = yes; then
18732   cat >>confdefs.h <<_ACEOF
18733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18734 _ACEOF
18735
18736 fi
18737 done
18738
18739     fi
18740   fi
18741
18742
18743
18744
18745
18746
18747     echo "$as_me:$LINENO: checking for long double trig functions" >&5
18748 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18749   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18750   echo $ECHO_N "(cached) $ECHO_C" >&6
18751 else
18752
18753
18754
18755     ac_ext=cc
18756 ac_cpp='$CXXCPP $CPPFLAGS'
18757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18760
18761     cat >conftest.$ac_ext <<_ACEOF
18762 /* confdefs.h.  */
18763 _ACEOF
18764 cat confdefs.h >>conftest.$ac_ext
18765 cat >>conftest.$ac_ext <<_ACEOF
18766 /* end confdefs.h.  */
18767 #include <math.h>
18768 int
18769 main ()
18770 {
18771 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18772   ;
18773   return 0;
18774 }
18775 _ACEOF
18776 rm -f conftest.$ac_objext
18777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18778   (eval $ac_compile) 2>conftest.er1
18779   ac_status=$?
18780   grep -v '^ *+' conftest.er1 >conftest.err
18781   rm -f conftest.er1
18782   cat conftest.err >&5
18783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784   (exit $ac_status); } &&
18785          { ac_try='test -z "$ac_cxx_werror_flag"
18786                          || test ! -s conftest.err'
18787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18788   (eval $ac_try) 2>&5
18789   ac_status=$?
18790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791   (exit $ac_status); }; } &&
18792          { ac_try='test -s conftest.$ac_objext'
18793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18794   (eval $ac_try) 2>&5
18795   ac_status=$?
18796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797   (exit $ac_status); }; }; then
18798   glibcxx_cv_func_long_double_trig_use=yes
18799 else
18800   echo "$as_me: failed program was:" >&5
18801 sed 's/^/| /' conftest.$ac_ext >&5
18802
18803 glibcxx_cv_func_long_double_trig_use=no
18804 fi
18805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18806     ac_ext=c
18807 ac_cpp='$CPP $CPPFLAGS'
18808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18811
18812 fi
18813
18814   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18815 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18816   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18827 do
18828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18829 echo "$as_me:$LINENO: checking for $ac_func" >&5
18830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18831 if eval "test \"\${$as_ac_var+set}\" = set"; then
18832   echo $ECHO_N "(cached) $ECHO_C" >&6
18833 else
18834   if test x$gcc_no_link = xyes; then
18835   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18837    { (exit 1); exit 1; }; }
18838 fi
18839 cat >conftest.$ac_ext <<_ACEOF
18840 /* confdefs.h.  */
18841 _ACEOF
18842 cat confdefs.h >>conftest.$ac_ext
18843 cat >>conftest.$ac_ext <<_ACEOF
18844 /* end confdefs.h.  */
18845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18846    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18847 #define $ac_func innocuous_$ac_func
18848
18849 /* System header to define __stub macros and hopefully few prototypes,
18850     which can conflict with char $ac_func (); below.
18851     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18852     <limits.h> exists even on freestanding compilers.  */
18853
18854 #ifdef __STDC__
18855 # include <limits.h>
18856 #else
18857 # include <assert.h>
18858 #endif
18859
18860 #undef $ac_func
18861
18862 /* Override any gcc2 internal prototype to avoid an error.  */
18863 #ifdef __cplusplus
18864 extern "C"
18865 {
18866 #endif
18867 /* We use char because int might match the return type of a gcc2
18868    builtin and then its argument prototype would still apply.  */
18869 char $ac_func ();
18870 /* The GNU C library defines this for functions which it implements
18871     to always fail with ENOSYS.  Some functions are actually named
18872     something starting with __ and the normal name is an alias.  */
18873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18874 choke me
18875 #else
18876 char (*f) () = $ac_func;
18877 #endif
18878 #ifdef __cplusplus
18879 }
18880 #endif
18881
18882 int
18883 main ()
18884 {
18885 return f != $ac_func;
18886   ;
18887   return 0;
18888 }
18889 _ACEOF
18890 rm -f conftest.$ac_objext conftest$ac_exeext
18891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18892   (eval $ac_link) 2>conftest.er1
18893   ac_status=$?
18894   grep -v '^ *+' conftest.er1 >conftest.err
18895   rm -f conftest.er1
18896   cat conftest.err >&5
18897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898   (exit $ac_status); } &&
18899          { ac_try='test -z "$ac_c_werror_flag"
18900                          || test ! -s conftest.err'
18901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18902   (eval $ac_try) 2>&5
18903   ac_status=$?
18904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905   (exit $ac_status); }; } &&
18906          { ac_try='test -s conftest$ac_exeext'
18907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18908   (eval $ac_try) 2>&5
18909   ac_status=$?
18910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911   (exit $ac_status); }; }; then
18912   eval "$as_ac_var=yes"
18913 else
18914   echo "$as_me: failed program was:" >&5
18915 sed 's/^/| /' conftest.$ac_ext >&5
18916
18917 eval "$as_ac_var=no"
18918 fi
18919 rm -f conftest.err conftest.$ac_objext \
18920       conftest$ac_exeext conftest.$ac_ext
18921 fi
18922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18924 if test `eval echo '${'$as_ac_var'}'` = yes; then
18925   cat >>confdefs.h <<_ACEOF
18926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18927 _ACEOF
18928
18929 fi
18930 done
18931
18932   else
18933     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18934 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18935     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18936   echo $ECHO_N "(cached) $ECHO_C" >&6
18937 else
18938
18939
18940
18941       ac_ext=cc
18942 ac_cpp='$CXXCPP $CPPFLAGS'
18943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18946
18947       cat >conftest.$ac_ext <<_ACEOF
18948 /* confdefs.h.  */
18949 _ACEOF
18950 cat confdefs.h >>conftest.$ac_ext
18951 cat >>conftest.$ac_ext <<_ACEOF
18952 /* end confdefs.h.  */
18953 #include <math.h>
18954 int
18955 main ()
18956 {
18957 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18958   ;
18959   return 0;
18960 }
18961 _ACEOF
18962 rm -f conftest.$ac_objext
18963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18964   (eval $ac_compile) 2>conftest.er1
18965   ac_status=$?
18966   grep -v '^ *+' conftest.er1 >conftest.err
18967   rm -f conftest.er1
18968   cat conftest.err >&5
18969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970   (exit $ac_status); } &&
18971          { ac_try='test -z "$ac_cxx_werror_flag"
18972                          || test ! -s conftest.err'
18973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974   (eval $ac_try) 2>&5
18975   ac_status=$?
18976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977   (exit $ac_status); }; } &&
18978          { ac_try='test -s conftest.$ac_objext'
18979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18980   (eval $ac_try) 2>&5
18981   ac_status=$?
18982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983   (exit $ac_status); }; }; then
18984   glibcxx_cv_func__long_double_trig_use=yes
18985 else
18986   echo "$as_me: failed program was:" >&5
18987 sed 's/^/| /' conftest.$ac_ext >&5
18988
18989 glibcxx_cv_func__long_double_trig_use=no
18990 fi
18991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18992       ac_ext=c
18993 ac_cpp='$CPP $CPPFLAGS'
18994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18997
18998 fi
18999
19000     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
19001 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
19002     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
19013 do
19014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19015 echo "$as_me:$LINENO: checking for $ac_func" >&5
19016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19017 if eval "test \"\${$as_ac_var+set}\" = set"; then
19018   echo $ECHO_N "(cached) $ECHO_C" >&6
19019 else
19020   if test x$gcc_no_link = xyes; then
19021   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19023    { (exit 1); exit 1; }; }
19024 fi
19025 cat >conftest.$ac_ext <<_ACEOF
19026 /* confdefs.h.  */
19027 _ACEOF
19028 cat confdefs.h >>conftest.$ac_ext
19029 cat >>conftest.$ac_ext <<_ACEOF
19030 /* end confdefs.h.  */
19031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19032    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19033 #define $ac_func innocuous_$ac_func
19034
19035 /* System header to define __stub macros and hopefully few prototypes,
19036     which can conflict with char $ac_func (); below.
19037     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19038     <limits.h> exists even on freestanding compilers.  */
19039
19040 #ifdef __STDC__
19041 # include <limits.h>
19042 #else
19043 # include <assert.h>
19044 #endif
19045
19046 #undef $ac_func
19047
19048 /* Override any gcc2 internal prototype to avoid an error.  */
19049 #ifdef __cplusplus
19050 extern "C"
19051 {
19052 #endif
19053 /* We use char because int might match the return type of a gcc2
19054    builtin and then its argument prototype would still apply.  */
19055 char $ac_func ();
19056 /* The GNU C library defines this for functions which it implements
19057     to always fail with ENOSYS.  Some functions are actually named
19058     something starting with __ and the normal name is an alias.  */
19059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19060 choke me
19061 #else
19062 char (*f) () = $ac_func;
19063 #endif
19064 #ifdef __cplusplus
19065 }
19066 #endif
19067
19068 int
19069 main ()
19070 {
19071 return f != $ac_func;
19072   ;
19073   return 0;
19074 }
19075 _ACEOF
19076 rm -f conftest.$ac_objext conftest$ac_exeext
19077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19078   (eval $ac_link) 2>conftest.er1
19079   ac_status=$?
19080   grep -v '^ *+' conftest.er1 >conftest.err
19081   rm -f conftest.er1
19082   cat conftest.err >&5
19083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084   (exit $ac_status); } &&
19085          { ac_try='test -z "$ac_c_werror_flag"
19086                          || test ! -s conftest.err'
19087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19088   (eval $ac_try) 2>&5
19089   ac_status=$?
19090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091   (exit $ac_status); }; } &&
19092          { ac_try='test -s conftest$ac_exeext'
19093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19094   (eval $ac_try) 2>&5
19095   ac_status=$?
19096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097   (exit $ac_status); }; }; then
19098   eval "$as_ac_var=yes"
19099 else
19100   echo "$as_me: failed program was:" >&5
19101 sed 's/^/| /' conftest.$ac_ext >&5
19102
19103 eval "$as_ac_var=no"
19104 fi
19105 rm -f conftest.err conftest.$ac_objext \
19106       conftest$ac_exeext conftest.$ac_ext
19107 fi
19108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19110 if test `eval echo '${'$as_ac_var'}'` = yes; then
19111   cat >>confdefs.h <<_ACEOF
19112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19113 _ACEOF
19114
19115 fi
19116 done
19117
19118     fi
19119   fi
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134     echo "$as_me:$LINENO: checking for long double round functions" >&5
19135 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
19136   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
19137   echo $ECHO_N "(cached) $ECHO_C" >&6
19138 else
19139
19140
19141
19142     ac_ext=cc
19143 ac_cpp='$CXXCPP $CPPFLAGS'
19144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19147
19148     cat >conftest.$ac_ext <<_ACEOF
19149 /* confdefs.h.  */
19150 _ACEOF
19151 cat confdefs.h >>conftest.$ac_ext
19152 cat >>conftest.$ac_ext <<_ACEOF
19153 /* end confdefs.h.  */
19154 #include <math.h>
19155 int
19156 main ()
19157 {
19158 ceill (0); floorl (0);
19159   ;
19160   return 0;
19161 }
19162 _ACEOF
19163 rm -f conftest.$ac_objext
19164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19165   (eval $ac_compile) 2>conftest.er1
19166   ac_status=$?
19167   grep -v '^ *+' conftest.er1 >conftest.err
19168   rm -f conftest.er1
19169   cat conftest.err >&5
19170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171   (exit $ac_status); } &&
19172          { ac_try='test -z "$ac_cxx_werror_flag"
19173                          || test ! -s conftest.err'
19174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19175   (eval $ac_try) 2>&5
19176   ac_status=$?
19177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178   (exit $ac_status); }; } &&
19179          { ac_try='test -s conftest.$ac_objext'
19180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19181   (eval $ac_try) 2>&5
19182   ac_status=$?
19183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184   (exit $ac_status); }; }; then
19185   glibcxx_cv_func_long_double_round_use=yes
19186 else
19187   echo "$as_me: failed program was:" >&5
19188 sed 's/^/| /' conftest.$ac_ext >&5
19189
19190 glibcxx_cv_func_long_double_round_use=no
19191 fi
19192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19193     ac_ext=c
19194 ac_cpp='$CPP $CPPFLAGS'
19195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19198
19199 fi
19200
19201   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
19202 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
19203   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
19204
19205
19206 for ac_func in ceill floorl
19207 do
19208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19209 echo "$as_me:$LINENO: checking for $ac_func" >&5
19210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19211 if eval "test \"\${$as_ac_var+set}\" = set"; then
19212   echo $ECHO_N "(cached) $ECHO_C" >&6
19213 else
19214   if test x$gcc_no_link = xyes; then
19215   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19217    { (exit 1); exit 1; }; }
19218 fi
19219 cat >conftest.$ac_ext <<_ACEOF
19220 /* confdefs.h.  */
19221 _ACEOF
19222 cat confdefs.h >>conftest.$ac_ext
19223 cat >>conftest.$ac_ext <<_ACEOF
19224 /* end confdefs.h.  */
19225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19226    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19227 #define $ac_func innocuous_$ac_func
19228
19229 /* System header to define __stub macros and hopefully few prototypes,
19230     which can conflict with char $ac_func (); below.
19231     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19232     <limits.h> exists even on freestanding compilers.  */
19233
19234 #ifdef __STDC__
19235 # include <limits.h>
19236 #else
19237 # include <assert.h>
19238 #endif
19239
19240 #undef $ac_func
19241
19242 /* Override any gcc2 internal prototype to avoid an error.  */
19243 #ifdef __cplusplus
19244 extern "C"
19245 {
19246 #endif
19247 /* We use char because int might match the return type of a gcc2
19248    builtin and then its argument prototype would still apply.  */
19249 char $ac_func ();
19250 /* The GNU C library defines this for functions which it implements
19251     to always fail with ENOSYS.  Some functions are actually named
19252     something starting with __ and the normal name is an alias.  */
19253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19254 choke me
19255 #else
19256 char (*f) () = $ac_func;
19257 #endif
19258 #ifdef __cplusplus
19259 }
19260 #endif
19261
19262 int
19263 main ()
19264 {
19265 return f != $ac_func;
19266   ;
19267   return 0;
19268 }
19269 _ACEOF
19270 rm -f conftest.$ac_objext conftest$ac_exeext
19271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19272   (eval $ac_link) 2>conftest.er1
19273   ac_status=$?
19274   grep -v '^ *+' conftest.er1 >conftest.err
19275   rm -f conftest.er1
19276   cat conftest.err >&5
19277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278   (exit $ac_status); } &&
19279          { ac_try='test -z "$ac_c_werror_flag"
19280                          || test ! -s conftest.err'
19281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19282   (eval $ac_try) 2>&5
19283   ac_status=$?
19284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285   (exit $ac_status); }; } &&
19286          { ac_try='test -s conftest$ac_exeext'
19287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19288   (eval $ac_try) 2>&5
19289   ac_status=$?
19290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291   (exit $ac_status); }; }; then
19292   eval "$as_ac_var=yes"
19293 else
19294   echo "$as_me: failed program was:" >&5
19295 sed 's/^/| /' conftest.$ac_ext >&5
19296
19297 eval "$as_ac_var=no"
19298 fi
19299 rm -f conftest.err conftest.$ac_objext \
19300       conftest$ac_exeext conftest.$ac_ext
19301 fi
19302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19304 if test `eval echo '${'$as_ac_var'}'` = yes; then
19305   cat >>confdefs.h <<_ACEOF
19306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19307 _ACEOF
19308
19309 fi
19310 done
19311
19312   else
19313     echo "$as_me:$LINENO: checking for _long double round functions" >&5
19314 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19315     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19316   echo $ECHO_N "(cached) $ECHO_C" >&6
19317 else
19318
19319
19320
19321       ac_ext=cc
19322 ac_cpp='$CXXCPP $CPPFLAGS'
19323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19326
19327       cat >conftest.$ac_ext <<_ACEOF
19328 /* confdefs.h.  */
19329 _ACEOF
19330 cat confdefs.h >>conftest.$ac_ext
19331 cat >>conftest.$ac_ext <<_ACEOF
19332 /* end confdefs.h.  */
19333 #include <math.h>
19334 int
19335 main ()
19336 {
19337 _ceill (0); _floorl (0);
19338   ;
19339   return 0;
19340 }
19341 _ACEOF
19342 rm -f conftest.$ac_objext
19343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19344   (eval $ac_compile) 2>conftest.er1
19345   ac_status=$?
19346   grep -v '^ *+' conftest.er1 >conftest.err
19347   rm -f conftest.er1
19348   cat conftest.err >&5
19349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19350   (exit $ac_status); } &&
19351          { ac_try='test -z "$ac_cxx_werror_flag"
19352                          || test ! -s conftest.err'
19353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19354   (eval $ac_try) 2>&5
19355   ac_status=$?
19356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357   (exit $ac_status); }; } &&
19358          { ac_try='test -s conftest.$ac_objext'
19359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19360   (eval $ac_try) 2>&5
19361   ac_status=$?
19362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363   (exit $ac_status); }; }; then
19364   glibcxx_cv_func__long_double_round_use=yes
19365 else
19366   echo "$as_me: failed program was:" >&5
19367 sed 's/^/| /' conftest.$ac_ext >&5
19368
19369 glibcxx_cv_func__long_double_round_use=no
19370 fi
19371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19372       ac_ext=c
19373 ac_cpp='$CPP $CPPFLAGS'
19374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19377
19378 fi
19379
19380     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19381 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19382     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19383
19384
19385 for ac_func in _ceill _floorl
19386 do
19387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19388 echo "$as_me:$LINENO: checking for $ac_func" >&5
19389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19390 if eval "test \"\${$as_ac_var+set}\" = set"; then
19391   echo $ECHO_N "(cached) $ECHO_C" >&6
19392 else
19393   if test x$gcc_no_link = xyes; then
19394   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19396    { (exit 1); exit 1; }; }
19397 fi
19398 cat >conftest.$ac_ext <<_ACEOF
19399 /* confdefs.h.  */
19400 _ACEOF
19401 cat confdefs.h >>conftest.$ac_ext
19402 cat >>conftest.$ac_ext <<_ACEOF
19403 /* end confdefs.h.  */
19404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19405    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19406 #define $ac_func innocuous_$ac_func
19407
19408 /* System header to define __stub macros and hopefully few prototypes,
19409     which can conflict with char $ac_func (); below.
19410     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19411     <limits.h> exists even on freestanding compilers.  */
19412
19413 #ifdef __STDC__
19414 # include <limits.h>
19415 #else
19416 # include <assert.h>
19417 #endif
19418
19419 #undef $ac_func
19420
19421 /* Override any gcc2 internal prototype to avoid an error.  */
19422 #ifdef __cplusplus
19423 extern "C"
19424 {
19425 #endif
19426 /* We use char because int might match the return type of a gcc2
19427    builtin and then its argument prototype would still apply.  */
19428 char $ac_func ();
19429 /* The GNU C library defines this for functions which it implements
19430     to always fail with ENOSYS.  Some functions are actually named
19431     something starting with __ and the normal name is an alias.  */
19432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19433 choke me
19434 #else
19435 char (*f) () = $ac_func;
19436 #endif
19437 #ifdef __cplusplus
19438 }
19439 #endif
19440
19441 int
19442 main ()
19443 {
19444 return f != $ac_func;
19445   ;
19446   return 0;
19447 }
19448 _ACEOF
19449 rm -f conftest.$ac_objext conftest$ac_exeext
19450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19451   (eval $ac_link) 2>conftest.er1
19452   ac_status=$?
19453   grep -v '^ *+' conftest.er1 >conftest.err
19454   rm -f conftest.er1
19455   cat conftest.err >&5
19456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457   (exit $ac_status); } &&
19458          { ac_try='test -z "$ac_c_werror_flag"
19459                          || test ! -s conftest.err'
19460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19461   (eval $ac_try) 2>&5
19462   ac_status=$?
19463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464   (exit $ac_status); }; } &&
19465          { ac_try='test -s conftest$ac_exeext'
19466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19467   (eval $ac_try) 2>&5
19468   ac_status=$?
19469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470   (exit $ac_status); }; }; then
19471   eval "$as_ac_var=yes"
19472 else
19473   echo "$as_me: failed program was:" >&5
19474 sed 's/^/| /' conftest.$ac_ext >&5
19475
19476 eval "$as_ac_var=no"
19477 fi
19478 rm -f conftest.err conftest.$ac_objext \
19479       conftest$ac_exeext conftest.$ac_ext
19480 fi
19481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19483 if test `eval echo '${'$as_ac_var'}'` = yes; then
19484   cat >>confdefs.h <<_ACEOF
19485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19486 _ACEOF
19487
19488 fi
19489 done
19490
19491     fi
19492   fi
19493
19494
19495
19496
19497
19498
19499
19500
19501   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19502 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19503   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19504     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19505   echo $ECHO_N "(cached) $ECHO_C" >&6
19506 else
19507
19508
19509
19510       ac_ext=cc
19511 ac_cpp='$CXXCPP $CPPFLAGS'
19512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19515
19516       cat >conftest.$ac_ext <<_ACEOF
19517 /* confdefs.h.  */
19518 _ACEOF
19519 cat confdefs.h >>conftest.$ac_ext
19520 cat >>conftest.$ac_ext <<_ACEOF
19521 /* end confdefs.h.  */
19522 #include <math.h>
19523                       #ifdef HAVE_IEEEFP_H
19524                       #include <ieeefp.h>
19525                       #endif
19526
19527 int
19528 main ()
19529 {
19530  isnanl(0);
19531   ;
19532   return 0;
19533 }
19534 _ACEOF
19535 rm -f conftest.$ac_objext
19536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19537   (eval $ac_compile) 2>conftest.er1
19538   ac_status=$?
19539   grep -v '^ *+' conftest.er1 >conftest.err
19540   rm -f conftest.er1
19541   cat conftest.err >&5
19542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543   (exit $ac_status); } &&
19544          { ac_try='test -z "$ac_cxx_werror_flag"
19545                          || test ! -s conftest.err'
19546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19547   (eval $ac_try) 2>&5
19548   ac_status=$?
19549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550   (exit $ac_status); }; } &&
19551          { ac_try='test -s conftest.$ac_objext'
19552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19553   (eval $ac_try) 2>&5
19554   ac_status=$?
19555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19556   (exit $ac_status); }; }; then
19557   glibcxx_cv_func_isnanl_use=yes
19558 else
19559   echo "$as_me: failed program was:" >&5
19560 sed 's/^/| /' conftest.$ac_ext >&5
19561
19562 glibcxx_cv_func_isnanl_use=no
19563 fi
19564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19565       ac_ext=c
19566 ac_cpp='$CPP $CPPFLAGS'
19567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19570
19571
19572 fi
19573
19574   fi
19575   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19576 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19577
19578   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19579
19580 for ac_func in isnanl
19581 do
19582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19583 echo "$as_me:$LINENO: checking for $ac_func" >&5
19584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19585 if eval "test \"\${$as_ac_var+set}\" = set"; then
19586   echo $ECHO_N "(cached) $ECHO_C" >&6
19587 else
19588   if test x$gcc_no_link = xyes; then
19589   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19591    { (exit 1); exit 1; }; }
19592 fi
19593 cat >conftest.$ac_ext <<_ACEOF
19594 /* confdefs.h.  */
19595 _ACEOF
19596 cat confdefs.h >>conftest.$ac_ext
19597 cat >>conftest.$ac_ext <<_ACEOF
19598 /* end confdefs.h.  */
19599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19600    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19601 #define $ac_func innocuous_$ac_func
19602
19603 /* System header to define __stub macros and hopefully few prototypes,
19604     which can conflict with char $ac_func (); below.
19605     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19606     <limits.h> exists even on freestanding compilers.  */
19607
19608 #ifdef __STDC__
19609 # include <limits.h>
19610 #else
19611 # include <assert.h>
19612 #endif
19613
19614 #undef $ac_func
19615
19616 /* Override any gcc2 internal prototype to avoid an error.  */
19617 #ifdef __cplusplus
19618 extern "C"
19619 {
19620 #endif
19621 /* We use char because int might match the return type of a gcc2
19622    builtin and then its argument prototype would still apply.  */
19623 char $ac_func ();
19624 /* The GNU C library defines this for functions which it implements
19625     to always fail with ENOSYS.  Some functions are actually named
19626     something starting with __ and the normal name is an alias.  */
19627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19628 choke me
19629 #else
19630 char (*f) () = $ac_func;
19631 #endif
19632 #ifdef __cplusplus
19633 }
19634 #endif
19635
19636 int
19637 main ()
19638 {
19639 return f != $ac_func;
19640   ;
19641   return 0;
19642 }
19643 _ACEOF
19644 rm -f conftest.$ac_objext conftest$ac_exeext
19645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19646   (eval $ac_link) 2>conftest.er1
19647   ac_status=$?
19648   grep -v '^ *+' conftest.er1 >conftest.err
19649   rm -f conftest.er1
19650   cat conftest.err >&5
19651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19652   (exit $ac_status); } &&
19653          { ac_try='test -z "$ac_c_werror_flag"
19654                          || test ! -s conftest.err'
19655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19656   (eval $ac_try) 2>&5
19657   ac_status=$?
19658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659   (exit $ac_status); }; } &&
19660          { ac_try='test -s conftest$ac_exeext'
19661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19662   (eval $ac_try) 2>&5
19663   ac_status=$?
19664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665   (exit $ac_status); }; }; then
19666   eval "$as_ac_var=yes"
19667 else
19668   echo "$as_me: failed program was:" >&5
19669 sed 's/^/| /' conftest.$ac_ext >&5
19670
19671 eval "$as_ac_var=no"
19672 fi
19673 rm -f conftest.err conftest.$ac_objext \
19674       conftest$ac_exeext conftest.$ac_ext
19675 fi
19676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19678 if test `eval echo '${'$as_ac_var'}'` = yes; then
19679   cat >>confdefs.h <<_ACEOF
19680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19681 _ACEOF
19682
19683 fi
19684 done
19685
19686   else
19687
19688   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19689 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19690   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19691     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19692   echo $ECHO_N "(cached) $ECHO_C" >&6
19693 else
19694
19695
19696
19697       ac_ext=cc
19698 ac_cpp='$CXXCPP $CPPFLAGS'
19699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19702
19703       cat >conftest.$ac_ext <<_ACEOF
19704 /* confdefs.h.  */
19705 _ACEOF
19706 cat confdefs.h >>conftest.$ac_ext
19707 cat >>conftest.$ac_ext <<_ACEOF
19708 /* end confdefs.h.  */
19709 #include <math.h>
19710                       #ifdef HAVE_IEEEFP_H
19711                       #include <ieeefp.h>
19712                       #endif
19713
19714 int
19715 main ()
19716 {
19717  _isnanl(0);
19718   ;
19719   return 0;
19720 }
19721 _ACEOF
19722 rm -f conftest.$ac_objext
19723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19724   (eval $ac_compile) 2>conftest.er1
19725   ac_status=$?
19726   grep -v '^ *+' conftest.er1 >conftest.err
19727   rm -f conftest.er1
19728   cat conftest.err >&5
19729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730   (exit $ac_status); } &&
19731          { ac_try='test -z "$ac_cxx_werror_flag"
19732                          || test ! -s conftest.err'
19733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19734   (eval $ac_try) 2>&5
19735   ac_status=$?
19736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737   (exit $ac_status); }; } &&
19738          { ac_try='test -s conftest.$ac_objext'
19739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19740   (eval $ac_try) 2>&5
19741   ac_status=$?
19742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743   (exit $ac_status); }; }; then
19744   glibcxx_cv_func__isnanl_use=yes
19745 else
19746   echo "$as_me: failed program was:" >&5
19747 sed 's/^/| /' conftest.$ac_ext >&5
19748
19749 glibcxx_cv_func__isnanl_use=no
19750 fi
19751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19752       ac_ext=c
19753 ac_cpp='$CPP $CPPFLAGS'
19754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19757
19758
19759 fi
19760
19761   fi
19762   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19763 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19764
19765     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19766
19767 for ac_func in _isnanl
19768 do
19769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19770 echo "$as_me:$LINENO: checking for $ac_func" >&5
19771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19772 if eval "test \"\${$as_ac_var+set}\" = set"; then
19773   echo $ECHO_N "(cached) $ECHO_C" >&6
19774 else
19775   if test x$gcc_no_link = xyes; then
19776   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19778    { (exit 1); exit 1; }; }
19779 fi
19780 cat >conftest.$ac_ext <<_ACEOF
19781 /* confdefs.h.  */
19782 _ACEOF
19783 cat confdefs.h >>conftest.$ac_ext
19784 cat >>conftest.$ac_ext <<_ACEOF
19785 /* end confdefs.h.  */
19786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19787    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19788 #define $ac_func innocuous_$ac_func
19789
19790 /* System header to define __stub macros and hopefully few prototypes,
19791     which can conflict with char $ac_func (); below.
19792     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19793     <limits.h> exists even on freestanding compilers.  */
19794
19795 #ifdef __STDC__
19796 # include <limits.h>
19797 #else
19798 # include <assert.h>
19799 #endif
19800
19801 #undef $ac_func
19802
19803 /* Override any gcc2 internal prototype to avoid an error.  */
19804 #ifdef __cplusplus
19805 extern "C"
19806 {
19807 #endif
19808 /* We use char because int might match the return type of a gcc2
19809    builtin and then its argument prototype would still apply.  */
19810 char $ac_func ();
19811 /* The GNU C library defines this for functions which it implements
19812     to always fail with ENOSYS.  Some functions are actually named
19813     something starting with __ and the normal name is an alias.  */
19814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19815 choke me
19816 #else
19817 char (*f) () = $ac_func;
19818 #endif
19819 #ifdef __cplusplus
19820 }
19821 #endif
19822
19823 int
19824 main ()
19825 {
19826 return f != $ac_func;
19827   ;
19828   return 0;
19829 }
19830 _ACEOF
19831 rm -f conftest.$ac_objext conftest$ac_exeext
19832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19833   (eval $ac_link) 2>conftest.er1
19834   ac_status=$?
19835   grep -v '^ *+' conftest.er1 >conftest.err
19836   rm -f conftest.er1
19837   cat conftest.err >&5
19838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839   (exit $ac_status); } &&
19840          { ac_try='test -z "$ac_c_werror_flag"
19841                          || test ! -s conftest.err'
19842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843   (eval $ac_try) 2>&5
19844   ac_status=$?
19845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846   (exit $ac_status); }; } &&
19847          { ac_try='test -s conftest$ac_exeext'
19848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19849   (eval $ac_try) 2>&5
19850   ac_status=$?
19851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852   (exit $ac_status); }; }; then
19853   eval "$as_ac_var=yes"
19854 else
19855   echo "$as_me: failed program was:" >&5
19856 sed 's/^/| /' conftest.$ac_ext >&5
19857
19858 eval "$as_ac_var=no"
19859 fi
19860 rm -f conftest.err conftest.$ac_objext \
19861       conftest$ac_exeext conftest.$ac_ext
19862 fi
19863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19865 if test `eval echo '${'$as_ac_var'}'` = yes; then
19866   cat >>confdefs.h <<_ACEOF
19867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19868 _ACEOF
19869
19870 fi
19871 done
19872
19873     fi
19874   fi
19875
19876
19877
19878
19879
19880
19881   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19882 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19883   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19884     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19885   echo $ECHO_N "(cached) $ECHO_C" >&6
19886 else
19887
19888
19889
19890       ac_ext=cc
19891 ac_cpp='$CXXCPP $CPPFLAGS'
19892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19895
19896       cat >conftest.$ac_ext <<_ACEOF
19897 /* confdefs.h.  */
19898 _ACEOF
19899 cat confdefs.h >>conftest.$ac_ext
19900 cat >>conftest.$ac_ext <<_ACEOF
19901 /* end confdefs.h.  */
19902 #include <math.h>
19903                       #ifdef HAVE_IEEEFP_H
19904                       #include <ieeefp.h>
19905                       #endif
19906
19907 int
19908 main ()
19909 {
19910  isinfl(0);
19911   ;
19912   return 0;
19913 }
19914 _ACEOF
19915 rm -f conftest.$ac_objext
19916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19917   (eval $ac_compile) 2>conftest.er1
19918   ac_status=$?
19919   grep -v '^ *+' conftest.er1 >conftest.err
19920   rm -f conftest.er1
19921   cat conftest.err >&5
19922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923   (exit $ac_status); } &&
19924          { ac_try='test -z "$ac_cxx_werror_flag"
19925                          || test ! -s conftest.err'
19926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19927   (eval $ac_try) 2>&5
19928   ac_status=$?
19929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930   (exit $ac_status); }; } &&
19931          { ac_try='test -s conftest.$ac_objext'
19932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19933   (eval $ac_try) 2>&5
19934   ac_status=$?
19935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936   (exit $ac_status); }; }; then
19937   glibcxx_cv_func_isinfl_use=yes
19938 else
19939   echo "$as_me: failed program was:" >&5
19940 sed 's/^/| /' conftest.$ac_ext >&5
19941
19942 glibcxx_cv_func_isinfl_use=no
19943 fi
19944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19945       ac_ext=c
19946 ac_cpp='$CPP $CPPFLAGS'
19947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19950
19951
19952 fi
19953
19954   fi
19955   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19956 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19957
19958   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19959
19960 for ac_func in isinfl
19961 do
19962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19963 echo "$as_me:$LINENO: checking for $ac_func" >&5
19964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19965 if eval "test \"\${$as_ac_var+set}\" = set"; then
19966   echo $ECHO_N "(cached) $ECHO_C" >&6
19967 else
19968   if test x$gcc_no_link = xyes; then
19969   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19971    { (exit 1); exit 1; }; }
19972 fi
19973 cat >conftest.$ac_ext <<_ACEOF
19974 /* confdefs.h.  */
19975 _ACEOF
19976 cat confdefs.h >>conftest.$ac_ext
19977 cat >>conftest.$ac_ext <<_ACEOF
19978 /* end confdefs.h.  */
19979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19980    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19981 #define $ac_func innocuous_$ac_func
19982
19983 /* System header to define __stub macros and hopefully few prototypes,
19984     which can conflict with char $ac_func (); below.
19985     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19986     <limits.h> exists even on freestanding compilers.  */
19987
19988 #ifdef __STDC__
19989 # include <limits.h>
19990 #else
19991 # include <assert.h>
19992 #endif
19993
19994 #undef $ac_func
19995
19996 /* Override any gcc2 internal prototype to avoid an error.  */
19997 #ifdef __cplusplus
19998 extern "C"
19999 {
20000 #endif
20001 /* We use char because int might match the return type of a gcc2
20002    builtin and then its argument prototype would still apply.  */
20003 char $ac_func ();
20004 /* The GNU C library defines this for functions which it implements
20005     to always fail with ENOSYS.  Some functions are actually named
20006     something starting with __ and the normal name is an alias.  */
20007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20008 choke me
20009 #else
20010 char (*f) () = $ac_func;
20011 #endif
20012 #ifdef __cplusplus
20013 }
20014 #endif
20015
20016 int
20017 main ()
20018 {
20019 return f != $ac_func;
20020   ;
20021   return 0;
20022 }
20023 _ACEOF
20024 rm -f conftest.$ac_objext conftest$ac_exeext
20025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20026   (eval $ac_link) 2>conftest.er1
20027   ac_status=$?
20028   grep -v '^ *+' conftest.er1 >conftest.err
20029   rm -f conftest.er1
20030   cat conftest.err >&5
20031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032   (exit $ac_status); } &&
20033          { ac_try='test -z "$ac_c_werror_flag"
20034                          || test ! -s conftest.err'
20035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20036   (eval $ac_try) 2>&5
20037   ac_status=$?
20038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039   (exit $ac_status); }; } &&
20040          { ac_try='test -s conftest$ac_exeext'
20041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20042   (eval $ac_try) 2>&5
20043   ac_status=$?
20044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045   (exit $ac_status); }; }; then
20046   eval "$as_ac_var=yes"
20047 else
20048   echo "$as_me: failed program was:" >&5
20049 sed 's/^/| /' conftest.$ac_ext >&5
20050
20051 eval "$as_ac_var=no"
20052 fi
20053 rm -f conftest.err conftest.$ac_objext \
20054       conftest$ac_exeext conftest.$ac_ext
20055 fi
20056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20058 if test `eval echo '${'$as_ac_var'}'` = yes; then
20059   cat >>confdefs.h <<_ACEOF
20060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20061 _ACEOF
20062
20063 fi
20064 done
20065
20066   else
20067
20068   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
20069 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
20070   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
20071     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
20072   echo $ECHO_N "(cached) $ECHO_C" >&6
20073 else
20074
20075
20076
20077       ac_ext=cc
20078 ac_cpp='$CXXCPP $CPPFLAGS'
20079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20082
20083       cat >conftest.$ac_ext <<_ACEOF
20084 /* confdefs.h.  */
20085 _ACEOF
20086 cat confdefs.h >>conftest.$ac_ext
20087 cat >>conftest.$ac_ext <<_ACEOF
20088 /* end confdefs.h.  */
20089 #include <math.h>
20090                       #ifdef HAVE_IEEEFP_H
20091                       #include <ieeefp.h>
20092                       #endif
20093
20094 int
20095 main ()
20096 {
20097  _isinfl(0);
20098   ;
20099   return 0;
20100 }
20101 _ACEOF
20102 rm -f conftest.$ac_objext
20103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20104   (eval $ac_compile) 2>conftest.er1
20105   ac_status=$?
20106   grep -v '^ *+' conftest.er1 >conftest.err
20107   rm -f conftest.er1
20108   cat conftest.err >&5
20109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110   (exit $ac_status); } &&
20111          { ac_try='test -z "$ac_cxx_werror_flag"
20112                          || test ! -s conftest.err'
20113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20114   (eval $ac_try) 2>&5
20115   ac_status=$?
20116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117   (exit $ac_status); }; } &&
20118          { ac_try='test -s conftest.$ac_objext'
20119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20120   (eval $ac_try) 2>&5
20121   ac_status=$?
20122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123   (exit $ac_status); }; }; then
20124   glibcxx_cv_func__isinfl_use=yes
20125 else
20126   echo "$as_me: failed program was:" >&5
20127 sed 's/^/| /' conftest.$ac_ext >&5
20128
20129 glibcxx_cv_func__isinfl_use=no
20130 fi
20131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20132       ac_ext=c
20133 ac_cpp='$CPP $CPPFLAGS'
20134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20137
20138
20139 fi
20140
20141   fi
20142   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
20143 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
20144
20145     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
20146
20147 for ac_func in _isinfl
20148 do
20149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20150 echo "$as_me:$LINENO: checking for $ac_func" >&5
20151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20152 if eval "test \"\${$as_ac_var+set}\" = set"; then
20153   echo $ECHO_N "(cached) $ECHO_C" >&6
20154 else
20155   if test x$gcc_no_link = xyes; then
20156   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20158    { (exit 1); exit 1; }; }
20159 fi
20160 cat >conftest.$ac_ext <<_ACEOF
20161 /* confdefs.h.  */
20162 _ACEOF
20163 cat confdefs.h >>conftest.$ac_ext
20164 cat >>conftest.$ac_ext <<_ACEOF
20165 /* end confdefs.h.  */
20166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20167    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20168 #define $ac_func innocuous_$ac_func
20169
20170 /* System header to define __stub macros and hopefully few prototypes,
20171     which can conflict with char $ac_func (); below.
20172     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20173     <limits.h> exists even on freestanding compilers.  */
20174
20175 #ifdef __STDC__
20176 # include <limits.h>
20177 #else
20178 # include <assert.h>
20179 #endif
20180
20181 #undef $ac_func
20182
20183 /* Override any gcc2 internal prototype to avoid an error.  */
20184 #ifdef __cplusplus
20185 extern "C"
20186 {
20187 #endif
20188 /* We use char because int might match the return type of a gcc2
20189    builtin and then its argument prototype would still apply.  */
20190 char $ac_func ();
20191 /* The GNU C library defines this for functions which it implements
20192     to always fail with ENOSYS.  Some functions are actually named
20193     something starting with __ and the normal name is an alias.  */
20194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20195 choke me
20196 #else
20197 char (*f) () = $ac_func;
20198 #endif
20199 #ifdef __cplusplus
20200 }
20201 #endif
20202
20203 int
20204 main ()
20205 {
20206 return f != $ac_func;
20207   ;
20208   return 0;
20209 }
20210 _ACEOF
20211 rm -f conftest.$ac_objext conftest$ac_exeext
20212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20213   (eval $ac_link) 2>conftest.er1
20214   ac_status=$?
20215   grep -v '^ *+' conftest.er1 >conftest.err
20216   rm -f conftest.er1
20217   cat conftest.err >&5
20218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20219   (exit $ac_status); } &&
20220          { ac_try='test -z "$ac_c_werror_flag"
20221                          || test ! -s conftest.err'
20222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20223   (eval $ac_try) 2>&5
20224   ac_status=$?
20225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226   (exit $ac_status); }; } &&
20227          { ac_try='test -s conftest$ac_exeext'
20228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20229   (eval $ac_try) 2>&5
20230   ac_status=$?
20231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20232   (exit $ac_status); }; }; then
20233   eval "$as_ac_var=yes"
20234 else
20235   echo "$as_me: failed program was:" >&5
20236 sed 's/^/| /' conftest.$ac_ext >&5
20237
20238 eval "$as_ac_var=no"
20239 fi
20240 rm -f conftest.err conftest.$ac_objext \
20241       conftest$ac_exeext conftest.$ac_ext
20242 fi
20243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20245 if test `eval echo '${'$as_ac_var'}'` = yes; then
20246   cat >>confdefs.h <<_ACEOF
20247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20248 _ACEOF
20249
20250 fi
20251 done
20252
20253     fi
20254   fi
20255
20256
20257
20258
20259
20260
20261   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20262 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20263   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20264     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20265   echo $ECHO_N "(cached) $ECHO_C" >&6
20266 else
20267
20268
20269
20270       ac_ext=cc
20271 ac_cpp='$CXXCPP $CPPFLAGS'
20272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20275
20276       cat >conftest.$ac_ext <<_ACEOF
20277 /* confdefs.h.  */
20278 _ACEOF
20279 cat confdefs.h >>conftest.$ac_ext
20280 cat >>conftest.$ac_ext <<_ACEOF
20281 /* end confdefs.h.  */
20282 #include <math.h>
20283 int
20284 main ()
20285 {
20286  copysignl(0, 0);
20287   ;
20288   return 0;
20289 }
20290 _ACEOF
20291 rm -f conftest.$ac_objext
20292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20293   (eval $ac_compile) 2>conftest.er1
20294   ac_status=$?
20295   grep -v '^ *+' conftest.er1 >conftest.err
20296   rm -f conftest.er1
20297   cat conftest.err >&5
20298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299   (exit $ac_status); } &&
20300          { ac_try='test -z "$ac_cxx_werror_flag"
20301                          || test ! -s conftest.err'
20302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20303   (eval $ac_try) 2>&5
20304   ac_status=$?
20305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20306   (exit $ac_status); }; } &&
20307          { ac_try='test -s conftest.$ac_objext'
20308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20309   (eval $ac_try) 2>&5
20310   ac_status=$?
20311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312   (exit $ac_status); }; }; then
20313   glibcxx_cv_func_copysignl_use=yes
20314 else
20315   echo "$as_me: failed program was:" >&5
20316 sed 's/^/| /' conftest.$ac_ext >&5
20317
20318 glibcxx_cv_func_copysignl_use=no
20319 fi
20320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20321       ac_ext=c
20322 ac_cpp='$CPP $CPPFLAGS'
20323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20326
20327
20328 fi
20329
20330   fi
20331   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20332 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20333
20334   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20335
20336 for ac_func in copysignl
20337 do
20338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20339 echo "$as_me:$LINENO: checking for $ac_func" >&5
20340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20341 if eval "test \"\${$as_ac_var+set}\" = set"; then
20342   echo $ECHO_N "(cached) $ECHO_C" >&6
20343 else
20344   if test x$gcc_no_link = xyes; then
20345   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20347    { (exit 1); exit 1; }; }
20348 fi
20349 cat >conftest.$ac_ext <<_ACEOF
20350 /* confdefs.h.  */
20351 _ACEOF
20352 cat confdefs.h >>conftest.$ac_ext
20353 cat >>conftest.$ac_ext <<_ACEOF
20354 /* end confdefs.h.  */
20355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20356    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20357 #define $ac_func innocuous_$ac_func
20358
20359 /* System header to define __stub macros and hopefully few prototypes,
20360     which can conflict with char $ac_func (); below.
20361     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20362     <limits.h> exists even on freestanding compilers.  */
20363
20364 #ifdef __STDC__
20365 # include <limits.h>
20366 #else
20367 # include <assert.h>
20368 #endif
20369
20370 #undef $ac_func
20371
20372 /* Override any gcc2 internal prototype to avoid an error.  */
20373 #ifdef __cplusplus
20374 extern "C"
20375 {
20376 #endif
20377 /* We use char because int might match the return type of a gcc2
20378    builtin and then its argument prototype would still apply.  */
20379 char $ac_func ();
20380 /* The GNU C library defines this for functions which it implements
20381     to always fail with ENOSYS.  Some functions are actually named
20382     something starting with __ and the normal name is an alias.  */
20383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20384 choke me
20385 #else
20386 char (*f) () = $ac_func;
20387 #endif
20388 #ifdef __cplusplus
20389 }
20390 #endif
20391
20392 int
20393 main ()
20394 {
20395 return f != $ac_func;
20396   ;
20397   return 0;
20398 }
20399 _ACEOF
20400 rm -f conftest.$ac_objext conftest$ac_exeext
20401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20402   (eval $ac_link) 2>conftest.er1
20403   ac_status=$?
20404   grep -v '^ *+' conftest.er1 >conftest.err
20405   rm -f conftest.er1
20406   cat conftest.err >&5
20407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408   (exit $ac_status); } &&
20409          { ac_try='test -z "$ac_c_werror_flag"
20410                          || test ! -s conftest.err'
20411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20412   (eval $ac_try) 2>&5
20413   ac_status=$?
20414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415   (exit $ac_status); }; } &&
20416          { ac_try='test -s conftest$ac_exeext'
20417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20418   (eval $ac_try) 2>&5
20419   ac_status=$?
20420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20421   (exit $ac_status); }; }; then
20422   eval "$as_ac_var=yes"
20423 else
20424   echo "$as_me: failed program was:" >&5
20425 sed 's/^/| /' conftest.$ac_ext >&5
20426
20427 eval "$as_ac_var=no"
20428 fi
20429 rm -f conftest.err conftest.$ac_objext \
20430       conftest$ac_exeext conftest.$ac_ext
20431 fi
20432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20434 if test `eval echo '${'$as_ac_var'}'` = yes; then
20435   cat >>confdefs.h <<_ACEOF
20436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20437 _ACEOF
20438
20439 fi
20440 done
20441
20442   else
20443
20444   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20445 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20446   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20447     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20448   echo $ECHO_N "(cached) $ECHO_C" >&6
20449 else
20450
20451
20452
20453       ac_ext=cc
20454 ac_cpp='$CXXCPP $CPPFLAGS'
20455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20458
20459       cat >conftest.$ac_ext <<_ACEOF
20460 /* confdefs.h.  */
20461 _ACEOF
20462 cat confdefs.h >>conftest.$ac_ext
20463 cat >>conftest.$ac_ext <<_ACEOF
20464 /* end confdefs.h.  */
20465 #include <math.h>
20466 int
20467 main ()
20468 {
20469  _copysignl(0, 0);
20470   ;
20471   return 0;
20472 }
20473 _ACEOF
20474 rm -f conftest.$ac_objext
20475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20476   (eval $ac_compile) 2>conftest.er1
20477   ac_status=$?
20478   grep -v '^ *+' conftest.er1 >conftest.err
20479   rm -f conftest.er1
20480   cat conftest.err >&5
20481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482   (exit $ac_status); } &&
20483          { ac_try='test -z "$ac_cxx_werror_flag"
20484                          || test ! -s conftest.err'
20485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20486   (eval $ac_try) 2>&5
20487   ac_status=$?
20488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489   (exit $ac_status); }; } &&
20490          { ac_try='test -s conftest.$ac_objext'
20491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20492   (eval $ac_try) 2>&5
20493   ac_status=$?
20494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495   (exit $ac_status); }; }; then
20496   glibcxx_cv_func__copysignl_use=yes
20497 else
20498   echo "$as_me: failed program was:" >&5
20499 sed 's/^/| /' conftest.$ac_ext >&5
20500
20501 glibcxx_cv_func__copysignl_use=no
20502 fi
20503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20504       ac_ext=c
20505 ac_cpp='$CPP $CPPFLAGS'
20506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20509
20510
20511 fi
20512
20513   fi
20514   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20515 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20516
20517     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20518
20519 for ac_func in _copysignl
20520 do
20521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20522 echo "$as_me:$LINENO: checking for $ac_func" >&5
20523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20524 if eval "test \"\${$as_ac_var+set}\" = set"; then
20525   echo $ECHO_N "(cached) $ECHO_C" >&6
20526 else
20527   if test x$gcc_no_link = xyes; then
20528   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20530    { (exit 1); exit 1; }; }
20531 fi
20532 cat >conftest.$ac_ext <<_ACEOF
20533 /* confdefs.h.  */
20534 _ACEOF
20535 cat confdefs.h >>conftest.$ac_ext
20536 cat >>conftest.$ac_ext <<_ACEOF
20537 /* end confdefs.h.  */
20538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20539    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20540 #define $ac_func innocuous_$ac_func
20541
20542 /* System header to define __stub macros and hopefully few prototypes,
20543     which can conflict with char $ac_func (); below.
20544     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20545     <limits.h> exists even on freestanding compilers.  */
20546
20547 #ifdef __STDC__
20548 # include <limits.h>
20549 #else
20550 # include <assert.h>
20551 #endif
20552
20553 #undef $ac_func
20554
20555 /* Override any gcc2 internal prototype to avoid an error.  */
20556 #ifdef __cplusplus
20557 extern "C"
20558 {
20559 #endif
20560 /* We use char because int might match the return type of a gcc2
20561    builtin and then its argument prototype would still apply.  */
20562 char $ac_func ();
20563 /* The GNU C library defines this for functions which it implements
20564     to always fail with ENOSYS.  Some functions are actually named
20565     something starting with __ and the normal name is an alias.  */
20566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20567 choke me
20568 #else
20569 char (*f) () = $ac_func;
20570 #endif
20571 #ifdef __cplusplus
20572 }
20573 #endif
20574
20575 int
20576 main ()
20577 {
20578 return f != $ac_func;
20579   ;
20580   return 0;
20581 }
20582 _ACEOF
20583 rm -f conftest.$ac_objext conftest$ac_exeext
20584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20585   (eval $ac_link) 2>conftest.er1
20586   ac_status=$?
20587   grep -v '^ *+' conftest.er1 >conftest.err
20588   rm -f conftest.er1
20589   cat conftest.err >&5
20590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591   (exit $ac_status); } &&
20592          { ac_try='test -z "$ac_c_werror_flag"
20593                          || test ! -s conftest.err'
20594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20595   (eval $ac_try) 2>&5
20596   ac_status=$?
20597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20598   (exit $ac_status); }; } &&
20599          { ac_try='test -s conftest$ac_exeext'
20600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20601   (eval $ac_try) 2>&5
20602   ac_status=$?
20603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20604   (exit $ac_status); }; }; then
20605   eval "$as_ac_var=yes"
20606 else
20607   echo "$as_me: failed program was:" >&5
20608 sed 's/^/| /' conftest.$ac_ext >&5
20609
20610 eval "$as_ac_var=no"
20611 fi
20612 rm -f conftest.err conftest.$ac_objext \
20613       conftest$ac_exeext conftest.$ac_ext
20614 fi
20615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20617 if test `eval echo '${'$as_ac_var'}'` = yes; then
20618   cat >>confdefs.h <<_ACEOF
20619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20620 _ACEOF
20621
20622 fi
20623 done
20624
20625     fi
20626   fi
20627
20628
20629
20630
20631
20632
20633   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20634 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20635   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20636     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20637   echo $ECHO_N "(cached) $ECHO_C" >&6
20638 else
20639
20640
20641
20642       ac_ext=cc
20643 ac_cpp='$CXXCPP $CPPFLAGS'
20644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20647
20648       cat >conftest.$ac_ext <<_ACEOF
20649 /* confdefs.h.  */
20650 _ACEOF
20651 cat confdefs.h >>conftest.$ac_ext
20652 cat >>conftest.$ac_ext <<_ACEOF
20653 /* end confdefs.h.  */
20654 #include <math.h>
20655 int
20656 main ()
20657 {
20658  atan2l(0, 0);
20659   ;
20660   return 0;
20661 }
20662 _ACEOF
20663 rm -f conftest.$ac_objext
20664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20665   (eval $ac_compile) 2>conftest.er1
20666   ac_status=$?
20667   grep -v '^ *+' conftest.er1 >conftest.err
20668   rm -f conftest.er1
20669   cat conftest.err >&5
20670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671   (exit $ac_status); } &&
20672          { ac_try='test -z "$ac_cxx_werror_flag"
20673                          || test ! -s conftest.err'
20674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20675   (eval $ac_try) 2>&5
20676   ac_status=$?
20677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20678   (exit $ac_status); }; } &&
20679          { ac_try='test -s conftest.$ac_objext'
20680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20681   (eval $ac_try) 2>&5
20682   ac_status=$?
20683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684   (exit $ac_status); }; }; then
20685   glibcxx_cv_func_atan2l_use=yes
20686 else
20687   echo "$as_me: failed program was:" >&5
20688 sed 's/^/| /' conftest.$ac_ext >&5
20689
20690 glibcxx_cv_func_atan2l_use=no
20691 fi
20692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20693       ac_ext=c
20694 ac_cpp='$CPP $CPPFLAGS'
20695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20698
20699
20700 fi
20701
20702   fi
20703   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20704 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20705
20706   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20707
20708 for ac_func in atan2l
20709 do
20710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20711 echo "$as_me:$LINENO: checking for $ac_func" >&5
20712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20713 if eval "test \"\${$as_ac_var+set}\" = set"; then
20714   echo $ECHO_N "(cached) $ECHO_C" >&6
20715 else
20716   if test x$gcc_no_link = xyes; then
20717   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20719    { (exit 1); exit 1; }; }
20720 fi
20721 cat >conftest.$ac_ext <<_ACEOF
20722 /* confdefs.h.  */
20723 _ACEOF
20724 cat confdefs.h >>conftest.$ac_ext
20725 cat >>conftest.$ac_ext <<_ACEOF
20726 /* end confdefs.h.  */
20727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20728    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20729 #define $ac_func innocuous_$ac_func
20730
20731 /* System header to define __stub macros and hopefully few prototypes,
20732     which can conflict with char $ac_func (); below.
20733     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20734     <limits.h> exists even on freestanding compilers.  */
20735
20736 #ifdef __STDC__
20737 # include <limits.h>
20738 #else
20739 # include <assert.h>
20740 #endif
20741
20742 #undef $ac_func
20743
20744 /* Override any gcc2 internal prototype to avoid an error.  */
20745 #ifdef __cplusplus
20746 extern "C"
20747 {
20748 #endif
20749 /* We use char because int might match the return type of a gcc2
20750    builtin and then its argument prototype would still apply.  */
20751 char $ac_func ();
20752 /* The GNU C library defines this for functions which it implements
20753     to always fail with ENOSYS.  Some functions are actually named
20754     something starting with __ and the normal name is an alias.  */
20755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20756 choke me
20757 #else
20758 char (*f) () = $ac_func;
20759 #endif
20760 #ifdef __cplusplus
20761 }
20762 #endif
20763
20764 int
20765 main ()
20766 {
20767 return f != $ac_func;
20768   ;
20769   return 0;
20770 }
20771 _ACEOF
20772 rm -f conftest.$ac_objext conftest$ac_exeext
20773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20774   (eval $ac_link) 2>conftest.er1
20775   ac_status=$?
20776   grep -v '^ *+' conftest.er1 >conftest.err
20777   rm -f conftest.er1
20778   cat conftest.err >&5
20779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20780   (exit $ac_status); } &&
20781          { ac_try='test -z "$ac_c_werror_flag"
20782                          || test ! -s conftest.err'
20783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20784   (eval $ac_try) 2>&5
20785   ac_status=$?
20786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787   (exit $ac_status); }; } &&
20788          { ac_try='test -s conftest$ac_exeext'
20789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20790   (eval $ac_try) 2>&5
20791   ac_status=$?
20792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20793   (exit $ac_status); }; }; then
20794   eval "$as_ac_var=yes"
20795 else
20796   echo "$as_me: failed program was:" >&5
20797 sed 's/^/| /' conftest.$ac_ext >&5
20798
20799 eval "$as_ac_var=no"
20800 fi
20801 rm -f conftest.err conftest.$ac_objext \
20802       conftest$ac_exeext conftest.$ac_ext
20803 fi
20804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20806 if test `eval echo '${'$as_ac_var'}'` = yes; then
20807   cat >>confdefs.h <<_ACEOF
20808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20809 _ACEOF
20810
20811 fi
20812 done
20813
20814   else
20815
20816   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20817 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20818   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20819     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20820   echo $ECHO_N "(cached) $ECHO_C" >&6
20821 else
20822
20823
20824
20825       ac_ext=cc
20826 ac_cpp='$CXXCPP $CPPFLAGS'
20827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20830
20831       cat >conftest.$ac_ext <<_ACEOF
20832 /* confdefs.h.  */
20833 _ACEOF
20834 cat confdefs.h >>conftest.$ac_ext
20835 cat >>conftest.$ac_ext <<_ACEOF
20836 /* end confdefs.h.  */
20837 #include <math.h>
20838 int
20839 main ()
20840 {
20841  _atan2l(0, 0);
20842   ;
20843   return 0;
20844 }
20845 _ACEOF
20846 rm -f conftest.$ac_objext
20847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20848   (eval $ac_compile) 2>conftest.er1
20849   ac_status=$?
20850   grep -v '^ *+' conftest.er1 >conftest.err
20851   rm -f conftest.er1
20852   cat conftest.err >&5
20853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854   (exit $ac_status); } &&
20855          { ac_try='test -z "$ac_cxx_werror_flag"
20856                          || test ! -s conftest.err'
20857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20858   (eval $ac_try) 2>&5
20859   ac_status=$?
20860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20861   (exit $ac_status); }; } &&
20862          { ac_try='test -s conftest.$ac_objext'
20863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20864   (eval $ac_try) 2>&5
20865   ac_status=$?
20866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867   (exit $ac_status); }; }; then
20868   glibcxx_cv_func__atan2l_use=yes
20869 else
20870   echo "$as_me: failed program was:" >&5
20871 sed 's/^/| /' conftest.$ac_ext >&5
20872
20873 glibcxx_cv_func__atan2l_use=no
20874 fi
20875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20876       ac_ext=c
20877 ac_cpp='$CPP $CPPFLAGS'
20878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20881
20882
20883 fi
20884
20885   fi
20886   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20887 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20888
20889     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20890
20891 for ac_func in _atan2l
20892 do
20893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20894 echo "$as_me:$LINENO: checking for $ac_func" >&5
20895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20896 if eval "test \"\${$as_ac_var+set}\" = set"; then
20897   echo $ECHO_N "(cached) $ECHO_C" >&6
20898 else
20899   if test x$gcc_no_link = xyes; then
20900   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20902    { (exit 1); exit 1; }; }
20903 fi
20904 cat >conftest.$ac_ext <<_ACEOF
20905 /* confdefs.h.  */
20906 _ACEOF
20907 cat confdefs.h >>conftest.$ac_ext
20908 cat >>conftest.$ac_ext <<_ACEOF
20909 /* end confdefs.h.  */
20910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20911    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20912 #define $ac_func innocuous_$ac_func
20913
20914 /* System header to define __stub macros and hopefully few prototypes,
20915     which can conflict with char $ac_func (); below.
20916     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20917     <limits.h> exists even on freestanding compilers.  */
20918
20919 #ifdef __STDC__
20920 # include <limits.h>
20921 #else
20922 # include <assert.h>
20923 #endif
20924
20925 #undef $ac_func
20926
20927 /* Override any gcc2 internal prototype to avoid an error.  */
20928 #ifdef __cplusplus
20929 extern "C"
20930 {
20931 #endif
20932 /* We use char because int might match the return type of a gcc2
20933    builtin and then its argument prototype would still apply.  */
20934 char $ac_func ();
20935 /* The GNU C library defines this for functions which it implements
20936     to always fail with ENOSYS.  Some functions are actually named
20937     something starting with __ and the normal name is an alias.  */
20938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20939 choke me
20940 #else
20941 char (*f) () = $ac_func;
20942 #endif
20943 #ifdef __cplusplus
20944 }
20945 #endif
20946
20947 int
20948 main ()
20949 {
20950 return f != $ac_func;
20951   ;
20952   return 0;
20953 }
20954 _ACEOF
20955 rm -f conftest.$ac_objext conftest$ac_exeext
20956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20957   (eval $ac_link) 2>conftest.er1
20958   ac_status=$?
20959   grep -v '^ *+' conftest.er1 >conftest.err
20960   rm -f conftest.er1
20961   cat conftest.err >&5
20962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963   (exit $ac_status); } &&
20964          { ac_try='test -z "$ac_c_werror_flag"
20965                          || test ! -s conftest.err'
20966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20967   (eval $ac_try) 2>&5
20968   ac_status=$?
20969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970   (exit $ac_status); }; } &&
20971          { ac_try='test -s conftest$ac_exeext'
20972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20973   (eval $ac_try) 2>&5
20974   ac_status=$?
20975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20976   (exit $ac_status); }; }; then
20977   eval "$as_ac_var=yes"
20978 else
20979   echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.$ac_ext >&5
20981
20982 eval "$as_ac_var=no"
20983 fi
20984 rm -f conftest.err conftest.$ac_objext \
20985       conftest$ac_exeext conftest.$ac_ext
20986 fi
20987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20989 if test `eval echo '${'$as_ac_var'}'` = yes; then
20990   cat >>confdefs.h <<_ACEOF
20991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20992 _ACEOF
20993
20994 fi
20995 done
20996
20997     fi
20998   fi
20999
21000
21001
21002
21003
21004
21005   echo "$as_me:$LINENO: checking for expl declaration" >&5
21006 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
21007   if test x${glibcxx_cv_func_expl_use+set} != xset; then
21008     if test "${glibcxx_cv_func_expl_use+set}" = set; then
21009   echo $ECHO_N "(cached) $ECHO_C" >&6
21010 else
21011
21012
21013
21014       ac_ext=cc
21015 ac_cpp='$CXXCPP $CPPFLAGS'
21016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21019
21020       cat >conftest.$ac_ext <<_ACEOF
21021 /* confdefs.h.  */
21022 _ACEOF
21023 cat confdefs.h >>conftest.$ac_ext
21024 cat >>conftest.$ac_ext <<_ACEOF
21025 /* end confdefs.h.  */
21026 #include <math.h>
21027                       #ifdef HAVE_IEEEFP_H
21028                       #include <ieeefp.h>
21029                       #endif
21030
21031 int
21032 main ()
21033 {
21034  expl(0);
21035   ;
21036   return 0;
21037 }
21038 _ACEOF
21039 rm -f conftest.$ac_objext
21040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21041   (eval $ac_compile) 2>conftest.er1
21042   ac_status=$?
21043   grep -v '^ *+' conftest.er1 >conftest.err
21044   rm -f conftest.er1
21045   cat conftest.err >&5
21046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21047   (exit $ac_status); } &&
21048          { ac_try='test -z "$ac_cxx_werror_flag"
21049                          || test ! -s conftest.err'
21050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21051   (eval $ac_try) 2>&5
21052   ac_status=$?
21053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21054   (exit $ac_status); }; } &&
21055          { ac_try='test -s conftest.$ac_objext'
21056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21057   (eval $ac_try) 2>&5
21058   ac_status=$?
21059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21060   (exit $ac_status); }; }; then
21061   glibcxx_cv_func_expl_use=yes
21062 else
21063   echo "$as_me: failed program was:" >&5
21064 sed 's/^/| /' conftest.$ac_ext >&5
21065
21066 glibcxx_cv_func_expl_use=no
21067 fi
21068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21069       ac_ext=c
21070 ac_cpp='$CPP $CPPFLAGS'
21071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21074
21075
21076 fi
21077
21078   fi
21079   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
21080 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
21081
21082   if test x$glibcxx_cv_func_expl_use = x"yes"; then
21083
21084 for ac_func in expl
21085 do
21086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21087 echo "$as_me:$LINENO: checking for $ac_func" >&5
21088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21089 if eval "test \"\${$as_ac_var+set}\" = set"; then
21090   echo $ECHO_N "(cached) $ECHO_C" >&6
21091 else
21092   if test x$gcc_no_link = xyes; then
21093   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21095    { (exit 1); exit 1; }; }
21096 fi
21097 cat >conftest.$ac_ext <<_ACEOF
21098 /* confdefs.h.  */
21099 _ACEOF
21100 cat confdefs.h >>conftest.$ac_ext
21101 cat >>conftest.$ac_ext <<_ACEOF
21102 /* end confdefs.h.  */
21103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21104    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21105 #define $ac_func innocuous_$ac_func
21106
21107 /* System header to define __stub macros and hopefully few prototypes,
21108     which can conflict with char $ac_func (); below.
21109     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21110     <limits.h> exists even on freestanding compilers.  */
21111
21112 #ifdef __STDC__
21113 # include <limits.h>
21114 #else
21115 # include <assert.h>
21116 #endif
21117
21118 #undef $ac_func
21119
21120 /* Override any gcc2 internal prototype to avoid an error.  */
21121 #ifdef __cplusplus
21122 extern "C"
21123 {
21124 #endif
21125 /* We use char because int might match the return type of a gcc2
21126    builtin and then its argument prototype would still apply.  */
21127 char $ac_func ();
21128 /* The GNU C library defines this for functions which it implements
21129     to always fail with ENOSYS.  Some functions are actually named
21130     something starting with __ and the normal name is an alias.  */
21131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21132 choke me
21133 #else
21134 char (*f) () = $ac_func;
21135 #endif
21136 #ifdef __cplusplus
21137 }
21138 #endif
21139
21140 int
21141 main ()
21142 {
21143 return f != $ac_func;
21144   ;
21145   return 0;
21146 }
21147 _ACEOF
21148 rm -f conftest.$ac_objext conftest$ac_exeext
21149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21150   (eval $ac_link) 2>conftest.er1
21151   ac_status=$?
21152   grep -v '^ *+' conftest.er1 >conftest.err
21153   rm -f conftest.er1
21154   cat conftest.err >&5
21155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156   (exit $ac_status); } &&
21157          { ac_try='test -z "$ac_c_werror_flag"
21158                          || test ! -s conftest.err'
21159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21160   (eval $ac_try) 2>&5
21161   ac_status=$?
21162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163   (exit $ac_status); }; } &&
21164          { ac_try='test -s conftest$ac_exeext'
21165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21166   (eval $ac_try) 2>&5
21167   ac_status=$?
21168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169   (exit $ac_status); }; }; then
21170   eval "$as_ac_var=yes"
21171 else
21172   echo "$as_me: failed program was:" >&5
21173 sed 's/^/| /' conftest.$ac_ext >&5
21174
21175 eval "$as_ac_var=no"
21176 fi
21177 rm -f conftest.err conftest.$ac_objext \
21178       conftest$ac_exeext conftest.$ac_ext
21179 fi
21180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21182 if test `eval echo '${'$as_ac_var'}'` = yes; then
21183   cat >>confdefs.h <<_ACEOF
21184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21185 _ACEOF
21186
21187 fi
21188 done
21189
21190   else
21191
21192   echo "$as_me:$LINENO: checking for _expl declaration" >&5
21193 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
21194   if test x${glibcxx_cv_func__expl_use+set} != xset; then
21195     if test "${glibcxx_cv_func__expl_use+set}" = set; then
21196   echo $ECHO_N "(cached) $ECHO_C" >&6
21197 else
21198
21199
21200
21201       ac_ext=cc
21202 ac_cpp='$CXXCPP $CPPFLAGS'
21203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21206
21207       cat >conftest.$ac_ext <<_ACEOF
21208 /* confdefs.h.  */
21209 _ACEOF
21210 cat confdefs.h >>conftest.$ac_ext
21211 cat >>conftest.$ac_ext <<_ACEOF
21212 /* end confdefs.h.  */
21213 #include <math.h>
21214                       #ifdef HAVE_IEEEFP_H
21215                       #include <ieeefp.h>
21216                       #endif
21217
21218 int
21219 main ()
21220 {
21221  _expl(0);
21222   ;
21223   return 0;
21224 }
21225 _ACEOF
21226 rm -f conftest.$ac_objext
21227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21228   (eval $ac_compile) 2>conftest.er1
21229   ac_status=$?
21230   grep -v '^ *+' conftest.er1 >conftest.err
21231   rm -f conftest.er1
21232   cat conftest.err >&5
21233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234   (exit $ac_status); } &&
21235          { ac_try='test -z "$ac_cxx_werror_flag"
21236                          || test ! -s conftest.err'
21237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21238   (eval $ac_try) 2>&5
21239   ac_status=$?
21240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241   (exit $ac_status); }; } &&
21242          { ac_try='test -s conftest.$ac_objext'
21243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21244   (eval $ac_try) 2>&5
21245   ac_status=$?
21246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21247   (exit $ac_status); }; }; then
21248   glibcxx_cv_func__expl_use=yes
21249 else
21250   echo "$as_me: failed program was:" >&5
21251 sed 's/^/| /' conftest.$ac_ext >&5
21252
21253 glibcxx_cv_func__expl_use=no
21254 fi
21255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21256       ac_ext=c
21257 ac_cpp='$CPP $CPPFLAGS'
21258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21261
21262
21263 fi
21264
21265   fi
21266   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21267 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21268
21269     if test x$glibcxx_cv_func__expl_use = x"yes"; then
21270
21271 for ac_func in _expl
21272 do
21273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21274 echo "$as_me:$LINENO: checking for $ac_func" >&5
21275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21276 if eval "test \"\${$as_ac_var+set}\" = set"; then
21277   echo $ECHO_N "(cached) $ECHO_C" >&6
21278 else
21279   if test x$gcc_no_link = xyes; then
21280   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21282    { (exit 1); exit 1; }; }
21283 fi
21284 cat >conftest.$ac_ext <<_ACEOF
21285 /* confdefs.h.  */
21286 _ACEOF
21287 cat confdefs.h >>conftest.$ac_ext
21288 cat >>conftest.$ac_ext <<_ACEOF
21289 /* end confdefs.h.  */
21290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21291    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21292 #define $ac_func innocuous_$ac_func
21293
21294 /* System header to define __stub macros and hopefully few prototypes,
21295     which can conflict with char $ac_func (); below.
21296     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21297     <limits.h> exists even on freestanding compilers.  */
21298
21299 #ifdef __STDC__
21300 # include <limits.h>
21301 #else
21302 # include <assert.h>
21303 #endif
21304
21305 #undef $ac_func
21306
21307 /* Override any gcc2 internal prototype to avoid an error.  */
21308 #ifdef __cplusplus
21309 extern "C"
21310 {
21311 #endif
21312 /* We use char because int might match the return type of a gcc2
21313    builtin and then its argument prototype would still apply.  */
21314 char $ac_func ();
21315 /* The GNU C library defines this for functions which it implements
21316     to always fail with ENOSYS.  Some functions are actually named
21317     something starting with __ and the normal name is an alias.  */
21318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21319 choke me
21320 #else
21321 char (*f) () = $ac_func;
21322 #endif
21323 #ifdef __cplusplus
21324 }
21325 #endif
21326
21327 int
21328 main ()
21329 {
21330 return f != $ac_func;
21331   ;
21332   return 0;
21333 }
21334 _ACEOF
21335 rm -f conftest.$ac_objext conftest$ac_exeext
21336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21337   (eval $ac_link) 2>conftest.er1
21338   ac_status=$?
21339   grep -v '^ *+' conftest.er1 >conftest.err
21340   rm -f conftest.er1
21341   cat conftest.err >&5
21342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343   (exit $ac_status); } &&
21344          { ac_try='test -z "$ac_c_werror_flag"
21345                          || test ! -s conftest.err'
21346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21347   (eval $ac_try) 2>&5
21348   ac_status=$?
21349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350   (exit $ac_status); }; } &&
21351          { ac_try='test -s conftest$ac_exeext'
21352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21353   (eval $ac_try) 2>&5
21354   ac_status=$?
21355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356   (exit $ac_status); }; }; then
21357   eval "$as_ac_var=yes"
21358 else
21359   echo "$as_me: failed program was:" >&5
21360 sed 's/^/| /' conftest.$ac_ext >&5
21361
21362 eval "$as_ac_var=no"
21363 fi
21364 rm -f conftest.err conftest.$ac_objext \
21365       conftest$ac_exeext conftest.$ac_ext
21366 fi
21367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21369 if test `eval echo '${'$as_ac_var'}'` = yes; then
21370   cat >>confdefs.h <<_ACEOF
21371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21372 _ACEOF
21373
21374 fi
21375 done
21376
21377     fi
21378   fi
21379
21380
21381
21382
21383
21384
21385   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21386 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21387   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21388     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21389   echo $ECHO_N "(cached) $ECHO_C" >&6
21390 else
21391
21392
21393
21394       ac_ext=cc
21395 ac_cpp='$CXXCPP $CPPFLAGS'
21396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21399
21400       cat >conftest.$ac_ext <<_ACEOF
21401 /* confdefs.h.  */
21402 _ACEOF
21403 cat confdefs.h >>conftest.$ac_ext
21404 cat >>conftest.$ac_ext <<_ACEOF
21405 /* end confdefs.h.  */
21406 #include <math.h>
21407                       #ifdef HAVE_IEEEFP_H
21408                       #include <ieeefp.h>
21409                       #endif
21410
21411 int
21412 main ()
21413 {
21414  fabsl(0);
21415   ;
21416   return 0;
21417 }
21418 _ACEOF
21419 rm -f conftest.$ac_objext
21420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21421   (eval $ac_compile) 2>conftest.er1
21422   ac_status=$?
21423   grep -v '^ *+' conftest.er1 >conftest.err
21424   rm -f conftest.er1
21425   cat conftest.err >&5
21426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427   (exit $ac_status); } &&
21428          { ac_try='test -z "$ac_cxx_werror_flag"
21429                          || test ! -s conftest.err'
21430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431   (eval $ac_try) 2>&5
21432   ac_status=$?
21433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434   (exit $ac_status); }; } &&
21435          { ac_try='test -s conftest.$ac_objext'
21436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21437   (eval $ac_try) 2>&5
21438   ac_status=$?
21439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440   (exit $ac_status); }; }; then
21441   glibcxx_cv_func_fabsl_use=yes
21442 else
21443   echo "$as_me: failed program was:" >&5
21444 sed 's/^/| /' conftest.$ac_ext >&5
21445
21446 glibcxx_cv_func_fabsl_use=no
21447 fi
21448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21449       ac_ext=c
21450 ac_cpp='$CPP $CPPFLAGS'
21451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21454
21455
21456 fi
21457
21458   fi
21459   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21460 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21461
21462   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21463
21464 for ac_func in fabsl
21465 do
21466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21467 echo "$as_me:$LINENO: checking for $ac_func" >&5
21468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21469 if eval "test \"\${$as_ac_var+set}\" = set"; then
21470   echo $ECHO_N "(cached) $ECHO_C" >&6
21471 else
21472   if test x$gcc_no_link = xyes; then
21473   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21475    { (exit 1); exit 1; }; }
21476 fi
21477 cat >conftest.$ac_ext <<_ACEOF
21478 /* confdefs.h.  */
21479 _ACEOF
21480 cat confdefs.h >>conftest.$ac_ext
21481 cat >>conftest.$ac_ext <<_ACEOF
21482 /* end confdefs.h.  */
21483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21484    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21485 #define $ac_func innocuous_$ac_func
21486
21487 /* System header to define __stub macros and hopefully few prototypes,
21488     which can conflict with char $ac_func (); below.
21489     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21490     <limits.h> exists even on freestanding compilers.  */
21491
21492 #ifdef __STDC__
21493 # include <limits.h>
21494 #else
21495 # include <assert.h>
21496 #endif
21497
21498 #undef $ac_func
21499
21500 /* Override any gcc2 internal prototype to avoid an error.  */
21501 #ifdef __cplusplus
21502 extern "C"
21503 {
21504 #endif
21505 /* We use char because int might match the return type of a gcc2
21506    builtin and then its argument prototype would still apply.  */
21507 char $ac_func ();
21508 /* The GNU C library defines this for functions which it implements
21509     to always fail with ENOSYS.  Some functions are actually named
21510     something starting with __ and the normal name is an alias.  */
21511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21512 choke me
21513 #else
21514 char (*f) () = $ac_func;
21515 #endif
21516 #ifdef __cplusplus
21517 }
21518 #endif
21519
21520 int
21521 main ()
21522 {
21523 return f != $ac_func;
21524   ;
21525   return 0;
21526 }
21527 _ACEOF
21528 rm -f conftest.$ac_objext conftest$ac_exeext
21529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21530   (eval $ac_link) 2>conftest.er1
21531   ac_status=$?
21532   grep -v '^ *+' conftest.er1 >conftest.err
21533   rm -f conftest.er1
21534   cat conftest.err >&5
21535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536   (exit $ac_status); } &&
21537          { ac_try='test -z "$ac_c_werror_flag"
21538                          || test ! -s conftest.err'
21539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21540   (eval $ac_try) 2>&5
21541   ac_status=$?
21542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543   (exit $ac_status); }; } &&
21544          { ac_try='test -s conftest$ac_exeext'
21545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21546   (eval $ac_try) 2>&5
21547   ac_status=$?
21548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21549   (exit $ac_status); }; }; then
21550   eval "$as_ac_var=yes"
21551 else
21552   echo "$as_me: failed program was:" >&5
21553 sed 's/^/| /' conftest.$ac_ext >&5
21554
21555 eval "$as_ac_var=no"
21556 fi
21557 rm -f conftest.err conftest.$ac_objext \
21558       conftest$ac_exeext conftest.$ac_ext
21559 fi
21560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21562 if test `eval echo '${'$as_ac_var'}'` = yes; then
21563   cat >>confdefs.h <<_ACEOF
21564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21565 _ACEOF
21566
21567 fi
21568 done
21569
21570   else
21571
21572   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21573 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21574   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21575     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21576   echo $ECHO_N "(cached) $ECHO_C" >&6
21577 else
21578
21579
21580
21581       ac_ext=cc
21582 ac_cpp='$CXXCPP $CPPFLAGS'
21583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21586
21587       cat >conftest.$ac_ext <<_ACEOF
21588 /* confdefs.h.  */
21589 _ACEOF
21590 cat confdefs.h >>conftest.$ac_ext
21591 cat >>conftest.$ac_ext <<_ACEOF
21592 /* end confdefs.h.  */
21593 #include <math.h>
21594                       #ifdef HAVE_IEEEFP_H
21595                       #include <ieeefp.h>
21596                       #endif
21597
21598 int
21599 main ()
21600 {
21601  _fabsl(0);
21602   ;
21603   return 0;
21604 }
21605 _ACEOF
21606 rm -f conftest.$ac_objext
21607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21608   (eval $ac_compile) 2>conftest.er1
21609   ac_status=$?
21610   grep -v '^ *+' conftest.er1 >conftest.err
21611   rm -f conftest.er1
21612   cat conftest.err >&5
21613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21614   (exit $ac_status); } &&
21615          { ac_try='test -z "$ac_cxx_werror_flag"
21616                          || test ! -s conftest.err'
21617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21618   (eval $ac_try) 2>&5
21619   ac_status=$?
21620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621   (exit $ac_status); }; } &&
21622          { ac_try='test -s conftest.$ac_objext'
21623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21624   (eval $ac_try) 2>&5
21625   ac_status=$?
21626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627   (exit $ac_status); }; }; then
21628   glibcxx_cv_func__fabsl_use=yes
21629 else
21630   echo "$as_me: failed program was:" >&5
21631 sed 's/^/| /' conftest.$ac_ext >&5
21632
21633 glibcxx_cv_func__fabsl_use=no
21634 fi
21635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21636       ac_ext=c
21637 ac_cpp='$CPP $CPPFLAGS'
21638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21641
21642
21643 fi
21644
21645   fi
21646   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21647 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21648
21649     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21650
21651 for ac_func in _fabsl
21652 do
21653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21654 echo "$as_me:$LINENO: checking for $ac_func" >&5
21655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21656 if eval "test \"\${$as_ac_var+set}\" = set"; then
21657   echo $ECHO_N "(cached) $ECHO_C" >&6
21658 else
21659   if test x$gcc_no_link = xyes; then
21660   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21662    { (exit 1); exit 1; }; }
21663 fi
21664 cat >conftest.$ac_ext <<_ACEOF
21665 /* confdefs.h.  */
21666 _ACEOF
21667 cat confdefs.h >>conftest.$ac_ext
21668 cat >>conftest.$ac_ext <<_ACEOF
21669 /* end confdefs.h.  */
21670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21671    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21672 #define $ac_func innocuous_$ac_func
21673
21674 /* System header to define __stub macros and hopefully few prototypes,
21675     which can conflict with char $ac_func (); below.
21676     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21677     <limits.h> exists even on freestanding compilers.  */
21678
21679 #ifdef __STDC__
21680 # include <limits.h>
21681 #else
21682 # include <assert.h>
21683 #endif
21684
21685 #undef $ac_func
21686
21687 /* Override any gcc2 internal prototype to avoid an error.  */
21688 #ifdef __cplusplus
21689 extern "C"
21690 {
21691 #endif
21692 /* We use char because int might match the return type of a gcc2
21693    builtin and then its argument prototype would still apply.  */
21694 char $ac_func ();
21695 /* The GNU C library defines this for functions which it implements
21696     to always fail with ENOSYS.  Some functions are actually named
21697     something starting with __ and the normal name is an alias.  */
21698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21699 choke me
21700 #else
21701 char (*f) () = $ac_func;
21702 #endif
21703 #ifdef __cplusplus
21704 }
21705 #endif
21706
21707 int
21708 main ()
21709 {
21710 return f != $ac_func;
21711   ;
21712   return 0;
21713 }
21714 _ACEOF
21715 rm -f conftest.$ac_objext conftest$ac_exeext
21716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21717   (eval $ac_link) 2>conftest.er1
21718   ac_status=$?
21719   grep -v '^ *+' conftest.er1 >conftest.err
21720   rm -f conftest.er1
21721   cat conftest.err >&5
21722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723   (exit $ac_status); } &&
21724          { ac_try='test -z "$ac_c_werror_flag"
21725                          || test ! -s conftest.err'
21726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21727   (eval $ac_try) 2>&5
21728   ac_status=$?
21729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730   (exit $ac_status); }; } &&
21731          { ac_try='test -s conftest$ac_exeext'
21732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21733   (eval $ac_try) 2>&5
21734   ac_status=$?
21735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736   (exit $ac_status); }; }; then
21737   eval "$as_ac_var=yes"
21738 else
21739   echo "$as_me: failed program was:" >&5
21740 sed 's/^/| /' conftest.$ac_ext >&5
21741
21742 eval "$as_ac_var=no"
21743 fi
21744 rm -f conftest.err conftest.$ac_objext \
21745       conftest$ac_exeext conftest.$ac_ext
21746 fi
21747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21749 if test `eval echo '${'$as_ac_var'}'` = yes; then
21750   cat >>confdefs.h <<_ACEOF
21751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21752 _ACEOF
21753
21754 fi
21755 done
21756
21757     fi
21758   fi
21759
21760
21761
21762
21763
21764
21765   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21766 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21767   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21768     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21769   echo $ECHO_N "(cached) $ECHO_C" >&6
21770 else
21771
21772
21773
21774       ac_ext=cc
21775 ac_cpp='$CXXCPP $CPPFLAGS'
21776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21779
21780       cat >conftest.$ac_ext <<_ACEOF
21781 /* confdefs.h.  */
21782 _ACEOF
21783 cat confdefs.h >>conftest.$ac_ext
21784 cat >>conftest.$ac_ext <<_ACEOF
21785 /* end confdefs.h.  */
21786 #include <math.h>
21787 int
21788 main ()
21789 {
21790  fmodl(0, 0);
21791   ;
21792   return 0;
21793 }
21794 _ACEOF
21795 rm -f conftest.$ac_objext
21796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21797   (eval $ac_compile) 2>conftest.er1
21798   ac_status=$?
21799   grep -v '^ *+' conftest.er1 >conftest.err
21800   rm -f conftest.er1
21801   cat conftest.err >&5
21802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21803   (exit $ac_status); } &&
21804          { ac_try='test -z "$ac_cxx_werror_flag"
21805                          || test ! -s conftest.err'
21806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21807   (eval $ac_try) 2>&5
21808   ac_status=$?
21809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810   (exit $ac_status); }; } &&
21811          { ac_try='test -s conftest.$ac_objext'
21812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21813   (eval $ac_try) 2>&5
21814   ac_status=$?
21815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816   (exit $ac_status); }; }; then
21817   glibcxx_cv_func_fmodl_use=yes
21818 else
21819   echo "$as_me: failed program was:" >&5
21820 sed 's/^/| /' conftest.$ac_ext >&5
21821
21822 glibcxx_cv_func_fmodl_use=no
21823 fi
21824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21825       ac_ext=c
21826 ac_cpp='$CPP $CPPFLAGS'
21827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21830
21831
21832 fi
21833
21834   fi
21835   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21836 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21837
21838   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21839
21840 for ac_func in fmodl
21841 do
21842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21843 echo "$as_me:$LINENO: checking for $ac_func" >&5
21844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21845 if eval "test \"\${$as_ac_var+set}\" = set"; then
21846   echo $ECHO_N "(cached) $ECHO_C" >&6
21847 else
21848   if test x$gcc_no_link = xyes; then
21849   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21851    { (exit 1); exit 1; }; }
21852 fi
21853 cat >conftest.$ac_ext <<_ACEOF
21854 /* confdefs.h.  */
21855 _ACEOF
21856 cat confdefs.h >>conftest.$ac_ext
21857 cat >>conftest.$ac_ext <<_ACEOF
21858 /* end confdefs.h.  */
21859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21860    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21861 #define $ac_func innocuous_$ac_func
21862
21863 /* System header to define __stub macros and hopefully few prototypes,
21864     which can conflict with char $ac_func (); below.
21865     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21866     <limits.h> exists even on freestanding compilers.  */
21867
21868 #ifdef __STDC__
21869 # include <limits.h>
21870 #else
21871 # include <assert.h>
21872 #endif
21873
21874 #undef $ac_func
21875
21876 /* Override any gcc2 internal prototype to avoid an error.  */
21877 #ifdef __cplusplus
21878 extern "C"
21879 {
21880 #endif
21881 /* We use char because int might match the return type of a gcc2
21882    builtin and then its argument prototype would still apply.  */
21883 char $ac_func ();
21884 /* The GNU C library defines this for functions which it implements
21885     to always fail with ENOSYS.  Some functions are actually named
21886     something starting with __ and the normal name is an alias.  */
21887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21888 choke me
21889 #else
21890 char (*f) () = $ac_func;
21891 #endif
21892 #ifdef __cplusplus
21893 }
21894 #endif
21895
21896 int
21897 main ()
21898 {
21899 return f != $ac_func;
21900   ;
21901   return 0;
21902 }
21903 _ACEOF
21904 rm -f conftest.$ac_objext conftest$ac_exeext
21905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21906   (eval $ac_link) 2>conftest.er1
21907   ac_status=$?
21908   grep -v '^ *+' conftest.er1 >conftest.err
21909   rm -f conftest.er1
21910   cat conftest.err >&5
21911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21912   (exit $ac_status); } &&
21913          { ac_try='test -z "$ac_c_werror_flag"
21914                          || test ! -s conftest.err'
21915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21916   (eval $ac_try) 2>&5
21917   ac_status=$?
21918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21919   (exit $ac_status); }; } &&
21920          { ac_try='test -s conftest$ac_exeext'
21921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21922   (eval $ac_try) 2>&5
21923   ac_status=$?
21924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925   (exit $ac_status); }; }; then
21926   eval "$as_ac_var=yes"
21927 else
21928   echo "$as_me: failed program was:" >&5
21929 sed 's/^/| /' conftest.$ac_ext >&5
21930
21931 eval "$as_ac_var=no"
21932 fi
21933 rm -f conftest.err conftest.$ac_objext \
21934       conftest$ac_exeext conftest.$ac_ext
21935 fi
21936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21938 if test `eval echo '${'$as_ac_var'}'` = yes; then
21939   cat >>confdefs.h <<_ACEOF
21940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21941 _ACEOF
21942
21943 fi
21944 done
21945
21946   else
21947
21948   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21949 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21950   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21951     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21952   echo $ECHO_N "(cached) $ECHO_C" >&6
21953 else
21954
21955
21956
21957       ac_ext=cc
21958 ac_cpp='$CXXCPP $CPPFLAGS'
21959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21962
21963       cat >conftest.$ac_ext <<_ACEOF
21964 /* confdefs.h.  */
21965 _ACEOF
21966 cat confdefs.h >>conftest.$ac_ext
21967 cat >>conftest.$ac_ext <<_ACEOF
21968 /* end confdefs.h.  */
21969 #include <math.h>
21970 int
21971 main ()
21972 {
21973  _fmodl(0, 0);
21974   ;
21975   return 0;
21976 }
21977 _ACEOF
21978 rm -f conftest.$ac_objext
21979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21980   (eval $ac_compile) 2>conftest.er1
21981   ac_status=$?
21982   grep -v '^ *+' conftest.er1 >conftest.err
21983   rm -f conftest.er1
21984   cat conftest.err >&5
21985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21986   (exit $ac_status); } &&
21987          { ac_try='test -z "$ac_cxx_werror_flag"
21988                          || test ! -s conftest.err'
21989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21990   (eval $ac_try) 2>&5
21991   ac_status=$?
21992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993   (exit $ac_status); }; } &&
21994          { ac_try='test -s conftest.$ac_objext'
21995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21996   (eval $ac_try) 2>&5
21997   ac_status=$?
21998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999   (exit $ac_status); }; }; then
22000   glibcxx_cv_func__fmodl_use=yes
22001 else
22002   echo "$as_me: failed program was:" >&5
22003 sed 's/^/| /' conftest.$ac_ext >&5
22004
22005 glibcxx_cv_func__fmodl_use=no
22006 fi
22007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22008       ac_ext=c
22009 ac_cpp='$CPP $CPPFLAGS'
22010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22013
22014
22015 fi
22016
22017   fi
22018   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
22019 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
22020
22021     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
22022
22023 for ac_func in _fmodl
22024 do
22025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22026 echo "$as_me:$LINENO: checking for $ac_func" >&5
22027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22028 if eval "test \"\${$as_ac_var+set}\" = set"; then
22029   echo $ECHO_N "(cached) $ECHO_C" >&6
22030 else
22031   if test x$gcc_no_link = xyes; then
22032   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22034    { (exit 1); exit 1; }; }
22035 fi
22036 cat >conftest.$ac_ext <<_ACEOF
22037 /* confdefs.h.  */
22038 _ACEOF
22039 cat confdefs.h >>conftest.$ac_ext
22040 cat >>conftest.$ac_ext <<_ACEOF
22041 /* end confdefs.h.  */
22042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22043    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22044 #define $ac_func innocuous_$ac_func
22045
22046 /* System header to define __stub macros and hopefully few prototypes,
22047     which can conflict with char $ac_func (); below.
22048     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22049     <limits.h> exists even on freestanding compilers.  */
22050
22051 #ifdef __STDC__
22052 # include <limits.h>
22053 #else
22054 # include <assert.h>
22055 #endif
22056
22057 #undef $ac_func
22058
22059 /* Override any gcc2 internal prototype to avoid an error.  */
22060 #ifdef __cplusplus
22061 extern "C"
22062 {
22063 #endif
22064 /* We use char because int might match the return type of a gcc2
22065    builtin and then its argument prototype would still apply.  */
22066 char $ac_func ();
22067 /* The GNU C library defines this for functions which it implements
22068     to always fail with ENOSYS.  Some functions are actually named
22069     something starting with __ and the normal name is an alias.  */
22070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22071 choke me
22072 #else
22073 char (*f) () = $ac_func;
22074 #endif
22075 #ifdef __cplusplus
22076 }
22077 #endif
22078
22079 int
22080 main ()
22081 {
22082 return f != $ac_func;
22083   ;
22084   return 0;
22085 }
22086 _ACEOF
22087 rm -f conftest.$ac_objext conftest$ac_exeext
22088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22089   (eval $ac_link) 2>conftest.er1
22090   ac_status=$?
22091   grep -v '^ *+' conftest.er1 >conftest.err
22092   rm -f conftest.er1
22093   cat conftest.err >&5
22094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095   (exit $ac_status); } &&
22096          { ac_try='test -z "$ac_c_werror_flag"
22097                          || test ! -s conftest.err'
22098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22099   (eval $ac_try) 2>&5
22100   ac_status=$?
22101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102   (exit $ac_status); }; } &&
22103          { ac_try='test -s conftest$ac_exeext'
22104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22105   (eval $ac_try) 2>&5
22106   ac_status=$?
22107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108   (exit $ac_status); }; }; then
22109   eval "$as_ac_var=yes"
22110 else
22111   echo "$as_me: failed program was:" >&5
22112 sed 's/^/| /' conftest.$ac_ext >&5
22113
22114 eval "$as_ac_var=no"
22115 fi
22116 rm -f conftest.err conftest.$ac_objext \
22117       conftest$ac_exeext conftest.$ac_ext
22118 fi
22119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22121 if test `eval echo '${'$as_ac_var'}'` = yes; then
22122   cat >>confdefs.h <<_ACEOF
22123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22124 _ACEOF
22125
22126 fi
22127 done
22128
22129     fi
22130   fi
22131
22132
22133
22134
22135
22136
22137   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
22138 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
22139   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
22140     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
22141   echo $ECHO_N "(cached) $ECHO_C" >&6
22142 else
22143
22144
22145
22146       ac_ext=cc
22147 ac_cpp='$CXXCPP $CPPFLAGS'
22148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22151
22152       cat >conftest.$ac_ext <<_ACEOF
22153 /* confdefs.h.  */
22154 _ACEOF
22155 cat confdefs.h >>conftest.$ac_ext
22156 cat >>conftest.$ac_ext <<_ACEOF
22157 /* end confdefs.h.  */
22158 #include <math.h>
22159 int
22160 main ()
22161 {
22162  frexpl(0, 0);
22163   ;
22164   return 0;
22165 }
22166 _ACEOF
22167 rm -f conftest.$ac_objext
22168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22169   (eval $ac_compile) 2>conftest.er1
22170   ac_status=$?
22171   grep -v '^ *+' conftest.er1 >conftest.err
22172   rm -f conftest.er1
22173   cat conftest.err >&5
22174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22175   (exit $ac_status); } &&
22176          { ac_try='test -z "$ac_cxx_werror_flag"
22177                          || test ! -s conftest.err'
22178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22179   (eval $ac_try) 2>&5
22180   ac_status=$?
22181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182   (exit $ac_status); }; } &&
22183          { ac_try='test -s conftest.$ac_objext'
22184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22185   (eval $ac_try) 2>&5
22186   ac_status=$?
22187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22188   (exit $ac_status); }; }; then
22189   glibcxx_cv_func_frexpl_use=yes
22190 else
22191   echo "$as_me: failed program was:" >&5
22192 sed 's/^/| /' conftest.$ac_ext >&5
22193
22194 glibcxx_cv_func_frexpl_use=no
22195 fi
22196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22197       ac_ext=c
22198 ac_cpp='$CPP $CPPFLAGS'
22199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22202
22203
22204 fi
22205
22206   fi
22207   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
22208 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
22209
22210   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
22211
22212 for ac_func in frexpl
22213 do
22214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22215 echo "$as_me:$LINENO: checking for $ac_func" >&5
22216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22217 if eval "test \"\${$as_ac_var+set}\" = set"; then
22218   echo $ECHO_N "(cached) $ECHO_C" >&6
22219 else
22220   if test x$gcc_no_link = xyes; then
22221   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22223    { (exit 1); exit 1; }; }
22224 fi
22225 cat >conftest.$ac_ext <<_ACEOF
22226 /* confdefs.h.  */
22227 _ACEOF
22228 cat confdefs.h >>conftest.$ac_ext
22229 cat >>conftest.$ac_ext <<_ACEOF
22230 /* end confdefs.h.  */
22231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22232    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22233 #define $ac_func innocuous_$ac_func
22234
22235 /* System header to define __stub macros and hopefully few prototypes,
22236     which can conflict with char $ac_func (); below.
22237     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22238     <limits.h> exists even on freestanding compilers.  */
22239
22240 #ifdef __STDC__
22241 # include <limits.h>
22242 #else
22243 # include <assert.h>
22244 #endif
22245
22246 #undef $ac_func
22247
22248 /* Override any gcc2 internal prototype to avoid an error.  */
22249 #ifdef __cplusplus
22250 extern "C"
22251 {
22252 #endif
22253 /* We use char because int might match the return type of a gcc2
22254    builtin and then its argument prototype would still apply.  */
22255 char $ac_func ();
22256 /* The GNU C library defines this for functions which it implements
22257     to always fail with ENOSYS.  Some functions are actually named
22258     something starting with __ and the normal name is an alias.  */
22259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22260 choke me
22261 #else
22262 char (*f) () = $ac_func;
22263 #endif
22264 #ifdef __cplusplus
22265 }
22266 #endif
22267
22268 int
22269 main ()
22270 {
22271 return f != $ac_func;
22272   ;
22273   return 0;
22274 }
22275 _ACEOF
22276 rm -f conftest.$ac_objext conftest$ac_exeext
22277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22278   (eval $ac_link) 2>conftest.er1
22279   ac_status=$?
22280   grep -v '^ *+' conftest.er1 >conftest.err
22281   rm -f conftest.er1
22282   cat conftest.err >&5
22283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284   (exit $ac_status); } &&
22285          { ac_try='test -z "$ac_c_werror_flag"
22286                          || test ! -s conftest.err'
22287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22288   (eval $ac_try) 2>&5
22289   ac_status=$?
22290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291   (exit $ac_status); }; } &&
22292          { ac_try='test -s conftest$ac_exeext'
22293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22294   (eval $ac_try) 2>&5
22295   ac_status=$?
22296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22297   (exit $ac_status); }; }; then
22298   eval "$as_ac_var=yes"
22299 else
22300   echo "$as_me: failed program was:" >&5
22301 sed 's/^/| /' conftest.$ac_ext >&5
22302
22303 eval "$as_ac_var=no"
22304 fi
22305 rm -f conftest.err conftest.$ac_objext \
22306       conftest$ac_exeext conftest.$ac_ext
22307 fi
22308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22310 if test `eval echo '${'$as_ac_var'}'` = yes; then
22311   cat >>confdefs.h <<_ACEOF
22312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22313 _ACEOF
22314
22315 fi
22316 done
22317
22318   else
22319
22320   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22321 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22322   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22323     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22324   echo $ECHO_N "(cached) $ECHO_C" >&6
22325 else
22326
22327
22328
22329       ac_ext=cc
22330 ac_cpp='$CXXCPP $CPPFLAGS'
22331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22334
22335       cat >conftest.$ac_ext <<_ACEOF
22336 /* confdefs.h.  */
22337 _ACEOF
22338 cat confdefs.h >>conftest.$ac_ext
22339 cat >>conftest.$ac_ext <<_ACEOF
22340 /* end confdefs.h.  */
22341 #include <math.h>
22342 int
22343 main ()
22344 {
22345  _frexpl(0, 0);
22346   ;
22347   return 0;
22348 }
22349 _ACEOF
22350 rm -f conftest.$ac_objext
22351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22352   (eval $ac_compile) 2>conftest.er1
22353   ac_status=$?
22354   grep -v '^ *+' conftest.er1 >conftest.err
22355   rm -f conftest.er1
22356   cat conftest.err >&5
22357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22358   (exit $ac_status); } &&
22359          { ac_try='test -z "$ac_cxx_werror_flag"
22360                          || test ! -s conftest.err'
22361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22362   (eval $ac_try) 2>&5
22363   ac_status=$?
22364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22365   (exit $ac_status); }; } &&
22366          { ac_try='test -s conftest.$ac_objext'
22367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22368   (eval $ac_try) 2>&5
22369   ac_status=$?
22370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22371   (exit $ac_status); }; }; then
22372   glibcxx_cv_func__frexpl_use=yes
22373 else
22374   echo "$as_me: failed program was:" >&5
22375 sed 's/^/| /' conftest.$ac_ext >&5
22376
22377 glibcxx_cv_func__frexpl_use=no
22378 fi
22379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22380       ac_ext=c
22381 ac_cpp='$CPP $CPPFLAGS'
22382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22385
22386
22387 fi
22388
22389   fi
22390   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22391 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22392
22393     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22394
22395 for ac_func in _frexpl
22396 do
22397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22398 echo "$as_me:$LINENO: checking for $ac_func" >&5
22399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22400 if eval "test \"\${$as_ac_var+set}\" = set"; then
22401   echo $ECHO_N "(cached) $ECHO_C" >&6
22402 else
22403   if test x$gcc_no_link = xyes; then
22404   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22406    { (exit 1); exit 1; }; }
22407 fi
22408 cat >conftest.$ac_ext <<_ACEOF
22409 /* confdefs.h.  */
22410 _ACEOF
22411 cat confdefs.h >>conftest.$ac_ext
22412 cat >>conftest.$ac_ext <<_ACEOF
22413 /* end confdefs.h.  */
22414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22415    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22416 #define $ac_func innocuous_$ac_func
22417
22418 /* System header to define __stub macros and hopefully few prototypes,
22419     which can conflict with char $ac_func (); below.
22420     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22421     <limits.h> exists even on freestanding compilers.  */
22422
22423 #ifdef __STDC__
22424 # include <limits.h>
22425 #else
22426 # include <assert.h>
22427 #endif
22428
22429 #undef $ac_func
22430
22431 /* Override any gcc2 internal prototype to avoid an error.  */
22432 #ifdef __cplusplus
22433 extern "C"
22434 {
22435 #endif
22436 /* We use char because int might match the return type of a gcc2
22437    builtin and then its argument prototype would still apply.  */
22438 char $ac_func ();
22439 /* The GNU C library defines this for functions which it implements
22440     to always fail with ENOSYS.  Some functions are actually named
22441     something starting with __ and the normal name is an alias.  */
22442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22443 choke me
22444 #else
22445 char (*f) () = $ac_func;
22446 #endif
22447 #ifdef __cplusplus
22448 }
22449 #endif
22450
22451 int
22452 main ()
22453 {
22454 return f != $ac_func;
22455   ;
22456   return 0;
22457 }
22458 _ACEOF
22459 rm -f conftest.$ac_objext conftest$ac_exeext
22460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22461   (eval $ac_link) 2>conftest.er1
22462   ac_status=$?
22463   grep -v '^ *+' conftest.er1 >conftest.err
22464   rm -f conftest.er1
22465   cat conftest.err >&5
22466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467   (exit $ac_status); } &&
22468          { ac_try='test -z "$ac_c_werror_flag"
22469                          || test ! -s conftest.err'
22470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22471   (eval $ac_try) 2>&5
22472   ac_status=$?
22473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474   (exit $ac_status); }; } &&
22475          { ac_try='test -s conftest$ac_exeext'
22476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22477   (eval $ac_try) 2>&5
22478   ac_status=$?
22479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22480   (exit $ac_status); }; }; then
22481   eval "$as_ac_var=yes"
22482 else
22483   echo "$as_me: failed program was:" >&5
22484 sed 's/^/| /' conftest.$ac_ext >&5
22485
22486 eval "$as_ac_var=no"
22487 fi
22488 rm -f conftest.err conftest.$ac_objext \
22489       conftest$ac_exeext conftest.$ac_ext
22490 fi
22491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22493 if test `eval echo '${'$as_ac_var'}'` = yes; then
22494   cat >>confdefs.h <<_ACEOF
22495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22496 _ACEOF
22497
22498 fi
22499 done
22500
22501     fi
22502   fi
22503
22504
22505
22506
22507
22508
22509   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22510 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22511   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22512     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22513   echo $ECHO_N "(cached) $ECHO_C" >&6
22514 else
22515
22516
22517
22518       ac_ext=cc
22519 ac_cpp='$CXXCPP $CPPFLAGS'
22520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22523
22524       cat >conftest.$ac_ext <<_ACEOF
22525 /* confdefs.h.  */
22526 _ACEOF
22527 cat confdefs.h >>conftest.$ac_ext
22528 cat >>conftest.$ac_ext <<_ACEOF
22529 /* end confdefs.h.  */
22530 #include <math.h>
22531 int
22532 main ()
22533 {
22534  hypotl(0, 0);
22535   ;
22536   return 0;
22537 }
22538 _ACEOF
22539 rm -f conftest.$ac_objext
22540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22541   (eval $ac_compile) 2>conftest.er1
22542   ac_status=$?
22543   grep -v '^ *+' conftest.er1 >conftest.err
22544   rm -f conftest.er1
22545   cat conftest.err >&5
22546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22547   (exit $ac_status); } &&
22548          { ac_try='test -z "$ac_cxx_werror_flag"
22549                          || test ! -s conftest.err'
22550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22551   (eval $ac_try) 2>&5
22552   ac_status=$?
22553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22554   (exit $ac_status); }; } &&
22555          { ac_try='test -s conftest.$ac_objext'
22556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22557   (eval $ac_try) 2>&5
22558   ac_status=$?
22559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560   (exit $ac_status); }; }; then
22561   glibcxx_cv_func_hypotl_use=yes
22562 else
22563   echo "$as_me: failed program was:" >&5
22564 sed 's/^/| /' conftest.$ac_ext >&5
22565
22566 glibcxx_cv_func_hypotl_use=no
22567 fi
22568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22569       ac_ext=c
22570 ac_cpp='$CPP $CPPFLAGS'
22571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22574
22575
22576 fi
22577
22578   fi
22579   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22580 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22581
22582   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22583
22584 for ac_func in hypotl
22585 do
22586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22587 echo "$as_me:$LINENO: checking for $ac_func" >&5
22588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22589 if eval "test \"\${$as_ac_var+set}\" = set"; then
22590   echo $ECHO_N "(cached) $ECHO_C" >&6
22591 else
22592   if test x$gcc_no_link = xyes; then
22593   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22595    { (exit 1); exit 1; }; }
22596 fi
22597 cat >conftest.$ac_ext <<_ACEOF
22598 /* confdefs.h.  */
22599 _ACEOF
22600 cat confdefs.h >>conftest.$ac_ext
22601 cat >>conftest.$ac_ext <<_ACEOF
22602 /* end confdefs.h.  */
22603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22604    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22605 #define $ac_func innocuous_$ac_func
22606
22607 /* System header to define __stub macros and hopefully few prototypes,
22608     which can conflict with char $ac_func (); below.
22609     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22610     <limits.h> exists even on freestanding compilers.  */
22611
22612 #ifdef __STDC__
22613 # include <limits.h>
22614 #else
22615 # include <assert.h>
22616 #endif
22617
22618 #undef $ac_func
22619
22620 /* Override any gcc2 internal prototype to avoid an error.  */
22621 #ifdef __cplusplus
22622 extern "C"
22623 {
22624 #endif
22625 /* We use char because int might match the return type of a gcc2
22626    builtin and then its argument prototype would still apply.  */
22627 char $ac_func ();
22628 /* The GNU C library defines this for functions which it implements
22629     to always fail with ENOSYS.  Some functions are actually named
22630     something starting with __ and the normal name is an alias.  */
22631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22632 choke me
22633 #else
22634 char (*f) () = $ac_func;
22635 #endif
22636 #ifdef __cplusplus
22637 }
22638 #endif
22639
22640 int
22641 main ()
22642 {
22643 return f != $ac_func;
22644   ;
22645   return 0;
22646 }
22647 _ACEOF
22648 rm -f conftest.$ac_objext conftest$ac_exeext
22649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22650   (eval $ac_link) 2>conftest.er1
22651   ac_status=$?
22652   grep -v '^ *+' conftest.er1 >conftest.err
22653   rm -f conftest.er1
22654   cat conftest.err >&5
22655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22656   (exit $ac_status); } &&
22657          { ac_try='test -z "$ac_c_werror_flag"
22658                          || test ! -s conftest.err'
22659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22660   (eval $ac_try) 2>&5
22661   ac_status=$?
22662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663   (exit $ac_status); }; } &&
22664          { ac_try='test -s conftest$ac_exeext'
22665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22666   (eval $ac_try) 2>&5
22667   ac_status=$?
22668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22669   (exit $ac_status); }; }; then
22670   eval "$as_ac_var=yes"
22671 else
22672   echo "$as_me: failed program was:" >&5
22673 sed 's/^/| /' conftest.$ac_ext >&5
22674
22675 eval "$as_ac_var=no"
22676 fi
22677 rm -f conftest.err conftest.$ac_objext \
22678       conftest$ac_exeext conftest.$ac_ext
22679 fi
22680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22682 if test `eval echo '${'$as_ac_var'}'` = yes; then
22683   cat >>confdefs.h <<_ACEOF
22684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22685 _ACEOF
22686
22687 fi
22688 done
22689
22690   else
22691
22692   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22693 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22694   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22695     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22696   echo $ECHO_N "(cached) $ECHO_C" >&6
22697 else
22698
22699
22700
22701       ac_ext=cc
22702 ac_cpp='$CXXCPP $CPPFLAGS'
22703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22706
22707       cat >conftest.$ac_ext <<_ACEOF
22708 /* confdefs.h.  */
22709 _ACEOF
22710 cat confdefs.h >>conftest.$ac_ext
22711 cat >>conftest.$ac_ext <<_ACEOF
22712 /* end confdefs.h.  */
22713 #include <math.h>
22714 int
22715 main ()
22716 {
22717  _hypotl(0, 0);
22718   ;
22719   return 0;
22720 }
22721 _ACEOF
22722 rm -f conftest.$ac_objext
22723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22724   (eval $ac_compile) 2>conftest.er1
22725   ac_status=$?
22726   grep -v '^ *+' conftest.er1 >conftest.err
22727   rm -f conftest.er1
22728   cat conftest.err >&5
22729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22730   (exit $ac_status); } &&
22731          { ac_try='test -z "$ac_cxx_werror_flag"
22732                          || test ! -s conftest.err'
22733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22734   (eval $ac_try) 2>&5
22735   ac_status=$?
22736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22737   (exit $ac_status); }; } &&
22738          { ac_try='test -s conftest.$ac_objext'
22739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22740   (eval $ac_try) 2>&5
22741   ac_status=$?
22742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22743   (exit $ac_status); }; }; then
22744   glibcxx_cv_func__hypotl_use=yes
22745 else
22746   echo "$as_me: failed program was:" >&5
22747 sed 's/^/| /' conftest.$ac_ext >&5
22748
22749 glibcxx_cv_func__hypotl_use=no
22750 fi
22751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22752       ac_ext=c
22753 ac_cpp='$CPP $CPPFLAGS'
22754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22757
22758
22759 fi
22760
22761   fi
22762   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22763 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22764
22765     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22766
22767 for ac_func in _hypotl
22768 do
22769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22770 echo "$as_me:$LINENO: checking for $ac_func" >&5
22771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22772 if eval "test \"\${$as_ac_var+set}\" = set"; then
22773   echo $ECHO_N "(cached) $ECHO_C" >&6
22774 else
22775   if test x$gcc_no_link = xyes; then
22776   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22778    { (exit 1); exit 1; }; }
22779 fi
22780 cat >conftest.$ac_ext <<_ACEOF
22781 /* confdefs.h.  */
22782 _ACEOF
22783 cat confdefs.h >>conftest.$ac_ext
22784 cat >>conftest.$ac_ext <<_ACEOF
22785 /* end confdefs.h.  */
22786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22787    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22788 #define $ac_func innocuous_$ac_func
22789
22790 /* System header to define __stub macros and hopefully few prototypes,
22791     which can conflict with char $ac_func (); below.
22792     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22793     <limits.h> exists even on freestanding compilers.  */
22794
22795 #ifdef __STDC__
22796 # include <limits.h>
22797 #else
22798 # include <assert.h>
22799 #endif
22800
22801 #undef $ac_func
22802
22803 /* Override any gcc2 internal prototype to avoid an error.  */
22804 #ifdef __cplusplus
22805 extern "C"
22806 {
22807 #endif
22808 /* We use char because int might match the return type of a gcc2
22809    builtin and then its argument prototype would still apply.  */
22810 char $ac_func ();
22811 /* The GNU C library defines this for functions which it implements
22812     to always fail with ENOSYS.  Some functions are actually named
22813     something starting with __ and the normal name is an alias.  */
22814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22815 choke me
22816 #else
22817 char (*f) () = $ac_func;
22818 #endif
22819 #ifdef __cplusplus
22820 }
22821 #endif
22822
22823 int
22824 main ()
22825 {
22826 return f != $ac_func;
22827   ;
22828   return 0;
22829 }
22830 _ACEOF
22831 rm -f conftest.$ac_objext conftest$ac_exeext
22832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22833   (eval $ac_link) 2>conftest.er1
22834   ac_status=$?
22835   grep -v '^ *+' conftest.er1 >conftest.err
22836   rm -f conftest.er1
22837   cat conftest.err >&5
22838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22839   (exit $ac_status); } &&
22840          { ac_try='test -z "$ac_c_werror_flag"
22841                          || test ! -s conftest.err'
22842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22843   (eval $ac_try) 2>&5
22844   ac_status=$?
22845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22846   (exit $ac_status); }; } &&
22847          { ac_try='test -s conftest$ac_exeext'
22848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22849   (eval $ac_try) 2>&5
22850   ac_status=$?
22851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22852   (exit $ac_status); }; }; then
22853   eval "$as_ac_var=yes"
22854 else
22855   echo "$as_me: failed program was:" >&5
22856 sed 's/^/| /' conftest.$ac_ext >&5
22857
22858 eval "$as_ac_var=no"
22859 fi
22860 rm -f conftest.err conftest.$ac_objext \
22861       conftest$ac_exeext conftest.$ac_ext
22862 fi
22863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22865 if test `eval echo '${'$as_ac_var'}'` = yes; then
22866   cat >>confdefs.h <<_ACEOF
22867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22868 _ACEOF
22869
22870 fi
22871 done
22872
22873     fi
22874   fi
22875
22876
22877
22878
22879
22880
22881   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22882 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22883   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22884     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22885   echo $ECHO_N "(cached) $ECHO_C" >&6
22886 else
22887
22888
22889
22890       ac_ext=cc
22891 ac_cpp='$CXXCPP $CPPFLAGS'
22892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22895
22896       cat >conftest.$ac_ext <<_ACEOF
22897 /* confdefs.h.  */
22898 _ACEOF
22899 cat confdefs.h >>conftest.$ac_ext
22900 cat >>conftest.$ac_ext <<_ACEOF
22901 /* end confdefs.h.  */
22902 #include <math.h>
22903 int
22904 main ()
22905 {
22906  ldexpl(0, 0);
22907   ;
22908   return 0;
22909 }
22910 _ACEOF
22911 rm -f conftest.$ac_objext
22912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22913   (eval $ac_compile) 2>conftest.er1
22914   ac_status=$?
22915   grep -v '^ *+' conftest.er1 >conftest.err
22916   rm -f conftest.er1
22917   cat conftest.err >&5
22918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919   (exit $ac_status); } &&
22920          { ac_try='test -z "$ac_cxx_werror_flag"
22921                          || test ! -s conftest.err'
22922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22923   (eval $ac_try) 2>&5
22924   ac_status=$?
22925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926   (exit $ac_status); }; } &&
22927          { ac_try='test -s conftest.$ac_objext'
22928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22929   (eval $ac_try) 2>&5
22930   ac_status=$?
22931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22932   (exit $ac_status); }; }; then
22933   glibcxx_cv_func_ldexpl_use=yes
22934 else
22935   echo "$as_me: failed program was:" >&5
22936 sed 's/^/| /' conftest.$ac_ext >&5
22937
22938 glibcxx_cv_func_ldexpl_use=no
22939 fi
22940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22941       ac_ext=c
22942 ac_cpp='$CPP $CPPFLAGS'
22943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22946
22947
22948 fi
22949
22950   fi
22951   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22952 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22953
22954   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22955
22956 for ac_func in ldexpl
22957 do
22958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22959 echo "$as_me:$LINENO: checking for $ac_func" >&5
22960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22961 if eval "test \"\${$as_ac_var+set}\" = set"; then
22962   echo $ECHO_N "(cached) $ECHO_C" >&6
22963 else
22964   if test x$gcc_no_link = xyes; then
22965   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22967    { (exit 1); exit 1; }; }
22968 fi
22969 cat >conftest.$ac_ext <<_ACEOF
22970 /* confdefs.h.  */
22971 _ACEOF
22972 cat confdefs.h >>conftest.$ac_ext
22973 cat >>conftest.$ac_ext <<_ACEOF
22974 /* end confdefs.h.  */
22975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22976    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22977 #define $ac_func innocuous_$ac_func
22978
22979 /* System header to define __stub macros and hopefully few prototypes,
22980     which can conflict with char $ac_func (); below.
22981     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22982     <limits.h> exists even on freestanding compilers.  */
22983
22984 #ifdef __STDC__
22985 # include <limits.h>
22986 #else
22987 # include <assert.h>
22988 #endif
22989
22990 #undef $ac_func
22991
22992 /* Override any gcc2 internal prototype to avoid an error.  */
22993 #ifdef __cplusplus
22994 extern "C"
22995 {
22996 #endif
22997 /* We use char because int might match the return type of a gcc2
22998    builtin and then its argument prototype would still apply.  */
22999 char $ac_func ();
23000 /* The GNU C library defines this for functions which it implements
23001     to always fail with ENOSYS.  Some functions are actually named
23002     something starting with __ and the normal name is an alias.  */
23003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23004 choke me
23005 #else
23006 char (*f) () = $ac_func;
23007 #endif
23008 #ifdef __cplusplus
23009 }
23010 #endif
23011
23012 int
23013 main ()
23014 {
23015 return f != $ac_func;
23016   ;
23017   return 0;
23018 }
23019 _ACEOF
23020 rm -f conftest.$ac_objext conftest$ac_exeext
23021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23022   (eval $ac_link) 2>conftest.er1
23023   ac_status=$?
23024   grep -v '^ *+' conftest.er1 >conftest.err
23025   rm -f conftest.er1
23026   cat conftest.err >&5
23027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028   (exit $ac_status); } &&
23029          { ac_try='test -z "$ac_c_werror_flag"
23030                          || test ! -s conftest.err'
23031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23032   (eval $ac_try) 2>&5
23033   ac_status=$?
23034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23035   (exit $ac_status); }; } &&
23036          { ac_try='test -s conftest$ac_exeext'
23037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23038   (eval $ac_try) 2>&5
23039   ac_status=$?
23040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041   (exit $ac_status); }; }; then
23042   eval "$as_ac_var=yes"
23043 else
23044   echo "$as_me: failed program was:" >&5
23045 sed 's/^/| /' conftest.$ac_ext >&5
23046
23047 eval "$as_ac_var=no"
23048 fi
23049 rm -f conftest.err conftest.$ac_objext \
23050       conftest$ac_exeext conftest.$ac_ext
23051 fi
23052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23054 if test `eval echo '${'$as_ac_var'}'` = yes; then
23055   cat >>confdefs.h <<_ACEOF
23056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23057 _ACEOF
23058
23059 fi
23060 done
23061
23062   else
23063
23064   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
23065 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
23066   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
23067     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
23068   echo $ECHO_N "(cached) $ECHO_C" >&6
23069 else
23070
23071
23072
23073       ac_ext=cc
23074 ac_cpp='$CXXCPP $CPPFLAGS'
23075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23078
23079       cat >conftest.$ac_ext <<_ACEOF
23080 /* confdefs.h.  */
23081 _ACEOF
23082 cat confdefs.h >>conftest.$ac_ext
23083 cat >>conftest.$ac_ext <<_ACEOF
23084 /* end confdefs.h.  */
23085 #include <math.h>
23086 int
23087 main ()
23088 {
23089  _ldexpl(0, 0);
23090   ;
23091   return 0;
23092 }
23093 _ACEOF
23094 rm -f conftest.$ac_objext
23095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23096   (eval $ac_compile) 2>conftest.er1
23097   ac_status=$?
23098   grep -v '^ *+' conftest.er1 >conftest.err
23099   rm -f conftest.er1
23100   cat conftest.err >&5
23101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102   (exit $ac_status); } &&
23103          { ac_try='test -z "$ac_cxx_werror_flag"
23104                          || test ! -s conftest.err'
23105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23106   (eval $ac_try) 2>&5
23107   ac_status=$?
23108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23109   (exit $ac_status); }; } &&
23110          { ac_try='test -s conftest.$ac_objext'
23111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23112   (eval $ac_try) 2>&5
23113   ac_status=$?
23114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23115   (exit $ac_status); }; }; then
23116   glibcxx_cv_func__ldexpl_use=yes
23117 else
23118   echo "$as_me: failed program was:" >&5
23119 sed 's/^/| /' conftest.$ac_ext >&5
23120
23121 glibcxx_cv_func__ldexpl_use=no
23122 fi
23123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23124       ac_ext=c
23125 ac_cpp='$CPP $CPPFLAGS'
23126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23129
23130
23131 fi
23132
23133   fi
23134   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
23135 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
23136
23137     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
23138
23139 for ac_func in _ldexpl
23140 do
23141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23142 echo "$as_me:$LINENO: checking for $ac_func" >&5
23143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23144 if eval "test \"\${$as_ac_var+set}\" = set"; then
23145   echo $ECHO_N "(cached) $ECHO_C" >&6
23146 else
23147   if test x$gcc_no_link = xyes; then
23148   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23150    { (exit 1); exit 1; }; }
23151 fi
23152 cat >conftest.$ac_ext <<_ACEOF
23153 /* confdefs.h.  */
23154 _ACEOF
23155 cat confdefs.h >>conftest.$ac_ext
23156 cat >>conftest.$ac_ext <<_ACEOF
23157 /* end confdefs.h.  */
23158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23159    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23160 #define $ac_func innocuous_$ac_func
23161
23162 /* System header to define __stub macros and hopefully few prototypes,
23163     which can conflict with char $ac_func (); below.
23164     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23165     <limits.h> exists even on freestanding compilers.  */
23166
23167 #ifdef __STDC__
23168 # include <limits.h>
23169 #else
23170 # include <assert.h>
23171 #endif
23172
23173 #undef $ac_func
23174
23175 /* Override any gcc2 internal prototype to avoid an error.  */
23176 #ifdef __cplusplus
23177 extern "C"
23178 {
23179 #endif
23180 /* We use char because int might match the return type of a gcc2
23181    builtin and then its argument prototype would still apply.  */
23182 char $ac_func ();
23183 /* The GNU C library defines this for functions which it implements
23184     to always fail with ENOSYS.  Some functions are actually named
23185     something starting with __ and the normal name is an alias.  */
23186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23187 choke me
23188 #else
23189 char (*f) () = $ac_func;
23190 #endif
23191 #ifdef __cplusplus
23192 }
23193 #endif
23194
23195 int
23196 main ()
23197 {
23198 return f != $ac_func;
23199   ;
23200   return 0;
23201 }
23202 _ACEOF
23203 rm -f conftest.$ac_objext conftest$ac_exeext
23204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23205   (eval $ac_link) 2>conftest.er1
23206   ac_status=$?
23207   grep -v '^ *+' conftest.er1 >conftest.err
23208   rm -f conftest.er1
23209   cat conftest.err >&5
23210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23211   (exit $ac_status); } &&
23212          { ac_try='test -z "$ac_c_werror_flag"
23213                          || test ! -s conftest.err'
23214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23215   (eval $ac_try) 2>&5
23216   ac_status=$?
23217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23218   (exit $ac_status); }; } &&
23219          { ac_try='test -s conftest$ac_exeext'
23220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23221   (eval $ac_try) 2>&5
23222   ac_status=$?
23223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23224   (exit $ac_status); }; }; then
23225   eval "$as_ac_var=yes"
23226 else
23227   echo "$as_me: failed program was:" >&5
23228 sed 's/^/| /' conftest.$ac_ext >&5
23229
23230 eval "$as_ac_var=no"
23231 fi
23232 rm -f conftest.err conftest.$ac_objext \
23233       conftest$ac_exeext conftest.$ac_ext
23234 fi
23235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23237 if test `eval echo '${'$as_ac_var'}'` = yes; then
23238   cat >>confdefs.h <<_ACEOF
23239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23240 _ACEOF
23241
23242 fi
23243 done
23244
23245     fi
23246   fi
23247
23248
23249
23250
23251
23252
23253   echo "$as_me:$LINENO: checking for logl declaration" >&5
23254 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23255   if test x${glibcxx_cv_func_logl_use+set} != xset; then
23256     if test "${glibcxx_cv_func_logl_use+set}" = set; then
23257   echo $ECHO_N "(cached) $ECHO_C" >&6
23258 else
23259
23260
23261
23262       ac_ext=cc
23263 ac_cpp='$CXXCPP $CPPFLAGS'
23264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23267
23268       cat >conftest.$ac_ext <<_ACEOF
23269 /* confdefs.h.  */
23270 _ACEOF
23271 cat confdefs.h >>conftest.$ac_ext
23272 cat >>conftest.$ac_ext <<_ACEOF
23273 /* end confdefs.h.  */
23274 #include <math.h>
23275                       #ifdef HAVE_IEEEFP_H
23276                       #include <ieeefp.h>
23277                       #endif
23278
23279 int
23280 main ()
23281 {
23282  logl(0);
23283   ;
23284   return 0;
23285 }
23286 _ACEOF
23287 rm -f conftest.$ac_objext
23288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23289   (eval $ac_compile) 2>conftest.er1
23290   ac_status=$?
23291   grep -v '^ *+' conftest.er1 >conftest.err
23292   rm -f conftest.er1
23293   cat conftest.err >&5
23294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295   (exit $ac_status); } &&
23296          { ac_try='test -z "$ac_cxx_werror_flag"
23297                          || test ! -s conftest.err'
23298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23299   (eval $ac_try) 2>&5
23300   ac_status=$?
23301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23302   (exit $ac_status); }; } &&
23303          { ac_try='test -s conftest.$ac_objext'
23304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23305   (eval $ac_try) 2>&5
23306   ac_status=$?
23307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23308   (exit $ac_status); }; }; then
23309   glibcxx_cv_func_logl_use=yes
23310 else
23311   echo "$as_me: failed program was:" >&5
23312 sed 's/^/| /' conftest.$ac_ext >&5
23313
23314 glibcxx_cv_func_logl_use=no
23315 fi
23316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23317       ac_ext=c
23318 ac_cpp='$CPP $CPPFLAGS'
23319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23322
23323
23324 fi
23325
23326   fi
23327   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23328 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23329
23330   if test x$glibcxx_cv_func_logl_use = x"yes"; then
23331
23332 for ac_func in logl
23333 do
23334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23335 echo "$as_me:$LINENO: checking for $ac_func" >&5
23336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23337 if eval "test \"\${$as_ac_var+set}\" = set"; then
23338   echo $ECHO_N "(cached) $ECHO_C" >&6
23339 else
23340   if test x$gcc_no_link = xyes; then
23341   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23343    { (exit 1); exit 1; }; }
23344 fi
23345 cat >conftest.$ac_ext <<_ACEOF
23346 /* confdefs.h.  */
23347 _ACEOF
23348 cat confdefs.h >>conftest.$ac_ext
23349 cat >>conftest.$ac_ext <<_ACEOF
23350 /* end confdefs.h.  */
23351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23352    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23353 #define $ac_func innocuous_$ac_func
23354
23355 /* System header to define __stub macros and hopefully few prototypes,
23356     which can conflict with char $ac_func (); below.
23357     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23358     <limits.h> exists even on freestanding compilers.  */
23359
23360 #ifdef __STDC__
23361 # include <limits.h>
23362 #else
23363 # include <assert.h>
23364 #endif
23365
23366 #undef $ac_func
23367
23368 /* Override any gcc2 internal prototype to avoid an error.  */
23369 #ifdef __cplusplus
23370 extern "C"
23371 {
23372 #endif
23373 /* We use char because int might match the return type of a gcc2
23374    builtin and then its argument prototype would still apply.  */
23375 char $ac_func ();
23376 /* The GNU C library defines this for functions which it implements
23377     to always fail with ENOSYS.  Some functions are actually named
23378     something starting with __ and the normal name is an alias.  */
23379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23380 choke me
23381 #else
23382 char (*f) () = $ac_func;
23383 #endif
23384 #ifdef __cplusplus
23385 }
23386 #endif
23387
23388 int
23389 main ()
23390 {
23391 return f != $ac_func;
23392   ;
23393   return 0;
23394 }
23395 _ACEOF
23396 rm -f conftest.$ac_objext conftest$ac_exeext
23397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23398   (eval $ac_link) 2>conftest.er1
23399   ac_status=$?
23400   grep -v '^ *+' conftest.er1 >conftest.err
23401   rm -f conftest.er1
23402   cat conftest.err >&5
23403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404   (exit $ac_status); } &&
23405          { ac_try='test -z "$ac_c_werror_flag"
23406                          || test ! -s conftest.err'
23407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23408   (eval $ac_try) 2>&5
23409   ac_status=$?
23410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411   (exit $ac_status); }; } &&
23412          { ac_try='test -s conftest$ac_exeext'
23413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23414   (eval $ac_try) 2>&5
23415   ac_status=$?
23416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23417   (exit $ac_status); }; }; then
23418   eval "$as_ac_var=yes"
23419 else
23420   echo "$as_me: failed program was:" >&5
23421 sed 's/^/| /' conftest.$ac_ext >&5
23422
23423 eval "$as_ac_var=no"
23424 fi
23425 rm -f conftest.err conftest.$ac_objext \
23426       conftest$ac_exeext conftest.$ac_ext
23427 fi
23428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23430 if test `eval echo '${'$as_ac_var'}'` = yes; then
23431   cat >>confdefs.h <<_ACEOF
23432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23433 _ACEOF
23434
23435 fi
23436 done
23437
23438   else
23439
23440   echo "$as_me:$LINENO: checking for _logl declaration" >&5
23441 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23442   if test x${glibcxx_cv_func__logl_use+set} != xset; then
23443     if test "${glibcxx_cv_func__logl_use+set}" = set; then
23444   echo $ECHO_N "(cached) $ECHO_C" >&6
23445 else
23446
23447
23448
23449       ac_ext=cc
23450 ac_cpp='$CXXCPP $CPPFLAGS'
23451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23454
23455       cat >conftest.$ac_ext <<_ACEOF
23456 /* confdefs.h.  */
23457 _ACEOF
23458 cat confdefs.h >>conftest.$ac_ext
23459 cat >>conftest.$ac_ext <<_ACEOF
23460 /* end confdefs.h.  */
23461 #include <math.h>
23462                       #ifdef HAVE_IEEEFP_H
23463                       #include <ieeefp.h>
23464                       #endif
23465
23466 int
23467 main ()
23468 {
23469  _logl(0);
23470   ;
23471   return 0;
23472 }
23473 _ACEOF
23474 rm -f conftest.$ac_objext
23475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23476   (eval $ac_compile) 2>conftest.er1
23477   ac_status=$?
23478   grep -v '^ *+' conftest.er1 >conftest.err
23479   rm -f conftest.er1
23480   cat conftest.err >&5
23481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23482   (exit $ac_status); } &&
23483          { ac_try='test -z "$ac_cxx_werror_flag"
23484                          || test ! -s conftest.err'
23485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23486   (eval $ac_try) 2>&5
23487   ac_status=$?
23488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23489   (exit $ac_status); }; } &&
23490          { ac_try='test -s conftest.$ac_objext'
23491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23492   (eval $ac_try) 2>&5
23493   ac_status=$?
23494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23495   (exit $ac_status); }; }; then
23496   glibcxx_cv_func__logl_use=yes
23497 else
23498   echo "$as_me: failed program was:" >&5
23499 sed 's/^/| /' conftest.$ac_ext >&5
23500
23501 glibcxx_cv_func__logl_use=no
23502 fi
23503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23504       ac_ext=c
23505 ac_cpp='$CPP $CPPFLAGS'
23506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23509
23510
23511 fi
23512
23513   fi
23514   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23515 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23516
23517     if test x$glibcxx_cv_func__logl_use = x"yes"; then
23518
23519 for ac_func in _logl
23520 do
23521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23522 echo "$as_me:$LINENO: checking for $ac_func" >&5
23523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23524 if eval "test \"\${$as_ac_var+set}\" = set"; then
23525   echo $ECHO_N "(cached) $ECHO_C" >&6
23526 else
23527   if test x$gcc_no_link = xyes; then
23528   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23530    { (exit 1); exit 1; }; }
23531 fi
23532 cat >conftest.$ac_ext <<_ACEOF
23533 /* confdefs.h.  */
23534 _ACEOF
23535 cat confdefs.h >>conftest.$ac_ext
23536 cat >>conftest.$ac_ext <<_ACEOF
23537 /* end confdefs.h.  */
23538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23539    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23540 #define $ac_func innocuous_$ac_func
23541
23542 /* System header to define __stub macros and hopefully few prototypes,
23543     which can conflict with char $ac_func (); below.
23544     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23545     <limits.h> exists even on freestanding compilers.  */
23546
23547 #ifdef __STDC__
23548 # include <limits.h>
23549 #else
23550 # include <assert.h>
23551 #endif
23552
23553 #undef $ac_func
23554
23555 /* Override any gcc2 internal prototype to avoid an error.  */
23556 #ifdef __cplusplus
23557 extern "C"
23558 {
23559 #endif
23560 /* We use char because int might match the return type of a gcc2
23561    builtin and then its argument prototype would still apply.  */
23562 char $ac_func ();
23563 /* The GNU C library defines this for functions which it implements
23564     to always fail with ENOSYS.  Some functions are actually named
23565     something starting with __ and the normal name is an alias.  */
23566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23567 choke me
23568 #else
23569 char (*f) () = $ac_func;
23570 #endif
23571 #ifdef __cplusplus
23572 }
23573 #endif
23574
23575 int
23576 main ()
23577 {
23578 return f != $ac_func;
23579   ;
23580   return 0;
23581 }
23582 _ACEOF
23583 rm -f conftest.$ac_objext conftest$ac_exeext
23584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23585   (eval $ac_link) 2>conftest.er1
23586   ac_status=$?
23587   grep -v '^ *+' conftest.er1 >conftest.err
23588   rm -f conftest.er1
23589   cat conftest.err >&5
23590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23591   (exit $ac_status); } &&
23592          { ac_try='test -z "$ac_c_werror_flag"
23593                          || test ! -s conftest.err'
23594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23595   (eval $ac_try) 2>&5
23596   ac_status=$?
23597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598   (exit $ac_status); }; } &&
23599          { ac_try='test -s conftest$ac_exeext'
23600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23601   (eval $ac_try) 2>&5
23602   ac_status=$?
23603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604   (exit $ac_status); }; }; then
23605   eval "$as_ac_var=yes"
23606 else
23607   echo "$as_me: failed program was:" >&5
23608 sed 's/^/| /' conftest.$ac_ext >&5
23609
23610 eval "$as_ac_var=no"
23611 fi
23612 rm -f conftest.err conftest.$ac_objext \
23613       conftest$ac_exeext conftest.$ac_ext
23614 fi
23615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23617 if test `eval echo '${'$as_ac_var'}'` = yes; then
23618   cat >>confdefs.h <<_ACEOF
23619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23620 _ACEOF
23621
23622 fi
23623 done
23624
23625     fi
23626   fi
23627
23628
23629
23630
23631
23632
23633   echo "$as_me:$LINENO: checking for log10l declaration" >&5
23634 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23635   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23636     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23637   echo $ECHO_N "(cached) $ECHO_C" >&6
23638 else
23639
23640
23641
23642       ac_ext=cc
23643 ac_cpp='$CXXCPP $CPPFLAGS'
23644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23647
23648       cat >conftest.$ac_ext <<_ACEOF
23649 /* confdefs.h.  */
23650 _ACEOF
23651 cat confdefs.h >>conftest.$ac_ext
23652 cat >>conftest.$ac_ext <<_ACEOF
23653 /* end confdefs.h.  */
23654 #include <math.h>
23655                       #ifdef HAVE_IEEEFP_H
23656                       #include <ieeefp.h>
23657                       #endif
23658
23659 int
23660 main ()
23661 {
23662  log10l(0);
23663   ;
23664   return 0;
23665 }
23666 _ACEOF
23667 rm -f conftest.$ac_objext
23668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23669   (eval $ac_compile) 2>conftest.er1
23670   ac_status=$?
23671   grep -v '^ *+' conftest.er1 >conftest.err
23672   rm -f conftest.er1
23673   cat conftest.err >&5
23674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23675   (exit $ac_status); } &&
23676          { ac_try='test -z "$ac_cxx_werror_flag"
23677                          || test ! -s conftest.err'
23678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23679   (eval $ac_try) 2>&5
23680   ac_status=$?
23681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682   (exit $ac_status); }; } &&
23683          { ac_try='test -s conftest.$ac_objext'
23684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23685   (eval $ac_try) 2>&5
23686   ac_status=$?
23687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688   (exit $ac_status); }; }; then
23689   glibcxx_cv_func_log10l_use=yes
23690 else
23691   echo "$as_me: failed program was:" >&5
23692 sed 's/^/| /' conftest.$ac_ext >&5
23693
23694 glibcxx_cv_func_log10l_use=no
23695 fi
23696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23697       ac_ext=c
23698 ac_cpp='$CPP $CPPFLAGS'
23699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23702
23703
23704 fi
23705
23706   fi
23707   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23708 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23709
23710   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23711
23712 for ac_func in log10l
23713 do
23714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23715 echo "$as_me:$LINENO: checking for $ac_func" >&5
23716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23717 if eval "test \"\${$as_ac_var+set}\" = set"; then
23718   echo $ECHO_N "(cached) $ECHO_C" >&6
23719 else
23720   if test x$gcc_no_link = xyes; then
23721   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23723    { (exit 1); exit 1; }; }
23724 fi
23725 cat >conftest.$ac_ext <<_ACEOF
23726 /* confdefs.h.  */
23727 _ACEOF
23728 cat confdefs.h >>conftest.$ac_ext
23729 cat >>conftest.$ac_ext <<_ACEOF
23730 /* end confdefs.h.  */
23731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23733 #define $ac_func innocuous_$ac_func
23734
23735 /* System header to define __stub macros and hopefully few prototypes,
23736     which can conflict with char $ac_func (); below.
23737     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23738     <limits.h> exists even on freestanding compilers.  */
23739
23740 #ifdef __STDC__
23741 # include <limits.h>
23742 #else
23743 # include <assert.h>
23744 #endif
23745
23746 #undef $ac_func
23747
23748 /* Override any gcc2 internal prototype to avoid an error.  */
23749 #ifdef __cplusplus
23750 extern "C"
23751 {
23752 #endif
23753 /* We use char because int might match the return type of a gcc2
23754    builtin and then its argument prototype would still apply.  */
23755 char $ac_func ();
23756 /* The GNU C library defines this for functions which it implements
23757     to always fail with ENOSYS.  Some functions are actually named
23758     something starting with __ and the normal name is an alias.  */
23759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23760 choke me
23761 #else
23762 char (*f) () = $ac_func;
23763 #endif
23764 #ifdef __cplusplus
23765 }
23766 #endif
23767
23768 int
23769 main ()
23770 {
23771 return f != $ac_func;
23772   ;
23773   return 0;
23774 }
23775 _ACEOF
23776 rm -f conftest.$ac_objext conftest$ac_exeext
23777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23778   (eval $ac_link) 2>conftest.er1
23779   ac_status=$?
23780   grep -v '^ *+' conftest.er1 >conftest.err
23781   rm -f conftest.er1
23782   cat conftest.err >&5
23783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23784   (exit $ac_status); } &&
23785          { ac_try='test -z "$ac_c_werror_flag"
23786                          || test ! -s conftest.err'
23787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23788   (eval $ac_try) 2>&5
23789   ac_status=$?
23790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791   (exit $ac_status); }; } &&
23792          { ac_try='test -s conftest$ac_exeext'
23793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23794   (eval $ac_try) 2>&5
23795   ac_status=$?
23796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23797   (exit $ac_status); }; }; then
23798   eval "$as_ac_var=yes"
23799 else
23800   echo "$as_me: failed program was:" >&5
23801 sed 's/^/| /' conftest.$ac_ext >&5
23802
23803 eval "$as_ac_var=no"
23804 fi
23805 rm -f conftest.err conftest.$ac_objext \
23806       conftest$ac_exeext conftest.$ac_ext
23807 fi
23808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23810 if test `eval echo '${'$as_ac_var'}'` = yes; then
23811   cat >>confdefs.h <<_ACEOF
23812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23813 _ACEOF
23814
23815 fi
23816 done
23817
23818   else
23819
23820   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23821 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23822   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23823     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23824   echo $ECHO_N "(cached) $ECHO_C" >&6
23825 else
23826
23827
23828
23829       ac_ext=cc
23830 ac_cpp='$CXXCPP $CPPFLAGS'
23831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23834
23835       cat >conftest.$ac_ext <<_ACEOF
23836 /* confdefs.h.  */
23837 _ACEOF
23838 cat confdefs.h >>conftest.$ac_ext
23839 cat >>conftest.$ac_ext <<_ACEOF
23840 /* end confdefs.h.  */
23841 #include <math.h>
23842                       #ifdef HAVE_IEEEFP_H
23843                       #include <ieeefp.h>
23844                       #endif
23845
23846 int
23847 main ()
23848 {
23849  _log10l(0);
23850   ;
23851   return 0;
23852 }
23853 _ACEOF
23854 rm -f conftest.$ac_objext
23855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23856   (eval $ac_compile) 2>conftest.er1
23857   ac_status=$?
23858   grep -v '^ *+' conftest.er1 >conftest.err
23859   rm -f conftest.er1
23860   cat conftest.err >&5
23861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23862   (exit $ac_status); } &&
23863          { ac_try='test -z "$ac_cxx_werror_flag"
23864                          || test ! -s conftest.err'
23865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23866   (eval $ac_try) 2>&5
23867   ac_status=$?
23868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23869   (exit $ac_status); }; } &&
23870          { ac_try='test -s conftest.$ac_objext'
23871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23872   (eval $ac_try) 2>&5
23873   ac_status=$?
23874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23875   (exit $ac_status); }; }; then
23876   glibcxx_cv_func__log10l_use=yes
23877 else
23878   echo "$as_me: failed program was:" >&5
23879 sed 's/^/| /' conftest.$ac_ext >&5
23880
23881 glibcxx_cv_func__log10l_use=no
23882 fi
23883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23884       ac_ext=c
23885 ac_cpp='$CPP $CPPFLAGS'
23886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23889
23890
23891 fi
23892
23893   fi
23894   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23895 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23896
23897     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23898
23899 for ac_func in _log10l
23900 do
23901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23902 echo "$as_me:$LINENO: checking for $ac_func" >&5
23903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23904 if eval "test \"\${$as_ac_var+set}\" = set"; then
23905   echo $ECHO_N "(cached) $ECHO_C" >&6
23906 else
23907   if test x$gcc_no_link = xyes; then
23908   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23910    { (exit 1); exit 1; }; }
23911 fi
23912 cat >conftest.$ac_ext <<_ACEOF
23913 /* confdefs.h.  */
23914 _ACEOF
23915 cat confdefs.h >>conftest.$ac_ext
23916 cat >>conftest.$ac_ext <<_ACEOF
23917 /* end confdefs.h.  */
23918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23919    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23920 #define $ac_func innocuous_$ac_func
23921
23922 /* System header to define __stub macros and hopefully few prototypes,
23923     which can conflict with char $ac_func (); below.
23924     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23925     <limits.h> exists even on freestanding compilers.  */
23926
23927 #ifdef __STDC__
23928 # include <limits.h>
23929 #else
23930 # include <assert.h>
23931 #endif
23932
23933 #undef $ac_func
23934
23935 /* Override any gcc2 internal prototype to avoid an error.  */
23936 #ifdef __cplusplus
23937 extern "C"
23938 {
23939 #endif
23940 /* We use char because int might match the return type of a gcc2
23941    builtin and then its argument prototype would still apply.  */
23942 char $ac_func ();
23943 /* The GNU C library defines this for functions which it implements
23944     to always fail with ENOSYS.  Some functions are actually named
23945     something starting with __ and the normal name is an alias.  */
23946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23947 choke me
23948 #else
23949 char (*f) () = $ac_func;
23950 #endif
23951 #ifdef __cplusplus
23952 }
23953 #endif
23954
23955 int
23956 main ()
23957 {
23958 return f != $ac_func;
23959   ;
23960   return 0;
23961 }
23962 _ACEOF
23963 rm -f conftest.$ac_objext conftest$ac_exeext
23964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23965   (eval $ac_link) 2>conftest.er1
23966   ac_status=$?
23967   grep -v '^ *+' conftest.er1 >conftest.err
23968   rm -f conftest.er1
23969   cat conftest.err >&5
23970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23971   (exit $ac_status); } &&
23972          { ac_try='test -z "$ac_c_werror_flag"
23973                          || test ! -s conftest.err'
23974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23975   (eval $ac_try) 2>&5
23976   ac_status=$?
23977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23978   (exit $ac_status); }; } &&
23979          { ac_try='test -s conftest$ac_exeext'
23980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23981   (eval $ac_try) 2>&5
23982   ac_status=$?
23983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23984   (exit $ac_status); }; }; then
23985   eval "$as_ac_var=yes"
23986 else
23987   echo "$as_me: failed program was:" >&5
23988 sed 's/^/| /' conftest.$ac_ext >&5
23989
23990 eval "$as_ac_var=no"
23991 fi
23992 rm -f conftest.err conftest.$ac_objext \
23993       conftest$ac_exeext conftest.$ac_ext
23994 fi
23995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23997 if test `eval echo '${'$as_ac_var'}'` = yes; then
23998   cat >>confdefs.h <<_ACEOF
23999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24000 _ACEOF
24001
24002 fi
24003 done
24004
24005     fi
24006   fi
24007
24008
24009
24010
24011
24012
24013   echo "$as_me:$LINENO: checking for modfl declaration" >&5
24014 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
24015   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24016     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
24017   echo $ECHO_N "(cached) $ECHO_C" >&6
24018 else
24019
24020
24021
24022       ac_ext=cc
24023 ac_cpp='$CXXCPP $CPPFLAGS'
24024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24027
24028       cat >conftest.$ac_ext <<_ACEOF
24029 /* confdefs.h.  */
24030 _ACEOF
24031 cat confdefs.h >>conftest.$ac_ext
24032 cat >>conftest.$ac_ext <<_ACEOF
24033 /* end confdefs.h.  */
24034 #include <math.h>
24035 int
24036 main ()
24037 {
24038  modfl(0, 0);
24039   ;
24040   return 0;
24041 }
24042 _ACEOF
24043 rm -f conftest.$ac_objext
24044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24045   (eval $ac_compile) 2>conftest.er1
24046   ac_status=$?
24047   grep -v '^ *+' conftest.er1 >conftest.err
24048   rm -f conftest.er1
24049   cat conftest.err >&5
24050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24051   (exit $ac_status); } &&
24052          { ac_try='test -z "$ac_cxx_werror_flag"
24053                          || test ! -s conftest.err'
24054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24055   (eval $ac_try) 2>&5
24056   ac_status=$?
24057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24058   (exit $ac_status); }; } &&
24059          { ac_try='test -s conftest.$ac_objext'
24060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24061   (eval $ac_try) 2>&5
24062   ac_status=$?
24063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24064   (exit $ac_status); }; }; then
24065   glibcxx_cv_func_modfl_use=yes
24066 else
24067   echo "$as_me: failed program was:" >&5
24068 sed 's/^/| /' conftest.$ac_ext >&5
24069
24070 glibcxx_cv_func_modfl_use=no
24071 fi
24072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24073       ac_ext=c
24074 ac_cpp='$CPP $CPPFLAGS'
24075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24078
24079
24080 fi
24081
24082   fi
24083   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
24084 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
24085
24086   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24087
24088 for ac_func in modfl
24089 do
24090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24091 echo "$as_me:$LINENO: checking for $ac_func" >&5
24092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24093 if eval "test \"\${$as_ac_var+set}\" = set"; then
24094   echo $ECHO_N "(cached) $ECHO_C" >&6
24095 else
24096   if test x$gcc_no_link = xyes; then
24097   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24099    { (exit 1); exit 1; }; }
24100 fi
24101 cat >conftest.$ac_ext <<_ACEOF
24102 /* confdefs.h.  */
24103 _ACEOF
24104 cat confdefs.h >>conftest.$ac_ext
24105 cat >>conftest.$ac_ext <<_ACEOF
24106 /* end confdefs.h.  */
24107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24108    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24109 #define $ac_func innocuous_$ac_func
24110
24111 /* System header to define __stub macros and hopefully few prototypes,
24112     which can conflict with char $ac_func (); below.
24113     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24114     <limits.h> exists even on freestanding compilers.  */
24115
24116 #ifdef __STDC__
24117 # include <limits.h>
24118 #else
24119 # include <assert.h>
24120 #endif
24121
24122 #undef $ac_func
24123
24124 /* Override any gcc2 internal prototype to avoid an error.  */
24125 #ifdef __cplusplus
24126 extern "C"
24127 {
24128 #endif
24129 /* We use char because int might match the return type of a gcc2
24130    builtin and then its argument prototype would still apply.  */
24131 char $ac_func ();
24132 /* The GNU C library defines this for functions which it implements
24133     to always fail with ENOSYS.  Some functions are actually named
24134     something starting with __ and the normal name is an alias.  */
24135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24136 choke me
24137 #else
24138 char (*f) () = $ac_func;
24139 #endif
24140 #ifdef __cplusplus
24141 }
24142 #endif
24143
24144 int
24145 main ()
24146 {
24147 return f != $ac_func;
24148   ;
24149   return 0;
24150 }
24151 _ACEOF
24152 rm -f conftest.$ac_objext conftest$ac_exeext
24153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24154   (eval $ac_link) 2>conftest.er1
24155   ac_status=$?
24156   grep -v '^ *+' conftest.er1 >conftest.err
24157   rm -f conftest.er1
24158   cat conftest.err >&5
24159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24160   (exit $ac_status); } &&
24161          { ac_try='test -z "$ac_c_werror_flag"
24162                          || test ! -s conftest.err'
24163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24164   (eval $ac_try) 2>&5
24165   ac_status=$?
24166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24167   (exit $ac_status); }; } &&
24168          { ac_try='test -s conftest$ac_exeext'
24169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24170   (eval $ac_try) 2>&5
24171   ac_status=$?
24172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173   (exit $ac_status); }; }; then
24174   eval "$as_ac_var=yes"
24175 else
24176   echo "$as_me: failed program was:" >&5
24177 sed 's/^/| /' conftest.$ac_ext >&5
24178
24179 eval "$as_ac_var=no"
24180 fi
24181 rm -f conftest.err conftest.$ac_objext \
24182       conftest$ac_exeext conftest.$ac_ext
24183 fi
24184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24186 if test `eval echo '${'$as_ac_var'}'` = yes; then
24187   cat >>confdefs.h <<_ACEOF
24188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24189 _ACEOF
24190
24191 fi
24192 done
24193
24194   else
24195
24196   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
24197 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
24198   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24199     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
24200   echo $ECHO_N "(cached) $ECHO_C" >&6
24201 else
24202
24203
24204
24205       ac_ext=cc
24206 ac_cpp='$CXXCPP $CPPFLAGS'
24207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24210
24211       cat >conftest.$ac_ext <<_ACEOF
24212 /* confdefs.h.  */
24213 _ACEOF
24214 cat confdefs.h >>conftest.$ac_ext
24215 cat >>conftest.$ac_ext <<_ACEOF
24216 /* end confdefs.h.  */
24217 #include <math.h>
24218 int
24219 main ()
24220 {
24221  _modfl(0, 0);
24222   ;
24223   return 0;
24224 }
24225 _ACEOF
24226 rm -f conftest.$ac_objext
24227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24228   (eval $ac_compile) 2>conftest.er1
24229   ac_status=$?
24230   grep -v '^ *+' conftest.er1 >conftest.err
24231   rm -f conftest.er1
24232   cat conftest.err >&5
24233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24234   (exit $ac_status); } &&
24235          { ac_try='test -z "$ac_cxx_werror_flag"
24236                          || test ! -s conftest.err'
24237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24238   (eval $ac_try) 2>&5
24239   ac_status=$?
24240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241   (exit $ac_status); }; } &&
24242          { ac_try='test -s conftest.$ac_objext'
24243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24244   (eval $ac_try) 2>&5
24245   ac_status=$?
24246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24247   (exit $ac_status); }; }; then
24248   glibcxx_cv_func__modfl_use=yes
24249 else
24250   echo "$as_me: failed program was:" >&5
24251 sed 's/^/| /' conftest.$ac_ext >&5
24252
24253 glibcxx_cv_func__modfl_use=no
24254 fi
24255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24256       ac_ext=c
24257 ac_cpp='$CPP $CPPFLAGS'
24258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24261
24262
24263 fi
24264
24265   fi
24266   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24267 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24268
24269     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24270
24271 for ac_func in _modfl
24272 do
24273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24274 echo "$as_me:$LINENO: checking for $ac_func" >&5
24275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24276 if eval "test \"\${$as_ac_var+set}\" = set"; then
24277   echo $ECHO_N "(cached) $ECHO_C" >&6
24278 else
24279   if test x$gcc_no_link = xyes; then
24280   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24282    { (exit 1); exit 1; }; }
24283 fi
24284 cat >conftest.$ac_ext <<_ACEOF
24285 /* confdefs.h.  */
24286 _ACEOF
24287 cat confdefs.h >>conftest.$ac_ext
24288 cat >>conftest.$ac_ext <<_ACEOF
24289 /* end confdefs.h.  */
24290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24291    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24292 #define $ac_func innocuous_$ac_func
24293
24294 /* System header to define __stub macros and hopefully few prototypes,
24295     which can conflict with char $ac_func (); below.
24296     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24297     <limits.h> exists even on freestanding compilers.  */
24298
24299 #ifdef __STDC__
24300 # include <limits.h>
24301 #else
24302 # include <assert.h>
24303 #endif
24304
24305 #undef $ac_func
24306
24307 /* Override any gcc2 internal prototype to avoid an error.  */
24308 #ifdef __cplusplus
24309 extern "C"
24310 {
24311 #endif
24312 /* We use char because int might match the return type of a gcc2
24313    builtin and then its argument prototype would still apply.  */
24314 char $ac_func ();
24315 /* The GNU C library defines this for functions which it implements
24316     to always fail with ENOSYS.  Some functions are actually named
24317     something starting with __ and the normal name is an alias.  */
24318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24319 choke me
24320 #else
24321 char (*f) () = $ac_func;
24322 #endif
24323 #ifdef __cplusplus
24324 }
24325 #endif
24326
24327 int
24328 main ()
24329 {
24330 return f != $ac_func;
24331   ;
24332   return 0;
24333 }
24334 _ACEOF
24335 rm -f conftest.$ac_objext conftest$ac_exeext
24336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24337   (eval $ac_link) 2>conftest.er1
24338   ac_status=$?
24339   grep -v '^ *+' conftest.er1 >conftest.err
24340   rm -f conftest.er1
24341   cat conftest.err >&5
24342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24343   (exit $ac_status); } &&
24344          { ac_try='test -z "$ac_c_werror_flag"
24345                          || test ! -s conftest.err'
24346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24347   (eval $ac_try) 2>&5
24348   ac_status=$?
24349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350   (exit $ac_status); }; } &&
24351          { ac_try='test -s conftest$ac_exeext'
24352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24353   (eval $ac_try) 2>&5
24354   ac_status=$?
24355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356   (exit $ac_status); }; }; then
24357   eval "$as_ac_var=yes"
24358 else
24359   echo "$as_me: failed program was:" >&5
24360 sed 's/^/| /' conftest.$ac_ext >&5
24361
24362 eval "$as_ac_var=no"
24363 fi
24364 rm -f conftest.err conftest.$ac_objext \
24365       conftest$ac_exeext conftest.$ac_ext
24366 fi
24367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24369 if test `eval echo '${'$as_ac_var'}'` = yes; then
24370   cat >>confdefs.h <<_ACEOF
24371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24372 _ACEOF
24373
24374 fi
24375 done
24376
24377     fi
24378   fi
24379
24380
24381
24382
24383
24384
24385   echo "$as_me:$LINENO: checking for powl declaration" >&5
24386 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24387   if test x${glibcxx_cv_func_powl_use+set} != xset; then
24388     if test "${glibcxx_cv_func_powl_use+set}" = set; then
24389   echo $ECHO_N "(cached) $ECHO_C" >&6
24390 else
24391
24392
24393
24394       ac_ext=cc
24395 ac_cpp='$CXXCPP $CPPFLAGS'
24396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24399
24400       cat >conftest.$ac_ext <<_ACEOF
24401 /* confdefs.h.  */
24402 _ACEOF
24403 cat confdefs.h >>conftest.$ac_ext
24404 cat >>conftest.$ac_ext <<_ACEOF
24405 /* end confdefs.h.  */
24406 #include <math.h>
24407 int
24408 main ()
24409 {
24410  powl(0, 0);
24411   ;
24412   return 0;
24413 }
24414 _ACEOF
24415 rm -f conftest.$ac_objext
24416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24417   (eval $ac_compile) 2>conftest.er1
24418   ac_status=$?
24419   grep -v '^ *+' conftest.er1 >conftest.err
24420   rm -f conftest.er1
24421   cat conftest.err >&5
24422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423   (exit $ac_status); } &&
24424          { ac_try='test -z "$ac_cxx_werror_flag"
24425                          || test ! -s conftest.err'
24426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24427   (eval $ac_try) 2>&5
24428   ac_status=$?
24429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24430   (exit $ac_status); }; } &&
24431          { ac_try='test -s conftest.$ac_objext'
24432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24433   (eval $ac_try) 2>&5
24434   ac_status=$?
24435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24436   (exit $ac_status); }; }; then
24437   glibcxx_cv_func_powl_use=yes
24438 else
24439   echo "$as_me: failed program was:" >&5
24440 sed 's/^/| /' conftest.$ac_ext >&5
24441
24442 glibcxx_cv_func_powl_use=no
24443 fi
24444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24445       ac_ext=c
24446 ac_cpp='$CPP $CPPFLAGS'
24447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24450
24451
24452 fi
24453
24454   fi
24455   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24456 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24457
24458   if test x$glibcxx_cv_func_powl_use = x"yes"; then
24459
24460 for ac_func in powl
24461 do
24462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24463 echo "$as_me:$LINENO: checking for $ac_func" >&5
24464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24465 if eval "test \"\${$as_ac_var+set}\" = set"; then
24466   echo $ECHO_N "(cached) $ECHO_C" >&6
24467 else
24468   if test x$gcc_no_link = xyes; then
24469   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24471    { (exit 1); exit 1; }; }
24472 fi
24473 cat >conftest.$ac_ext <<_ACEOF
24474 /* confdefs.h.  */
24475 _ACEOF
24476 cat confdefs.h >>conftest.$ac_ext
24477 cat >>conftest.$ac_ext <<_ACEOF
24478 /* end confdefs.h.  */
24479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24480    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24481 #define $ac_func innocuous_$ac_func
24482
24483 /* System header to define __stub macros and hopefully few prototypes,
24484     which can conflict with char $ac_func (); below.
24485     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24486     <limits.h> exists even on freestanding compilers.  */
24487
24488 #ifdef __STDC__
24489 # include <limits.h>
24490 #else
24491 # include <assert.h>
24492 #endif
24493
24494 #undef $ac_func
24495
24496 /* Override any gcc2 internal prototype to avoid an error.  */
24497 #ifdef __cplusplus
24498 extern "C"
24499 {
24500 #endif
24501 /* We use char because int might match the return type of a gcc2
24502    builtin and then its argument prototype would still apply.  */
24503 char $ac_func ();
24504 /* The GNU C library defines this for functions which it implements
24505     to always fail with ENOSYS.  Some functions are actually named
24506     something starting with __ and the normal name is an alias.  */
24507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24508 choke me
24509 #else
24510 char (*f) () = $ac_func;
24511 #endif
24512 #ifdef __cplusplus
24513 }
24514 #endif
24515
24516 int
24517 main ()
24518 {
24519 return f != $ac_func;
24520   ;
24521   return 0;
24522 }
24523 _ACEOF
24524 rm -f conftest.$ac_objext conftest$ac_exeext
24525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24526   (eval $ac_link) 2>conftest.er1
24527   ac_status=$?
24528   grep -v '^ *+' conftest.er1 >conftest.err
24529   rm -f conftest.er1
24530   cat conftest.err >&5
24531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24532   (exit $ac_status); } &&
24533          { ac_try='test -z "$ac_c_werror_flag"
24534                          || test ! -s conftest.err'
24535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24536   (eval $ac_try) 2>&5
24537   ac_status=$?
24538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24539   (exit $ac_status); }; } &&
24540          { ac_try='test -s conftest$ac_exeext'
24541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24542   (eval $ac_try) 2>&5
24543   ac_status=$?
24544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24545   (exit $ac_status); }; }; then
24546   eval "$as_ac_var=yes"
24547 else
24548   echo "$as_me: failed program was:" >&5
24549 sed 's/^/| /' conftest.$ac_ext >&5
24550
24551 eval "$as_ac_var=no"
24552 fi
24553 rm -f conftest.err conftest.$ac_objext \
24554       conftest$ac_exeext conftest.$ac_ext
24555 fi
24556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24558 if test `eval echo '${'$as_ac_var'}'` = yes; then
24559   cat >>confdefs.h <<_ACEOF
24560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24561 _ACEOF
24562
24563 fi
24564 done
24565
24566   else
24567
24568   echo "$as_me:$LINENO: checking for _powl declaration" >&5
24569 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24570   if test x${glibcxx_cv_func__powl_use+set} != xset; then
24571     if test "${glibcxx_cv_func__powl_use+set}" = set; then
24572   echo $ECHO_N "(cached) $ECHO_C" >&6
24573 else
24574
24575
24576
24577       ac_ext=cc
24578 ac_cpp='$CXXCPP $CPPFLAGS'
24579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24582
24583       cat >conftest.$ac_ext <<_ACEOF
24584 /* confdefs.h.  */
24585 _ACEOF
24586 cat confdefs.h >>conftest.$ac_ext
24587 cat >>conftest.$ac_ext <<_ACEOF
24588 /* end confdefs.h.  */
24589 #include <math.h>
24590 int
24591 main ()
24592 {
24593  _powl(0, 0);
24594   ;
24595   return 0;
24596 }
24597 _ACEOF
24598 rm -f conftest.$ac_objext
24599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24600   (eval $ac_compile) 2>conftest.er1
24601   ac_status=$?
24602   grep -v '^ *+' conftest.er1 >conftest.err
24603   rm -f conftest.er1
24604   cat conftest.err >&5
24605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606   (exit $ac_status); } &&
24607          { ac_try='test -z "$ac_cxx_werror_flag"
24608                          || test ! -s conftest.err'
24609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24610   (eval $ac_try) 2>&5
24611   ac_status=$?
24612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24613   (exit $ac_status); }; } &&
24614          { ac_try='test -s conftest.$ac_objext'
24615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24616   (eval $ac_try) 2>&5
24617   ac_status=$?
24618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24619   (exit $ac_status); }; }; then
24620   glibcxx_cv_func__powl_use=yes
24621 else
24622   echo "$as_me: failed program was:" >&5
24623 sed 's/^/| /' conftest.$ac_ext >&5
24624
24625 glibcxx_cv_func__powl_use=no
24626 fi
24627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24628       ac_ext=c
24629 ac_cpp='$CPP $CPPFLAGS'
24630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24633
24634
24635 fi
24636
24637   fi
24638   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24639 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24640
24641     if test x$glibcxx_cv_func__powl_use = x"yes"; then
24642
24643 for ac_func in _powl
24644 do
24645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24646 echo "$as_me:$LINENO: checking for $ac_func" >&5
24647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24648 if eval "test \"\${$as_ac_var+set}\" = set"; then
24649   echo $ECHO_N "(cached) $ECHO_C" >&6
24650 else
24651   if test x$gcc_no_link = xyes; then
24652   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24654    { (exit 1); exit 1; }; }
24655 fi
24656 cat >conftest.$ac_ext <<_ACEOF
24657 /* confdefs.h.  */
24658 _ACEOF
24659 cat confdefs.h >>conftest.$ac_ext
24660 cat >>conftest.$ac_ext <<_ACEOF
24661 /* end confdefs.h.  */
24662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24663    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24664 #define $ac_func innocuous_$ac_func
24665
24666 /* System header to define __stub macros and hopefully few prototypes,
24667     which can conflict with char $ac_func (); below.
24668     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24669     <limits.h> exists even on freestanding compilers.  */
24670
24671 #ifdef __STDC__
24672 # include <limits.h>
24673 #else
24674 # include <assert.h>
24675 #endif
24676
24677 #undef $ac_func
24678
24679 /* Override any gcc2 internal prototype to avoid an error.  */
24680 #ifdef __cplusplus
24681 extern "C"
24682 {
24683 #endif
24684 /* We use char because int might match the return type of a gcc2
24685    builtin and then its argument prototype would still apply.  */
24686 char $ac_func ();
24687 /* The GNU C library defines this for functions which it implements
24688     to always fail with ENOSYS.  Some functions are actually named
24689     something starting with __ and the normal name is an alias.  */
24690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24691 choke me
24692 #else
24693 char (*f) () = $ac_func;
24694 #endif
24695 #ifdef __cplusplus
24696 }
24697 #endif
24698
24699 int
24700 main ()
24701 {
24702 return f != $ac_func;
24703   ;
24704   return 0;
24705 }
24706 _ACEOF
24707 rm -f conftest.$ac_objext conftest$ac_exeext
24708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24709   (eval $ac_link) 2>conftest.er1
24710   ac_status=$?
24711   grep -v '^ *+' conftest.er1 >conftest.err
24712   rm -f conftest.er1
24713   cat conftest.err >&5
24714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24715   (exit $ac_status); } &&
24716          { ac_try='test -z "$ac_c_werror_flag"
24717                          || test ! -s conftest.err'
24718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24719   (eval $ac_try) 2>&5
24720   ac_status=$?
24721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24722   (exit $ac_status); }; } &&
24723          { ac_try='test -s conftest$ac_exeext'
24724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24725   (eval $ac_try) 2>&5
24726   ac_status=$?
24727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24728   (exit $ac_status); }; }; then
24729   eval "$as_ac_var=yes"
24730 else
24731   echo "$as_me: failed program was:" >&5
24732 sed 's/^/| /' conftest.$ac_ext >&5
24733
24734 eval "$as_ac_var=no"
24735 fi
24736 rm -f conftest.err conftest.$ac_objext \
24737       conftest$ac_exeext conftest.$ac_ext
24738 fi
24739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24741 if test `eval echo '${'$as_ac_var'}'` = yes; then
24742   cat >>confdefs.h <<_ACEOF
24743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24744 _ACEOF
24745
24746 fi
24747 done
24748
24749     fi
24750   fi
24751
24752
24753
24754
24755
24756
24757   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24758 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24759   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24760     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24761   echo $ECHO_N "(cached) $ECHO_C" >&6
24762 else
24763
24764
24765
24766       ac_ext=cc
24767 ac_cpp='$CXXCPP $CPPFLAGS'
24768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24771
24772       cat >conftest.$ac_ext <<_ACEOF
24773 /* confdefs.h.  */
24774 _ACEOF
24775 cat confdefs.h >>conftest.$ac_ext
24776 cat >>conftest.$ac_ext <<_ACEOF
24777 /* end confdefs.h.  */
24778 #include <math.h>
24779                       #ifdef HAVE_IEEEFP_H
24780                       #include <ieeefp.h>
24781                       #endif
24782
24783 int
24784 main ()
24785 {
24786  sqrtl(0);
24787   ;
24788   return 0;
24789 }
24790 _ACEOF
24791 rm -f conftest.$ac_objext
24792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24793   (eval $ac_compile) 2>conftest.er1
24794   ac_status=$?
24795   grep -v '^ *+' conftest.er1 >conftest.err
24796   rm -f conftest.er1
24797   cat conftest.err >&5
24798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24799   (exit $ac_status); } &&
24800          { ac_try='test -z "$ac_cxx_werror_flag"
24801                          || test ! -s conftest.err'
24802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24803   (eval $ac_try) 2>&5
24804   ac_status=$?
24805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806   (exit $ac_status); }; } &&
24807          { ac_try='test -s conftest.$ac_objext'
24808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24809   (eval $ac_try) 2>&5
24810   ac_status=$?
24811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24812   (exit $ac_status); }; }; then
24813   glibcxx_cv_func_sqrtl_use=yes
24814 else
24815   echo "$as_me: failed program was:" >&5
24816 sed 's/^/| /' conftest.$ac_ext >&5
24817
24818 glibcxx_cv_func_sqrtl_use=no
24819 fi
24820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24821       ac_ext=c
24822 ac_cpp='$CPP $CPPFLAGS'
24823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24826
24827
24828 fi
24829
24830   fi
24831   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24832 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24833
24834   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24835
24836 for ac_func in sqrtl
24837 do
24838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24839 echo "$as_me:$LINENO: checking for $ac_func" >&5
24840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24841 if eval "test \"\${$as_ac_var+set}\" = set"; then
24842   echo $ECHO_N "(cached) $ECHO_C" >&6
24843 else
24844   if test x$gcc_no_link = xyes; then
24845   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24847    { (exit 1); exit 1; }; }
24848 fi
24849 cat >conftest.$ac_ext <<_ACEOF
24850 /* confdefs.h.  */
24851 _ACEOF
24852 cat confdefs.h >>conftest.$ac_ext
24853 cat >>conftest.$ac_ext <<_ACEOF
24854 /* end confdefs.h.  */
24855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24856    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24857 #define $ac_func innocuous_$ac_func
24858
24859 /* System header to define __stub macros and hopefully few prototypes,
24860     which can conflict with char $ac_func (); below.
24861     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24862     <limits.h> exists even on freestanding compilers.  */
24863
24864 #ifdef __STDC__
24865 # include <limits.h>
24866 #else
24867 # include <assert.h>
24868 #endif
24869
24870 #undef $ac_func
24871
24872 /* Override any gcc2 internal prototype to avoid an error.  */
24873 #ifdef __cplusplus
24874 extern "C"
24875 {
24876 #endif
24877 /* We use char because int might match the return type of a gcc2
24878    builtin and then its argument prototype would still apply.  */
24879 char $ac_func ();
24880 /* The GNU C library defines this for functions which it implements
24881     to always fail with ENOSYS.  Some functions are actually named
24882     something starting with __ and the normal name is an alias.  */
24883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24884 choke me
24885 #else
24886 char (*f) () = $ac_func;
24887 #endif
24888 #ifdef __cplusplus
24889 }
24890 #endif
24891
24892 int
24893 main ()
24894 {
24895 return f != $ac_func;
24896   ;
24897   return 0;
24898 }
24899 _ACEOF
24900 rm -f conftest.$ac_objext conftest$ac_exeext
24901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24902   (eval $ac_link) 2>conftest.er1
24903   ac_status=$?
24904   grep -v '^ *+' conftest.er1 >conftest.err
24905   rm -f conftest.er1
24906   cat conftest.err >&5
24907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908   (exit $ac_status); } &&
24909          { ac_try='test -z "$ac_c_werror_flag"
24910                          || test ! -s conftest.err'
24911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24912   (eval $ac_try) 2>&5
24913   ac_status=$?
24914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915   (exit $ac_status); }; } &&
24916          { ac_try='test -s conftest$ac_exeext'
24917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24918   (eval $ac_try) 2>&5
24919   ac_status=$?
24920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921   (exit $ac_status); }; }; then
24922   eval "$as_ac_var=yes"
24923 else
24924   echo "$as_me: failed program was:" >&5
24925 sed 's/^/| /' conftest.$ac_ext >&5
24926
24927 eval "$as_ac_var=no"
24928 fi
24929 rm -f conftest.err conftest.$ac_objext \
24930       conftest$ac_exeext conftest.$ac_ext
24931 fi
24932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24934 if test `eval echo '${'$as_ac_var'}'` = yes; then
24935   cat >>confdefs.h <<_ACEOF
24936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24937 _ACEOF
24938
24939 fi
24940 done
24941
24942   else
24943
24944   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24945 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24946   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24947     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24948   echo $ECHO_N "(cached) $ECHO_C" >&6
24949 else
24950
24951
24952
24953       ac_ext=cc
24954 ac_cpp='$CXXCPP $CPPFLAGS'
24955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24958
24959       cat >conftest.$ac_ext <<_ACEOF
24960 /* confdefs.h.  */
24961 _ACEOF
24962 cat confdefs.h >>conftest.$ac_ext
24963 cat >>conftest.$ac_ext <<_ACEOF
24964 /* end confdefs.h.  */
24965 #include <math.h>
24966                       #ifdef HAVE_IEEEFP_H
24967                       #include <ieeefp.h>
24968                       #endif
24969
24970 int
24971 main ()
24972 {
24973  _sqrtl(0);
24974   ;
24975   return 0;
24976 }
24977 _ACEOF
24978 rm -f conftest.$ac_objext
24979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24980   (eval $ac_compile) 2>conftest.er1
24981   ac_status=$?
24982   grep -v '^ *+' conftest.er1 >conftest.err
24983   rm -f conftest.er1
24984   cat conftest.err >&5
24985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24986   (exit $ac_status); } &&
24987          { ac_try='test -z "$ac_cxx_werror_flag"
24988                          || test ! -s conftest.err'
24989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24990   (eval $ac_try) 2>&5
24991   ac_status=$?
24992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24993   (exit $ac_status); }; } &&
24994          { ac_try='test -s conftest.$ac_objext'
24995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24996   (eval $ac_try) 2>&5
24997   ac_status=$?
24998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999   (exit $ac_status); }; }; then
25000   glibcxx_cv_func__sqrtl_use=yes
25001 else
25002   echo "$as_me: failed program was:" >&5
25003 sed 's/^/| /' conftest.$ac_ext >&5
25004
25005 glibcxx_cv_func__sqrtl_use=no
25006 fi
25007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25008       ac_ext=c
25009 ac_cpp='$CPP $CPPFLAGS'
25010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25013
25014
25015 fi
25016
25017   fi
25018   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
25019 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
25020
25021     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25022
25023 for ac_func in _sqrtl
25024 do
25025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25026 echo "$as_me:$LINENO: checking for $ac_func" >&5
25027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25028 if eval "test \"\${$as_ac_var+set}\" = set"; then
25029   echo $ECHO_N "(cached) $ECHO_C" >&6
25030 else
25031   if test x$gcc_no_link = xyes; then
25032   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25034    { (exit 1); exit 1; }; }
25035 fi
25036 cat >conftest.$ac_ext <<_ACEOF
25037 /* confdefs.h.  */
25038 _ACEOF
25039 cat confdefs.h >>conftest.$ac_ext
25040 cat >>conftest.$ac_ext <<_ACEOF
25041 /* end confdefs.h.  */
25042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25043    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25044 #define $ac_func innocuous_$ac_func
25045
25046 /* System header to define __stub macros and hopefully few prototypes,
25047     which can conflict with char $ac_func (); below.
25048     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25049     <limits.h> exists even on freestanding compilers.  */
25050
25051 #ifdef __STDC__
25052 # include <limits.h>
25053 #else
25054 # include <assert.h>
25055 #endif
25056
25057 #undef $ac_func
25058
25059 /* Override any gcc2 internal prototype to avoid an error.  */
25060 #ifdef __cplusplus
25061 extern "C"
25062 {
25063 #endif
25064 /* We use char because int might match the return type of a gcc2
25065    builtin and then its argument prototype would still apply.  */
25066 char $ac_func ();
25067 /* The GNU C library defines this for functions which it implements
25068     to always fail with ENOSYS.  Some functions are actually named
25069     something starting with __ and the normal name is an alias.  */
25070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25071 choke me
25072 #else
25073 char (*f) () = $ac_func;
25074 #endif
25075 #ifdef __cplusplus
25076 }
25077 #endif
25078
25079 int
25080 main ()
25081 {
25082 return f != $ac_func;
25083   ;
25084   return 0;
25085 }
25086 _ACEOF
25087 rm -f conftest.$ac_objext conftest$ac_exeext
25088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25089   (eval $ac_link) 2>conftest.er1
25090   ac_status=$?
25091   grep -v '^ *+' conftest.er1 >conftest.err
25092   rm -f conftest.er1
25093   cat conftest.err >&5
25094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25095   (exit $ac_status); } &&
25096          { ac_try='test -z "$ac_c_werror_flag"
25097                          || test ! -s conftest.err'
25098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25099   (eval $ac_try) 2>&5
25100   ac_status=$?
25101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25102   (exit $ac_status); }; } &&
25103          { ac_try='test -s conftest$ac_exeext'
25104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25105   (eval $ac_try) 2>&5
25106   ac_status=$?
25107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25108   (exit $ac_status); }; }; then
25109   eval "$as_ac_var=yes"
25110 else
25111   echo "$as_me: failed program was:" >&5
25112 sed 's/^/| /' conftest.$ac_ext >&5
25113
25114 eval "$as_ac_var=no"
25115 fi
25116 rm -f conftest.err conftest.$ac_objext \
25117       conftest$ac_exeext conftest.$ac_ext
25118 fi
25119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25121 if test `eval echo '${'$as_ac_var'}'` = yes; then
25122   cat >>confdefs.h <<_ACEOF
25123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25124 _ACEOF
25125
25126 fi
25127 done
25128
25129     fi
25130   fi
25131
25132
25133
25134
25135
25136
25137   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
25138 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
25139   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25140     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
25141   echo $ECHO_N "(cached) $ECHO_C" >&6
25142 else
25143
25144
25145
25146       ac_ext=cc
25147 ac_cpp='$CXXCPP $CPPFLAGS'
25148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25151
25152       cat >conftest.$ac_ext <<_ACEOF
25153 /* confdefs.h.  */
25154 _ACEOF
25155 cat confdefs.h >>conftest.$ac_ext
25156 cat >>conftest.$ac_ext <<_ACEOF
25157 /* end confdefs.h.  */
25158 #include <math.h>
25159 int
25160 main ()
25161 {
25162  sincosl(0, 0, 0);
25163   ;
25164   return 0;
25165 }
25166 _ACEOF
25167 rm -f conftest.$ac_objext
25168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25169   (eval $ac_compile) 2>conftest.er1
25170   ac_status=$?
25171   grep -v '^ *+' conftest.er1 >conftest.err
25172   rm -f conftest.er1
25173   cat conftest.err >&5
25174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25175   (exit $ac_status); } &&
25176          { ac_try='test -z "$ac_cxx_werror_flag"
25177                          || test ! -s conftest.err'
25178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25179   (eval $ac_try) 2>&5
25180   ac_status=$?
25181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25182   (exit $ac_status); }; } &&
25183          { ac_try='test -s conftest.$ac_objext'
25184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25185   (eval $ac_try) 2>&5
25186   ac_status=$?
25187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25188   (exit $ac_status); }; }; then
25189   glibcxx_cv_func_sincosl_use=yes
25190 else
25191   echo "$as_me: failed program was:" >&5
25192 sed 's/^/| /' conftest.$ac_ext >&5
25193
25194 glibcxx_cv_func_sincosl_use=no
25195 fi
25196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25197       ac_ext=c
25198 ac_cpp='$CPP $CPPFLAGS'
25199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25202
25203
25204 fi
25205
25206   fi
25207   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
25208 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
25209
25210   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25211
25212 for ac_func in sincosl
25213 do
25214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25215 echo "$as_me:$LINENO: checking for $ac_func" >&5
25216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25217 if eval "test \"\${$as_ac_var+set}\" = set"; then
25218   echo $ECHO_N "(cached) $ECHO_C" >&6
25219 else
25220   if test x$gcc_no_link = xyes; then
25221   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25223    { (exit 1); exit 1; }; }
25224 fi
25225 cat >conftest.$ac_ext <<_ACEOF
25226 /* confdefs.h.  */
25227 _ACEOF
25228 cat confdefs.h >>conftest.$ac_ext
25229 cat >>conftest.$ac_ext <<_ACEOF
25230 /* end confdefs.h.  */
25231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25232    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25233 #define $ac_func innocuous_$ac_func
25234
25235 /* System header to define __stub macros and hopefully few prototypes,
25236     which can conflict with char $ac_func (); below.
25237     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25238     <limits.h> exists even on freestanding compilers.  */
25239
25240 #ifdef __STDC__
25241 # include <limits.h>
25242 #else
25243 # include <assert.h>
25244 #endif
25245
25246 #undef $ac_func
25247
25248 /* Override any gcc2 internal prototype to avoid an error.  */
25249 #ifdef __cplusplus
25250 extern "C"
25251 {
25252 #endif
25253 /* We use char because int might match the return type of a gcc2
25254    builtin and then its argument prototype would still apply.  */
25255 char $ac_func ();
25256 /* The GNU C library defines this for functions which it implements
25257     to always fail with ENOSYS.  Some functions are actually named
25258     something starting with __ and the normal name is an alias.  */
25259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25260 choke me
25261 #else
25262 char (*f) () = $ac_func;
25263 #endif
25264 #ifdef __cplusplus
25265 }
25266 #endif
25267
25268 int
25269 main ()
25270 {
25271 return f != $ac_func;
25272   ;
25273   return 0;
25274 }
25275 _ACEOF
25276 rm -f conftest.$ac_objext conftest$ac_exeext
25277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25278   (eval $ac_link) 2>conftest.er1
25279   ac_status=$?
25280   grep -v '^ *+' conftest.er1 >conftest.err
25281   rm -f conftest.er1
25282   cat conftest.err >&5
25283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25284   (exit $ac_status); } &&
25285          { ac_try='test -z "$ac_c_werror_flag"
25286                          || test ! -s conftest.err'
25287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25288   (eval $ac_try) 2>&5
25289   ac_status=$?
25290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291   (exit $ac_status); }; } &&
25292          { ac_try='test -s conftest$ac_exeext'
25293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25294   (eval $ac_try) 2>&5
25295   ac_status=$?
25296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25297   (exit $ac_status); }; }; then
25298   eval "$as_ac_var=yes"
25299 else
25300   echo "$as_me: failed program was:" >&5
25301 sed 's/^/| /' conftest.$ac_ext >&5
25302
25303 eval "$as_ac_var=no"
25304 fi
25305 rm -f conftest.err conftest.$ac_objext \
25306       conftest$ac_exeext conftest.$ac_ext
25307 fi
25308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25310 if test `eval echo '${'$as_ac_var'}'` = yes; then
25311   cat >>confdefs.h <<_ACEOF
25312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25313 _ACEOF
25314
25315 fi
25316 done
25317
25318   else
25319
25320   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25321 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25322   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25323     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25324   echo $ECHO_N "(cached) $ECHO_C" >&6
25325 else
25326
25327
25328
25329       ac_ext=cc
25330 ac_cpp='$CXXCPP $CPPFLAGS'
25331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25334
25335       cat >conftest.$ac_ext <<_ACEOF
25336 /* confdefs.h.  */
25337 _ACEOF
25338 cat confdefs.h >>conftest.$ac_ext
25339 cat >>conftest.$ac_ext <<_ACEOF
25340 /* end confdefs.h.  */
25341 #include <math.h>
25342 int
25343 main ()
25344 {
25345  _sincosl(0, 0, 0);
25346   ;
25347   return 0;
25348 }
25349 _ACEOF
25350 rm -f conftest.$ac_objext
25351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25352   (eval $ac_compile) 2>conftest.er1
25353   ac_status=$?
25354   grep -v '^ *+' conftest.er1 >conftest.err
25355   rm -f conftest.er1
25356   cat conftest.err >&5
25357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25358   (exit $ac_status); } &&
25359          { ac_try='test -z "$ac_cxx_werror_flag"
25360                          || test ! -s conftest.err'
25361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25362   (eval $ac_try) 2>&5
25363   ac_status=$?
25364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25365   (exit $ac_status); }; } &&
25366          { ac_try='test -s conftest.$ac_objext'
25367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25368   (eval $ac_try) 2>&5
25369   ac_status=$?
25370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25371   (exit $ac_status); }; }; then
25372   glibcxx_cv_func__sincosl_use=yes
25373 else
25374   echo "$as_me: failed program was:" >&5
25375 sed 's/^/| /' conftest.$ac_ext >&5
25376
25377 glibcxx_cv_func__sincosl_use=no
25378 fi
25379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25380       ac_ext=c
25381 ac_cpp='$CPP $CPPFLAGS'
25382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25385
25386
25387 fi
25388
25389   fi
25390   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25391 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25392
25393     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25394
25395 for ac_func in _sincosl
25396 do
25397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25398 echo "$as_me:$LINENO: checking for $ac_func" >&5
25399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25400 if eval "test \"\${$as_ac_var+set}\" = set"; then
25401   echo $ECHO_N "(cached) $ECHO_C" >&6
25402 else
25403   if test x$gcc_no_link = xyes; then
25404   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25406    { (exit 1); exit 1; }; }
25407 fi
25408 cat >conftest.$ac_ext <<_ACEOF
25409 /* confdefs.h.  */
25410 _ACEOF
25411 cat confdefs.h >>conftest.$ac_ext
25412 cat >>conftest.$ac_ext <<_ACEOF
25413 /* end confdefs.h.  */
25414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25415    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25416 #define $ac_func innocuous_$ac_func
25417
25418 /* System header to define __stub macros and hopefully few prototypes,
25419     which can conflict with char $ac_func (); below.
25420     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25421     <limits.h> exists even on freestanding compilers.  */
25422
25423 #ifdef __STDC__
25424 # include <limits.h>
25425 #else
25426 # include <assert.h>
25427 #endif
25428
25429 #undef $ac_func
25430
25431 /* Override any gcc2 internal prototype to avoid an error.  */
25432 #ifdef __cplusplus
25433 extern "C"
25434 {
25435 #endif
25436 /* We use char because int might match the return type of a gcc2
25437    builtin and then its argument prototype would still apply.  */
25438 char $ac_func ();
25439 /* The GNU C library defines this for functions which it implements
25440     to always fail with ENOSYS.  Some functions are actually named
25441     something starting with __ and the normal name is an alias.  */
25442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25443 choke me
25444 #else
25445 char (*f) () = $ac_func;
25446 #endif
25447 #ifdef __cplusplus
25448 }
25449 #endif
25450
25451 int
25452 main ()
25453 {
25454 return f != $ac_func;
25455   ;
25456   return 0;
25457 }
25458 _ACEOF
25459 rm -f conftest.$ac_objext conftest$ac_exeext
25460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25461   (eval $ac_link) 2>conftest.er1
25462   ac_status=$?
25463   grep -v '^ *+' conftest.er1 >conftest.err
25464   rm -f conftest.er1
25465   cat conftest.err >&5
25466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25467   (exit $ac_status); } &&
25468          { ac_try='test -z "$ac_c_werror_flag"
25469                          || test ! -s conftest.err'
25470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25471   (eval $ac_try) 2>&5
25472   ac_status=$?
25473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25474   (exit $ac_status); }; } &&
25475          { ac_try='test -s conftest$ac_exeext'
25476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25477   (eval $ac_try) 2>&5
25478   ac_status=$?
25479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25480   (exit $ac_status); }; }; then
25481   eval "$as_ac_var=yes"
25482 else
25483   echo "$as_me: failed program was:" >&5
25484 sed 's/^/| /' conftest.$ac_ext >&5
25485
25486 eval "$as_ac_var=no"
25487 fi
25488 rm -f conftest.err conftest.$ac_objext \
25489       conftest$ac_exeext conftest.$ac_ext
25490 fi
25491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25493 if test `eval echo '${'$as_ac_var'}'` = yes; then
25494   cat >>confdefs.h <<_ACEOF
25495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25496 _ACEOF
25497
25498 fi
25499 done
25500
25501     fi
25502   fi
25503
25504
25505
25506
25507
25508
25509   echo "$as_me:$LINENO: checking for finitel declaration" >&5
25510 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25511   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25512     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25513   echo $ECHO_N "(cached) $ECHO_C" >&6
25514 else
25515
25516
25517
25518       ac_ext=cc
25519 ac_cpp='$CXXCPP $CPPFLAGS'
25520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25523
25524       cat >conftest.$ac_ext <<_ACEOF
25525 /* confdefs.h.  */
25526 _ACEOF
25527 cat confdefs.h >>conftest.$ac_ext
25528 cat >>conftest.$ac_ext <<_ACEOF
25529 /* end confdefs.h.  */
25530 #include <math.h>
25531                       #ifdef HAVE_IEEEFP_H
25532                       #include <ieeefp.h>
25533                       #endif
25534
25535 int
25536 main ()
25537 {
25538  finitel(0);
25539   ;
25540   return 0;
25541 }
25542 _ACEOF
25543 rm -f conftest.$ac_objext
25544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25545   (eval $ac_compile) 2>conftest.er1
25546   ac_status=$?
25547   grep -v '^ *+' conftest.er1 >conftest.err
25548   rm -f conftest.er1
25549   cat conftest.err >&5
25550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25551   (exit $ac_status); } &&
25552          { ac_try='test -z "$ac_cxx_werror_flag"
25553                          || test ! -s conftest.err'
25554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25555   (eval $ac_try) 2>&5
25556   ac_status=$?
25557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25558   (exit $ac_status); }; } &&
25559          { ac_try='test -s conftest.$ac_objext'
25560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25561   (eval $ac_try) 2>&5
25562   ac_status=$?
25563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25564   (exit $ac_status); }; }; then
25565   glibcxx_cv_func_finitel_use=yes
25566 else
25567   echo "$as_me: failed program was:" >&5
25568 sed 's/^/| /' conftest.$ac_ext >&5
25569
25570 glibcxx_cv_func_finitel_use=no
25571 fi
25572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25573       ac_ext=c
25574 ac_cpp='$CPP $CPPFLAGS'
25575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25578
25579
25580 fi
25581
25582   fi
25583   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25584 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25585
25586   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25587
25588 for ac_func in finitel
25589 do
25590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25591 echo "$as_me:$LINENO: checking for $ac_func" >&5
25592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25593 if eval "test \"\${$as_ac_var+set}\" = set"; then
25594   echo $ECHO_N "(cached) $ECHO_C" >&6
25595 else
25596   if test x$gcc_no_link = xyes; then
25597   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25599    { (exit 1); exit 1; }; }
25600 fi
25601 cat >conftest.$ac_ext <<_ACEOF
25602 /* confdefs.h.  */
25603 _ACEOF
25604 cat confdefs.h >>conftest.$ac_ext
25605 cat >>conftest.$ac_ext <<_ACEOF
25606 /* end confdefs.h.  */
25607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25608    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25609 #define $ac_func innocuous_$ac_func
25610
25611 /* System header to define __stub macros and hopefully few prototypes,
25612     which can conflict with char $ac_func (); below.
25613     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25614     <limits.h> exists even on freestanding compilers.  */
25615
25616 #ifdef __STDC__
25617 # include <limits.h>
25618 #else
25619 # include <assert.h>
25620 #endif
25621
25622 #undef $ac_func
25623
25624 /* Override any gcc2 internal prototype to avoid an error.  */
25625 #ifdef __cplusplus
25626 extern "C"
25627 {
25628 #endif
25629 /* We use char because int might match the return type of a gcc2
25630    builtin and then its argument prototype would still apply.  */
25631 char $ac_func ();
25632 /* The GNU C library defines this for functions which it implements
25633     to always fail with ENOSYS.  Some functions are actually named
25634     something starting with __ and the normal name is an alias.  */
25635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25636 choke me
25637 #else
25638 char (*f) () = $ac_func;
25639 #endif
25640 #ifdef __cplusplus
25641 }
25642 #endif
25643
25644 int
25645 main ()
25646 {
25647 return f != $ac_func;
25648   ;
25649   return 0;
25650 }
25651 _ACEOF
25652 rm -f conftest.$ac_objext conftest$ac_exeext
25653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25654   (eval $ac_link) 2>conftest.er1
25655   ac_status=$?
25656   grep -v '^ *+' conftest.er1 >conftest.err
25657   rm -f conftest.er1
25658   cat conftest.err >&5
25659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25660   (exit $ac_status); } &&
25661          { ac_try='test -z "$ac_c_werror_flag"
25662                          || test ! -s conftest.err'
25663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25664   (eval $ac_try) 2>&5
25665   ac_status=$?
25666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25667   (exit $ac_status); }; } &&
25668          { ac_try='test -s conftest$ac_exeext'
25669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25670   (eval $ac_try) 2>&5
25671   ac_status=$?
25672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25673   (exit $ac_status); }; }; then
25674   eval "$as_ac_var=yes"
25675 else
25676   echo "$as_me: failed program was:" >&5
25677 sed 's/^/| /' conftest.$ac_ext >&5
25678
25679 eval "$as_ac_var=no"
25680 fi
25681 rm -f conftest.err conftest.$ac_objext \
25682       conftest$ac_exeext conftest.$ac_ext
25683 fi
25684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25686 if test `eval echo '${'$as_ac_var'}'` = yes; then
25687   cat >>confdefs.h <<_ACEOF
25688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25689 _ACEOF
25690
25691 fi
25692 done
25693
25694   else
25695
25696   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25697 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25698   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25699     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25700   echo $ECHO_N "(cached) $ECHO_C" >&6
25701 else
25702
25703
25704
25705       ac_ext=cc
25706 ac_cpp='$CXXCPP $CPPFLAGS'
25707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25710
25711       cat >conftest.$ac_ext <<_ACEOF
25712 /* confdefs.h.  */
25713 _ACEOF
25714 cat confdefs.h >>conftest.$ac_ext
25715 cat >>conftest.$ac_ext <<_ACEOF
25716 /* end confdefs.h.  */
25717 #include <math.h>
25718                       #ifdef HAVE_IEEEFP_H
25719                       #include <ieeefp.h>
25720                       #endif
25721
25722 int
25723 main ()
25724 {
25725  _finitel(0);
25726   ;
25727   return 0;
25728 }
25729 _ACEOF
25730 rm -f conftest.$ac_objext
25731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25732   (eval $ac_compile) 2>conftest.er1
25733   ac_status=$?
25734   grep -v '^ *+' conftest.er1 >conftest.err
25735   rm -f conftest.er1
25736   cat conftest.err >&5
25737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25738   (exit $ac_status); } &&
25739          { ac_try='test -z "$ac_cxx_werror_flag"
25740                          || test ! -s conftest.err'
25741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25742   (eval $ac_try) 2>&5
25743   ac_status=$?
25744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745   (exit $ac_status); }; } &&
25746          { ac_try='test -s conftest.$ac_objext'
25747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25748   (eval $ac_try) 2>&5
25749   ac_status=$?
25750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751   (exit $ac_status); }; }; then
25752   glibcxx_cv_func__finitel_use=yes
25753 else
25754   echo "$as_me: failed program was:" >&5
25755 sed 's/^/| /' conftest.$ac_ext >&5
25756
25757 glibcxx_cv_func__finitel_use=no
25758 fi
25759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25760       ac_ext=c
25761 ac_cpp='$CPP $CPPFLAGS'
25762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25765
25766
25767 fi
25768
25769   fi
25770   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25771 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25772
25773     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25774
25775 for ac_func in _finitel
25776 do
25777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25778 echo "$as_me:$LINENO: checking for $ac_func" >&5
25779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25780 if eval "test \"\${$as_ac_var+set}\" = set"; then
25781   echo $ECHO_N "(cached) $ECHO_C" >&6
25782 else
25783   if test x$gcc_no_link = xyes; then
25784   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25786    { (exit 1); exit 1; }; }
25787 fi
25788 cat >conftest.$ac_ext <<_ACEOF
25789 /* confdefs.h.  */
25790 _ACEOF
25791 cat confdefs.h >>conftest.$ac_ext
25792 cat >>conftest.$ac_ext <<_ACEOF
25793 /* end confdefs.h.  */
25794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25795    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25796 #define $ac_func innocuous_$ac_func
25797
25798 /* System header to define __stub macros and hopefully few prototypes,
25799     which can conflict with char $ac_func (); below.
25800     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25801     <limits.h> exists even on freestanding compilers.  */
25802
25803 #ifdef __STDC__
25804 # include <limits.h>
25805 #else
25806 # include <assert.h>
25807 #endif
25808
25809 #undef $ac_func
25810
25811 /* Override any gcc2 internal prototype to avoid an error.  */
25812 #ifdef __cplusplus
25813 extern "C"
25814 {
25815 #endif
25816 /* We use char because int might match the return type of a gcc2
25817    builtin and then its argument prototype would still apply.  */
25818 char $ac_func ();
25819 /* The GNU C library defines this for functions which it implements
25820     to always fail with ENOSYS.  Some functions are actually named
25821     something starting with __ and the normal name is an alias.  */
25822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25823 choke me
25824 #else
25825 char (*f) () = $ac_func;
25826 #endif
25827 #ifdef __cplusplus
25828 }
25829 #endif
25830
25831 int
25832 main ()
25833 {
25834 return f != $ac_func;
25835   ;
25836   return 0;
25837 }
25838 _ACEOF
25839 rm -f conftest.$ac_objext conftest$ac_exeext
25840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25841   (eval $ac_link) 2>conftest.er1
25842   ac_status=$?
25843   grep -v '^ *+' conftest.er1 >conftest.err
25844   rm -f conftest.er1
25845   cat conftest.err >&5
25846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25847   (exit $ac_status); } &&
25848          { ac_try='test -z "$ac_c_werror_flag"
25849                          || test ! -s conftest.err'
25850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25851   (eval $ac_try) 2>&5
25852   ac_status=$?
25853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25854   (exit $ac_status); }; } &&
25855          { ac_try='test -s conftest$ac_exeext'
25856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25857   (eval $ac_try) 2>&5
25858   ac_status=$?
25859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25860   (exit $ac_status); }; }; then
25861   eval "$as_ac_var=yes"
25862 else
25863   echo "$as_me: failed program was:" >&5
25864 sed 's/^/| /' conftest.$ac_ext >&5
25865
25866 eval "$as_ac_var=no"
25867 fi
25868 rm -f conftest.err conftest.$ac_objext \
25869       conftest$ac_exeext conftest.$ac_ext
25870 fi
25871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25873 if test `eval echo '${'$as_ac_var'}'` = yes; then
25874   cat >>confdefs.h <<_ACEOF
25875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25876 _ACEOF
25877
25878 fi
25879 done
25880
25881     fi
25882   fi
25883
25884
25885
25886
25887
25888   LIBS="$ac_save_LIBS"
25889   CXXFLAGS="$ac_save_CXXFLAGS"
25890
25891
25892
25893   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25894 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25895   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25896     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25897   echo $ECHO_N "(cached) $ECHO_C" >&6
25898 else
25899
25900
25901
25902       ac_ext=cc
25903 ac_cpp='$CXXCPP $CPPFLAGS'
25904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25907
25908       cat >conftest.$ac_ext <<_ACEOF
25909 /* confdefs.h.  */
25910 _ACEOF
25911 cat confdefs.h >>conftest.$ac_ext
25912 cat >>conftest.$ac_ext <<_ACEOF
25913 /* end confdefs.h.  */
25914 #include <math.h>
25915 int
25916 main ()
25917 {
25918  __builtin_abs(0);
25919   ;
25920   return 0;
25921 }
25922 _ACEOF
25923 rm -f conftest.$ac_objext
25924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25925   (eval $ac_compile) 2>conftest.er1
25926   ac_status=$?
25927   grep -v '^ *+' conftest.er1 >conftest.err
25928   rm -f conftest.er1
25929   cat conftest.err >&5
25930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931   (exit $ac_status); } &&
25932          { ac_try='test -z "$ac_cxx_werror_flag"
25933                          || test ! -s conftest.err'
25934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25935   (eval $ac_try) 2>&5
25936   ac_status=$?
25937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25938   (exit $ac_status); }; } &&
25939          { ac_try='test -s conftest.$ac_objext'
25940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25941   (eval $ac_try) 2>&5
25942   ac_status=$?
25943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25944   (exit $ac_status); }; }; then
25945   glibcxx_cv_func___builtin_abs_use=yes
25946 else
25947   echo "$as_me: failed program was:" >&5
25948 sed 's/^/| /' conftest.$ac_ext >&5
25949
25950 glibcxx_cv_func___builtin_abs_use=no
25951 fi
25952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25953       ac_ext=c
25954 ac_cpp='$CPP $CPPFLAGS'
25955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25958
25959
25960 fi
25961
25962   fi
25963   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25964 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25965   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25966     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25967 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25968     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25969       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25970   echo $ECHO_N "(cached) $ECHO_C" >&6
25971 else
25972
25973         if test x$gcc_no_link = xyes; then
25974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25976    { (exit 1); exit 1; }; }
25977 fi
25978 cat >conftest.$ac_ext <<_ACEOF
25979 /* confdefs.h.  */
25980 _ACEOF
25981 cat confdefs.h >>conftest.$ac_ext
25982 cat >>conftest.$ac_ext <<_ACEOF
25983 /* end confdefs.h.  */
25984 #include <math.h>
25985 int
25986 main ()
25987 {
25988  __builtin_abs(0);
25989   ;
25990   return 0;
25991 }
25992 _ACEOF
25993 rm -f conftest.$ac_objext conftest$ac_exeext
25994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25995   (eval $ac_link) 2>conftest.er1
25996   ac_status=$?
25997   grep -v '^ *+' conftest.er1 >conftest.err
25998   rm -f conftest.er1
25999   cat conftest.err >&5
26000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26001   (exit $ac_status); } &&
26002          { ac_try='test -z "$ac_c_werror_flag"
26003                          || test ! -s conftest.err'
26004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26005   (eval $ac_try) 2>&5
26006   ac_status=$?
26007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26008   (exit $ac_status); }; } &&
26009          { ac_try='test -s conftest$ac_exeext'
26010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26011   (eval $ac_try) 2>&5
26012   ac_status=$?
26013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26014   (exit $ac_status); }; }; then
26015   glibcxx_cv_func___builtin_abs_link=yes
26016 else
26017   echo "$as_me: failed program was:" >&5
26018 sed 's/^/| /' conftest.$ac_ext >&5
26019
26020 glibcxx_cv_func___builtin_abs_link=no
26021 fi
26022 rm -f conftest.err conftest.$ac_objext \
26023       conftest$ac_exeext conftest.$ac_ext
26024
26025 fi
26026
26027     fi
26028     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
26029 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
26030
26031     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
26032
26033 cat >>confdefs.h <<\_ACEOF
26034 #define HAVE___BUILTIN_ABS 1
26035 _ACEOF
26036
26037     fi
26038
26039   fi
26040
26041
26042   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
26043 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
26044   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
26045     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
26046   echo $ECHO_N "(cached) $ECHO_C" >&6
26047 else
26048
26049
26050
26051       ac_ext=cc
26052 ac_cpp='$CXXCPP $CPPFLAGS'
26053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26056
26057       cat >conftest.$ac_ext <<_ACEOF
26058 /* confdefs.h.  */
26059 _ACEOF
26060 cat confdefs.h >>conftest.$ac_ext
26061 cat >>conftest.$ac_ext <<_ACEOF
26062 /* end confdefs.h.  */
26063 #include <math.h>
26064 int
26065 main ()
26066 {
26067  __builtin_fabsf(0);
26068   ;
26069   return 0;
26070 }
26071 _ACEOF
26072 rm -f conftest.$ac_objext
26073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26074   (eval $ac_compile) 2>conftest.er1
26075   ac_status=$?
26076   grep -v '^ *+' conftest.er1 >conftest.err
26077   rm -f conftest.er1
26078   cat conftest.err >&5
26079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26080   (exit $ac_status); } &&
26081          { ac_try='test -z "$ac_cxx_werror_flag"
26082                          || test ! -s conftest.err'
26083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26084   (eval $ac_try) 2>&5
26085   ac_status=$?
26086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26087   (exit $ac_status); }; } &&
26088          { ac_try='test -s conftest.$ac_objext'
26089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26090   (eval $ac_try) 2>&5
26091   ac_status=$?
26092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26093   (exit $ac_status); }; }; then
26094   glibcxx_cv_func___builtin_fabsf_use=yes
26095 else
26096   echo "$as_me: failed program was:" >&5
26097 sed 's/^/| /' conftest.$ac_ext >&5
26098
26099 glibcxx_cv_func___builtin_fabsf_use=no
26100 fi
26101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26102       ac_ext=c
26103 ac_cpp='$CPP $CPPFLAGS'
26104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26107
26108
26109 fi
26110
26111   fi
26112   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
26113 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
26114   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
26115     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
26116 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
26117     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
26118       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
26119   echo $ECHO_N "(cached) $ECHO_C" >&6
26120 else
26121
26122         if test x$gcc_no_link = xyes; then
26123   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26125    { (exit 1); exit 1; }; }
26126 fi
26127 cat >conftest.$ac_ext <<_ACEOF
26128 /* confdefs.h.  */
26129 _ACEOF
26130 cat confdefs.h >>conftest.$ac_ext
26131 cat >>conftest.$ac_ext <<_ACEOF
26132 /* end confdefs.h.  */
26133 #include <math.h>
26134 int
26135 main ()
26136 {
26137  __builtin_fabsf(0);
26138   ;
26139   return 0;
26140 }
26141 _ACEOF
26142 rm -f conftest.$ac_objext conftest$ac_exeext
26143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26144   (eval $ac_link) 2>conftest.er1
26145   ac_status=$?
26146   grep -v '^ *+' conftest.er1 >conftest.err
26147   rm -f conftest.er1
26148   cat conftest.err >&5
26149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150   (exit $ac_status); } &&
26151          { ac_try='test -z "$ac_c_werror_flag"
26152                          || test ! -s conftest.err'
26153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26154   (eval $ac_try) 2>&5
26155   ac_status=$?
26156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157   (exit $ac_status); }; } &&
26158          { ac_try='test -s conftest$ac_exeext'
26159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26160   (eval $ac_try) 2>&5
26161   ac_status=$?
26162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163   (exit $ac_status); }; }; then
26164   glibcxx_cv_func___builtin_fabsf_link=yes
26165 else
26166   echo "$as_me: failed program was:" >&5
26167 sed 's/^/| /' conftest.$ac_ext >&5
26168
26169 glibcxx_cv_func___builtin_fabsf_link=no
26170 fi
26171 rm -f conftest.err conftest.$ac_objext \
26172       conftest$ac_exeext conftest.$ac_ext
26173
26174 fi
26175
26176     fi
26177     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
26178 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
26179
26180     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
26181
26182 cat >>confdefs.h <<\_ACEOF
26183 #define HAVE___BUILTIN_FABSF 1
26184 _ACEOF
26185
26186     fi
26187
26188   fi
26189
26190
26191   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
26192 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
26193   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
26194     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
26195   echo $ECHO_N "(cached) $ECHO_C" >&6
26196 else
26197
26198
26199
26200       ac_ext=cc
26201 ac_cpp='$CXXCPP $CPPFLAGS'
26202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26205
26206       cat >conftest.$ac_ext <<_ACEOF
26207 /* confdefs.h.  */
26208 _ACEOF
26209 cat confdefs.h >>conftest.$ac_ext
26210 cat >>conftest.$ac_ext <<_ACEOF
26211 /* end confdefs.h.  */
26212 #include <math.h>
26213 int
26214 main ()
26215 {
26216  __builtin_fabs(0);
26217   ;
26218   return 0;
26219 }
26220 _ACEOF
26221 rm -f conftest.$ac_objext
26222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26223   (eval $ac_compile) 2>conftest.er1
26224   ac_status=$?
26225   grep -v '^ *+' conftest.er1 >conftest.err
26226   rm -f conftest.er1
26227   cat conftest.err >&5
26228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26229   (exit $ac_status); } &&
26230          { ac_try='test -z "$ac_cxx_werror_flag"
26231                          || test ! -s conftest.err'
26232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26233   (eval $ac_try) 2>&5
26234   ac_status=$?
26235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26236   (exit $ac_status); }; } &&
26237          { ac_try='test -s conftest.$ac_objext'
26238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26239   (eval $ac_try) 2>&5
26240   ac_status=$?
26241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26242   (exit $ac_status); }; }; then
26243   glibcxx_cv_func___builtin_fabs_use=yes
26244 else
26245   echo "$as_me: failed program was:" >&5
26246 sed 's/^/| /' conftest.$ac_ext >&5
26247
26248 glibcxx_cv_func___builtin_fabs_use=no
26249 fi
26250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26251       ac_ext=c
26252 ac_cpp='$CPP $CPPFLAGS'
26253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26256
26257
26258 fi
26259
26260   fi
26261   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26262 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26263   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26264     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26265 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26266     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26267       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26268   echo $ECHO_N "(cached) $ECHO_C" >&6
26269 else
26270
26271         if test x$gcc_no_link = xyes; then
26272   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26274    { (exit 1); exit 1; }; }
26275 fi
26276 cat >conftest.$ac_ext <<_ACEOF
26277 /* confdefs.h.  */
26278 _ACEOF
26279 cat confdefs.h >>conftest.$ac_ext
26280 cat >>conftest.$ac_ext <<_ACEOF
26281 /* end confdefs.h.  */
26282 #include <math.h>
26283 int
26284 main ()
26285 {
26286  __builtin_fabs(0);
26287   ;
26288   return 0;
26289 }
26290 _ACEOF
26291 rm -f conftest.$ac_objext conftest$ac_exeext
26292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26293   (eval $ac_link) 2>conftest.er1
26294   ac_status=$?
26295   grep -v '^ *+' conftest.er1 >conftest.err
26296   rm -f conftest.er1
26297   cat conftest.err >&5
26298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299   (exit $ac_status); } &&
26300          { ac_try='test -z "$ac_c_werror_flag"
26301                          || test ! -s conftest.err'
26302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26303   (eval $ac_try) 2>&5
26304   ac_status=$?
26305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26306   (exit $ac_status); }; } &&
26307          { ac_try='test -s conftest$ac_exeext'
26308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26309   (eval $ac_try) 2>&5
26310   ac_status=$?
26311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312   (exit $ac_status); }; }; then
26313   glibcxx_cv_func___builtin_fabs_link=yes
26314 else
26315   echo "$as_me: failed program was:" >&5
26316 sed 's/^/| /' conftest.$ac_ext >&5
26317
26318 glibcxx_cv_func___builtin_fabs_link=no
26319 fi
26320 rm -f conftest.err conftest.$ac_objext \
26321       conftest$ac_exeext conftest.$ac_ext
26322
26323 fi
26324
26325     fi
26326     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26327 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26328
26329     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26330
26331 cat >>confdefs.h <<\_ACEOF
26332 #define HAVE___BUILTIN_FABS 1
26333 _ACEOF
26334
26335     fi
26336
26337   fi
26338
26339
26340   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26341 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26342   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26343     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26344   echo $ECHO_N "(cached) $ECHO_C" >&6
26345 else
26346
26347
26348
26349       ac_ext=cc
26350 ac_cpp='$CXXCPP $CPPFLAGS'
26351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26354
26355       cat >conftest.$ac_ext <<_ACEOF
26356 /* confdefs.h.  */
26357 _ACEOF
26358 cat confdefs.h >>conftest.$ac_ext
26359 cat >>conftest.$ac_ext <<_ACEOF
26360 /* end confdefs.h.  */
26361 #include <math.h>
26362 int
26363 main ()
26364 {
26365  __builtin_fabsl(0);
26366   ;
26367   return 0;
26368 }
26369 _ACEOF
26370 rm -f conftest.$ac_objext
26371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26372   (eval $ac_compile) 2>conftest.er1
26373   ac_status=$?
26374   grep -v '^ *+' conftest.er1 >conftest.err
26375   rm -f conftest.er1
26376   cat conftest.err >&5
26377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26378   (exit $ac_status); } &&
26379          { ac_try='test -z "$ac_cxx_werror_flag"
26380                          || test ! -s conftest.err'
26381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26382   (eval $ac_try) 2>&5
26383   ac_status=$?
26384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26385   (exit $ac_status); }; } &&
26386          { ac_try='test -s conftest.$ac_objext'
26387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26388   (eval $ac_try) 2>&5
26389   ac_status=$?
26390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26391   (exit $ac_status); }; }; then
26392   glibcxx_cv_func___builtin_fabsl_use=yes
26393 else
26394   echo "$as_me: failed program was:" >&5
26395 sed 's/^/| /' conftest.$ac_ext >&5
26396
26397 glibcxx_cv_func___builtin_fabsl_use=no
26398 fi
26399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26400       ac_ext=c
26401 ac_cpp='$CPP $CPPFLAGS'
26402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26405
26406
26407 fi
26408
26409   fi
26410   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26411 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26412   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26413     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26414 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26415     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26416       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26417   echo $ECHO_N "(cached) $ECHO_C" >&6
26418 else
26419
26420         if test x$gcc_no_link = xyes; then
26421   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26423    { (exit 1); exit 1; }; }
26424 fi
26425 cat >conftest.$ac_ext <<_ACEOF
26426 /* confdefs.h.  */
26427 _ACEOF
26428 cat confdefs.h >>conftest.$ac_ext
26429 cat >>conftest.$ac_ext <<_ACEOF
26430 /* end confdefs.h.  */
26431 #include <math.h>
26432 int
26433 main ()
26434 {
26435  __builtin_fabsl(0);
26436   ;
26437   return 0;
26438 }
26439 _ACEOF
26440 rm -f conftest.$ac_objext conftest$ac_exeext
26441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26442   (eval $ac_link) 2>conftest.er1
26443   ac_status=$?
26444   grep -v '^ *+' conftest.er1 >conftest.err
26445   rm -f conftest.er1
26446   cat conftest.err >&5
26447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26448   (exit $ac_status); } &&
26449          { ac_try='test -z "$ac_c_werror_flag"
26450                          || test ! -s conftest.err'
26451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26452   (eval $ac_try) 2>&5
26453   ac_status=$?
26454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26455   (exit $ac_status); }; } &&
26456          { ac_try='test -s conftest$ac_exeext'
26457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26458   (eval $ac_try) 2>&5
26459   ac_status=$?
26460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26461   (exit $ac_status); }; }; then
26462   glibcxx_cv_func___builtin_fabsl_link=yes
26463 else
26464   echo "$as_me: failed program was:" >&5
26465 sed 's/^/| /' conftest.$ac_ext >&5
26466
26467 glibcxx_cv_func___builtin_fabsl_link=no
26468 fi
26469 rm -f conftest.err conftest.$ac_objext \
26470       conftest$ac_exeext conftest.$ac_ext
26471
26472 fi
26473
26474     fi
26475     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26476 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26477
26478     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26479
26480 cat >>confdefs.h <<\_ACEOF
26481 #define HAVE___BUILTIN_FABSL 1
26482 _ACEOF
26483
26484     fi
26485
26486   fi
26487
26488
26489   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26490 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26491   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26492     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26493   echo $ECHO_N "(cached) $ECHO_C" >&6
26494 else
26495
26496
26497
26498       ac_ext=cc
26499 ac_cpp='$CXXCPP $CPPFLAGS'
26500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26503
26504       cat >conftest.$ac_ext <<_ACEOF
26505 /* confdefs.h.  */
26506 _ACEOF
26507 cat confdefs.h >>conftest.$ac_ext
26508 cat >>conftest.$ac_ext <<_ACEOF
26509 /* end confdefs.h.  */
26510 #include <math.h>
26511 int
26512 main ()
26513 {
26514  __builtin_labs(0);
26515   ;
26516   return 0;
26517 }
26518 _ACEOF
26519 rm -f conftest.$ac_objext
26520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26521   (eval $ac_compile) 2>conftest.er1
26522   ac_status=$?
26523   grep -v '^ *+' conftest.er1 >conftest.err
26524   rm -f conftest.er1
26525   cat conftest.err >&5
26526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527   (exit $ac_status); } &&
26528          { ac_try='test -z "$ac_cxx_werror_flag"
26529                          || test ! -s conftest.err'
26530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26531   (eval $ac_try) 2>&5
26532   ac_status=$?
26533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26534   (exit $ac_status); }; } &&
26535          { ac_try='test -s conftest.$ac_objext'
26536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26537   (eval $ac_try) 2>&5
26538   ac_status=$?
26539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26540   (exit $ac_status); }; }; then
26541   glibcxx_cv_func___builtin_labs_use=yes
26542 else
26543   echo "$as_me: failed program was:" >&5
26544 sed 's/^/| /' conftest.$ac_ext >&5
26545
26546 glibcxx_cv_func___builtin_labs_use=no
26547 fi
26548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26549       ac_ext=c
26550 ac_cpp='$CPP $CPPFLAGS'
26551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26554
26555
26556 fi
26557
26558   fi
26559   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26560 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26561   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26562     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26563 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26564     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26565       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26566   echo $ECHO_N "(cached) $ECHO_C" >&6
26567 else
26568
26569         if test x$gcc_no_link = xyes; then
26570   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26572    { (exit 1); exit 1; }; }
26573 fi
26574 cat >conftest.$ac_ext <<_ACEOF
26575 /* confdefs.h.  */
26576 _ACEOF
26577 cat confdefs.h >>conftest.$ac_ext
26578 cat >>conftest.$ac_ext <<_ACEOF
26579 /* end confdefs.h.  */
26580 #include <math.h>
26581 int
26582 main ()
26583 {
26584  __builtin_labs(0);
26585   ;
26586   return 0;
26587 }
26588 _ACEOF
26589 rm -f conftest.$ac_objext conftest$ac_exeext
26590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26591   (eval $ac_link) 2>conftest.er1
26592   ac_status=$?
26593   grep -v '^ *+' conftest.er1 >conftest.err
26594   rm -f conftest.er1
26595   cat conftest.err >&5
26596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26597   (exit $ac_status); } &&
26598          { ac_try='test -z "$ac_c_werror_flag"
26599                          || test ! -s conftest.err'
26600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26601   (eval $ac_try) 2>&5
26602   ac_status=$?
26603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26604   (exit $ac_status); }; } &&
26605          { ac_try='test -s conftest$ac_exeext'
26606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26607   (eval $ac_try) 2>&5
26608   ac_status=$?
26609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26610   (exit $ac_status); }; }; then
26611   glibcxx_cv_func___builtin_labs_link=yes
26612 else
26613   echo "$as_me: failed program was:" >&5
26614 sed 's/^/| /' conftest.$ac_ext >&5
26615
26616 glibcxx_cv_func___builtin_labs_link=no
26617 fi
26618 rm -f conftest.err conftest.$ac_objext \
26619       conftest$ac_exeext conftest.$ac_ext
26620
26621 fi
26622
26623     fi
26624     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26625 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26626
26627     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26628
26629 cat >>confdefs.h <<\_ACEOF
26630 #define HAVE___BUILTIN_LABS 1
26631 _ACEOF
26632
26633     fi
26634
26635   fi
26636
26637
26638
26639   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26640 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26641   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26642     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26643   echo $ECHO_N "(cached) $ECHO_C" >&6
26644 else
26645
26646
26647
26648       ac_ext=cc
26649 ac_cpp='$CXXCPP $CPPFLAGS'
26650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26653
26654       cat >conftest.$ac_ext <<_ACEOF
26655 /* confdefs.h.  */
26656 _ACEOF
26657 cat confdefs.h >>conftest.$ac_ext
26658 cat >>conftest.$ac_ext <<_ACEOF
26659 /* end confdefs.h.  */
26660 #include <math.h>
26661 int
26662 main ()
26663 {
26664  __builtin_sqrtf(0);
26665   ;
26666   return 0;
26667 }
26668 _ACEOF
26669 rm -f conftest.$ac_objext
26670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26671   (eval $ac_compile) 2>conftest.er1
26672   ac_status=$?
26673   grep -v '^ *+' conftest.er1 >conftest.err
26674   rm -f conftest.er1
26675   cat conftest.err >&5
26676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26677   (exit $ac_status); } &&
26678          { ac_try='test -z "$ac_cxx_werror_flag"
26679                          || test ! -s conftest.err'
26680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26681   (eval $ac_try) 2>&5
26682   ac_status=$?
26683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26684   (exit $ac_status); }; } &&
26685          { ac_try='test -s conftest.$ac_objext'
26686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26687   (eval $ac_try) 2>&5
26688   ac_status=$?
26689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26690   (exit $ac_status); }; }; then
26691   glibcxx_cv_func___builtin_sqrtf_use=yes
26692 else
26693   echo "$as_me: failed program was:" >&5
26694 sed 's/^/| /' conftest.$ac_ext >&5
26695
26696 glibcxx_cv_func___builtin_sqrtf_use=no
26697 fi
26698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26699       ac_ext=c
26700 ac_cpp='$CPP $CPPFLAGS'
26701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26704
26705
26706 fi
26707
26708   fi
26709   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26710 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26711   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26712     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26713 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26714     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26715       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26716   echo $ECHO_N "(cached) $ECHO_C" >&6
26717 else
26718
26719         if test x$gcc_no_link = xyes; then
26720   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26722    { (exit 1); exit 1; }; }
26723 fi
26724 cat >conftest.$ac_ext <<_ACEOF
26725 /* confdefs.h.  */
26726 _ACEOF
26727 cat confdefs.h >>conftest.$ac_ext
26728 cat >>conftest.$ac_ext <<_ACEOF
26729 /* end confdefs.h.  */
26730 #include <math.h>
26731 int
26732 main ()
26733 {
26734  __builtin_sqrtf(0);
26735   ;
26736   return 0;
26737 }
26738 _ACEOF
26739 rm -f conftest.$ac_objext conftest$ac_exeext
26740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26741   (eval $ac_link) 2>conftest.er1
26742   ac_status=$?
26743   grep -v '^ *+' conftest.er1 >conftest.err
26744   rm -f conftest.er1
26745   cat conftest.err >&5
26746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747   (exit $ac_status); } &&
26748          { ac_try='test -z "$ac_c_werror_flag"
26749                          || test ! -s conftest.err'
26750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26751   (eval $ac_try) 2>&5
26752   ac_status=$?
26753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26754   (exit $ac_status); }; } &&
26755          { ac_try='test -s conftest$ac_exeext'
26756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26757   (eval $ac_try) 2>&5
26758   ac_status=$?
26759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26760   (exit $ac_status); }; }; then
26761   glibcxx_cv_func___builtin_sqrtf_link=yes
26762 else
26763   echo "$as_me: failed program was:" >&5
26764 sed 's/^/| /' conftest.$ac_ext >&5
26765
26766 glibcxx_cv_func___builtin_sqrtf_link=no
26767 fi
26768 rm -f conftest.err conftest.$ac_objext \
26769       conftest$ac_exeext conftest.$ac_ext
26770
26771 fi
26772
26773     fi
26774     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26775 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26776
26777     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26778
26779 cat >>confdefs.h <<\_ACEOF
26780 #define HAVE___BUILTIN_SQRTF 1
26781 _ACEOF
26782
26783     fi
26784
26785   fi
26786
26787
26788   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26789 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26790   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26791     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26792   echo $ECHO_N "(cached) $ECHO_C" >&6
26793 else
26794
26795
26796
26797       ac_ext=cc
26798 ac_cpp='$CXXCPP $CPPFLAGS'
26799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26802
26803       cat >conftest.$ac_ext <<_ACEOF
26804 /* confdefs.h.  */
26805 _ACEOF
26806 cat confdefs.h >>conftest.$ac_ext
26807 cat >>conftest.$ac_ext <<_ACEOF
26808 /* end confdefs.h.  */
26809 #include <math.h>
26810 int
26811 main ()
26812 {
26813  __builtin_sqrt(0);
26814   ;
26815   return 0;
26816 }
26817 _ACEOF
26818 rm -f conftest.$ac_objext
26819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26820   (eval $ac_compile) 2>conftest.er1
26821   ac_status=$?
26822   grep -v '^ *+' conftest.er1 >conftest.err
26823   rm -f conftest.er1
26824   cat conftest.err >&5
26825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26826   (exit $ac_status); } &&
26827          { ac_try='test -z "$ac_cxx_werror_flag"
26828                          || test ! -s conftest.err'
26829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26830   (eval $ac_try) 2>&5
26831   ac_status=$?
26832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26833   (exit $ac_status); }; } &&
26834          { ac_try='test -s conftest.$ac_objext'
26835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26836   (eval $ac_try) 2>&5
26837   ac_status=$?
26838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26839   (exit $ac_status); }; }; then
26840   glibcxx_cv_func___builtin_sqrt_use=yes
26841 else
26842   echo "$as_me: failed program was:" >&5
26843 sed 's/^/| /' conftest.$ac_ext >&5
26844
26845 glibcxx_cv_func___builtin_sqrt_use=no
26846 fi
26847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26848       ac_ext=c
26849 ac_cpp='$CPP $CPPFLAGS'
26850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26853
26854
26855 fi
26856
26857   fi
26858   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26859 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26860   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26861     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26862 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26863     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26864       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26865   echo $ECHO_N "(cached) $ECHO_C" >&6
26866 else
26867
26868         if test x$gcc_no_link = xyes; then
26869   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26871    { (exit 1); exit 1; }; }
26872 fi
26873 cat >conftest.$ac_ext <<_ACEOF
26874 /* confdefs.h.  */
26875 _ACEOF
26876 cat confdefs.h >>conftest.$ac_ext
26877 cat >>conftest.$ac_ext <<_ACEOF
26878 /* end confdefs.h.  */
26879 #include <math.h>
26880 int
26881 main ()
26882 {
26883  __builtin_sqrt(0);
26884   ;
26885   return 0;
26886 }
26887 _ACEOF
26888 rm -f conftest.$ac_objext conftest$ac_exeext
26889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26890   (eval $ac_link) 2>conftest.er1
26891   ac_status=$?
26892   grep -v '^ *+' conftest.er1 >conftest.err
26893   rm -f conftest.er1
26894   cat conftest.err >&5
26895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26896   (exit $ac_status); } &&
26897          { ac_try='test -z "$ac_c_werror_flag"
26898                          || test ! -s conftest.err'
26899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26900   (eval $ac_try) 2>&5
26901   ac_status=$?
26902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903   (exit $ac_status); }; } &&
26904          { ac_try='test -s conftest$ac_exeext'
26905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26906   (eval $ac_try) 2>&5
26907   ac_status=$?
26908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26909   (exit $ac_status); }; }; then
26910   glibcxx_cv_func___builtin_sqrt_link=yes
26911 else
26912   echo "$as_me: failed program was:" >&5
26913 sed 's/^/| /' conftest.$ac_ext >&5
26914
26915 glibcxx_cv_func___builtin_sqrt_link=no
26916 fi
26917 rm -f conftest.err conftest.$ac_objext \
26918       conftest$ac_exeext conftest.$ac_ext
26919
26920 fi
26921
26922     fi
26923     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26924 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26925
26926     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26927
26928 cat >>confdefs.h <<\_ACEOF
26929 #define HAVE___BUILTIN_SQRT 1
26930 _ACEOF
26931
26932     fi
26933
26934   fi
26935
26936
26937   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26938 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26939   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26940     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26941   echo $ECHO_N "(cached) $ECHO_C" >&6
26942 else
26943
26944
26945
26946       ac_ext=cc
26947 ac_cpp='$CXXCPP $CPPFLAGS'
26948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26951
26952       cat >conftest.$ac_ext <<_ACEOF
26953 /* confdefs.h.  */
26954 _ACEOF
26955 cat confdefs.h >>conftest.$ac_ext
26956 cat >>conftest.$ac_ext <<_ACEOF
26957 /* end confdefs.h.  */
26958 #include <math.h>
26959 int
26960 main ()
26961 {
26962  __builtin_sqrtl(0);
26963   ;
26964   return 0;
26965 }
26966 _ACEOF
26967 rm -f conftest.$ac_objext
26968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26969   (eval $ac_compile) 2>conftest.er1
26970   ac_status=$?
26971   grep -v '^ *+' conftest.er1 >conftest.err
26972   rm -f conftest.er1
26973   cat conftest.err >&5
26974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975   (exit $ac_status); } &&
26976          { ac_try='test -z "$ac_cxx_werror_flag"
26977                          || test ! -s conftest.err'
26978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26979   (eval $ac_try) 2>&5
26980   ac_status=$?
26981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26982   (exit $ac_status); }; } &&
26983          { ac_try='test -s conftest.$ac_objext'
26984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26985   (eval $ac_try) 2>&5
26986   ac_status=$?
26987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26988   (exit $ac_status); }; }; then
26989   glibcxx_cv_func___builtin_sqrtl_use=yes
26990 else
26991   echo "$as_me: failed program was:" >&5
26992 sed 's/^/| /' conftest.$ac_ext >&5
26993
26994 glibcxx_cv_func___builtin_sqrtl_use=no
26995 fi
26996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26997       ac_ext=c
26998 ac_cpp='$CPP $CPPFLAGS'
26999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27002
27003
27004 fi
27005
27006   fi
27007   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
27008 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
27009   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
27010     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
27011 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
27012     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
27013       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
27014   echo $ECHO_N "(cached) $ECHO_C" >&6
27015 else
27016
27017         if test x$gcc_no_link = xyes; then
27018   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27020    { (exit 1); exit 1; }; }
27021 fi
27022 cat >conftest.$ac_ext <<_ACEOF
27023 /* confdefs.h.  */
27024 _ACEOF
27025 cat confdefs.h >>conftest.$ac_ext
27026 cat >>conftest.$ac_ext <<_ACEOF
27027 /* end confdefs.h.  */
27028 #include <math.h>
27029 int
27030 main ()
27031 {
27032  __builtin_sqrtl(0);
27033   ;
27034   return 0;
27035 }
27036 _ACEOF
27037 rm -f conftest.$ac_objext conftest$ac_exeext
27038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27039   (eval $ac_link) 2>conftest.er1
27040   ac_status=$?
27041   grep -v '^ *+' conftest.er1 >conftest.err
27042   rm -f conftest.er1
27043   cat conftest.err >&5
27044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27045   (exit $ac_status); } &&
27046          { ac_try='test -z "$ac_c_werror_flag"
27047                          || test ! -s conftest.err'
27048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27049   (eval $ac_try) 2>&5
27050   ac_status=$?
27051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27052   (exit $ac_status); }; } &&
27053          { ac_try='test -s conftest$ac_exeext'
27054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27055   (eval $ac_try) 2>&5
27056   ac_status=$?
27057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27058   (exit $ac_status); }; }; then
27059   glibcxx_cv_func___builtin_sqrtl_link=yes
27060 else
27061   echo "$as_me: failed program was:" >&5
27062 sed 's/^/| /' conftest.$ac_ext >&5
27063
27064 glibcxx_cv_func___builtin_sqrtl_link=no
27065 fi
27066 rm -f conftest.err conftest.$ac_objext \
27067       conftest$ac_exeext conftest.$ac_ext
27068
27069 fi
27070
27071     fi
27072     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
27073 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
27074
27075     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
27076
27077 cat >>confdefs.h <<\_ACEOF
27078 #define HAVE___BUILTIN_SQRTL 1
27079 _ACEOF
27080
27081     fi
27082
27083   fi
27084
27085
27086
27087   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
27088 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
27089   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
27090     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
27091   echo $ECHO_N "(cached) $ECHO_C" >&6
27092 else
27093
27094
27095
27096       ac_ext=cc
27097 ac_cpp='$CXXCPP $CPPFLAGS'
27098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27101
27102       cat >conftest.$ac_ext <<_ACEOF
27103 /* confdefs.h.  */
27104 _ACEOF
27105 cat confdefs.h >>conftest.$ac_ext
27106 cat >>conftest.$ac_ext <<_ACEOF
27107 /* end confdefs.h.  */
27108 #include <math.h>
27109 int
27110 main ()
27111 {
27112  __builtin_sinf(0);
27113   ;
27114   return 0;
27115 }
27116 _ACEOF
27117 rm -f conftest.$ac_objext
27118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27119   (eval $ac_compile) 2>conftest.er1
27120   ac_status=$?
27121   grep -v '^ *+' conftest.er1 >conftest.err
27122   rm -f conftest.er1
27123   cat conftest.err >&5
27124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27125   (exit $ac_status); } &&
27126          { ac_try='test -z "$ac_cxx_werror_flag"
27127                          || test ! -s conftest.err'
27128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27129   (eval $ac_try) 2>&5
27130   ac_status=$?
27131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27132   (exit $ac_status); }; } &&
27133          { ac_try='test -s conftest.$ac_objext'
27134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27135   (eval $ac_try) 2>&5
27136   ac_status=$?
27137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27138   (exit $ac_status); }; }; then
27139   glibcxx_cv_func___builtin_sinf_use=yes
27140 else
27141   echo "$as_me: failed program was:" >&5
27142 sed 's/^/| /' conftest.$ac_ext >&5
27143
27144 glibcxx_cv_func___builtin_sinf_use=no
27145 fi
27146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27147       ac_ext=c
27148 ac_cpp='$CPP $CPPFLAGS'
27149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27152
27153
27154 fi
27155
27156   fi
27157   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
27158 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
27159   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
27160     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
27161 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
27162     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
27163       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
27164   echo $ECHO_N "(cached) $ECHO_C" >&6
27165 else
27166
27167         if test x$gcc_no_link = xyes; then
27168   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27170    { (exit 1); exit 1; }; }
27171 fi
27172 cat >conftest.$ac_ext <<_ACEOF
27173 /* confdefs.h.  */
27174 _ACEOF
27175 cat confdefs.h >>conftest.$ac_ext
27176 cat >>conftest.$ac_ext <<_ACEOF
27177 /* end confdefs.h.  */
27178 #include <math.h>
27179 int
27180 main ()
27181 {
27182  __builtin_sinf(0);
27183   ;
27184   return 0;
27185 }
27186 _ACEOF
27187 rm -f conftest.$ac_objext conftest$ac_exeext
27188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27189   (eval $ac_link) 2>conftest.er1
27190   ac_status=$?
27191   grep -v '^ *+' conftest.er1 >conftest.err
27192   rm -f conftest.er1
27193   cat conftest.err >&5
27194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27195   (exit $ac_status); } &&
27196          { ac_try='test -z "$ac_c_werror_flag"
27197                          || test ! -s conftest.err'
27198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27199   (eval $ac_try) 2>&5
27200   ac_status=$?
27201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202   (exit $ac_status); }; } &&
27203          { ac_try='test -s conftest$ac_exeext'
27204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27205   (eval $ac_try) 2>&5
27206   ac_status=$?
27207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208   (exit $ac_status); }; }; then
27209   glibcxx_cv_func___builtin_sinf_link=yes
27210 else
27211   echo "$as_me: failed program was:" >&5
27212 sed 's/^/| /' conftest.$ac_ext >&5
27213
27214 glibcxx_cv_func___builtin_sinf_link=no
27215 fi
27216 rm -f conftest.err conftest.$ac_objext \
27217       conftest$ac_exeext conftest.$ac_ext
27218
27219 fi
27220
27221     fi
27222     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
27223 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
27224
27225     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
27226
27227 cat >>confdefs.h <<\_ACEOF
27228 #define HAVE___BUILTIN_SINF 1
27229 _ACEOF
27230
27231     fi
27232
27233   fi
27234
27235
27236   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27237 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27238   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27239     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27240   echo $ECHO_N "(cached) $ECHO_C" >&6
27241 else
27242
27243
27244
27245       ac_ext=cc
27246 ac_cpp='$CXXCPP $CPPFLAGS'
27247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27250
27251       cat >conftest.$ac_ext <<_ACEOF
27252 /* confdefs.h.  */
27253 _ACEOF
27254 cat confdefs.h >>conftest.$ac_ext
27255 cat >>conftest.$ac_ext <<_ACEOF
27256 /* end confdefs.h.  */
27257 #include <math.h>
27258 int
27259 main ()
27260 {
27261  __builtin_sin(0);
27262   ;
27263   return 0;
27264 }
27265 _ACEOF
27266 rm -f conftest.$ac_objext
27267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27268   (eval $ac_compile) 2>conftest.er1
27269   ac_status=$?
27270   grep -v '^ *+' conftest.er1 >conftest.err
27271   rm -f conftest.er1
27272   cat conftest.err >&5
27273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27274   (exit $ac_status); } &&
27275          { ac_try='test -z "$ac_cxx_werror_flag"
27276                          || test ! -s conftest.err'
27277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27278   (eval $ac_try) 2>&5
27279   ac_status=$?
27280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27281   (exit $ac_status); }; } &&
27282          { ac_try='test -s conftest.$ac_objext'
27283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27284   (eval $ac_try) 2>&5
27285   ac_status=$?
27286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27287   (exit $ac_status); }; }; then
27288   glibcxx_cv_func___builtin_sin_use=yes
27289 else
27290   echo "$as_me: failed program was:" >&5
27291 sed 's/^/| /' conftest.$ac_ext >&5
27292
27293 glibcxx_cv_func___builtin_sin_use=no
27294 fi
27295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27296       ac_ext=c
27297 ac_cpp='$CPP $CPPFLAGS'
27298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27301
27302
27303 fi
27304
27305   fi
27306   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27307 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27308   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27309     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27310 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27311     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27312       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27313   echo $ECHO_N "(cached) $ECHO_C" >&6
27314 else
27315
27316         if test x$gcc_no_link = xyes; then
27317   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27319    { (exit 1); exit 1; }; }
27320 fi
27321 cat >conftest.$ac_ext <<_ACEOF
27322 /* confdefs.h.  */
27323 _ACEOF
27324 cat confdefs.h >>conftest.$ac_ext
27325 cat >>conftest.$ac_ext <<_ACEOF
27326 /* end confdefs.h.  */
27327 #include <math.h>
27328 int
27329 main ()
27330 {
27331  __builtin_sin(0);
27332   ;
27333   return 0;
27334 }
27335 _ACEOF
27336 rm -f conftest.$ac_objext conftest$ac_exeext
27337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27338   (eval $ac_link) 2>conftest.er1
27339   ac_status=$?
27340   grep -v '^ *+' conftest.er1 >conftest.err
27341   rm -f conftest.er1
27342   cat conftest.err >&5
27343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27344   (exit $ac_status); } &&
27345          { ac_try='test -z "$ac_c_werror_flag"
27346                          || test ! -s conftest.err'
27347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27348   (eval $ac_try) 2>&5
27349   ac_status=$?
27350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27351   (exit $ac_status); }; } &&
27352          { ac_try='test -s conftest$ac_exeext'
27353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27354   (eval $ac_try) 2>&5
27355   ac_status=$?
27356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27357   (exit $ac_status); }; }; then
27358   glibcxx_cv_func___builtin_sin_link=yes
27359 else
27360   echo "$as_me: failed program was:" >&5
27361 sed 's/^/| /' conftest.$ac_ext >&5
27362
27363 glibcxx_cv_func___builtin_sin_link=no
27364 fi
27365 rm -f conftest.err conftest.$ac_objext \
27366       conftest$ac_exeext conftest.$ac_ext
27367
27368 fi
27369
27370     fi
27371     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27372 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27373
27374     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27375
27376 cat >>confdefs.h <<\_ACEOF
27377 #define HAVE___BUILTIN_SIN 1
27378 _ACEOF
27379
27380     fi
27381
27382   fi
27383
27384
27385   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27386 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27387   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27388     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27389   echo $ECHO_N "(cached) $ECHO_C" >&6
27390 else
27391
27392
27393
27394       ac_ext=cc
27395 ac_cpp='$CXXCPP $CPPFLAGS'
27396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27399
27400       cat >conftest.$ac_ext <<_ACEOF
27401 /* confdefs.h.  */
27402 _ACEOF
27403 cat confdefs.h >>conftest.$ac_ext
27404 cat >>conftest.$ac_ext <<_ACEOF
27405 /* end confdefs.h.  */
27406 #include <math.h>
27407 int
27408 main ()
27409 {
27410  __builtin_sinl(0);
27411   ;
27412   return 0;
27413 }
27414 _ACEOF
27415 rm -f conftest.$ac_objext
27416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27417   (eval $ac_compile) 2>conftest.er1
27418   ac_status=$?
27419   grep -v '^ *+' conftest.er1 >conftest.err
27420   rm -f conftest.er1
27421   cat conftest.err >&5
27422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27423   (exit $ac_status); } &&
27424          { ac_try='test -z "$ac_cxx_werror_flag"
27425                          || test ! -s conftest.err'
27426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27427   (eval $ac_try) 2>&5
27428   ac_status=$?
27429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27430   (exit $ac_status); }; } &&
27431          { ac_try='test -s conftest.$ac_objext'
27432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27433   (eval $ac_try) 2>&5
27434   ac_status=$?
27435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27436   (exit $ac_status); }; }; then
27437   glibcxx_cv_func___builtin_sinl_use=yes
27438 else
27439   echo "$as_me: failed program was:" >&5
27440 sed 's/^/| /' conftest.$ac_ext >&5
27441
27442 glibcxx_cv_func___builtin_sinl_use=no
27443 fi
27444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27445       ac_ext=c
27446 ac_cpp='$CPP $CPPFLAGS'
27447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27450
27451
27452 fi
27453
27454   fi
27455   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27456 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27457   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27458     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27459 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27460     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27461       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27462   echo $ECHO_N "(cached) $ECHO_C" >&6
27463 else
27464
27465         if test x$gcc_no_link = xyes; then
27466   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27468    { (exit 1); exit 1; }; }
27469 fi
27470 cat >conftest.$ac_ext <<_ACEOF
27471 /* confdefs.h.  */
27472 _ACEOF
27473 cat confdefs.h >>conftest.$ac_ext
27474 cat >>conftest.$ac_ext <<_ACEOF
27475 /* end confdefs.h.  */
27476 #include <math.h>
27477 int
27478 main ()
27479 {
27480  __builtin_sinl(0);
27481   ;
27482   return 0;
27483 }
27484 _ACEOF
27485 rm -f conftest.$ac_objext conftest$ac_exeext
27486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27487   (eval $ac_link) 2>conftest.er1
27488   ac_status=$?
27489   grep -v '^ *+' conftest.er1 >conftest.err
27490   rm -f conftest.er1
27491   cat conftest.err >&5
27492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27493   (exit $ac_status); } &&
27494          { ac_try='test -z "$ac_c_werror_flag"
27495                          || test ! -s conftest.err'
27496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27497   (eval $ac_try) 2>&5
27498   ac_status=$?
27499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500   (exit $ac_status); }; } &&
27501          { ac_try='test -s conftest$ac_exeext'
27502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27503   (eval $ac_try) 2>&5
27504   ac_status=$?
27505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27506   (exit $ac_status); }; }; then
27507   glibcxx_cv_func___builtin_sinl_link=yes
27508 else
27509   echo "$as_me: failed program was:" >&5
27510 sed 's/^/| /' conftest.$ac_ext >&5
27511
27512 glibcxx_cv_func___builtin_sinl_link=no
27513 fi
27514 rm -f conftest.err conftest.$ac_objext \
27515       conftest$ac_exeext conftest.$ac_ext
27516
27517 fi
27518
27519     fi
27520     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27521 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27522
27523     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27524
27525 cat >>confdefs.h <<\_ACEOF
27526 #define HAVE___BUILTIN_SINL 1
27527 _ACEOF
27528
27529     fi
27530
27531   fi
27532
27533
27534
27535   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27536 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27537   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27538     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27539   echo $ECHO_N "(cached) $ECHO_C" >&6
27540 else
27541
27542
27543
27544       ac_ext=cc
27545 ac_cpp='$CXXCPP $CPPFLAGS'
27546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27549
27550       cat >conftest.$ac_ext <<_ACEOF
27551 /* confdefs.h.  */
27552 _ACEOF
27553 cat confdefs.h >>conftest.$ac_ext
27554 cat >>conftest.$ac_ext <<_ACEOF
27555 /* end confdefs.h.  */
27556 #include <math.h>
27557 int
27558 main ()
27559 {
27560  __builtin_cosf(0);
27561   ;
27562   return 0;
27563 }
27564 _ACEOF
27565 rm -f conftest.$ac_objext
27566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27567   (eval $ac_compile) 2>conftest.er1
27568   ac_status=$?
27569   grep -v '^ *+' conftest.er1 >conftest.err
27570   rm -f conftest.er1
27571   cat conftest.err >&5
27572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27573   (exit $ac_status); } &&
27574          { ac_try='test -z "$ac_cxx_werror_flag"
27575                          || test ! -s conftest.err'
27576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27577   (eval $ac_try) 2>&5
27578   ac_status=$?
27579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27580   (exit $ac_status); }; } &&
27581          { ac_try='test -s conftest.$ac_objext'
27582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27583   (eval $ac_try) 2>&5
27584   ac_status=$?
27585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27586   (exit $ac_status); }; }; then
27587   glibcxx_cv_func___builtin_cosf_use=yes
27588 else
27589   echo "$as_me: failed program was:" >&5
27590 sed 's/^/| /' conftest.$ac_ext >&5
27591
27592 glibcxx_cv_func___builtin_cosf_use=no
27593 fi
27594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27595       ac_ext=c
27596 ac_cpp='$CPP $CPPFLAGS'
27597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27600
27601
27602 fi
27603
27604   fi
27605   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27606 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27607   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27608     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27609 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27610     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27611       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27612   echo $ECHO_N "(cached) $ECHO_C" >&6
27613 else
27614
27615         if test x$gcc_no_link = xyes; then
27616   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27618    { (exit 1); exit 1; }; }
27619 fi
27620 cat >conftest.$ac_ext <<_ACEOF
27621 /* confdefs.h.  */
27622 _ACEOF
27623 cat confdefs.h >>conftest.$ac_ext
27624 cat >>conftest.$ac_ext <<_ACEOF
27625 /* end confdefs.h.  */
27626 #include <math.h>
27627 int
27628 main ()
27629 {
27630  __builtin_cosf(0);
27631   ;
27632   return 0;
27633 }
27634 _ACEOF
27635 rm -f conftest.$ac_objext conftest$ac_exeext
27636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27637   (eval $ac_link) 2>conftest.er1
27638   ac_status=$?
27639   grep -v '^ *+' conftest.er1 >conftest.err
27640   rm -f conftest.er1
27641   cat conftest.err >&5
27642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27643   (exit $ac_status); } &&
27644          { ac_try='test -z "$ac_c_werror_flag"
27645                          || test ! -s conftest.err'
27646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27647   (eval $ac_try) 2>&5
27648   ac_status=$?
27649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27650   (exit $ac_status); }; } &&
27651          { ac_try='test -s conftest$ac_exeext'
27652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27653   (eval $ac_try) 2>&5
27654   ac_status=$?
27655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27656   (exit $ac_status); }; }; then
27657   glibcxx_cv_func___builtin_cosf_link=yes
27658 else
27659   echo "$as_me: failed program was:" >&5
27660 sed 's/^/| /' conftest.$ac_ext >&5
27661
27662 glibcxx_cv_func___builtin_cosf_link=no
27663 fi
27664 rm -f conftest.err conftest.$ac_objext \
27665       conftest$ac_exeext conftest.$ac_ext
27666
27667 fi
27668
27669     fi
27670     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27671 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27672
27673     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27674
27675 cat >>confdefs.h <<\_ACEOF
27676 #define HAVE___BUILTIN_COSF 1
27677 _ACEOF
27678
27679     fi
27680
27681   fi
27682
27683
27684   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27685 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27686   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27687     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27688   echo $ECHO_N "(cached) $ECHO_C" >&6
27689 else
27690
27691
27692
27693       ac_ext=cc
27694 ac_cpp='$CXXCPP $CPPFLAGS'
27695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27698
27699       cat >conftest.$ac_ext <<_ACEOF
27700 /* confdefs.h.  */
27701 _ACEOF
27702 cat confdefs.h >>conftest.$ac_ext
27703 cat >>conftest.$ac_ext <<_ACEOF
27704 /* end confdefs.h.  */
27705 #include <math.h>
27706 int
27707 main ()
27708 {
27709  __builtin_cos(0);
27710   ;
27711   return 0;
27712 }
27713 _ACEOF
27714 rm -f conftest.$ac_objext
27715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27716   (eval $ac_compile) 2>conftest.er1
27717   ac_status=$?
27718   grep -v '^ *+' conftest.er1 >conftest.err
27719   rm -f conftest.er1
27720   cat conftest.err >&5
27721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722   (exit $ac_status); } &&
27723          { ac_try='test -z "$ac_cxx_werror_flag"
27724                          || test ! -s conftest.err'
27725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27726   (eval $ac_try) 2>&5
27727   ac_status=$?
27728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27729   (exit $ac_status); }; } &&
27730          { ac_try='test -s conftest.$ac_objext'
27731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27732   (eval $ac_try) 2>&5
27733   ac_status=$?
27734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735   (exit $ac_status); }; }; then
27736   glibcxx_cv_func___builtin_cos_use=yes
27737 else
27738   echo "$as_me: failed program was:" >&5
27739 sed 's/^/| /' conftest.$ac_ext >&5
27740
27741 glibcxx_cv_func___builtin_cos_use=no
27742 fi
27743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27744       ac_ext=c
27745 ac_cpp='$CPP $CPPFLAGS'
27746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27749
27750
27751 fi
27752
27753   fi
27754   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27755 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27756   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27757     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27758 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27759     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27760       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27761   echo $ECHO_N "(cached) $ECHO_C" >&6
27762 else
27763
27764         if test x$gcc_no_link = xyes; then
27765   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27767    { (exit 1); exit 1; }; }
27768 fi
27769 cat >conftest.$ac_ext <<_ACEOF
27770 /* confdefs.h.  */
27771 _ACEOF
27772 cat confdefs.h >>conftest.$ac_ext
27773 cat >>conftest.$ac_ext <<_ACEOF
27774 /* end confdefs.h.  */
27775 #include <math.h>
27776 int
27777 main ()
27778 {
27779  __builtin_cos(0);
27780   ;
27781   return 0;
27782 }
27783 _ACEOF
27784 rm -f conftest.$ac_objext conftest$ac_exeext
27785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27786   (eval $ac_link) 2>conftest.er1
27787   ac_status=$?
27788   grep -v '^ *+' conftest.er1 >conftest.err
27789   rm -f conftest.er1
27790   cat conftest.err >&5
27791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27792   (exit $ac_status); } &&
27793          { ac_try='test -z "$ac_c_werror_flag"
27794                          || test ! -s conftest.err'
27795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27796   (eval $ac_try) 2>&5
27797   ac_status=$?
27798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27799   (exit $ac_status); }; } &&
27800          { ac_try='test -s conftest$ac_exeext'
27801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27802   (eval $ac_try) 2>&5
27803   ac_status=$?
27804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27805   (exit $ac_status); }; }; then
27806   glibcxx_cv_func___builtin_cos_link=yes
27807 else
27808   echo "$as_me: failed program was:" >&5
27809 sed 's/^/| /' conftest.$ac_ext >&5
27810
27811 glibcxx_cv_func___builtin_cos_link=no
27812 fi
27813 rm -f conftest.err conftest.$ac_objext \
27814       conftest$ac_exeext conftest.$ac_ext
27815
27816 fi
27817
27818     fi
27819     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27820 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27821
27822     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27823
27824 cat >>confdefs.h <<\_ACEOF
27825 #define HAVE___BUILTIN_COS 1
27826 _ACEOF
27827
27828     fi
27829
27830   fi
27831
27832
27833   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27834 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27835   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27836     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27837   echo $ECHO_N "(cached) $ECHO_C" >&6
27838 else
27839
27840
27841
27842       ac_ext=cc
27843 ac_cpp='$CXXCPP $CPPFLAGS'
27844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27847
27848       cat >conftest.$ac_ext <<_ACEOF
27849 /* confdefs.h.  */
27850 _ACEOF
27851 cat confdefs.h >>conftest.$ac_ext
27852 cat >>conftest.$ac_ext <<_ACEOF
27853 /* end confdefs.h.  */
27854 #include <math.h>
27855 int
27856 main ()
27857 {
27858  __builtin_cosl(0);
27859   ;
27860   return 0;
27861 }
27862 _ACEOF
27863 rm -f conftest.$ac_objext
27864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27865   (eval $ac_compile) 2>conftest.er1
27866   ac_status=$?
27867   grep -v '^ *+' conftest.er1 >conftest.err
27868   rm -f conftest.er1
27869   cat conftest.err >&5
27870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871   (exit $ac_status); } &&
27872          { ac_try='test -z "$ac_cxx_werror_flag"
27873                          || test ! -s conftest.err'
27874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27875   (eval $ac_try) 2>&5
27876   ac_status=$?
27877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27878   (exit $ac_status); }; } &&
27879          { ac_try='test -s conftest.$ac_objext'
27880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27881   (eval $ac_try) 2>&5
27882   ac_status=$?
27883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27884   (exit $ac_status); }; }; then
27885   glibcxx_cv_func___builtin_cosl_use=yes
27886 else
27887   echo "$as_me: failed program was:" >&5
27888 sed 's/^/| /' conftest.$ac_ext >&5
27889
27890 glibcxx_cv_func___builtin_cosl_use=no
27891 fi
27892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27893       ac_ext=c
27894 ac_cpp='$CPP $CPPFLAGS'
27895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27898
27899
27900 fi
27901
27902   fi
27903   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27904 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27905   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27906     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27907 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27908     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27909       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27910   echo $ECHO_N "(cached) $ECHO_C" >&6
27911 else
27912
27913         if test x$gcc_no_link = xyes; then
27914   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27916    { (exit 1); exit 1; }; }
27917 fi
27918 cat >conftest.$ac_ext <<_ACEOF
27919 /* confdefs.h.  */
27920 _ACEOF
27921 cat confdefs.h >>conftest.$ac_ext
27922 cat >>conftest.$ac_ext <<_ACEOF
27923 /* end confdefs.h.  */
27924 #include <math.h>
27925 int
27926 main ()
27927 {
27928  __builtin_cosl(0);
27929   ;
27930   return 0;
27931 }
27932 _ACEOF
27933 rm -f conftest.$ac_objext conftest$ac_exeext
27934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27935   (eval $ac_link) 2>conftest.er1
27936   ac_status=$?
27937   grep -v '^ *+' conftest.er1 >conftest.err
27938   rm -f conftest.er1
27939   cat conftest.err >&5
27940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27941   (exit $ac_status); } &&
27942          { ac_try='test -z "$ac_c_werror_flag"
27943                          || test ! -s conftest.err'
27944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27945   (eval $ac_try) 2>&5
27946   ac_status=$?
27947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948   (exit $ac_status); }; } &&
27949          { ac_try='test -s conftest$ac_exeext'
27950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27951   (eval $ac_try) 2>&5
27952   ac_status=$?
27953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27954   (exit $ac_status); }; }; then
27955   glibcxx_cv_func___builtin_cosl_link=yes
27956 else
27957   echo "$as_me: failed program was:" >&5
27958 sed 's/^/| /' conftest.$ac_ext >&5
27959
27960 glibcxx_cv_func___builtin_cosl_link=no
27961 fi
27962 rm -f conftest.err conftest.$ac_objext \
27963       conftest$ac_exeext conftest.$ac_ext
27964
27965 fi
27966
27967     fi
27968     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27969 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27970
27971     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27972
27973 cat >>confdefs.h <<\_ACEOF
27974 #define HAVE___BUILTIN_COSL 1
27975 _ACEOF
27976
27977     fi
27978
27979   fi
27980
27981
27982
27983
27984 echo "$as_me:$LINENO: checking for main in -lm" >&5
27985 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27986 if test "${ac_cv_lib_m_main+set}" = set; then
27987   echo $ECHO_N "(cached) $ECHO_C" >&6
27988 else
27989   ac_check_lib_save_LIBS=$LIBS
27990 LIBS="-lm  $LIBS"
27991 if test x$gcc_no_link = xyes; then
27992   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27994    { (exit 1); exit 1; }; }
27995 fi
27996 cat >conftest.$ac_ext <<_ACEOF
27997 /* confdefs.h.  */
27998 _ACEOF
27999 cat confdefs.h >>conftest.$ac_ext
28000 cat >>conftest.$ac_ext <<_ACEOF
28001 /* end confdefs.h.  */
28002
28003
28004 int
28005 main ()
28006 {
28007 main ();
28008   ;
28009   return 0;
28010 }
28011 _ACEOF
28012 rm -f conftest.$ac_objext conftest$ac_exeext
28013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28014   (eval $ac_link) 2>conftest.er1
28015   ac_status=$?
28016   grep -v '^ *+' conftest.er1 >conftest.err
28017   rm -f conftest.er1
28018   cat conftest.err >&5
28019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28020   (exit $ac_status); } &&
28021          { ac_try='test -z "$ac_c_werror_flag"
28022                          || test ! -s conftest.err'
28023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28024   (eval $ac_try) 2>&5
28025   ac_status=$?
28026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28027   (exit $ac_status); }; } &&
28028          { ac_try='test -s conftest$ac_exeext'
28029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28030   (eval $ac_try) 2>&5
28031   ac_status=$?
28032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28033   (exit $ac_status); }; }; then
28034   ac_cv_lib_m_main=yes
28035 else
28036   echo "$as_me: failed program was:" >&5
28037 sed 's/^/| /' conftest.$ac_ext >&5
28038
28039 ac_cv_lib_m_main=no
28040 fi
28041 rm -f conftest.err conftest.$ac_objext \
28042       conftest$ac_exeext conftest.$ac_ext
28043 LIBS=$ac_check_lib_save_LIBS
28044 fi
28045 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
28046 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
28047 if test $ac_cv_lib_m_main = yes; then
28048   cat >>confdefs.h <<_ACEOF
28049 #define HAVE_LIBM 1
28050 _ACEOF
28051
28052   LIBS="-lm $LIBS"
28053
28054 fi
28055
28056
28057 for ac_func in copysignf
28058 do
28059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28060 echo "$as_me:$LINENO: checking for $ac_func" >&5
28061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28062 if eval "test \"\${$as_ac_var+set}\" = set"; then
28063   echo $ECHO_N "(cached) $ECHO_C" >&6
28064 else
28065   if test x$gcc_no_link = xyes; then
28066   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28068    { (exit 1); exit 1; }; }
28069 fi
28070 cat >conftest.$ac_ext <<_ACEOF
28071 /* confdefs.h.  */
28072 _ACEOF
28073 cat confdefs.h >>conftest.$ac_ext
28074 cat >>conftest.$ac_ext <<_ACEOF
28075 /* end confdefs.h.  */
28076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28077    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28078 #define $ac_func innocuous_$ac_func
28079
28080 /* System header to define __stub macros and hopefully few prototypes,
28081     which can conflict with char $ac_func (); below.
28082     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28083     <limits.h> exists even on freestanding compilers.  */
28084
28085 #ifdef __STDC__
28086 # include <limits.h>
28087 #else
28088 # include <assert.h>
28089 #endif
28090
28091 #undef $ac_func
28092
28093 /* Override any gcc2 internal prototype to avoid an error.  */
28094 #ifdef __cplusplus
28095 extern "C"
28096 {
28097 #endif
28098 /* We use char because int might match the return type of a gcc2
28099    builtin and then its argument prototype would still apply.  */
28100 char $ac_func ();
28101 /* The GNU C library defines this for functions which it implements
28102     to always fail with ENOSYS.  Some functions are actually named
28103     something starting with __ and the normal name is an alias.  */
28104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28105 choke me
28106 #else
28107 char (*f) () = $ac_func;
28108 #endif
28109 #ifdef __cplusplus
28110 }
28111 #endif
28112
28113 int
28114 main ()
28115 {
28116 return f != $ac_func;
28117   ;
28118   return 0;
28119 }
28120 _ACEOF
28121 rm -f conftest.$ac_objext conftest$ac_exeext
28122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28123   (eval $ac_link) 2>conftest.er1
28124   ac_status=$?
28125   grep -v '^ *+' conftest.er1 >conftest.err
28126   rm -f conftest.er1
28127   cat conftest.err >&5
28128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28129   (exit $ac_status); } &&
28130          { ac_try='test -z "$ac_c_werror_flag"
28131                          || test ! -s conftest.err'
28132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28133   (eval $ac_try) 2>&5
28134   ac_status=$?
28135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28136   (exit $ac_status); }; } &&
28137          { ac_try='test -s conftest$ac_exeext'
28138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28139   (eval $ac_try) 2>&5
28140   ac_status=$?
28141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28142   (exit $ac_status); }; }; then
28143   eval "$as_ac_var=yes"
28144 else
28145   echo "$as_me: failed program was:" >&5
28146 sed 's/^/| /' conftest.$ac_ext >&5
28147
28148 eval "$as_ac_var=no"
28149 fi
28150 rm -f conftest.err conftest.$ac_objext \
28151       conftest$ac_exeext conftest.$ac_ext
28152 fi
28153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28155 if test `eval echo '${'$as_ac_var'}'` = yes; then
28156   cat >>confdefs.h <<_ACEOF
28157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28158 _ACEOF
28159
28160 else
28161   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
28162 fi
28163 done
28164
28165
28166
28167 for ac_func in __signbit
28168 do
28169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28170 echo "$as_me:$LINENO: checking for $ac_func" >&5
28171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28172 if eval "test \"\${$as_ac_var+set}\" = set"; then
28173   echo $ECHO_N "(cached) $ECHO_C" >&6
28174 else
28175   if test x$gcc_no_link = xyes; then
28176   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28178    { (exit 1); exit 1; }; }
28179 fi
28180 cat >conftest.$ac_ext <<_ACEOF
28181 /* confdefs.h.  */
28182 _ACEOF
28183 cat confdefs.h >>conftest.$ac_ext
28184 cat >>conftest.$ac_ext <<_ACEOF
28185 /* end confdefs.h.  */
28186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28187    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28188 #define $ac_func innocuous_$ac_func
28189
28190 /* System header to define __stub macros and hopefully few prototypes,
28191     which can conflict with char $ac_func (); below.
28192     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28193     <limits.h> exists even on freestanding compilers.  */
28194
28195 #ifdef __STDC__
28196 # include <limits.h>
28197 #else
28198 # include <assert.h>
28199 #endif
28200
28201 #undef $ac_func
28202
28203 /* Override any gcc2 internal prototype to avoid an error.  */
28204 #ifdef __cplusplus
28205 extern "C"
28206 {
28207 #endif
28208 /* We use char because int might match the return type of a gcc2
28209    builtin and then its argument prototype would still apply.  */
28210 char $ac_func ();
28211 /* The GNU C library defines this for functions which it implements
28212     to always fail with ENOSYS.  Some functions are actually named
28213     something starting with __ and the normal name is an alias.  */
28214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28215 choke me
28216 #else
28217 char (*f) () = $ac_func;
28218 #endif
28219 #ifdef __cplusplus
28220 }
28221 #endif
28222
28223 int
28224 main ()
28225 {
28226 return f != $ac_func;
28227   ;
28228   return 0;
28229 }
28230 _ACEOF
28231 rm -f conftest.$ac_objext conftest$ac_exeext
28232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28233   (eval $ac_link) 2>conftest.er1
28234   ac_status=$?
28235   grep -v '^ *+' conftest.er1 >conftest.err
28236   rm -f conftest.er1
28237   cat conftest.err >&5
28238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239   (exit $ac_status); } &&
28240          { ac_try='test -z "$ac_c_werror_flag"
28241                          || test ! -s conftest.err'
28242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28243   (eval $ac_try) 2>&5
28244   ac_status=$?
28245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28246   (exit $ac_status); }; } &&
28247          { ac_try='test -s conftest$ac_exeext'
28248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28249   (eval $ac_try) 2>&5
28250   ac_status=$?
28251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28252   (exit $ac_status); }; }; then
28253   eval "$as_ac_var=yes"
28254 else
28255   echo "$as_me: failed program was:" >&5
28256 sed 's/^/| /' conftest.$ac_ext >&5
28257
28258 eval "$as_ac_var=no"
28259 fi
28260 rm -f conftest.err conftest.$ac_objext \
28261       conftest$ac_exeext conftest.$ac_ext
28262 fi
28263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28265 if test `eval echo '${'$as_ac_var'}'` = yes; then
28266   cat >>confdefs.h <<_ACEOF
28267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28268 _ACEOF
28269
28270 else
28271   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28272 fi
28273 done
28274
28275
28276
28277 for ac_func in __signbitf
28278 do
28279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28280 echo "$as_me:$LINENO: checking for $ac_func" >&5
28281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28282 if eval "test \"\${$as_ac_var+set}\" = set"; then
28283   echo $ECHO_N "(cached) $ECHO_C" >&6
28284 else
28285   if test x$gcc_no_link = xyes; then
28286   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28288    { (exit 1); exit 1; }; }
28289 fi
28290 cat >conftest.$ac_ext <<_ACEOF
28291 /* confdefs.h.  */
28292 _ACEOF
28293 cat confdefs.h >>conftest.$ac_ext
28294 cat >>conftest.$ac_ext <<_ACEOF
28295 /* end confdefs.h.  */
28296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28297    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28298 #define $ac_func innocuous_$ac_func
28299
28300 /* System header to define __stub macros and hopefully few prototypes,
28301     which can conflict with char $ac_func (); below.
28302     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28303     <limits.h> exists even on freestanding compilers.  */
28304
28305 #ifdef __STDC__
28306 # include <limits.h>
28307 #else
28308 # include <assert.h>
28309 #endif
28310
28311 #undef $ac_func
28312
28313 /* Override any gcc2 internal prototype to avoid an error.  */
28314 #ifdef __cplusplus
28315 extern "C"
28316 {
28317 #endif
28318 /* We use char because int might match the return type of a gcc2
28319    builtin and then its argument prototype would still apply.  */
28320 char $ac_func ();
28321 /* The GNU C library defines this for functions which it implements
28322     to always fail with ENOSYS.  Some functions are actually named
28323     something starting with __ and the normal name is an alias.  */
28324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28325 choke me
28326 #else
28327 char (*f) () = $ac_func;
28328 #endif
28329 #ifdef __cplusplus
28330 }
28331 #endif
28332
28333 int
28334 main ()
28335 {
28336 return f != $ac_func;
28337   ;
28338   return 0;
28339 }
28340 _ACEOF
28341 rm -f conftest.$ac_objext conftest$ac_exeext
28342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28343   (eval $ac_link) 2>conftest.er1
28344   ac_status=$?
28345   grep -v '^ *+' conftest.er1 >conftest.err
28346   rm -f conftest.er1
28347   cat conftest.err >&5
28348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28349   (exit $ac_status); } &&
28350          { ac_try='test -z "$ac_c_werror_flag"
28351                          || test ! -s conftest.err'
28352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28353   (eval $ac_try) 2>&5
28354   ac_status=$?
28355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28356   (exit $ac_status); }; } &&
28357          { ac_try='test -s conftest$ac_exeext'
28358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28359   (eval $ac_try) 2>&5
28360   ac_status=$?
28361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28362   (exit $ac_status); }; }; then
28363   eval "$as_ac_var=yes"
28364 else
28365   echo "$as_me: failed program was:" >&5
28366 sed 's/^/| /' conftest.$ac_ext >&5
28367
28368 eval "$as_ac_var=no"
28369 fi
28370 rm -f conftest.err conftest.$ac_objext \
28371       conftest$ac_exeext conftest.$ac_ext
28372 fi
28373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28375 if test `eval echo '${'$as_ac_var'}'` = yes; then
28376   cat >>confdefs.h <<_ACEOF
28377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28378 _ACEOF
28379
28380 else
28381   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28382 fi
28383 done
28384
28385
28386           if test x$ac_cv_func_copysignl = x"yes"; then
28387
28388 for ac_func in __signbitl
28389 do
28390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28391 echo "$as_me:$LINENO: checking for $ac_func" >&5
28392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28393 if eval "test \"\${$as_ac_var+set}\" = set"; then
28394   echo $ECHO_N "(cached) $ECHO_C" >&6
28395 else
28396   if test x$gcc_no_link = xyes; then
28397   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28399    { (exit 1); exit 1; }; }
28400 fi
28401 cat >conftest.$ac_ext <<_ACEOF
28402 /* confdefs.h.  */
28403 _ACEOF
28404 cat confdefs.h >>conftest.$ac_ext
28405 cat >>conftest.$ac_ext <<_ACEOF
28406 /* end confdefs.h.  */
28407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28408    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28409 #define $ac_func innocuous_$ac_func
28410
28411 /* System header to define __stub macros and hopefully few prototypes,
28412     which can conflict with char $ac_func (); below.
28413     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28414     <limits.h> exists even on freestanding compilers.  */
28415
28416 #ifdef __STDC__
28417 # include <limits.h>
28418 #else
28419 # include <assert.h>
28420 #endif
28421
28422 #undef $ac_func
28423
28424 /* Override any gcc2 internal prototype to avoid an error.  */
28425 #ifdef __cplusplus
28426 extern "C"
28427 {
28428 #endif
28429 /* We use char because int might match the return type of a gcc2
28430    builtin and then its argument prototype would still apply.  */
28431 char $ac_func ();
28432 /* The GNU C library defines this for functions which it implements
28433     to always fail with ENOSYS.  Some functions are actually named
28434     something starting with __ and the normal name is an alias.  */
28435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28436 choke me
28437 #else
28438 char (*f) () = $ac_func;
28439 #endif
28440 #ifdef __cplusplus
28441 }
28442 #endif
28443
28444 int
28445 main ()
28446 {
28447 return f != $ac_func;
28448   ;
28449   return 0;
28450 }
28451 _ACEOF
28452 rm -f conftest.$ac_objext conftest$ac_exeext
28453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28454   (eval $ac_link) 2>conftest.er1
28455   ac_status=$?
28456   grep -v '^ *+' conftest.er1 >conftest.err
28457   rm -f conftest.er1
28458   cat conftest.err >&5
28459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460   (exit $ac_status); } &&
28461          { ac_try='test -z "$ac_c_werror_flag"
28462                          || test ! -s conftest.err'
28463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28464   (eval $ac_try) 2>&5
28465   ac_status=$?
28466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28467   (exit $ac_status); }; } &&
28468          { ac_try='test -s conftest$ac_exeext'
28469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28470   (eval $ac_try) 2>&5
28471   ac_status=$?
28472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28473   (exit $ac_status); }; }; then
28474   eval "$as_ac_var=yes"
28475 else
28476   echo "$as_me: failed program was:" >&5
28477 sed 's/^/| /' conftest.$ac_ext >&5
28478
28479 eval "$as_ac_var=no"
28480 fi
28481 rm -f conftest.err conftest.$ac_objext \
28482       conftest$ac_exeext conftest.$ac_ext
28483 fi
28484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28486 if test `eval echo '${'$as_ac_var'}'` = yes; then
28487   cat >>confdefs.h <<_ACEOF
28488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28489 _ACEOF
28490
28491 else
28492   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28493 fi
28494 done
28495
28496   fi
28497
28498   # Used in libmath/Makefile.am.
28499   if test -n "$LIBMATHOBJS"; then
28500     need_libmath=yes
28501   fi
28502
28503
28504
28505
28506   enable_iconv=no
28507   # Only continue checking if the ISO C99 headers exist and support is on.
28508   if test x"$enable_wchar_t" = xyes; then
28509
28510     # Use iconv for wchar_t to char conversions. As such, check for
28511     # X/Open Portability Guide, version 2 features (XPG2).
28512     if test "${ac_cv_header_iconv_h+set}" = set; then
28513   echo "$as_me:$LINENO: checking for iconv.h" >&5
28514 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28515 if test "${ac_cv_header_iconv_h+set}" = set; then
28516   echo $ECHO_N "(cached) $ECHO_C" >&6
28517 fi
28518 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28519 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28520 else
28521   # Is the header compilable?
28522 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28523 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28524 cat >conftest.$ac_ext <<_ACEOF
28525 /* confdefs.h.  */
28526 _ACEOF
28527 cat confdefs.h >>conftest.$ac_ext
28528 cat >>conftest.$ac_ext <<_ACEOF
28529 /* end confdefs.h.  */
28530 $ac_includes_default
28531 #include <iconv.h>
28532 _ACEOF
28533 rm -f conftest.$ac_objext
28534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28535   (eval $ac_compile) 2>conftest.er1
28536   ac_status=$?
28537   grep -v '^ *+' conftest.er1 >conftest.err
28538   rm -f conftest.er1
28539   cat conftest.err >&5
28540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28541   (exit $ac_status); } &&
28542          { ac_try='test -z "$ac_c_werror_flag"
28543                          || test ! -s conftest.err'
28544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28545   (eval $ac_try) 2>&5
28546   ac_status=$?
28547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28548   (exit $ac_status); }; } &&
28549          { ac_try='test -s conftest.$ac_objext'
28550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28551   (eval $ac_try) 2>&5
28552   ac_status=$?
28553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28554   (exit $ac_status); }; }; then
28555   ac_header_compiler=yes
28556 else
28557   echo "$as_me: failed program was:" >&5
28558 sed 's/^/| /' conftest.$ac_ext >&5
28559
28560 ac_header_compiler=no
28561 fi
28562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28563 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28564 echo "${ECHO_T}$ac_header_compiler" >&6
28565
28566 # Is the header present?
28567 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28568 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28569 cat >conftest.$ac_ext <<_ACEOF
28570 /* confdefs.h.  */
28571 _ACEOF
28572 cat confdefs.h >>conftest.$ac_ext
28573 cat >>conftest.$ac_ext <<_ACEOF
28574 /* end confdefs.h.  */
28575 #include <iconv.h>
28576 _ACEOF
28577 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28578   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28579   ac_status=$?
28580   grep -v '^ *+' conftest.er1 >conftest.err
28581   rm -f conftest.er1
28582   cat conftest.err >&5
28583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28584   (exit $ac_status); } >/dev/null; then
28585   if test -s conftest.err; then
28586     ac_cpp_err=$ac_c_preproc_warn_flag
28587     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28588   else
28589     ac_cpp_err=
28590   fi
28591 else
28592   ac_cpp_err=yes
28593 fi
28594 if test -z "$ac_cpp_err"; then
28595   ac_header_preproc=yes
28596 else
28597   echo "$as_me: failed program was:" >&5
28598 sed 's/^/| /' conftest.$ac_ext >&5
28599
28600   ac_header_preproc=no
28601 fi
28602 rm -f conftest.err conftest.$ac_ext
28603 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28604 echo "${ECHO_T}$ac_header_preproc" >&6
28605
28606 # So?  What about this header?
28607 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28608   yes:no: )
28609     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28610 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28611     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28612 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28613     ac_header_preproc=yes
28614     ;;
28615   no:yes:* )
28616     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28617 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28618     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
28619 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
28620     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28621 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28622     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
28623 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28624     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28625 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28626     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28627 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28628     (
28629       cat <<\_ASBOX
28630 ## ----------------------------------------- ##
28631 ## Report this to the package-unused lists.  ##
28632 ## ----------------------------------------- ##
28633 _ASBOX
28634     ) |
28635       sed "s/^/$as_me: WARNING:     /" >&2
28636     ;;
28637 esac
28638 echo "$as_me:$LINENO: checking for iconv.h" >&5
28639 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28640 if test "${ac_cv_header_iconv_h+set}" = set; then
28641   echo $ECHO_N "(cached) $ECHO_C" >&6
28642 else
28643   ac_cv_header_iconv_h=$ac_header_preproc
28644 fi
28645 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28646 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28647
28648 fi
28649 if test $ac_cv_header_iconv_h = yes; then
28650   ac_has_iconv_h=yes
28651 else
28652   ac_has_iconv_h=no
28653 fi
28654
28655
28656     if test "${ac_cv_header_langinfo_h+set}" = set; then
28657   echo "$as_me:$LINENO: checking for langinfo.h" >&5
28658 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28659 if test "${ac_cv_header_langinfo_h+set}" = set; then
28660   echo $ECHO_N "(cached) $ECHO_C" >&6
28661 fi
28662 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28663 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28664 else
28665   # Is the header compilable?
28666 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28667 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28668 cat >conftest.$ac_ext <<_ACEOF
28669 /* confdefs.h.  */
28670 _ACEOF
28671 cat confdefs.h >>conftest.$ac_ext
28672 cat >>conftest.$ac_ext <<_ACEOF
28673 /* end confdefs.h.  */
28674 $ac_includes_default
28675 #include <langinfo.h>
28676 _ACEOF
28677 rm -f conftest.$ac_objext
28678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28679   (eval $ac_compile) 2>conftest.er1
28680   ac_status=$?
28681   grep -v '^ *+' conftest.er1 >conftest.err
28682   rm -f conftest.er1
28683   cat conftest.err >&5
28684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685   (exit $ac_status); } &&
28686          { ac_try='test -z "$ac_c_werror_flag"
28687                          || test ! -s conftest.err'
28688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28689   (eval $ac_try) 2>&5
28690   ac_status=$?
28691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692   (exit $ac_status); }; } &&
28693          { ac_try='test -s conftest.$ac_objext'
28694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28695   (eval $ac_try) 2>&5
28696   ac_status=$?
28697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698   (exit $ac_status); }; }; then
28699   ac_header_compiler=yes
28700 else
28701   echo "$as_me: failed program was:" >&5
28702 sed 's/^/| /' conftest.$ac_ext >&5
28703
28704 ac_header_compiler=no
28705 fi
28706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28707 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28708 echo "${ECHO_T}$ac_header_compiler" >&6
28709
28710 # Is the header present?
28711 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28712 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28713 cat >conftest.$ac_ext <<_ACEOF
28714 /* confdefs.h.  */
28715 _ACEOF
28716 cat confdefs.h >>conftest.$ac_ext
28717 cat >>conftest.$ac_ext <<_ACEOF
28718 /* end confdefs.h.  */
28719 #include <langinfo.h>
28720 _ACEOF
28721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28722   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28723   ac_status=$?
28724   grep -v '^ *+' conftest.er1 >conftest.err
28725   rm -f conftest.er1
28726   cat conftest.err >&5
28727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28728   (exit $ac_status); } >/dev/null; then
28729   if test -s conftest.err; then
28730     ac_cpp_err=$ac_c_preproc_warn_flag
28731     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28732   else
28733     ac_cpp_err=
28734   fi
28735 else
28736   ac_cpp_err=yes
28737 fi
28738 if test -z "$ac_cpp_err"; then
28739   ac_header_preproc=yes
28740 else
28741   echo "$as_me: failed program was:" >&5
28742 sed 's/^/| /' conftest.$ac_ext >&5
28743
28744   ac_header_preproc=no
28745 fi
28746 rm -f conftest.err conftest.$ac_ext
28747 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28748 echo "${ECHO_T}$ac_header_preproc" >&6
28749
28750 # So?  What about this header?
28751 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28752   yes:no: )
28753     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28754 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28755     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28756 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28757     ac_header_preproc=yes
28758     ;;
28759   no:yes:* )
28760     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28761 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28762     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
28763 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
28764     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28765 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28766     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
28767 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28768     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28769 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28770     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28771 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28772     (
28773       cat <<\_ASBOX
28774 ## ----------------------------------------- ##
28775 ## Report this to the package-unused lists.  ##
28776 ## ----------------------------------------- ##
28777 _ASBOX
28778     ) |
28779       sed "s/^/$as_me: WARNING:     /" >&2
28780     ;;
28781 esac
28782 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28783 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28784 if test "${ac_cv_header_langinfo_h+set}" = set; then
28785   echo $ECHO_N "(cached) $ECHO_C" >&6
28786 else
28787   ac_cv_header_langinfo_h=$ac_header_preproc
28788 fi
28789 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28790 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28791
28792 fi
28793 if test $ac_cv_header_langinfo_h = yes; then
28794   ac_has_langinfo_h=yes
28795 else
28796   ac_has_langinfo_h=no
28797 fi
28798
28799
28800
28801     # Check for existence of libiconv.a providing XPG2 wchar_t support.
28802     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28803 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28804 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28805   echo $ECHO_N "(cached) $ECHO_C" >&6
28806 else
28807   ac_check_lib_save_LIBS=$LIBS
28808 LIBS="-liconv  $LIBS"
28809 if test x$gcc_no_link = xyes; then
28810   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28812    { (exit 1); exit 1; }; }
28813 fi
28814 cat >conftest.$ac_ext <<_ACEOF
28815 /* confdefs.h.  */
28816 _ACEOF
28817 cat confdefs.h >>conftest.$ac_ext
28818 cat >>conftest.$ac_ext <<_ACEOF
28819 /* end confdefs.h.  */
28820
28821 /* Override any gcc2 internal prototype to avoid an error.  */
28822 #ifdef __cplusplus
28823 extern "C"
28824 #endif
28825 /* We use char because int might match the return type of a gcc2
28826    builtin and then its argument prototype would still apply.  */
28827 char iconv ();
28828 int
28829 main ()
28830 {
28831 iconv ();
28832   ;
28833   return 0;
28834 }
28835 _ACEOF
28836 rm -f conftest.$ac_objext conftest$ac_exeext
28837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28838   (eval $ac_link) 2>conftest.er1
28839   ac_status=$?
28840   grep -v '^ *+' conftest.er1 >conftest.err
28841   rm -f conftest.er1
28842   cat conftest.err >&5
28843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844   (exit $ac_status); } &&
28845          { ac_try='test -z "$ac_c_werror_flag"
28846                          || test ! -s conftest.err'
28847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28848   (eval $ac_try) 2>&5
28849   ac_status=$?
28850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28851   (exit $ac_status); }; } &&
28852          { ac_try='test -s conftest$ac_exeext'
28853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28854   (eval $ac_try) 2>&5
28855   ac_status=$?
28856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28857   (exit $ac_status); }; }; then
28858   ac_cv_lib_iconv_iconv=yes
28859 else
28860   echo "$as_me: failed program was:" >&5
28861 sed 's/^/| /' conftest.$ac_ext >&5
28862
28863 ac_cv_lib_iconv_iconv=no
28864 fi
28865 rm -f conftest.err conftest.$ac_objext \
28866       conftest$ac_exeext conftest.$ac_ext
28867 LIBS=$ac_check_lib_save_LIBS
28868 fi
28869 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28870 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28871 if test $ac_cv_lib_iconv_iconv = yes; then
28872   LIBICONV="-liconv"
28873 fi
28874
28875     ac_save_LIBS="$LIBS"
28876     LIBS="$LIBS $LIBICONV"
28877
28878
28879
28880
28881
28882
28883 for ac_func in iconv_open iconv_close iconv nl_langinfo
28884 do
28885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28886 echo "$as_me:$LINENO: checking for $ac_func" >&5
28887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28888 if eval "test \"\${$as_ac_var+set}\" = set"; then
28889   echo $ECHO_N "(cached) $ECHO_C" >&6
28890 else
28891   if test x$gcc_no_link = xyes; then
28892   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28894    { (exit 1); exit 1; }; }
28895 fi
28896 cat >conftest.$ac_ext <<_ACEOF
28897 /* confdefs.h.  */
28898 _ACEOF
28899 cat confdefs.h >>conftest.$ac_ext
28900 cat >>conftest.$ac_ext <<_ACEOF
28901 /* end confdefs.h.  */
28902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28903    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28904 #define $ac_func innocuous_$ac_func
28905
28906 /* System header to define __stub macros and hopefully few prototypes,
28907     which can conflict with char $ac_func (); below.
28908     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28909     <limits.h> exists even on freestanding compilers.  */
28910
28911 #ifdef __STDC__
28912 # include <limits.h>
28913 #else
28914 # include <assert.h>
28915 #endif
28916
28917 #undef $ac_func
28918
28919 /* Override any gcc2 internal prototype to avoid an error.  */
28920 #ifdef __cplusplus
28921 extern "C"
28922 {
28923 #endif
28924 /* We use char because int might match the return type of a gcc2
28925    builtin and then its argument prototype would still apply.  */
28926 char $ac_func ();
28927 /* The GNU C library defines this for functions which it implements
28928     to always fail with ENOSYS.  Some functions are actually named
28929     something starting with __ and the normal name is an alias.  */
28930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28931 choke me
28932 #else
28933 char (*f) () = $ac_func;
28934 #endif
28935 #ifdef __cplusplus
28936 }
28937 #endif
28938
28939 int
28940 main ()
28941 {
28942 return f != $ac_func;
28943   ;
28944   return 0;
28945 }
28946 _ACEOF
28947 rm -f conftest.$ac_objext conftest$ac_exeext
28948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28949   (eval $ac_link) 2>conftest.er1
28950   ac_status=$?
28951   grep -v '^ *+' conftest.er1 >conftest.err
28952   rm -f conftest.er1
28953   cat conftest.err >&5
28954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28955   (exit $ac_status); } &&
28956          { ac_try='test -z "$ac_c_werror_flag"
28957                          || test ! -s conftest.err'
28958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28959   (eval $ac_try) 2>&5
28960   ac_status=$?
28961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28962   (exit $ac_status); }; } &&
28963          { ac_try='test -s conftest$ac_exeext'
28964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28965   (eval $ac_try) 2>&5
28966   ac_status=$?
28967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28968   (exit $ac_status); }; }; then
28969   eval "$as_ac_var=yes"
28970 else
28971   echo "$as_me: failed program was:" >&5
28972 sed 's/^/| /' conftest.$ac_ext >&5
28973
28974 eval "$as_ac_var=no"
28975 fi
28976 rm -f conftest.err conftest.$ac_objext \
28977       conftest$ac_exeext conftest.$ac_ext
28978 fi
28979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28981 if test `eval echo '${'$as_ac_var'}'` = yes; then
28982   cat >>confdefs.h <<_ACEOF
28983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28984 _ACEOF
28985  ac_XPG2funcs=yes
28986 else
28987   ac_XPG2funcs=no
28988 fi
28989 done
28990
28991
28992     LIBS="$ac_save_LIBS"
28993
28994     if test x"$ac_has_iconv_h" = xyes &&
28995        test x"$ac_has_langinfo_h" = xyes &&
28996        test x"$ac_XPG2funcs" = xyes;
28997     then
28998
28999 cat >>confdefs.h <<\_ACEOF
29000 #define _GLIBCXX_USE_ICONV 1
29001 _ACEOF
29002
29003       enable_iconv=yes
29004     fi
29005   fi
29006   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
29007 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
29008   echo "$as_me:$LINENO: result: $enable_iconv" >&5
29009 echo "${ECHO_T}$enable_iconv" >&6
29010
29011
29012   ac_test_CXXFLAGS="${CXXFLAGS+set}"
29013   ac_save_CXXFLAGS="$CXXFLAGS"
29014   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29015
29016
29017   echo "$as_me:$LINENO: checking for strtold declaration" >&5
29018 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
29019   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
29020     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
29021   echo $ECHO_N "(cached) $ECHO_C" >&6
29022 else
29023
29024
29025
29026       ac_ext=cc
29027 ac_cpp='$CXXCPP $CPPFLAGS'
29028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29031
29032       cat >conftest.$ac_ext <<_ACEOF
29033 /* confdefs.h.  */
29034 _ACEOF
29035 cat confdefs.h >>conftest.$ac_ext
29036 cat >>conftest.$ac_ext <<_ACEOF
29037 /* end confdefs.h.  */
29038 #include <stdlib.h>
29039 int
29040 main ()
29041 {
29042  strtold(0, 0);
29043   ;
29044   return 0;
29045 }
29046 _ACEOF
29047 rm -f conftest.$ac_objext
29048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29049   (eval $ac_compile) 2>conftest.er1
29050   ac_status=$?
29051   grep -v '^ *+' conftest.er1 >conftest.err
29052   rm -f conftest.er1
29053   cat conftest.err >&5
29054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29055   (exit $ac_status); } &&
29056          { ac_try='test -z "$ac_cxx_werror_flag"
29057                          || test ! -s conftest.err'
29058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29059   (eval $ac_try) 2>&5
29060   ac_status=$?
29061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29062   (exit $ac_status); }; } &&
29063          { ac_try='test -s conftest.$ac_objext'
29064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29065   (eval $ac_try) 2>&5
29066   ac_status=$?
29067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29068   (exit $ac_status); }; }; then
29069   glibcxx_cv_func_strtold_use=yes
29070 else
29071   echo "$as_me: failed program was:" >&5
29072 sed 's/^/| /' conftest.$ac_ext >&5
29073
29074 glibcxx_cv_func_strtold_use=no
29075 fi
29076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29077       ac_ext=c
29078 ac_cpp='$CPP $CPPFLAGS'
29079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29082
29083
29084 fi
29085
29086   fi
29087   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29088 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29089   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29090
29091 for ac_func in strtold
29092 do
29093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29094 echo "$as_me:$LINENO: checking for $ac_func" >&5
29095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29096 if eval "test \"\${$as_ac_var+set}\" = set"; then
29097   echo $ECHO_N "(cached) $ECHO_C" >&6
29098 else
29099   if test x$gcc_no_link = xyes; then
29100   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29102    { (exit 1); exit 1; }; }
29103 fi
29104 cat >conftest.$ac_ext <<_ACEOF
29105 /* confdefs.h.  */
29106 _ACEOF
29107 cat confdefs.h >>conftest.$ac_ext
29108 cat >>conftest.$ac_ext <<_ACEOF
29109 /* end confdefs.h.  */
29110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29111    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29112 #define $ac_func innocuous_$ac_func
29113
29114 /* System header to define __stub macros and hopefully few prototypes,
29115     which can conflict with char $ac_func (); below.
29116     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29117     <limits.h> exists even on freestanding compilers.  */
29118
29119 #ifdef __STDC__
29120 # include <limits.h>
29121 #else
29122 # include <assert.h>
29123 #endif
29124
29125 #undef $ac_func
29126
29127 /* Override any gcc2 internal prototype to avoid an error.  */
29128 #ifdef __cplusplus
29129 extern "C"
29130 {
29131 #endif
29132 /* We use char because int might match the return type of a gcc2
29133    builtin and then its argument prototype would still apply.  */
29134 char $ac_func ();
29135 /* The GNU C library defines this for functions which it implements
29136     to always fail with ENOSYS.  Some functions are actually named
29137     something starting with __ and the normal name is an alias.  */
29138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29139 choke me
29140 #else
29141 char (*f) () = $ac_func;
29142 #endif
29143 #ifdef __cplusplus
29144 }
29145 #endif
29146
29147 int
29148 main ()
29149 {
29150 return f != $ac_func;
29151   ;
29152   return 0;
29153 }
29154 _ACEOF
29155 rm -f conftest.$ac_objext conftest$ac_exeext
29156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29157   (eval $ac_link) 2>conftest.er1
29158   ac_status=$?
29159   grep -v '^ *+' conftest.er1 >conftest.err
29160   rm -f conftest.er1
29161   cat conftest.err >&5
29162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163   (exit $ac_status); } &&
29164          { ac_try='test -z "$ac_c_werror_flag"
29165                          || test ! -s conftest.err'
29166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29167   (eval $ac_try) 2>&5
29168   ac_status=$?
29169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29170   (exit $ac_status); }; } &&
29171          { ac_try='test -s conftest$ac_exeext'
29172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29173   (eval $ac_try) 2>&5
29174   ac_status=$?
29175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29176   (exit $ac_status); }; }; then
29177   eval "$as_ac_var=yes"
29178 else
29179   echo "$as_me: failed program was:" >&5
29180 sed 's/^/| /' conftest.$ac_ext >&5
29181
29182 eval "$as_ac_var=no"
29183 fi
29184 rm -f conftest.err conftest.$ac_objext \
29185       conftest$ac_exeext conftest.$ac_ext
29186 fi
29187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29189 if test `eval echo '${'$as_ac_var'}'` = yes; then
29190   cat >>confdefs.h <<_ACEOF
29191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29192 _ACEOF
29193
29194 fi
29195 done
29196
29197   fi
29198
29199
29200
29201
29202
29203   echo "$as_me:$LINENO: checking for strtof declaration" >&5
29204 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29205   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29206     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29207   echo $ECHO_N "(cached) $ECHO_C" >&6
29208 else
29209
29210
29211
29212       ac_ext=cc
29213 ac_cpp='$CXXCPP $CPPFLAGS'
29214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29217
29218       cat >conftest.$ac_ext <<_ACEOF
29219 /* confdefs.h.  */
29220 _ACEOF
29221 cat confdefs.h >>conftest.$ac_ext
29222 cat >>conftest.$ac_ext <<_ACEOF
29223 /* end confdefs.h.  */
29224 #include <stdlib.h>
29225 int
29226 main ()
29227 {
29228  strtof(0, 0);
29229   ;
29230   return 0;
29231 }
29232 _ACEOF
29233 rm -f conftest.$ac_objext
29234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29235   (eval $ac_compile) 2>conftest.er1
29236   ac_status=$?
29237   grep -v '^ *+' conftest.er1 >conftest.err
29238   rm -f conftest.er1
29239   cat conftest.err >&5
29240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29241   (exit $ac_status); } &&
29242          { ac_try='test -z "$ac_cxx_werror_flag"
29243                          || test ! -s conftest.err'
29244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29245   (eval $ac_try) 2>&5
29246   ac_status=$?
29247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29248   (exit $ac_status); }; } &&
29249          { ac_try='test -s conftest.$ac_objext'
29250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29251   (eval $ac_try) 2>&5
29252   ac_status=$?
29253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29254   (exit $ac_status); }; }; then
29255   glibcxx_cv_func_strtof_use=yes
29256 else
29257   echo "$as_me: failed program was:" >&5
29258 sed 's/^/| /' conftest.$ac_ext >&5
29259
29260 glibcxx_cv_func_strtof_use=no
29261 fi
29262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29263       ac_ext=c
29264 ac_cpp='$CPP $CPPFLAGS'
29265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29268
29269
29270 fi
29271
29272   fi
29273   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29274 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29275   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29276
29277 for ac_func in strtof
29278 do
29279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29280 echo "$as_me:$LINENO: checking for $ac_func" >&5
29281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29282 if eval "test \"\${$as_ac_var+set}\" = set"; then
29283   echo $ECHO_N "(cached) $ECHO_C" >&6
29284 else
29285   if test x$gcc_no_link = xyes; then
29286   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29288    { (exit 1); exit 1; }; }
29289 fi
29290 cat >conftest.$ac_ext <<_ACEOF
29291 /* confdefs.h.  */
29292 _ACEOF
29293 cat confdefs.h >>conftest.$ac_ext
29294 cat >>conftest.$ac_ext <<_ACEOF
29295 /* end confdefs.h.  */
29296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29297    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29298 #define $ac_func innocuous_$ac_func
29299
29300 /* System header to define __stub macros and hopefully few prototypes,
29301     which can conflict with char $ac_func (); below.
29302     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29303     <limits.h> exists even on freestanding compilers.  */
29304
29305 #ifdef __STDC__
29306 # include <limits.h>
29307 #else
29308 # include <assert.h>
29309 #endif
29310
29311 #undef $ac_func
29312
29313 /* Override any gcc2 internal prototype to avoid an error.  */
29314 #ifdef __cplusplus
29315 extern "C"
29316 {
29317 #endif
29318 /* We use char because int might match the return type of a gcc2
29319    builtin and then its argument prototype would still apply.  */
29320 char $ac_func ();
29321 /* The GNU C library defines this for functions which it implements
29322     to always fail with ENOSYS.  Some functions are actually named
29323     something starting with __ and the normal name is an alias.  */
29324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29325 choke me
29326 #else
29327 char (*f) () = $ac_func;
29328 #endif
29329 #ifdef __cplusplus
29330 }
29331 #endif
29332
29333 int
29334 main ()
29335 {
29336 return f != $ac_func;
29337   ;
29338   return 0;
29339 }
29340 _ACEOF
29341 rm -f conftest.$ac_objext conftest$ac_exeext
29342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29343   (eval $ac_link) 2>conftest.er1
29344   ac_status=$?
29345   grep -v '^ *+' conftest.er1 >conftest.err
29346   rm -f conftest.er1
29347   cat conftest.err >&5
29348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29349   (exit $ac_status); } &&
29350          { ac_try='test -z "$ac_c_werror_flag"
29351                          || test ! -s conftest.err'
29352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29353   (eval $ac_try) 2>&5
29354   ac_status=$?
29355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29356   (exit $ac_status); }; } &&
29357          { ac_try='test -s conftest$ac_exeext'
29358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29359   (eval $ac_try) 2>&5
29360   ac_status=$?
29361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29362   (exit $ac_status); }; }; then
29363   eval "$as_ac_var=yes"
29364 else
29365   echo "$as_me: failed program was:" >&5
29366 sed 's/^/| /' conftest.$ac_ext >&5
29367
29368 eval "$as_ac_var=no"
29369 fi
29370 rm -f conftest.err conftest.$ac_objext \
29371       conftest$ac_exeext conftest.$ac_ext
29372 fi
29373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29375 if test `eval echo '${'$as_ac_var'}'` = yes; then
29376   cat >>confdefs.h <<_ACEOF
29377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29378 _ACEOF
29379
29380 fi
29381 done
29382
29383   fi
29384
29385
29386
29387
29388
29389   CXXFLAGS="$ac_save_CXXFLAGS"
29390
29391
29392   # For showmanyc_helper().
29393
29394
29395 for ac_header in sys/ioctl.h sys/filio.h
29396 do
29397 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29399   echo "$as_me:$LINENO: checking for $ac_header" >&5
29400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29402   echo $ECHO_N "(cached) $ECHO_C" >&6
29403 fi
29404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29405 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29406 else
29407   # Is the header compilable?
29408 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29409 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29410 cat >conftest.$ac_ext <<_ACEOF
29411 /* confdefs.h.  */
29412 _ACEOF
29413 cat confdefs.h >>conftest.$ac_ext
29414 cat >>conftest.$ac_ext <<_ACEOF
29415 /* end confdefs.h.  */
29416 $ac_includes_default
29417 #include <$ac_header>
29418 _ACEOF
29419 rm -f conftest.$ac_objext
29420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29421   (eval $ac_compile) 2>conftest.er1
29422   ac_status=$?
29423   grep -v '^ *+' conftest.er1 >conftest.err
29424   rm -f conftest.er1
29425   cat conftest.err >&5
29426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427   (exit $ac_status); } &&
29428          { ac_try='test -z "$ac_c_werror_flag"
29429                          || test ! -s conftest.err'
29430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29431   (eval $ac_try) 2>&5
29432   ac_status=$?
29433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29434   (exit $ac_status); }; } &&
29435          { ac_try='test -s conftest.$ac_objext'
29436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29437   (eval $ac_try) 2>&5
29438   ac_status=$?
29439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29440   (exit $ac_status); }; }; then
29441   ac_header_compiler=yes
29442 else
29443   echo "$as_me: failed program was:" >&5
29444 sed 's/^/| /' conftest.$ac_ext >&5
29445
29446 ac_header_compiler=no
29447 fi
29448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29449 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29450 echo "${ECHO_T}$ac_header_compiler" >&6
29451
29452 # Is the header present?
29453 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29454 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29455 cat >conftest.$ac_ext <<_ACEOF
29456 /* confdefs.h.  */
29457 _ACEOF
29458 cat confdefs.h >>conftest.$ac_ext
29459 cat >>conftest.$ac_ext <<_ACEOF
29460 /* end confdefs.h.  */
29461 #include <$ac_header>
29462 _ACEOF
29463 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29464   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29465   ac_status=$?
29466   grep -v '^ *+' conftest.er1 >conftest.err
29467   rm -f conftest.er1
29468   cat conftest.err >&5
29469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29470   (exit $ac_status); } >/dev/null; then
29471   if test -s conftest.err; then
29472     ac_cpp_err=$ac_c_preproc_warn_flag
29473     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29474   else
29475     ac_cpp_err=
29476   fi
29477 else
29478   ac_cpp_err=yes
29479 fi
29480 if test -z "$ac_cpp_err"; then
29481   ac_header_preproc=yes
29482 else
29483   echo "$as_me: failed program was:" >&5
29484 sed 's/^/| /' conftest.$ac_ext >&5
29485
29486   ac_header_preproc=no
29487 fi
29488 rm -f conftest.err conftest.$ac_ext
29489 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29490 echo "${ECHO_T}$ac_header_preproc" >&6
29491
29492 # So?  What about this header?
29493 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29494   yes:no: )
29495     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29496 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29497     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29498 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29499     ac_header_preproc=yes
29500     ;;
29501   no:yes:* )
29502     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29503 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29504     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29505 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29506     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29507 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29508     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29509 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29510     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29511 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29512     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29513 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29514     (
29515       cat <<\_ASBOX
29516 ## ----------------------------------------- ##
29517 ## Report this to the package-unused lists.  ##
29518 ## ----------------------------------------- ##
29519 _ASBOX
29520     ) |
29521       sed "s/^/$as_me: WARNING:     /" >&2
29522     ;;
29523 esac
29524 echo "$as_me:$LINENO: checking for $ac_header" >&5
29525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29527   echo $ECHO_N "(cached) $ECHO_C" >&6
29528 else
29529   eval "$as_ac_Header=\$ac_header_preproc"
29530 fi
29531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29533
29534 fi
29535 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29536   cat >>confdefs.h <<_ACEOF
29537 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29538 _ACEOF
29539
29540 fi
29541
29542 done
29543
29544
29545   echo "$as_me:$LINENO: checking for poll" >&5
29546 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29547   if test "${glibcxx_cv_POLL+set}" = set; then
29548   echo $ECHO_N "(cached) $ECHO_C" >&6
29549 else
29550
29551     if test x$gcc_no_link = xyes; then
29552   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29554    { (exit 1); exit 1; }; }
29555 fi
29556 cat >conftest.$ac_ext <<_ACEOF
29557 /* confdefs.h.  */
29558 _ACEOF
29559 cat confdefs.h >>conftest.$ac_ext
29560 cat >>conftest.$ac_ext <<_ACEOF
29561 /* end confdefs.h.  */
29562 #include <poll.h>
29563 int
29564 main ()
29565 {
29566 struct pollfd pfd[1];
29567        pfd[0].events = POLLIN;
29568        poll(pfd, 1, 0);
29569   ;
29570   return 0;
29571 }
29572 _ACEOF
29573 rm -f conftest.$ac_objext conftest$ac_exeext
29574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29575   (eval $ac_link) 2>conftest.er1
29576   ac_status=$?
29577   grep -v '^ *+' conftest.er1 >conftest.err
29578   rm -f conftest.er1
29579   cat conftest.err >&5
29580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29581   (exit $ac_status); } &&
29582          { ac_try='test -z "$ac_c_werror_flag"
29583                          || test ! -s conftest.err'
29584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29585   (eval $ac_try) 2>&5
29586   ac_status=$?
29587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29588   (exit $ac_status); }; } &&
29589          { ac_try='test -s conftest$ac_exeext'
29590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29591   (eval $ac_try) 2>&5
29592   ac_status=$?
29593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29594   (exit $ac_status); }; }; then
29595   glibcxx_cv_POLL=yes
29596 else
29597   echo "$as_me: failed program was:" >&5
29598 sed 's/^/| /' conftest.$ac_ext >&5
29599
29600 glibcxx_cv_POLL=no
29601 fi
29602 rm -f conftest.err conftest.$ac_objext \
29603       conftest$ac_exeext conftest.$ac_ext
29604
29605 fi
29606
29607   if test $glibcxx_cv_POLL = yes; then
29608
29609 cat >>confdefs.h <<\_ACEOF
29610 #define HAVE_POLL 1
29611 _ACEOF
29612
29613   fi
29614   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29615 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29616
29617
29618   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29619 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29620   if test "${glibcxx_cv_S_ISREG+set}" = set; then
29621   echo $ECHO_N "(cached) $ECHO_C" >&6
29622 else
29623
29624     if test x$gcc_no_link = xyes; then
29625   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29627    { (exit 1); exit 1; }; }
29628 fi
29629 cat >conftest.$ac_ext <<_ACEOF
29630 /* confdefs.h.  */
29631 _ACEOF
29632 cat confdefs.h >>conftest.$ac_ext
29633 cat >>conftest.$ac_ext <<_ACEOF
29634 /* end confdefs.h.  */
29635 #include <sys/stat.h>
29636 int
29637 main ()
29638 {
29639 struct stat buffer;
29640        fstat(0, &buffer);
29641        S_ISREG(buffer.st_mode);
29642   ;
29643   return 0;
29644 }
29645 _ACEOF
29646 rm -f conftest.$ac_objext conftest$ac_exeext
29647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29648   (eval $ac_link) 2>conftest.er1
29649   ac_status=$?
29650   grep -v '^ *+' conftest.er1 >conftest.err
29651   rm -f conftest.er1
29652   cat conftest.err >&5
29653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29654   (exit $ac_status); } &&
29655          { ac_try='test -z "$ac_c_werror_flag"
29656                          || test ! -s conftest.err'
29657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29658   (eval $ac_try) 2>&5
29659   ac_status=$?
29660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29661   (exit $ac_status); }; } &&
29662          { ac_try='test -s conftest$ac_exeext'
29663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29664   (eval $ac_try) 2>&5
29665   ac_status=$?
29666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29667   (exit $ac_status); }; }; then
29668   glibcxx_cv_S_ISREG=yes
29669 else
29670   echo "$as_me: failed program was:" >&5
29671 sed 's/^/| /' conftest.$ac_ext >&5
29672
29673 glibcxx_cv_S_ISREG=no
29674 fi
29675 rm -f conftest.err conftest.$ac_objext \
29676       conftest$ac_exeext conftest.$ac_ext
29677
29678 fi
29679
29680   if test "${glibcxx_cv_S_IFREG+set}" = set; then
29681   echo $ECHO_N "(cached) $ECHO_C" >&6
29682 else
29683
29684     if test x$gcc_no_link = xyes; then
29685   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29687    { (exit 1); exit 1; }; }
29688 fi
29689 cat >conftest.$ac_ext <<_ACEOF
29690 /* confdefs.h.  */
29691 _ACEOF
29692 cat confdefs.h >>conftest.$ac_ext
29693 cat >>conftest.$ac_ext <<_ACEOF
29694 /* end confdefs.h.  */
29695 #include <sys/stat.h>
29696 int
29697 main ()
29698 {
29699 struct stat buffer;
29700        fstat(0, &buffer);
29701        S_IFREG & buffer.st_mode;
29702   ;
29703   return 0;
29704 }
29705 _ACEOF
29706 rm -f conftest.$ac_objext conftest$ac_exeext
29707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29708   (eval $ac_link) 2>conftest.er1
29709   ac_status=$?
29710   grep -v '^ *+' conftest.er1 >conftest.err
29711   rm -f conftest.er1
29712   cat conftest.err >&5
29713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29714   (exit $ac_status); } &&
29715          { ac_try='test -z "$ac_c_werror_flag"
29716                          || test ! -s conftest.err'
29717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29718   (eval $ac_try) 2>&5
29719   ac_status=$?
29720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29721   (exit $ac_status); }; } &&
29722          { ac_try='test -s conftest$ac_exeext'
29723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29724   (eval $ac_try) 2>&5
29725   ac_status=$?
29726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727   (exit $ac_status); }; }; then
29728   glibcxx_cv_S_IFREG=yes
29729 else
29730   echo "$as_me: failed program was:" >&5
29731 sed 's/^/| /' conftest.$ac_ext >&5
29732
29733 glibcxx_cv_S_IFREG=no
29734 fi
29735 rm -f conftest.err conftest.$ac_objext \
29736       conftest$ac_exeext conftest.$ac_ext
29737
29738 fi
29739
29740   res=no
29741   if test $glibcxx_cv_S_ISREG = yes; then
29742
29743 cat >>confdefs.h <<\_ACEOF
29744 #define HAVE_S_ISREG 1
29745 _ACEOF
29746
29747     res=S_ISREG
29748   elif test $glibcxx_cv_S_IFREG = yes; then
29749
29750 cat >>confdefs.h <<\_ACEOF
29751 #define HAVE_S_IFREG 1
29752 _ACEOF
29753
29754     res=S_IFREG
29755   fi
29756   echo "$as_me:$LINENO: result: $res" >&5
29757 echo "${ECHO_T}$res" >&6
29758
29759
29760   # For xsputn_2().
29761
29762 for ac_header in sys/uio.h
29763 do
29764 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29766   echo "$as_me:$LINENO: checking for $ac_header" >&5
29767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29769   echo $ECHO_N "(cached) $ECHO_C" >&6
29770 fi
29771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29773 else
29774   # Is the header compilable?
29775 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29776 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29777 cat >conftest.$ac_ext <<_ACEOF
29778 /* confdefs.h.  */
29779 _ACEOF
29780 cat confdefs.h >>conftest.$ac_ext
29781 cat >>conftest.$ac_ext <<_ACEOF
29782 /* end confdefs.h.  */
29783 $ac_includes_default
29784 #include <$ac_header>
29785 _ACEOF
29786 rm -f conftest.$ac_objext
29787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29788   (eval $ac_compile) 2>conftest.er1
29789   ac_status=$?
29790   grep -v '^ *+' conftest.er1 >conftest.err
29791   rm -f conftest.er1
29792   cat conftest.err >&5
29793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29794   (exit $ac_status); } &&
29795          { ac_try='test -z "$ac_c_werror_flag"
29796                          || test ! -s conftest.err'
29797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29798   (eval $ac_try) 2>&5
29799   ac_status=$?
29800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29801   (exit $ac_status); }; } &&
29802          { ac_try='test -s conftest.$ac_objext'
29803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29804   (eval $ac_try) 2>&5
29805   ac_status=$?
29806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29807   (exit $ac_status); }; }; then
29808   ac_header_compiler=yes
29809 else
29810   echo "$as_me: failed program was:" >&5
29811 sed 's/^/| /' conftest.$ac_ext >&5
29812
29813 ac_header_compiler=no
29814 fi
29815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29817 echo "${ECHO_T}$ac_header_compiler" >&6
29818
29819 # Is the header present?
29820 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29821 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29822 cat >conftest.$ac_ext <<_ACEOF
29823 /* confdefs.h.  */
29824 _ACEOF
29825 cat confdefs.h >>conftest.$ac_ext
29826 cat >>conftest.$ac_ext <<_ACEOF
29827 /* end confdefs.h.  */
29828 #include <$ac_header>
29829 _ACEOF
29830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29831   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29832   ac_status=$?
29833   grep -v '^ *+' conftest.er1 >conftest.err
29834   rm -f conftest.er1
29835   cat conftest.err >&5
29836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837   (exit $ac_status); } >/dev/null; then
29838   if test -s conftest.err; then
29839     ac_cpp_err=$ac_c_preproc_warn_flag
29840     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29841   else
29842     ac_cpp_err=
29843   fi
29844 else
29845   ac_cpp_err=yes
29846 fi
29847 if test -z "$ac_cpp_err"; then
29848   ac_header_preproc=yes
29849 else
29850   echo "$as_me: failed program was:" >&5
29851 sed 's/^/| /' conftest.$ac_ext >&5
29852
29853   ac_header_preproc=no
29854 fi
29855 rm -f conftest.err conftest.$ac_ext
29856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29857 echo "${ECHO_T}$ac_header_preproc" >&6
29858
29859 # So?  What about this header?
29860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29861   yes:no: )
29862     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29863 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29864     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29865 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29866     ac_header_preproc=yes
29867     ;;
29868   no:yes:* )
29869     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29870 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29871     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29872 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29873     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29874 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29875     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29876 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29877     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29878 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29879     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29880 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29881     (
29882       cat <<\_ASBOX
29883 ## ----------------------------------------- ##
29884 ## Report this to the package-unused lists.  ##
29885 ## ----------------------------------------- ##
29886 _ASBOX
29887     ) |
29888       sed "s/^/$as_me: WARNING:     /" >&2
29889     ;;
29890 esac
29891 echo "$as_me:$LINENO: checking for $ac_header" >&5
29892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29894   echo $ECHO_N "(cached) $ECHO_C" >&6
29895 else
29896   eval "$as_ac_Header=\$ac_header_preproc"
29897 fi
29898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29899 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29900
29901 fi
29902 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29903   cat >>confdefs.h <<_ACEOF
29904 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29905 _ACEOF
29906
29907 fi
29908
29909 done
29910
29911
29912   echo "$as_me:$LINENO: checking for writev" >&5
29913 echo $ECHO_N "checking for writev... $ECHO_C" >&6
29914   if test "${glibcxx_cv_WRITEV+set}" = set; then
29915   echo $ECHO_N "(cached) $ECHO_C" >&6
29916 else
29917
29918     if test x$gcc_no_link = xyes; then
29919   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29921    { (exit 1); exit 1; }; }
29922 fi
29923 cat >conftest.$ac_ext <<_ACEOF
29924 /* confdefs.h.  */
29925 _ACEOF
29926 cat confdefs.h >>conftest.$ac_ext
29927 cat >>conftest.$ac_ext <<_ACEOF
29928 /* end confdefs.h.  */
29929 #include <sys/uio.h>
29930 int
29931 main ()
29932 {
29933 struct iovec iov[2];
29934        writev(0, iov, 0);
29935   ;
29936   return 0;
29937 }
29938 _ACEOF
29939 rm -f conftest.$ac_objext conftest$ac_exeext
29940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29941   (eval $ac_link) 2>conftest.er1
29942   ac_status=$?
29943   grep -v '^ *+' conftest.er1 >conftest.err
29944   rm -f conftest.er1
29945   cat conftest.err >&5
29946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29947   (exit $ac_status); } &&
29948          { ac_try='test -z "$ac_c_werror_flag"
29949                          || test ! -s conftest.err'
29950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29951   (eval $ac_try) 2>&5
29952   ac_status=$?
29953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29954   (exit $ac_status); }; } &&
29955          { ac_try='test -s conftest$ac_exeext'
29956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29957   (eval $ac_try) 2>&5
29958   ac_status=$?
29959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29960   (exit $ac_status); }; }; then
29961   glibcxx_cv_WRITEV=yes
29962 else
29963   echo "$as_me: failed program was:" >&5
29964 sed 's/^/| /' conftest.$ac_ext >&5
29965
29966 glibcxx_cv_WRITEV=no
29967 fi
29968 rm -f conftest.err conftest.$ac_objext \
29969       conftest$ac_exeext conftest.$ac_ext
29970
29971 fi
29972
29973   if test $glibcxx_cv_WRITEV = yes; then
29974
29975 cat >>confdefs.h <<\_ACEOF
29976 #define HAVE_WRITEV 1
29977 _ACEOF
29978
29979   fi
29980   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
29981 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
29982
29983
29984   # For the __streamoff_base_type typedef.
29985
29986   echo "$as_me:$LINENO: checking for int64_t" >&5
29987 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
29988   if test "${glibcxx_cv_INT64_T+set}" = set; then
29989   echo $ECHO_N "(cached) $ECHO_C" >&6
29990 else
29991
29992     cat >conftest.$ac_ext <<_ACEOF
29993 /* confdefs.h.  */
29994 _ACEOF
29995 cat confdefs.h >>conftest.$ac_ext
29996 cat >>conftest.$ac_ext <<_ACEOF
29997 /* end confdefs.h.  */
29998 #include <stdint.h>
29999 int
30000 main ()
30001 {
30002 int64_t var;
30003   ;
30004   return 0;
30005 }
30006 _ACEOF
30007 rm -f conftest.$ac_objext
30008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30009   (eval $ac_compile) 2>conftest.er1
30010   ac_status=$?
30011   grep -v '^ *+' conftest.er1 >conftest.err
30012   rm -f conftest.er1
30013   cat conftest.err >&5
30014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30015   (exit $ac_status); } &&
30016          { ac_try='test -z "$ac_c_werror_flag"
30017                          || test ! -s conftest.err'
30018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30019   (eval $ac_try) 2>&5
30020   ac_status=$?
30021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30022   (exit $ac_status); }; } &&
30023          { ac_try='test -s conftest.$ac_objext'
30024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30025   (eval $ac_try) 2>&5
30026   ac_status=$?
30027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30028   (exit $ac_status); }; }; then
30029   glibcxx_cv_INT64_T=yes
30030 else
30031   echo "$as_me: failed program was:" >&5
30032 sed 's/^/| /' conftest.$ac_ext >&5
30033
30034 glibcxx_cv_INT64_T=no
30035 fi
30036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30037
30038 fi
30039
30040   if test $glibcxx_cv_INT64_T = yes; then
30041
30042 cat >>confdefs.h <<\_ACEOF
30043 #define HAVE_INT64_T 1
30044 _ACEOF
30045
30046   fi
30047   echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
30048 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
30049
30050
30051   # For LFS support.
30052
30053
30054
30055   ac_ext=cc
30056 ac_cpp='$CXXCPP $CPPFLAGS'
30057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30060
30061   ac_save_CXXFLAGS="$CXXFLAGS"
30062   CXXFLAGS="$CXXFLAGS -fno-exceptions"
30063   echo "$as_me:$LINENO: checking for LFS support" >&5
30064 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
30065   if test "${glibcxx_cv_LFS+set}" = set; then
30066   echo $ECHO_N "(cached) $ECHO_C" >&6
30067 else
30068
30069     if test x$gcc_no_link = xyes; then
30070   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30072    { (exit 1); exit 1; }; }
30073 fi
30074 cat >conftest.$ac_ext <<_ACEOF
30075 /* confdefs.h.  */
30076 _ACEOF
30077 cat confdefs.h >>conftest.$ac_ext
30078 cat >>conftest.$ac_ext <<_ACEOF
30079 /* end confdefs.h.  */
30080 #include <unistd.h>
30081        #include <stdio.h>
30082        #include <sys/stat.h>
30083
30084 int
30085 main ()
30086 {
30087 FILE* fp;
30088        fopen64("t", "w");
30089        fseeko64(fp, 0, SEEK_CUR);
30090        ftello64(fp);
30091        lseek64(1, 0, SEEK_CUR);
30092        struct stat64 buf;
30093        fstat64(1, &buf);
30094   ;
30095   return 0;
30096 }
30097 _ACEOF
30098 rm -f conftest.$ac_objext conftest$ac_exeext
30099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30100   (eval $ac_link) 2>conftest.er1
30101   ac_status=$?
30102   grep -v '^ *+' conftest.er1 >conftest.err
30103   rm -f conftest.er1
30104   cat conftest.err >&5
30105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106   (exit $ac_status); } &&
30107          { ac_try='test -z "$ac_cxx_werror_flag"
30108                          || test ! -s conftest.err'
30109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30110   (eval $ac_try) 2>&5
30111   ac_status=$?
30112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30113   (exit $ac_status); }; } &&
30114          { ac_try='test -s conftest$ac_exeext'
30115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30116   (eval $ac_try) 2>&5
30117   ac_status=$?
30118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30119   (exit $ac_status); }; }; then
30120   glibcxx_cv_LFS=yes
30121 else
30122   echo "$as_me: failed program was:" >&5
30123 sed 's/^/| /' conftest.$ac_ext >&5
30124
30125 glibcxx_cv_LFS=no
30126 fi
30127 rm -f conftest.err conftest.$ac_objext \
30128       conftest$ac_exeext conftest.$ac_ext
30129
30130 fi
30131
30132   if test $glibcxx_cv_LFS = yes; then
30133
30134 cat >>confdefs.h <<\_ACEOF
30135 #define _GLIBCXX_USE_LFS 1
30136 _ACEOF
30137
30138   fi
30139   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
30140 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
30141   CXXFLAGS="$ac_save_CXXFLAGS"
30142   ac_ext=c
30143 ac_cpp='$CPP $CPPFLAGS'
30144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30147
30148
30149
30150   # For C99 support to TR1.
30151
30152
30153
30154
30155   ac_ext=cc
30156 ac_cpp='$CXXCPP $CPPFLAGS'
30157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30160
30161
30162   # Check for the existence of <complex.h> complex math functions used
30163   # by tr1/complex.
30164
30165 for ac_header in complex.h
30166 do
30167 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30169   echo "$as_me:$LINENO: checking for $ac_header" >&5
30170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30172   echo $ECHO_N "(cached) $ECHO_C" >&6
30173 fi
30174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30176 else
30177   # Is the header compilable?
30178 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30179 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30180 cat >conftest.$ac_ext <<_ACEOF
30181 /* confdefs.h.  */
30182 _ACEOF
30183 cat confdefs.h >>conftest.$ac_ext
30184 cat >>conftest.$ac_ext <<_ACEOF
30185 /* end confdefs.h.  */
30186 $ac_includes_default
30187 #include <$ac_header>
30188 _ACEOF
30189 rm -f conftest.$ac_objext
30190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30191   (eval $ac_compile) 2>conftest.er1
30192   ac_status=$?
30193   grep -v '^ *+' conftest.er1 >conftest.err
30194   rm -f conftest.er1
30195   cat conftest.err >&5
30196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30197   (exit $ac_status); } &&
30198          { ac_try='test -z "$ac_cxx_werror_flag"
30199                          || test ! -s conftest.err'
30200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30201   (eval $ac_try) 2>&5
30202   ac_status=$?
30203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204   (exit $ac_status); }; } &&
30205          { ac_try='test -s conftest.$ac_objext'
30206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30207   (eval $ac_try) 2>&5
30208   ac_status=$?
30209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210   (exit $ac_status); }; }; then
30211   ac_header_compiler=yes
30212 else
30213   echo "$as_me: failed program was:" >&5
30214 sed 's/^/| /' conftest.$ac_ext >&5
30215
30216 ac_header_compiler=no
30217 fi
30218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30219 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30220 echo "${ECHO_T}$ac_header_compiler" >&6
30221
30222 # Is the header present?
30223 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30224 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30225 cat >conftest.$ac_ext <<_ACEOF
30226 /* confdefs.h.  */
30227 _ACEOF
30228 cat confdefs.h >>conftest.$ac_ext
30229 cat >>conftest.$ac_ext <<_ACEOF
30230 /* end confdefs.h.  */
30231 #include <$ac_header>
30232 _ACEOF
30233 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30234   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30235   ac_status=$?
30236   grep -v '^ *+' conftest.er1 >conftest.err
30237   rm -f conftest.er1
30238   cat conftest.err >&5
30239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30240   (exit $ac_status); } >/dev/null; then
30241   if test -s conftest.err; then
30242     ac_cpp_err=$ac_cxx_preproc_warn_flag
30243     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30244   else
30245     ac_cpp_err=
30246   fi
30247 else
30248   ac_cpp_err=yes
30249 fi
30250 if test -z "$ac_cpp_err"; then
30251   ac_header_preproc=yes
30252 else
30253   echo "$as_me: failed program was:" >&5
30254 sed 's/^/| /' conftest.$ac_ext >&5
30255
30256   ac_header_preproc=no
30257 fi
30258 rm -f conftest.err conftest.$ac_ext
30259 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30260 echo "${ECHO_T}$ac_header_preproc" >&6
30261
30262 # So?  What about this header?
30263 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30264   yes:no: )
30265     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30266 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30267     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30268 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30269     ac_header_preproc=yes
30270     ;;
30271   no:yes:* )
30272     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30273 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30274     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30275 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30276     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30277 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30278     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30279 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30280     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30281 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30282     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30283 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30284     (
30285       cat <<\_ASBOX
30286 ## ----------------------------------------- ##
30287 ## Report this to the package-unused lists.  ##
30288 ## ----------------------------------------- ##
30289 _ASBOX
30290     ) |
30291       sed "s/^/$as_me: WARNING:     /" >&2
30292     ;;
30293 esac
30294 echo "$as_me:$LINENO: checking for $ac_header" >&5
30295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30297   echo $ECHO_N "(cached) $ECHO_C" >&6
30298 else
30299   eval "$as_ac_Header=\$ac_header_preproc"
30300 fi
30301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30302 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30303
30304 fi
30305 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30306   cat >>confdefs.h <<_ACEOF
30307 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30308 _ACEOF
30309  ac_has_complex_h=yes
30310 else
30311   ac_has_complex_h=no
30312 fi
30313
30314 done
30315
30316   ac_c99_complex_tr1=no;
30317   if test x"$ac_has_complex_h" = x"yes"; then
30318     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
30319 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
30320     cat >conftest.$ac_ext <<_ACEOF
30321 /* confdefs.h.  */
30322 _ACEOF
30323 cat confdefs.h >>conftest.$ac_ext
30324 cat >>conftest.$ac_ext <<_ACEOF
30325 /* end confdefs.h.  */
30326 #include <complex.h>
30327 int
30328 main ()
30329 {
30330 typedef __complex__ float float_type; float_type tmpf;
30331                     cacosf(tmpf);
30332                     casinf(tmpf);
30333                     catanf(tmpf);
30334                     cacoshf(tmpf);
30335                     casinhf(tmpf);
30336                     catanhf(tmpf);
30337                     typedef __complex__ double double_type; double_type tmpd;
30338                     cacos(tmpd);
30339                     casin(tmpd);
30340                     catan(tmpd);
30341                     cacosh(tmpd);
30342                     casinh(tmpd);
30343                     catanh(tmpd);
30344                     typedef __complex__ long double ld_type; ld_type tmpld;
30345                     cacosl(tmpld);
30346                     casinl(tmpld);
30347                     catanl(tmpld);
30348                     cacoshl(tmpld);
30349                     casinhl(tmpld);
30350                     catanhl(tmpld);
30351
30352   ;
30353   return 0;
30354 }
30355 _ACEOF
30356 rm -f conftest.$ac_objext
30357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30358   (eval $ac_compile) 2>conftest.er1
30359   ac_status=$?
30360   grep -v '^ *+' conftest.er1 >conftest.err
30361   rm -f conftest.er1
30362   cat conftest.err >&5
30363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30364   (exit $ac_status); } &&
30365          { ac_try='test -z "$ac_cxx_werror_flag"
30366                          || test ! -s conftest.err'
30367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30368   (eval $ac_try) 2>&5
30369   ac_status=$?
30370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30371   (exit $ac_status); }; } &&
30372          { ac_try='test -s conftest.$ac_objext'
30373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30374   (eval $ac_try) 2>&5
30375   ac_status=$?
30376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30377   (exit $ac_status); }; }; then
30378   ac_c99_complex_tr1=yes
30379 else
30380   echo "$as_me: failed program was:" >&5
30381 sed 's/^/| /' conftest.$ac_ext >&5
30382
30383 ac_c99_complex_tr1=no
30384 fi
30385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30386   fi
30387   echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
30388 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
30389   if test x"$ac_c99_complex_tr1" = x"yes"; then
30390
30391 cat >>confdefs.h <<\_ACEOF
30392 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
30393 _ACEOF
30394
30395   fi
30396
30397   # Check for the existence of <ctype.h> functions.
30398   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
30399 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
30400   if test "${ac_c99_ctype_tr1+set}" = set; then
30401   echo $ECHO_N "(cached) $ECHO_C" >&6
30402 else
30403
30404   cat >conftest.$ac_ext <<_ACEOF
30405 /* confdefs.h.  */
30406 _ACEOF
30407 cat confdefs.h >>conftest.$ac_ext
30408 cat >>conftest.$ac_ext <<_ACEOF
30409 /* end confdefs.h.  */
30410 #include <ctype.h>
30411 int
30412 main ()
30413 {
30414 int ch;
30415                   int ret;
30416                   ret = isblank(ch);
30417
30418   ;
30419   return 0;
30420 }
30421 _ACEOF
30422 rm -f conftest.$ac_objext
30423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30424   (eval $ac_compile) 2>conftest.er1
30425   ac_status=$?
30426   grep -v '^ *+' conftest.er1 >conftest.err
30427   rm -f conftest.er1
30428   cat conftest.err >&5
30429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30430   (exit $ac_status); } &&
30431          { ac_try='test -z "$ac_cxx_werror_flag"
30432                          || test ! -s conftest.err'
30433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30434   (eval $ac_try) 2>&5
30435   ac_status=$?
30436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30437   (exit $ac_status); }; } &&
30438          { ac_try='test -s conftest.$ac_objext'
30439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30440   (eval $ac_try) 2>&5
30441   ac_status=$?
30442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443   (exit $ac_status); }; }; then
30444   ac_c99_ctype_tr1=yes
30445 else
30446   echo "$as_me: failed program was:" >&5
30447 sed 's/^/| /' conftest.$ac_ext >&5
30448
30449 ac_c99_ctype_tr1=no
30450 fi
30451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30452
30453 fi
30454
30455   echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
30456 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
30457   if test x"$ac_c99_ctype_tr1" = x"yes"; then
30458
30459 cat >>confdefs.h <<\_ACEOF
30460 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
30461 _ACEOF
30462
30463   fi
30464
30465   # Check for the existence of <fenv.h> functions.
30466
30467 for ac_header in fenv.h
30468 do
30469 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30471   echo "$as_me:$LINENO: checking for $ac_header" >&5
30472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30474   echo $ECHO_N "(cached) $ECHO_C" >&6
30475 fi
30476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30477 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30478 else
30479   # Is the header compilable?
30480 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30481 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30482 cat >conftest.$ac_ext <<_ACEOF
30483 /* confdefs.h.  */
30484 _ACEOF
30485 cat confdefs.h >>conftest.$ac_ext
30486 cat >>conftest.$ac_ext <<_ACEOF
30487 /* end confdefs.h.  */
30488 $ac_includes_default
30489 #include <$ac_header>
30490 _ACEOF
30491 rm -f conftest.$ac_objext
30492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30493   (eval $ac_compile) 2>conftest.er1
30494   ac_status=$?
30495   grep -v '^ *+' conftest.er1 >conftest.err
30496   rm -f conftest.er1
30497   cat conftest.err >&5
30498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30499   (exit $ac_status); } &&
30500          { ac_try='test -z "$ac_cxx_werror_flag"
30501                          || test ! -s conftest.err'
30502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30503   (eval $ac_try) 2>&5
30504   ac_status=$?
30505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506   (exit $ac_status); }; } &&
30507          { ac_try='test -s conftest.$ac_objext'
30508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30509   (eval $ac_try) 2>&5
30510   ac_status=$?
30511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30512   (exit $ac_status); }; }; then
30513   ac_header_compiler=yes
30514 else
30515   echo "$as_me: failed program was:" >&5
30516 sed 's/^/| /' conftest.$ac_ext >&5
30517
30518 ac_header_compiler=no
30519 fi
30520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30521 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30522 echo "${ECHO_T}$ac_header_compiler" >&6
30523
30524 # Is the header present?
30525 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30526 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30527 cat >conftest.$ac_ext <<_ACEOF
30528 /* confdefs.h.  */
30529 _ACEOF
30530 cat confdefs.h >>conftest.$ac_ext
30531 cat >>conftest.$ac_ext <<_ACEOF
30532 /* end confdefs.h.  */
30533 #include <$ac_header>
30534 _ACEOF
30535 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30536   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30537   ac_status=$?
30538   grep -v '^ *+' conftest.er1 >conftest.err
30539   rm -f conftest.er1
30540   cat conftest.err >&5
30541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30542   (exit $ac_status); } >/dev/null; then
30543   if test -s conftest.err; then
30544     ac_cpp_err=$ac_cxx_preproc_warn_flag
30545     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30546   else
30547     ac_cpp_err=
30548   fi
30549 else
30550   ac_cpp_err=yes
30551 fi
30552 if test -z "$ac_cpp_err"; then
30553   ac_header_preproc=yes
30554 else
30555   echo "$as_me: failed program was:" >&5
30556 sed 's/^/| /' conftest.$ac_ext >&5
30557
30558   ac_header_preproc=no
30559 fi
30560 rm -f conftest.err conftest.$ac_ext
30561 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30562 echo "${ECHO_T}$ac_header_preproc" >&6
30563
30564 # So?  What about this header?
30565 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30566   yes:no: )
30567     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30568 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30569     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30570 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30571     ac_header_preproc=yes
30572     ;;
30573   no:yes:* )
30574     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30575 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30576     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30577 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30578     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30579 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30580     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30581 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30582     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30583 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30584     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30585 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30586     (
30587       cat <<\_ASBOX
30588 ## ----------------------------------------- ##
30589 ## Report this to the package-unused lists.  ##
30590 ## ----------------------------------------- ##
30591 _ASBOX
30592     ) |
30593       sed "s/^/$as_me: WARNING:     /" >&2
30594     ;;
30595 esac
30596 echo "$as_me:$LINENO: checking for $ac_header" >&5
30597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30599   echo $ECHO_N "(cached) $ECHO_C" >&6
30600 else
30601   eval "$as_ac_Header=\$ac_header_preproc"
30602 fi
30603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30605
30606 fi
30607 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30608   cat >>confdefs.h <<_ACEOF
30609 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30610 _ACEOF
30611  ac_has_fenv_h=yes
30612 else
30613   ac_has_fenv_h=no
30614 fi
30615
30616 done
30617
30618   ac_c99_fenv_tr1=no;
30619   if test x"$ac_has_fenv_h" = x"yes"; then
30620     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
30621 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
30622     cat >conftest.$ac_ext <<_ACEOF
30623 /* confdefs.h.  */
30624 _ACEOF
30625 cat confdefs.h >>conftest.$ac_ext
30626 cat >>conftest.$ac_ext <<_ACEOF
30627 /* end confdefs.h.  */
30628 #include <fenv.h>
30629 int
30630 main ()
30631 {
30632 int except, mode;
30633                     fexcept_t* pflag;
30634                     fenv_t* penv;
30635                     int ret;
30636                     ret = feclearexcept(except);
30637                     ret = fegetexceptflag(pflag, except);
30638                     ret = feraiseexcept(except);
30639                     ret = fesetexceptflag(pflag, except);
30640                     ret = fetestexcept(except);
30641                     ret = fegetround();
30642                     ret = fesetround(mode);
30643                     ret = fegetenv(penv);
30644                     ret = feholdexcept(penv);
30645                     ret = fesetenv(penv);
30646                     ret = feupdateenv(penv);
30647
30648   ;
30649   return 0;
30650 }
30651 _ACEOF
30652 rm -f conftest.$ac_objext
30653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30654   (eval $ac_compile) 2>conftest.er1
30655   ac_status=$?
30656   grep -v '^ *+' conftest.er1 >conftest.err
30657   rm -f conftest.er1
30658   cat conftest.err >&5
30659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660   (exit $ac_status); } &&
30661          { ac_try='test -z "$ac_cxx_werror_flag"
30662                          || test ! -s conftest.err'
30663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30664   (eval $ac_try) 2>&5
30665   ac_status=$?
30666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667   (exit $ac_status); }; } &&
30668          { ac_try='test -s conftest.$ac_objext'
30669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30670   (eval $ac_try) 2>&5
30671   ac_status=$?
30672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30673   (exit $ac_status); }; }; then
30674   ac_c99_fenv_tr1=yes
30675 else
30676   echo "$as_me: failed program was:" >&5
30677 sed 's/^/| /' conftest.$ac_ext >&5
30678
30679 ac_c99_fenv_tr1=no
30680 fi
30681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30682   fi
30683   echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
30684 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
30685   if test x"$ac_c99_fenv_tr1" = x"yes"; then
30686
30687 cat >>confdefs.h <<\_ACEOF
30688 #define _GLIBCXX_USE_C99_FENV_TR1 1
30689 _ACEOF
30690
30691   fi
30692
30693   # Check for the existence of <stdint.h> types.
30694   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
30695 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
30696   if test "${ac_c99_stdint_tr1+set}" = set; then
30697   echo $ECHO_N "(cached) $ECHO_C" >&6
30698 else
30699
30700   cat >conftest.$ac_ext <<_ACEOF
30701 /* confdefs.h.  */
30702 _ACEOF
30703 cat confdefs.h >>conftest.$ac_ext
30704 cat >>conftest.$ac_ext <<_ACEOF
30705 /* end confdefs.h.  */
30706 #include <stdint.h>
30707 int
30708 main ()
30709 {
30710 typedef int8_t          my_int8_t;
30711                   typedef int16_t         my_int16_t;
30712                   typedef int32_t         my_int32_t;
30713                   typedef int64_t         my_int64_t;
30714                   typedef int_fast8_t     my_int_fast8_t;
30715                   typedef int_fast16_t    my_int_fast16_t;
30716                   typedef int_fast32_t    my_int_fast32_t;
30717                   typedef int_fast64_t    my_int_fast64_t;
30718                   typedef int_least8_t    my_int_least8_t;
30719                   typedef int_least16_t   my_int_least16_t;
30720                   typedef int_least32_t   my_int_least32_t;
30721                   typedef int_least64_t   my_int_least64_t;
30722                   typedef intmax_t        my_intmax_t;
30723                   typedef intptr_t        my_intptr_t;
30724                   typedef uint8_t         my_uint8_t;
30725                   typedef uint16_t        my_uint16_t;
30726                   typedef uint32_t        my_uint32_t;
30727                   typedef uint64_t        my_uint64_t;
30728                   typedef uint_fast8_t    my_uint_fast8_t;
30729                   typedef uint_fast16_t   my_uint_fast16_t;
30730                   typedef uint_fast32_t   my_uint_fast32_t;
30731                   typedef uint_fast64_t   my_uint_fast64_t;
30732                   typedef uint_least8_t   my_uint_least8_t;
30733                   typedef uint_least16_t  my_uint_least16_t;
30734                   typedef uint_least32_t  my_uint_least32_t;
30735                   typedef uint_least64_t  my_uint_least64_t;
30736                   typedef uintmax_t       my_uintmax_t;
30737                   typedef uintptr_t       my_uintptr_t;
30738
30739   ;
30740   return 0;
30741 }
30742 _ACEOF
30743 rm -f conftest.$ac_objext
30744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30745   (eval $ac_compile) 2>conftest.er1
30746   ac_status=$?
30747   grep -v '^ *+' conftest.er1 >conftest.err
30748   rm -f conftest.er1
30749   cat conftest.err >&5
30750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30751   (exit $ac_status); } &&
30752          { ac_try='test -z "$ac_cxx_werror_flag"
30753                          || test ! -s conftest.err'
30754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30755   (eval $ac_try) 2>&5
30756   ac_status=$?
30757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30758   (exit $ac_status); }; } &&
30759          { ac_try='test -s conftest.$ac_objext'
30760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30761   (eval $ac_try) 2>&5
30762   ac_status=$?
30763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30764   (exit $ac_status); }; }; then
30765   ac_c99_stdint_tr1=yes
30766 else
30767   echo "$as_me: failed program was:" >&5
30768 sed 's/^/| /' conftest.$ac_ext >&5
30769
30770 ac_c99_stdint_tr1=no
30771 fi
30772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30773
30774 fi
30775
30776   echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
30777 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
30778   if test x"$ac_c99_stdint_tr1" = x"yes"; then
30779
30780 cat >>confdefs.h <<\_ACEOF
30781 #define _GLIBCXX_USE_C99_STDINT_TR1 1
30782 _ACEOF
30783
30784   fi
30785
30786   # Check for the existence of <math.h> functions.
30787   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
30788 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
30789   if test "${ac_c99_math_tr1+set}" = set; then
30790   echo $ECHO_N "(cached) $ECHO_C" >&6
30791 else
30792
30793   cat >conftest.$ac_ext <<_ACEOF
30794 /* confdefs.h.  */
30795 _ACEOF
30796 cat confdefs.h >>conftest.$ac_ext
30797 cat >>conftest.$ac_ext <<_ACEOF
30798 /* end confdefs.h.  */
30799 #include <math.h>
30800 int
30801 main ()
30802 {
30803 typedef double_t  my_double_t;
30804                   typedef float_t   my_float_t;
30805                   acosh(0.0);
30806                   acoshf(0.0f);
30807                   acoshl(0.0l);
30808                   asinh(0.0);
30809                   asinhf(0.0f);
30810                   asinhl(0.0l);
30811                   atanh(0.0);
30812                   atanhf(0.0f);
30813                   atanhl(0.0l);
30814                   cbrt(0.0);
30815                   cbrtf(0.0f);
30816                   cbrtl(0.0l);
30817                   copysign(0.0, 0.0);
30818                   copysignf(0.0f, 0.0f);
30819                   copysignl(0.0l, 0.0l);
30820                   erf(0.0);
30821                   erff(0.0f);
30822                   erfl(0.0l);
30823                   erfc(0.0);
30824                   erfcf(0.0f);
30825                   erfcl(0.0l);
30826                   exp2(0.0);
30827                   exp2f(0.0f);
30828                   exp2l(0.0l);
30829                   expm1(0.0);
30830                   expm1f(0.0f);
30831                   expm1l(0.0l);
30832                   fdim(0.0, 0.0);
30833                   fdimf(0.0f, 0.0f);
30834                   fdiml(0.0l, 0.0l);
30835                   fma(0.0, 0.0, 0.0);
30836                   fmaf(0.0f, 0.0f, 0.0f);
30837                   fmal(0.0l, 0.0l, 0.0l);
30838                   fmax(0.0, 0.0);
30839                   fmaxf(0.0f, 0.0f);
30840                   fmaxl(0.0l, 0.0l);
30841                   fmin(0.0, 0.0);
30842                   fminf(0.0f, 0.0f);
30843                   fminl(0.0l, 0.0l);
30844                   hypot(0.0, 0.0);
30845                   hypotf(0.0f, 0.0f);
30846                   hypotl(0.0l, 0.0l);
30847                   ilogb(0.0);
30848                   ilogbf(0.0f);
30849                   ilogbl(0.0l);
30850                   lgamma(0.0);
30851                   lgammaf(0.0f);
30852                   lgammal(0.0l);
30853                   llrint(0.0);
30854                   llrintf(0.0f);
30855                   llrintl(0.0l);
30856                   llround(0.0);
30857                   llroundf(0.0f);
30858                   llroundl(0.0l);
30859                   log1p(0.0);
30860                   log1pf(0.0f);
30861                   log1pl(0.0l);
30862                   log2(0.0);
30863                   log2f(0.0f);
30864                   log2l(0.0l);
30865                   logb(0.0);
30866                   logbf(0.0f);
30867                   logbl(0.0l);
30868                   lrint(0.0);
30869                   lrintf(0.0f);
30870                   lrintl(0.0l);
30871                   lround(0.0);
30872                   lroundf(0.0f);
30873                   lroundl(0.0l);
30874                   nan(0);
30875                   nanf(0);
30876                   nanl(0);
30877                   nearbyint(0.0);
30878                   nearbyintf(0.0f);
30879                   nearbyintl(0.0l);
30880                   nextafter(0.0, 0.0);
30881                   nextafterf(0.0f, 0.0f);
30882                   nextafterl(0.0l, 0.0l);
30883                   nexttoward(0.0, 0.0);
30884                   nexttowardf(0.0f, 0.0f);
30885                   nexttowardl(0.0l, 0.0l);
30886                   remainder(0.0, 0.0);
30887                   remainderf(0.0f, 0.0f);
30888                   remainderl(0.0l, 0.0l);
30889                   remquo(0.0, 0.0, 0);
30890                   remquo(0.0f, 0.0f, 0);
30891                   remquo(0.0l, 0.0l, 0);
30892                   rint(0.0);
30893                   rintf(0.0f);
30894                   rintl(0.0l);
30895                   round(0.0);
30896                   roundf(0.0f);
30897                   roundl(0.0l);
30898                   scalbln(0.0, 0l);
30899                   scalblnf(0.0f, 0l);
30900                   scalblnl(0.0l, 0l);
30901                   scalbn(0.0, 0);
30902                   scalbnf(0.0f, 0);
30903                   scalbnl(0.0l, 0);
30904                   tgamma(0.0);
30905                   tgammaf(0.0f);
30906                   tgammal(0.0l);
30907                   trunc(0.0);
30908                   truncf(0.0f);
30909                   truncl(0.0l);
30910
30911   ;
30912   return 0;
30913 }
30914 _ACEOF
30915 rm -f conftest.$ac_objext
30916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30917   (eval $ac_compile) 2>conftest.er1
30918   ac_status=$?
30919   grep -v '^ *+' conftest.er1 >conftest.err
30920   rm -f conftest.er1
30921   cat conftest.err >&5
30922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923   (exit $ac_status); } &&
30924          { ac_try='test -z "$ac_cxx_werror_flag"
30925                          || test ! -s conftest.err'
30926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30927   (eval $ac_try) 2>&5
30928   ac_status=$?
30929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30930   (exit $ac_status); }; } &&
30931          { ac_try='test -s conftest.$ac_objext'
30932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30933   (eval $ac_try) 2>&5
30934   ac_status=$?
30935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30936   (exit $ac_status); }; }; then
30937   ac_c99_math_tr1=yes
30938 else
30939   echo "$as_me: failed program was:" >&5
30940 sed 's/^/| /' conftest.$ac_ext >&5
30941
30942 ac_c99_math_tr1=no
30943 fi
30944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30945
30946 fi
30947
30948   echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
30949 echo "${ECHO_T}$ac_c99_math_tr1" >&6
30950   if test x"$ac_c99_math_tr1" = x"yes"; then
30951
30952 cat >>confdefs.h <<\_ACEOF
30953 #define _GLIBCXX_USE_C99_MATH_TR1 1
30954 _ACEOF
30955
30956   fi
30957
30958   # Check for the existence of <inttypes.h> functions (NB: doesn't make
30959   # sense if the previous check fails, per C99, 7.8/1).
30960   ac_c99_inttypes_tr1=no;
30961   if test x"$ac_c99_stdint_tr1" = x"yes"; then
30962     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
30963 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
30964     cat >conftest.$ac_ext <<_ACEOF
30965 /* confdefs.h.  */
30966 _ACEOF
30967 cat confdefs.h >>conftest.$ac_ext
30968 cat >>conftest.$ac_ext <<_ACEOF
30969 /* end confdefs.h.  */
30970 #include <inttypes.h>
30971 int
30972 main ()
30973 {
30974 intmax_t i, numer, denom, base;
30975                     const char* s;
30976                     char** endptr;
30977                     intmax_t ret = imaxabs(i);
30978                     imaxdiv_t dret = imaxdiv(numer, denom);
30979                     ret = strtoimax(s, endptr, base);
30980                     uintmax_t uret = strtoumax(s, endptr, base);
30981
30982   ;
30983   return 0;
30984 }
30985 _ACEOF
30986 rm -f conftest.$ac_objext
30987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30988   (eval $ac_compile) 2>conftest.er1
30989   ac_status=$?
30990   grep -v '^ *+' conftest.er1 >conftest.err
30991   rm -f conftest.er1
30992   cat conftest.err >&5
30993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30994   (exit $ac_status); } &&
30995          { ac_try='test -z "$ac_cxx_werror_flag"
30996                          || test ! -s conftest.err'
30997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30998   (eval $ac_try) 2>&5
30999   ac_status=$?
31000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31001   (exit $ac_status); }; } &&
31002          { ac_try='test -s conftest.$ac_objext'
31003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31004   (eval $ac_try) 2>&5
31005   ac_status=$?
31006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31007   (exit $ac_status); }; }; then
31008   ac_c99_inttypes_tr1=yes
31009 else
31010   echo "$as_me: failed program was:" >&5
31011 sed 's/^/| /' conftest.$ac_ext >&5
31012
31013 ac_c99_inttypes_tr1=no
31014 fi
31015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31016   fi
31017   echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
31018 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
31019   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
31020
31021 cat >>confdefs.h <<\_ACEOF
31022 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
31023 _ACEOF
31024
31025   fi
31026
31027   # Check for the existence of the <stdbool.h> header.
31028
31029 for ac_header in stdbool.h
31030 do
31031 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31033   echo "$as_me:$LINENO: checking for $ac_header" >&5
31034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31036   echo $ECHO_N "(cached) $ECHO_C" >&6
31037 fi
31038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31039 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31040 else
31041   # Is the header compilable?
31042 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31043 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31044 cat >conftest.$ac_ext <<_ACEOF
31045 /* confdefs.h.  */
31046 _ACEOF
31047 cat confdefs.h >>conftest.$ac_ext
31048 cat >>conftest.$ac_ext <<_ACEOF
31049 /* end confdefs.h.  */
31050 $ac_includes_default
31051 #include <$ac_header>
31052 _ACEOF
31053 rm -f conftest.$ac_objext
31054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31055   (eval $ac_compile) 2>conftest.er1
31056   ac_status=$?
31057   grep -v '^ *+' conftest.er1 >conftest.err
31058   rm -f conftest.er1
31059   cat conftest.err >&5
31060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31061   (exit $ac_status); } &&
31062          { ac_try='test -z "$ac_cxx_werror_flag"
31063                          || test ! -s conftest.err'
31064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31065   (eval $ac_try) 2>&5
31066   ac_status=$?
31067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31068   (exit $ac_status); }; } &&
31069          { ac_try='test -s conftest.$ac_objext'
31070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31071   (eval $ac_try) 2>&5
31072   ac_status=$?
31073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31074   (exit $ac_status); }; }; then
31075   ac_header_compiler=yes
31076 else
31077   echo "$as_me: failed program was:" >&5
31078 sed 's/^/| /' conftest.$ac_ext >&5
31079
31080 ac_header_compiler=no
31081 fi
31082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31083 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31084 echo "${ECHO_T}$ac_header_compiler" >&6
31085
31086 # Is the header present?
31087 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31088 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31089 cat >conftest.$ac_ext <<_ACEOF
31090 /* confdefs.h.  */
31091 _ACEOF
31092 cat confdefs.h >>conftest.$ac_ext
31093 cat >>conftest.$ac_ext <<_ACEOF
31094 /* end confdefs.h.  */
31095 #include <$ac_header>
31096 _ACEOF
31097 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31098   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31099   ac_status=$?
31100   grep -v '^ *+' conftest.er1 >conftest.err
31101   rm -f conftest.er1
31102   cat conftest.err >&5
31103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104   (exit $ac_status); } >/dev/null; then
31105   if test -s conftest.err; then
31106     ac_cpp_err=$ac_cxx_preproc_warn_flag
31107     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31108   else
31109     ac_cpp_err=
31110   fi
31111 else
31112   ac_cpp_err=yes
31113 fi
31114 if test -z "$ac_cpp_err"; then
31115   ac_header_preproc=yes
31116 else
31117   echo "$as_me: failed program was:" >&5
31118 sed 's/^/| /' conftest.$ac_ext >&5
31119
31120   ac_header_preproc=no
31121 fi
31122 rm -f conftest.err conftest.$ac_ext
31123 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31124 echo "${ECHO_T}$ac_header_preproc" >&6
31125
31126 # So?  What about this header?
31127 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31128   yes:no: )
31129     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31130 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31131     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31132 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31133     ac_header_preproc=yes
31134     ;;
31135   no:yes:* )
31136     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31137 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31138     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
31139 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
31140     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31141 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31142     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
31143 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
31144     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31145 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31146     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31147 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31148     (
31149       cat <<\_ASBOX
31150 ## ----------------------------------------- ##
31151 ## Report this to the package-unused lists.  ##
31152 ## ----------------------------------------- ##
31153 _ASBOX
31154     ) |
31155       sed "s/^/$as_me: WARNING:     /" >&2
31156     ;;
31157 esac
31158 echo "$as_me:$LINENO: checking for $ac_header" >&5
31159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31161   echo $ECHO_N "(cached) $ECHO_C" >&6
31162 else
31163   eval "$as_ac_Header=\$ac_header_preproc"
31164 fi
31165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31167
31168 fi
31169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31170   cat >>confdefs.h <<_ACEOF
31171 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31172 _ACEOF
31173
31174 fi
31175
31176 done
31177
31178
31179   ac_ext=c
31180 ac_cpp='$CPP $CPPFLAGS'
31181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31184
31185
31186
31187   # For dev/random and dev/urandom for TR1.
31188
31189
31190   echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
31191 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
31192   if test "${ac_random_tr1+set}" = set; then
31193   echo $ECHO_N "(cached) $ECHO_C" >&6
31194 else
31195
31196   if test "$cross_compiling" = yes; then
31197   ac_random_tr1=no
31198 else
31199   cat >conftest.$ac_ext <<_ACEOF
31200 /* confdefs.h.  */
31201 _ACEOF
31202 cat confdefs.h >>conftest.$ac_ext
31203 cat >>conftest.$ac_ext <<_ACEOF
31204 /* end confdefs.h.  */
31205 #include <stdio.h>
31206               int main()
31207               {
31208                 return !(fopen("/dev/random", "r")
31209                          && fopen("/dev/urandom", "r"));
31210               }
31211
31212 _ACEOF
31213 rm -f conftest$ac_exeext
31214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31215   (eval $ac_link) 2>&5
31216   ac_status=$?
31217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31218   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31220   (eval $ac_try) 2>&5
31221   ac_status=$?
31222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31223   (exit $ac_status); }; }; then
31224   ac_random_tr1=yes
31225 else
31226   echo "$as_me: program exited with status $ac_status" >&5
31227 echo "$as_me: failed program was:" >&5
31228 sed 's/^/| /' conftest.$ac_ext >&5
31229
31230 ( exit $ac_status )
31231 ac_random_tr1=no
31232 fi
31233 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31234 fi
31235
31236 fi
31237
31238   echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
31239 echo "${ECHO_T}$ac_random_tr1" >&6
31240   if test x"$ac_random_tr1" = x"yes"; then
31241
31242 cat >>confdefs.h <<\_ACEOF
31243 #define _GLIBCXX_USE_RANDOM_TR1 1
31244 _ACEOF
31245
31246   fi
31247
31248
31249
31250   # For TLS support.
31251
31252    # Check whether --enable-tls or --disable-tls was given.
31253 if test "${enable_tls+set}" = set; then
31254   enableval="$enable_tls"
31255
31256       case "$enableval" in
31257        yes|no) ;;
31258        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
31259 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
31260    { (exit 1); exit 1; }; } ;;
31261       esac
31262
31263 else
31264   enable_tls=yes
31265 fi;
31266
31267   echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
31268 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
31269 if test "${have_tls+set}" = set; then
31270   echo $ECHO_N "(cached) $ECHO_C" >&6
31271 else
31272
31273     if test "$cross_compiling" = yes; then
31274   cat >conftest.$ac_ext <<_ACEOF
31275 __thread int foo;
31276 _ACEOF
31277 rm -f conftest.$ac_objext
31278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31279   (eval $ac_compile) 2>conftest.er1
31280   ac_status=$?
31281   grep -v '^ *+' conftest.er1 >conftest.err
31282   rm -f conftest.er1
31283   cat conftest.err >&5
31284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31285   (exit $ac_status); } &&
31286          { ac_try='test -z "$ac_c_werror_flag"
31287                          || test ! -s conftest.err'
31288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31289   (eval $ac_try) 2>&5
31290   ac_status=$?
31291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31292   (exit $ac_status); }; } &&
31293          { ac_try='test -s conftest.$ac_objext'
31294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31295   (eval $ac_try) 2>&5
31296   ac_status=$?
31297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31298   (exit $ac_status); }; }; then
31299   have_tls=yes
31300 else
31301   echo "$as_me: failed program was:" >&5
31302 sed 's/^/| /' conftest.$ac_ext >&5
31303
31304 have_tls=no
31305 fi
31306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31307
31308 else
31309   cat >conftest.$ac_ext <<_ACEOF
31310 __thread int a; int b; int main() { return a = b; }
31311 _ACEOF
31312 rm -f conftest$ac_exeext
31313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31314   (eval $ac_link) 2>&5
31315   ac_status=$?
31316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31317   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31319   (eval $ac_try) 2>&5
31320   ac_status=$?
31321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31322   (exit $ac_status); }; }; then
31323                     save_LDFLAGS="$LDFLAGS"
31324       LDFLAGS="-static $LDFLAGS"
31325       if test "$cross_compiling" = yes; then
31326   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
31327 See \`config.log' for more details." >&5
31328 echo "$as_me: error: cannot run test program while cross compiling
31329 See \`config.log' for more details." >&2;}
31330    { (exit 1); exit 1; }; }
31331 else
31332   cat >conftest.$ac_ext <<_ACEOF
31333 __thread int a; int b; int main() { return a = b; }
31334 _ACEOF
31335 rm -f conftest$ac_exeext
31336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31337   (eval $ac_link) 2>&5
31338   ac_status=$?
31339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31340   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31342   (eval $ac_try) 2>&5
31343   ac_status=$?
31344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31345   (exit $ac_status); }; }; then
31346   have_tls=yes
31347 else
31348   echo "$as_me: program exited with status $ac_status" >&5
31349 echo "$as_me: failed program was:" >&5
31350 sed 's/^/| /' conftest.$ac_ext >&5
31351
31352 ( exit $ac_status )
31353 have_tls=no
31354 fi
31355 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31356 fi
31357       LDFLAGS="$save_LDFLAGS"
31358 else
31359   echo "$as_me: program exited with status $ac_status" >&5
31360 echo "$as_me: failed program was:" >&5
31361 sed 's/^/| /' conftest.$ac_ext >&5
31362
31363 ( exit $ac_status )
31364 have_tls=no
31365 fi
31366 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31367 fi
31368 fi
31369 echo "$as_me:$LINENO: result: $have_tls" >&5
31370 echo "${ECHO_T}$have_tls" >&6
31371   if test "$enable_tls $have_tls" = "yes yes"; then
31372
31373 cat >>confdefs.h <<\_ACEOF
31374 #define HAVE_TLS 1
31375 _ACEOF
31376
31377   fi
31378
31379   # For _Unwind_GetIPInfo.
31380
31381
31382
31383   ac_ext=cc
31384 ac_cpp='$CXXCPP $CPPFLAGS'
31385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31388
31389   ac_save_CXXFLAGS="$CXXFLAGS"
31390   CXXFLAGS="$CXXFLAGS -fno-exceptions"
31391   echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
31392 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
31393   if test "${gcc_cv_getipinfo+set}" = set; then
31394   echo $ECHO_N "(cached) $ECHO_C" >&6
31395 else
31396
31397   if test x$gcc_no_link = xyes; then
31398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31400    { (exit 1); exit 1; }; }
31401 fi
31402 cat >conftest.$ac_ext <<_ACEOF
31403 /* confdefs.h.  */
31404 _ACEOF
31405 cat confdefs.h >>conftest.$ac_ext
31406 cat >>conftest.$ac_ext <<_ACEOF
31407 /* end confdefs.h.  */
31408 extern "C" { extern void _Unwind_GetIPInfo(); }
31409 int
31410 main ()
31411 {
31412 _Unwind_GetIPInfo();
31413   ;
31414   return 0;
31415 }
31416 _ACEOF
31417 rm -f conftest.$ac_objext conftest$ac_exeext
31418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31419   (eval $ac_link) 2>conftest.er1
31420   ac_status=$?
31421   grep -v '^ *+' conftest.er1 >conftest.err
31422   rm -f conftest.er1
31423   cat conftest.err >&5
31424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31425   (exit $ac_status); } &&
31426          { ac_try='test -z "$ac_cxx_werror_flag"
31427                          || test ! -s conftest.err'
31428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31429   (eval $ac_try) 2>&5
31430   ac_status=$?
31431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31432   (exit $ac_status); }; } &&
31433          { ac_try='test -s conftest$ac_exeext'
31434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31435   (eval $ac_try) 2>&5
31436   ac_status=$?
31437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31438   (exit $ac_status); }; }; then
31439   gcc_cv_getipinfo=yes
31440 else
31441   echo "$as_me: failed program was:" >&5
31442 sed 's/^/| /' conftest.$ac_ext >&5
31443
31444 gcc_cv_getipinfo=no
31445 fi
31446 rm -f conftest.err conftest.$ac_objext \
31447       conftest$ac_exeext conftest.$ac_ext
31448
31449 fi
31450
31451   if test $gcc_cv_getipinfo = yes; then
31452
31453 cat >>confdefs.h <<\_ACEOF
31454 #define HAVE_GETIPINFO 1
31455 _ACEOF
31456
31457   fi
31458   echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
31459 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
31460   CXXFLAGS="$ac_save_CXXFLAGS"
31461   ac_ext=c
31462 ac_cpp='$CPP $CPPFLAGS'
31463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31466
31467
31468
31469
31470   if test "${ac_cv_header_locale_h+set}" = set; then
31471   echo "$as_me:$LINENO: checking for locale.h" >&5
31472 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31473 if test "${ac_cv_header_locale_h+set}" = set; then
31474   echo $ECHO_N "(cached) $ECHO_C" >&6
31475 fi
31476 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31477 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31478 else
31479   # Is the header compilable?
31480 echo "$as_me:$LINENO: checking locale.h usability" >&5
31481 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
31482 cat >conftest.$ac_ext <<_ACEOF
31483 /* confdefs.h.  */
31484 _ACEOF
31485 cat confdefs.h >>conftest.$ac_ext
31486 cat >>conftest.$ac_ext <<_ACEOF
31487 /* end confdefs.h.  */
31488 $ac_includes_default
31489 #include <locale.h>
31490 _ACEOF
31491 rm -f conftest.$ac_objext
31492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31493   (eval $ac_compile) 2>conftest.er1
31494   ac_status=$?
31495   grep -v '^ *+' conftest.er1 >conftest.err
31496   rm -f conftest.er1
31497   cat conftest.err >&5
31498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31499   (exit $ac_status); } &&
31500          { ac_try='test -z "$ac_c_werror_flag"
31501                          || test ! -s conftest.err'
31502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31503   (eval $ac_try) 2>&5
31504   ac_status=$?
31505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31506   (exit $ac_status); }; } &&
31507          { ac_try='test -s conftest.$ac_objext'
31508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31509   (eval $ac_try) 2>&5
31510   ac_status=$?
31511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31512   (exit $ac_status); }; }; then
31513   ac_header_compiler=yes
31514 else
31515   echo "$as_me: failed program was:" >&5
31516 sed 's/^/| /' conftest.$ac_ext >&5
31517
31518 ac_header_compiler=no
31519 fi
31520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31521 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31522 echo "${ECHO_T}$ac_header_compiler" >&6
31523
31524 # Is the header present?
31525 echo "$as_me:$LINENO: checking locale.h presence" >&5
31526 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
31527 cat >conftest.$ac_ext <<_ACEOF
31528 /* confdefs.h.  */
31529 _ACEOF
31530 cat confdefs.h >>conftest.$ac_ext
31531 cat >>conftest.$ac_ext <<_ACEOF
31532 /* end confdefs.h.  */
31533 #include <locale.h>
31534 _ACEOF
31535 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31536   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31537   ac_status=$?
31538   grep -v '^ *+' conftest.er1 >conftest.err
31539   rm -f conftest.er1
31540   cat conftest.err >&5
31541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31542   (exit $ac_status); } >/dev/null; then
31543   if test -s conftest.err; then
31544     ac_cpp_err=$ac_c_preproc_warn_flag
31545     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31546   else
31547     ac_cpp_err=
31548   fi
31549 else
31550   ac_cpp_err=yes
31551 fi
31552 if test -z "$ac_cpp_err"; then
31553   ac_header_preproc=yes
31554 else
31555   echo "$as_me: failed program was:" >&5
31556 sed 's/^/| /' conftest.$ac_ext >&5
31557
31558   ac_header_preproc=no
31559 fi
31560 rm -f conftest.err conftest.$ac_ext
31561 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31562 echo "${ECHO_T}$ac_header_preproc" >&6
31563
31564 # So?  What about this header?
31565 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31566   yes:no: )
31567     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
31568 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31569     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
31570 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
31571     ac_header_preproc=yes
31572     ;;
31573   no:yes:* )
31574     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
31575 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
31576     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
31577 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
31578     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
31579 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
31580     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
31581 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
31582     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
31583 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
31584     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
31585 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
31586     (
31587       cat <<\_ASBOX
31588 ## ----------------------------------------- ##
31589 ## Report this to the package-unused lists.  ##
31590 ## ----------------------------------------- ##
31591 _ASBOX
31592     ) |
31593       sed "s/^/$as_me: WARNING:     /" >&2
31594     ;;
31595 esac
31596 echo "$as_me:$LINENO: checking for locale.h" >&5
31597 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31598 if test "${ac_cv_header_locale_h+set}" = set; then
31599   echo $ECHO_N "(cached) $ECHO_C" >&6
31600 else
31601   ac_cv_header_locale_h=$ac_header_preproc
31602 fi
31603 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31604 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31605
31606 fi
31607 if test $ac_cv_header_locale_h = yes; then
31608
31609     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
31610 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
31611 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
31612   echo $ECHO_N "(cached) $ECHO_C" >&6
31613 else
31614   if test x$gcc_no_link = xyes; then
31615   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31617    { (exit 1); exit 1; }; }
31618 fi
31619 cat >conftest.$ac_ext <<_ACEOF
31620 /* confdefs.h.  */
31621 _ACEOF
31622 cat confdefs.h >>conftest.$ac_ext
31623 cat >>conftest.$ac_ext <<_ACEOF
31624 /* end confdefs.h.  */
31625 #include <locale.h>
31626 int
31627 main ()
31628 {
31629 return LC_MESSAGES
31630   ;
31631   return 0;
31632 }
31633 _ACEOF
31634 rm -f conftest.$ac_objext conftest$ac_exeext
31635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31636   (eval $ac_link) 2>conftest.er1
31637   ac_status=$?
31638   grep -v '^ *+' conftest.er1 >conftest.err
31639   rm -f conftest.er1
31640   cat conftest.err >&5
31641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31642   (exit $ac_status); } &&
31643          { ac_try='test -z "$ac_c_werror_flag"
31644                          || test ! -s conftest.err'
31645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31646   (eval $ac_try) 2>&5
31647   ac_status=$?
31648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31649   (exit $ac_status); }; } &&
31650          { ac_try='test -s conftest$ac_exeext'
31651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31652   (eval $ac_try) 2>&5
31653   ac_status=$?
31654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31655   (exit $ac_status); }; }; then
31656   ac_cv_val_LC_MESSAGES=yes
31657 else
31658   echo "$as_me: failed program was:" >&5
31659 sed 's/^/| /' conftest.$ac_ext >&5
31660
31661 ac_cv_val_LC_MESSAGES=no
31662 fi
31663 rm -f conftest.err conftest.$ac_objext \
31664       conftest$ac_exeext conftest.$ac_ext
31665 fi
31666 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
31667 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
31668     if test $ac_cv_val_LC_MESSAGES = yes; then
31669
31670 cat >>confdefs.h <<\_ACEOF
31671 #define HAVE_LC_MESSAGES 1
31672 _ACEOF
31673
31674     fi
31675
31676 fi
31677
31678
31679
31680
31681   cat >conftest.$ac_ext <<_ACEOF
31682 /* confdefs.h.  */
31683 _ACEOF
31684 cat confdefs.h >>conftest.$ac_ext
31685 cat >>conftest.$ac_ext <<_ACEOF
31686 /* end confdefs.h.  */
31687 #include <setjmp.h>
31688 int
31689 main ()
31690 {
31691 sigjmp_buf env;
31692      while (! sigsetjmp (env, 1))
31693        siglongjmp (env, 1);
31694
31695   ;
31696   return 0;
31697 }
31698 _ACEOF
31699 rm -f conftest.$ac_objext
31700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31701   (eval $ac_compile) 2>conftest.er1
31702   ac_status=$?
31703   grep -v '^ *+' conftest.er1 >conftest.err
31704   rm -f conftest.er1
31705   cat conftest.err >&5
31706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31707   (exit $ac_status); } &&
31708          { ac_try='test -z "$ac_c_werror_flag"
31709                          || test ! -s conftest.err'
31710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31711   (eval $ac_try) 2>&5
31712   ac_status=$?
31713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31714   (exit $ac_status); }; } &&
31715          { ac_try='test -s conftest.$ac_objext'
31716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31717   (eval $ac_try) 2>&5
31718   ac_status=$?
31719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31720   (exit $ac_status); }; }; then
31721
31722 cat >>confdefs.h <<\_ACEOF
31723 #define HAVE_SIGSETJMP 1
31724 _ACEOF
31725
31726 else
31727   echo "$as_me: failed program was:" >&5
31728 sed 's/^/| /' conftest.$ac_ext >&5
31729
31730 fi
31731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31732
31733   if test x$gcc_no_link = xyes; then
31734   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
31735     ac_cv_func_mmap_fixed_mapped=no
31736   fi
31737 fi
31738 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
31739
31740
31741 for ac_header in stdlib.h unistd.h
31742 do
31743 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31745   echo "$as_me:$LINENO: checking for $ac_header" >&5
31746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31748   echo $ECHO_N "(cached) $ECHO_C" >&6
31749 fi
31750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31751 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31752 else
31753   # Is the header compilable?
31754 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31755 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31756 cat >conftest.$ac_ext <<_ACEOF
31757 /* confdefs.h.  */
31758 _ACEOF
31759 cat confdefs.h >>conftest.$ac_ext
31760 cat >>conftest.$ac_ext <<_ACEOF
31761 /* end confdefs.h.  */
31762 $ac_includes_default
31763 #include <$ac_header>
31764 _ACEOF
31765 rm -f conftest.$ac_objext
31766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31767   (eval $ac_compile) 2>conftest.er1
31768   ac_status=$?
31769   grep -v '^ *+' conftest.er1 >conftest.err
31770   rm -f conftest.er1
31771   cat conftest.err >&5
31772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31773   (exit $ac_status); } &&
31774          { ac_try='test -z "$ac_c_werror_flag"
31775                          || test ! -s conftest.err'
31776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31777   (eval $ac_try) 2>&5
31778   ac_status=$?
31779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31780   (exit $ac_status); }; } &&
31781          { ac_try='test -s conftest.$ac_objext'
31782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31783   (eval $ac_try) 2>&5
31784   ac_status=$?
31785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31786   (exit $ac_status); }; }; then
31787   ac_header_compiler=yes
31788 else
31789   echo "$as_me: failed program was:" >&5
31790 sed 's/^/| /' conftest.$ac_ext >&5
31791
31792 ac_header_compiler=no
31793 fi
31794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31795 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31796 echo "${ECHO_T}$ac_header_compiler" >&6
31797
31798 # Is the header present?
31799 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31800 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31801 cat >conftest.$ac_ext <<_ACEOF
31802 /* confdefs.h.  */
31803 _ACEOF
31804 cat confdefs.h >>conftest.$ac_ext
31805 cat >>conftest.$ac_ext <<_ACEOF
31806 /* end confdefs.h.  */
31807 #include <$ac_header>
31808 _ACEOF
31809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31810   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31811   ac_status=$?
31812   grep -v '^ *+' conftest.er1 >conftest.err
31813   rm -f conftest.er1
31814   cat conftest.err >&5
31815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31816   (exit $ac_status); } >/dev/null; then
31817   if test -s conftest.err; then
31818     ac_cpp_err=$ac_c_preproc_warn_flag
31819     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31820   else
31821     ac_cpp_err=
31822   fi
31823 else
31824   ac_cpp_err=yes
31825 fi
31826 if test -z "$ac_cpp_err"; then
31827   ac_header_preproc=yes
31828 else
31829   echo "$as_me: failed program was:" >&5
31830 sed 's/^/| /' conftest.$ac_ext >&5
31831
31832   ac_header_preproc=no
31833 fi
31834 rm -f conftest.err conftest.$ac_ext
31835 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31836 echo "${ECHO_T}$ac_header_preproc" >&6
31837
31838 # So?  What about this header?
31839 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31840   yes:no: )
31841     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31842 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31843     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31844 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31845     ac_header_preproc=yes
31846     ;;
31847   no:yes:* )
31848     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31849 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31850     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
31851 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
31852     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31853 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31854     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
31855 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
31856     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31857 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31858     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31859 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31860     (
31861       cat <<\_ASBOX
31862 ## ----------------------------------------- ##
31863 ## Report this to the package-unused lists.  ##
31864 ## ----------------------------------------- ##
31865 _ASBOX
31866     ) |
31867       sed "s/^/$as_me: WARNING:     /" >&2
31868     ;;
31869 esac
31870 echo "$as_me:$LINENO: checking for $ac_header" >&5
31871 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31873   echo $ECHO_N "(cached) $ECHO_C" >&6
31874 else
31875   eval "$as_ac_Header=\$ac_header_preproc"
31876 fi
31877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31878 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31879
31880 fi
31881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31882   cat >>confdefs.h <<_ACEOF
31883 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31884 _ACEOF
31885
31886 fi
31887
31888 done
31889
31890
31891 for ac_func in getpagesize
31892 do
31893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31894 echo "$as_me:$LINENO: checking for $ac_func" >&5
31895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31896 if eval "test \"\${$as_ac_var+set}\" = set"; then
31897   echo $ECHO_N "(cached) $ECHO_C" >&6
31898 else
31899   if test x$gcc_no_link = xyes; then
31900   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31902    { (exit 1); exit 1; }; }
31903 fi
31904 cat >conftest.$ac_ext <<_ACEOF
31905 /* confdefs.h.  */
31906 _ACEOF
31907 cat confdefs.h >>conftest.$ac_ext
31908 cat >>conftest.$ac_ext <<_ACEOF
31909 /* end confdefs.h.  */
31910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31911    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31912 #define $ac_func innocuous_$ac_func
31913
31914 /* System header to define __stub macros and hopefully few prototypes,
31915     which can conflict with char $ac_func (); below.
31916     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31917     <limits.h> exists even on freestanding compilers.  */
31918
31919 #ifdef __STDC__
31920 # include <limits.h>
31921 #else
31922 # include <assert.h>
31923 #endif
31924
31925 #undef $ac_func
31926
31927 /* Override any gcc2 internal prototype to avoid an error.  */
31928 #ifdef __cplusplus
31929 extern "C"
31930 {
31931 #endif
31932 /* We use char because int might match the return type of a gcc2
31933    builtin and then its argument prototype would still apply.  */
31934 char $ac_func ();
31935 /* The GNU C library defines this for functions which it implements
31936     to always fail with ENOSYS.  Some functions are actually named
31937     something starting with __ and the normal name is an alias.  */
31938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31939 choke me
31940 #else
31941 char (*f) () = $ac_func;
31942 #endif
31943 #ifdef __cplusplus
31944 }
31945 #endif
31946
31947 int
31948 main ()
31949 {
31950 return f != $ac_func;
31951   ;
31952   return 0;
31953 }
31954 _ACEOF
31955 rm -f conftest.$ac_objext conftest$ac_exeext
31956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31957   (eval $ac_link) 2>conftest.er1
31958   ac_status=$?
31959   grep -v '^ *+' conftest.er1 >conftest.err
31960   rm -f conftest.er1
31961   cat conftest.err >&5
31962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31963   (exit $ac_status); } &&
31964          { ac_try='test -z "$ac_c_werror_flag"
31965                          || test ! -s conftest.err'
31966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31967   (eval $ac_try) 2>&5
31968   ac_status=$?
31969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31970   (exit $ac_status); }; } &&
31971          { ac_try='test -s conftest$ac_exeext'
31972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31973   (eval $ac_try) 2>&5
31974   ac_status=$?
31975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31976   (exit $ac_status); }; }; then
31977   eval "$as_ac_var=yes"
31978 else
31979   echo "$as_me: failed program was:" >&5
31980 sed 's/^/| /' conftest.$ac_ext >&5
31981
31982 eval "$as_ac_var=no"
31983 fi
31984 rm -f conftest.err conftest.$ac_objext \
31985       conftest$ac_exeext conftest.$ac_ext
31986 fi
31987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31989 if test `eval echo '${'$as_ac_var'}'` = yes; then
31990   cat >>confdefs.h <<_ACEOF
31991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31992 _ACEOF
31993
31994 fi
31995 done
31996
31997 echo "$as_me:$LINENO: checking for working mmap" >&5
31998 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
31999 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
32000   echo $ECHO_N "(cached) $ECHO_C" >&6
32001 else
32002   if test "$cross_compiling" = yes; then
32003   ac_cv_func_mmap_fixed_mapped=no
32004 else
32005   cat >conftest.$ac_ext <<_ACEOF
32006 /* confdefs.h.  */
32007 _ACEOF
32008 cat confdefs.h >>conftest.$ac_ext
32009 cat >>conftest.$ac_ext <<_ACEOF
32010 /* end confdefs.h.  */
32011 $ac_includes_default
32012 /* malloc might have been renamed as rpl_malloc. */
32013 #undef malloc
32014
32015 /* Thanks to Mike Haertel and Jim Avera for this test.
32016    Here is a matrix of mmap possibilities:
32017         mmap private not fixed
32018         mmap private fixed at somewhere currently unmapped
32019         mmap private fixed at somewhere already mapped
32020         mmap shared not fixed
32021         mmap shared fixed at somewhere currently unmapped
32022         mmap shared fixed at somewhere already mapped
32023    For private mappings, we should verify that changes cannot be read()
32024    back from the file, nor mmap's back from the file at a different
32025    address.  (There have been systems where private was not correctly
32026    implemented like the infamous i386 svr4.0, and systems where the
32027    VM page cache was not coherent with the file system buffer cache
32028    like early versions of FreeBSD and possibly contemporary NetBSD.)
32029    For shared mappings, we should conversely verify that changes get
32030    propagated back to all the places they're supposed to be.
32031
32032    Grep wants private fixed already mapped.
32033    The main things grep needs to know about mmap are:
32034    * does it exist and is it safe to write into the mmap'd area
32035    * how to use it (BSD variants)  */
32036
32037 #include <fcntl.h>
32038 #include <sys/mman.h>
32039
32040 #if !STDC_HEADERS && !HAVE_STDLIB_H
32041 char *malloc ();
32042 #endif
32043
32044 /* This mess was copied from the GNU getpagesize.h.  */
32045 #if !HAVE_GETPAGESIZE
32046 /* Assume that all systems that can run configure have sys/param.h.  */
32047 # if !HAVE_SYS_PARAM_H
32048 #  define HAVE_SYS_PARAM_H 1
32049 # endif
32050
32051 # ifdef _SC_PAGESIZE
32052 #  define getpagesize() sysconf(_SC_PAGESIZE)
32053 # else /* no _SC_PAGESIZE */
32054 #  if HAVE_SYS_PARAM_H
32055 #   include <sys/param.h>
32056 #   ifdef EXEC_PAGESIZE
32057 #    define getpagesize() EXEC_PAGESIZE
32058 #   else /* no EXEC_PAGESIZE */
32059 #    ifdef NBPG
32060 #     define getpagesize() NBPG * CLSIZE
32061 #     ifndef CLSIZE
32062 #      define CLSIZE 1
32063 #     endif /* no CLSIZE */
32064 #    else /* no NBPG */
32065 #     ifdef NBPC
32066 #      define getpagesize() NBPC
32067 #     else /* no NBPC */
32068 #      ifdef PAGESIZE
32069 #       define getpagesize() PAGESIZE
32070 #      endif /* PAGESIZE */
32071 #     endif /* no NBPC */
32072 #    endif /* no NBPG */
32073 #   endif /* no EXEC_PAGESIZE */
32074 #  else /* no HAVE_SYS_PARAM_H */
32075 #   define getpagesize() 8192   /* punt totally */
32076 #  endif /* no HAVE_SYS_PARAM_H */
32077 # endif /* no _SC_PAGESIZE */
32078
32079 #endif /* no HAVE_GETPAGESIZE */
32080
32081 int
32082 main ()
32083 {
32084   char *data, *data2, *data3;
32085   int i, pagesize;
32086   int fd;
32087
32088   pagesize = getpagesize ();
32089
32090   /* First, make a file with some known garbage in it. */
32091   data = (char *) malloc (pagesize);
32092   if (!data)
32093     exit (1);
32094   for (i = 0; i < pagesize; ++i)
32095     *(data + i) = rand ();
32096   umask (0);
32097   fd = creat ("conftest.mmap", 0600);
32098   if (fd < 0)
32099     exit (1);
32100   if (write (fd, data, pagesize) != pagesize)
32101     exit (1);
32102   close (fd);
32103
32104   /* Next, try to mmap the file at a fixed address which already has
32105      something else allocated at it.  If we can, also make sure that
32106      we see the same garbage.  */
32107   fd = open ("conftest.mmap", O_RDWR);
32108   if (fd < 0)
32109     exit (1);
32110   data2 = (char *) malloc (2 * pagesize);
32111   if (!data2)
32112     exit (1);
32113   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
32114   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
32115                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
32116     exit (1);
32117   for (i = 0; i < pagesize; ++i)
32118     if (*(data + i) != *(data2 + i))
32119       exit (1);
32120
32121   /* Finally, make sure that changes to the mapped area do not
32122      percolate back to the file as seen by read().  (This is a bug on
32123      some variants of i386 svr4.0.)  */
32124   for (i = 0; i < pagesize; ++i)
32125     *(data2 + i) = *(data2 + i) + 1;
32126   data3 = (char *) malloc (pagesize);
32127   if (!data3)
32128     exit (1);
32129   if (read (fd, data3, pagesize) != pagesize)
32130     exit (1);
32131   for (i = 0; i < pagesize; ++i)
32132     if (*(data + i) != *(data3 + i))
32133       exit (1);
32134   close (fd);
32135   exit (0);
32136 }
32137 _ACEOF
32138 rm -f conftest$ac_exeext
32139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32140   (eval $ac_link) 2>&5
32141   ac_status=$?
32142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32143   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32145   (eval $ac_try) 2>&5
32146   ac_status=$?
32147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32148   (exit $ac_status); }; }; then
32149   ac_cv_func_mmap_fixed_mapped=yes
32150 else
32151   echo "$as_me: program exited with status $ac_status" >&5
32152 echo "$as_me: failed program was:" >&5
32153 sed 's/^/| /' conftest.$ac_ext >&5
32154
32155 ( exit $ac_status )
32156 ac_cv_func_mmap_fixed_mapped=no
32157 fi
32158 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32159 fi
32160 fi
32161 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
32162 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
32163 if test $ac_cv_func_mmap_fixed_mapped = yes; then
32164
32165 cat >>confdefs.h <<\_ACEOF
32166 #define HAVE_MMAP 1
32167 _ACEOF
32168
32169 fi
32170 rm -f conftest.mmap
32171
32172 fi
32173
32174 else
32175
32176   # This lets us hard-code the functionality we know we'll have in the cross
32177   # target environment.  "Let" is a sugar-coated word placed on an especially
32178   # dull and tedious hack, actually.
32179   #
32180   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
32181   # that involve linking, can't be used:
32182   #    "cannot open sim-crt0.o"
32183   #    "cannot open crt0.o"
32184   # etc.  All this is because there currently exists no unified, consistent
32185   # way for top level CC information to be passed down to target directories:
32186   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
32187   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
32188   # crosses can be removed.
32189
32190   # If Canadian cross, then don't pick up tools from the build directory.
32191   # Used only in GLIBCXX_EXPORT_INCLUDES.
32192   if test -n "$with_cross_host" &&
32193      test x"$build_alias" != x"$with_cross_host" &&
32194      test x"$build" != x"$target";
32195   then
32196     CANADIAN=yes
32197   else
32198     CANADIAN=no
32199   fi
32200
32201   # Construct crosses by hand, eliminating bits that need ld...
32202   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
32203   # GLIBCXX_CHECK_MATH_SUPPORT
32204
32205   # First, test for "known" system libraries.  We may be using newlib even
32206   # on a hosted environment.
32207   if test "x${with_newlib}" = "xyes"; then
32208     os_include_dir="os/newlib"
32209     cat >>confdefs.h <<\_ACEOF
32210 #define HAVE_HYPOT 1
32211 _ACEOF
32212
32213
32214     # GLIBCXX_CHECK_STDLIB_SUPPORT
32215     cat >>confdefs.h <<\_ACEOF
32216 #define HAVE_STRTOF 1
32217 _ACEOF
32218
32219     # AC_FUNC_MMAP
32220     cat >>confdefs.h <<\_ACEOF
32221 #define HAVE_MMAP 1
32222 _ACEOF
32223
32224
32225     cat >>confdefs.h <<\_ACEOF
32226 #define HAVE_ACOSF 1
32227 _ACEOF
32228
32229     cat >>confdefs.h <<\_ACEOF
32230 #define HAVE_ASINF 1
32231 _ACEOF
32232
32233     cat >>confdefs.h <<\_ACEOF
32234 #define HAVE_ATAN2F 1
32235 _ACEOF
32236
32237     cat >>confdefs.h <<\_ACEOF
32238 #define HAVE_ATANF 1
32239 _ACEOF
32240
32241     cat >>confdefs.h <<\_ACEOF
32242 #define HAVE_CEILF 1
32243 _ACEOF
32244
32245     cat >>confdefs.h <<\_ACEOF
32246 #define HAVE_COPYSIGN 1
32247 _ACEOF
32248
32249     cat >>confdefs.h <<\_ACEOF
32250 #define HAVE_COPYSIGNF 1
32251 _ACEOF
32252
32253     cat >>confdefs.h <<\_ACEOF
32254 #define HAVE_COSF 1
32255 _ACEOF
32256
32257     cat >>confdefs.h <<\_ACEOF
32258 #define HAVE_COSHF 1
32259 _ACEOF
32260
32261     cat >>confdefs.h <<\_ACEOF
32262 #define HAVE_EXPF 1
32263 _ACEOF
32264
32265     cat >>confdefs.h <<\_ACEOF
32266 #define HAVE_FABSF 1
32267 _ACEOF
32268
32269     cat >>confdefs.h <<\_ACEOF
32270 #define HAVE_FLOORF 1
32271 _ACEOF
32272
32273     cat >>confdefs.h <<\_ACEOF
32274 #define HAVE_FMODF 1
32275 _ACEOF
32276
32277     cat >>confdefs.h <<\_ACEOF
32278 #define HAVE_FREXPF 1
32279 _ACEOF
32280
32281     cat >>confdefs.h <<\_ACEOF
32282 #define HAVE_LDEXPF 1
32283 _ACEOF
32284
32285     cat >>confdefs.h <<\_ACEOF
32286 #define HAVE_LOG10F 1
32287 _ACEOF
32288
32289     cat >>confdefs.h <<\_ACEOF
32290 #define HAVE_LOGF 1
32291 _ACEOF
32292
32293     cat >>confdefs.h <<\_ACEOF
32294 #define HAVE_MODFF 1
32295 _ACEOF
32296
32297     cat >>confdefs.h <<\_ACEOF
32298 #define HAVE_POWF 1
32299 _ACEOF
32300
32301     cat >>confdefs.h <<\_ACEOF
32302 #define HAVE_SINF 1
32303 _ACEOF
32304
32305     cat >>confdefs.h <<\_ACEOF
32306 #define HAVE_SINHF 1
32307 _ACEOF
32308
32309     cat >>confdefs.h <<\_ACEOF
32310 #define HAVE_SQRTF 1
32311 _ACEOF
32312
32313     cat >>confdefs.h <<\_ACEOF
32314 #define HAVE_TANF 1
32315 _ACEOF
32316
32317     cat >>confdefs.h <<\_ACEOF
32318 #define HAVE_TANHF 1
32319 _ACEOF
32320
32321
32322     cat >>confdefs.h <<\_ACEOF
32323 #define HAVE_S_ISREG 1
32324 _ACEOF
32325
32326     cat >>confdefs.h <<\_ACEOF
32327 #define HAVE_S_IFREG 1
32328 _ACEOF
32329
32330   else
32331
32332 # Base decisions on target environment.
32333 case "${host}" in
32334   arm*-*-symbianelf*)
32335     # This is a freestanding configuration; there is nothing to do here.
32336     ;;
32337
32338   *-darwin*)
32339     # Darwin versions vary, but the linker should work in a cross environment,
32340     # so we just check for all the features here.
32341     # Check for available headers.
32342
32343
32344
32345
32346
32347
32348
32349
32350
32351
32352
32353
32354
32355 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
32356     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
32357     sys/types.h
32358 do
32359 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32361   echo "$as_me:$LINENO: checking for $ac_header" >&5
32362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32364   echo $ECHO_N "(cached) $ECHO_C" >&6
32365 fi
32366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32368 else
32369   # Is the header compilable?
32370 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32371 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32372 cat >conftest.$ac_ext <<_ACEOF
32373 /* confdefs.h.  */
32374 _ACEOF
32375 cat confdefs.h >>conftest.$ac_ext
32376 cat >>conftest.$ac_ext <<_ACEOF
32377 /* end confdefs.h.  */
32378 $ac_includes_default
32379 #include <$ac_header>
32380 _ACEOF
32381 rm -f conftest.$ac_objext
32382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32383   (eval $ac_compile) 2>conftest.er1
32384   ac_status=$?
32385   grep -v '^ *+' conftest.er1 >conftest.err
32386   rm -f conftest.er1
32387   cat conftest.err >&5
32388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32389   (exit $ac_status); } &&
32390          { ac_try='test -z "$ac_c_werror_flag"
32391                          || test ! -s conftest.err'
32392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32393   (eval $ac_try) 2>&5
32394   ac_status=$?
32395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32396   (exit $ac_status); }; } &&
32397          { ac_try='test -s conftest.$ac_objext'
32398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32399   (eval $ac_try) 2>&5
32400   ac_status=$?
32401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32402   (exit $ac_status); }; }; then
32403   ac_header_compiler=yes
32404 else
32405   echo "$as_me: failed program was:" >&5
32406 sed 's/^/| /' conftest.$ac_ext >&5
32407
32408 ac_header_compiler=no
32409 fi
32410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32411 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32412 echo "${ECHO_T}$ac_header_compiler" >&6
32413
32414 # Is the header present?
32415 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32416 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32417 cat >conftest.$ac_ext <<_ACEOF
32418 /* confdefs.h.  */
32419 _ACEOF
32420 cat confdefs.h >>conftest.$ac_ext
32421 cat >>conftest.$ac_ext <<_ACEOF
32422 /* end confdefs.h.  */
32423 #include <$ac_header>
32424 _ACEOF
32425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32426   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32427   ac_status=$?
32428   grep -v '^ *+' conftest.er1 >conftest.err
32429   rm -f conftest.er1
32430   cat conftest.err >&5
32431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32432   (exit $ac_status); } >/dev/null; then
32433   if test -s conftest.err; then
32434     ac_cpp_err=$ac_c_preproc_warn_flag
32435     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32436   else
32437     ac_cpp_err=
32438   fi
32439 else
32440   ac_cpp_err=yes
32441 fi
32442 if test -z "$ac_cpp_err"; then
32443   ac_header_preproc=yes
32444 else
32445   echo "$as_me: failed program was:" >&5
32446 sed 's/^/| /' conftest.$ac_ext >&5
32447
32448   ac_header_preproc=no
32449 fi
32450 rm -f conftest.err conftest.$ac_ext
32451 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32452 echo "${ECHO_T}$ac_header_preproc" >&6
32453
32454 # So?  What about this header?
32455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32456   yes:no: )
32457     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32458 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32459     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32460 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32461     ac_header_preproc=yes
32462     ;;
32463   no:yes:* )
32464     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32465 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32466     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
32467 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
32468     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32469 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32470     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
32471 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
32472     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32473 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32474     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32475 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32476     (
32477       cat <<\_ASBOX
32478 ## ----------------------------------------- ##
32479 ## Report this to the package-unused lists.  ##
32480 ## ----------------------------------------- ##
32481 _ASBOX
32482     ) |
32483       sed "s/^/$as_me: WARNING:     /" >&2
32484     ;;
32485 esac
32486 echo "$as_me:$LINENO: checking for $ac_header" >&5
32487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32489   echo $ECHO_N "(cached) $ECHO_C" >&6
32490 else
32491   eval "$as_ac_Header=\$ac_header_preproc"
32492 fi
32493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32495
32496 fi
32497 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32498   cat >>confdefs.h <<_ACEOF
32499 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32500 _ACEOF
32501
32502 fi
32503
32504 done
32505
32506
32507     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
32508
32509   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32510   ac_save_CXXFLAGS="$CXXFLAGS"
32511   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32512
32513     echo "$as_me:$LINENO: checking for sin in -lm" >&5
32514 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
32515 if test "${ac_cv_lib_m_sin+set}" = set; then
32516   echo $ECHO_N "(cached) $ECHO_C" >&6
32517 else
32518   ac_check_lib_save_LIBS=$LIBS
32519 LIBS="-lm  $LIBS"
32520 if test x$gcc_no_link = xyes; then
32521   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32523    { (exit 1); exit 1; }; }
32524 fi
32525 cat >conftest.$ac_ext <<_ACEOF
32526 /* confdefs.h.  */
32527 _ACEOF
32528 cat confdefs.h >>conftest.$ac_ext
32529 cat >>conftest.$ac_ext <<_ACEOF
32530 /* end confdefs.h.  */
32531
32532 /* Override any gcc2 internal prototype to avoid an error.  */
32533 #ifdef __cplusplus
32534 extern "C"
32535 #endif
32536 /* We use char because int might match the return type of a gcc2
32537    builtin and then its argument prototype would still apply.  */
32538 char sin ();
32539 int
32540 main ()
32541 {
32542 sin ();
32543   ;
32544   return 0;
32545 }
32546 _ACEOF
32547 rm -f conftest.$ac_objext conftest$ac_exeext
32548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32549   (eval $ac_link) 2>conftest.er1
32550   ac_status=$?
32551   grep -v '^ *+' conftest.er1 >conftest.err
32552   rm -f conftest.er1
32553   cat conftest.err >&5
32554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32555   (exit $ac_status); } &&
32556          { ac_try='test -z "$ac_c_werror_flag"
32557                          || test ! -s conftest.err'
32558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32559   (eval $ac_try) 2>&5
32560   ac_status=$?
32561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32562   (exit $ac_status); }; } &&
32563          { ac_try='test -s conftest$ac_exeext'
32564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32565   (eval $ac_try) 2>&5
32566   ac_status=$?
32567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32568   (exit $ac_status); }; }; then
32569   ac_cv_lib_m_sin=yes
32570 else
32571   echo "$as_me: failed program was:" >&5
32572 sed 's/^/| /' conftest.$ac_ext >&5
32573
32574 ac_cv_lib_m_sin=no
32575 fi
32576 rm -f conftest.err conftest.$ac_objext \
32577       conftest$ac_exeext conftest.$ac_ext
32578 LIBS=$ac_check_lib_save_LIBS
32579 fi
32580 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
32581 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
32582 if test $ac_cv_lib_m_sin = yes; then
32583   libm="-lm"
32584 fi
32585
32586   ac_save_LIBS="$LIBS"
32587   LIBS="$LIBS $libm"
32588
32589
32590
32591   echo "$as_me:$LINENO: checking for isinf declaration" >&5
32592 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
32593   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32594     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
32595   echo $ECHO_N "(cached) $ECHO_C" >&6
32596 else
32597
32598
32599
32600       ac_ext=cc
32601 ac_cpp='$CXXCPP $CPPFLAGS'
32602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32605
32606       cat >conftest.$ac_ext <<_ACEOF
32607 /* confdefs.h.  */
32608 _ACEOF
32609 cat confdefs.h >>conftest.$ac_ext
32610 cat >>conftest.$ac_ext <<_ACEOF
32611 /* end confdefs.h.  */
32612 #include <math.h>
32613                       #ifdef HAVE_IEEEFP_H
32614                       #include <ieeefp.h>
32615                       #endif
32616
32617 int
32618 main ()
32619 {
32620  isinf(0);
32621   ;
32622   return 0;
32623 }
32624 _ACEOF
32625 rm -f conftest.$ac_objext
32626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32627   (eval $ac_compile) 2>conftest.er1
32628   ac_status=$?
32629   grep -v '^ *+' conftest.er1 >conftest.err
32630   rm -f conftest.er1
32631   cat conftest.err >&5
32632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32633   (exit $ac_status); } &&
32634          { ac_try='test -z "$ac_cxx_werror_flag"
32635                          || test ! -s conftest.err'
32636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32637   (eval $ac_try) 2>&5
32638   ac_status=$?
32639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32640   (exit $ac_status); }; } &&
32641          { ac_try='test -s conftest.$ac_objext'
32642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32643   (eval $ac_try) 2>&5
32644   ac_status=$?
32645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32646   (exit $ac_status); }; }; then
32647   glibcxx_cv_func_isinf_use=yes
32648 else
32649   echo "$as_me: failed program was:" >&5
32650 sed 's/^/| /' conftest.$ac_ext >&5
32651
32652 glibcxx_cv_func_isinf_use=no
32653 fi
32654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32655       ac_ext=c
32656 ac_cpp='$CPP $CPPFLAGS'
32657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32660
32661
32662 fi
32663
32664   fi
32665   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
32666 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
32667
32668   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32669
32670 for ac_func in isinf
32671 do
32672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32673 echo "$as_me:$LINENO: checking for $ac_func" >&5
32674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32675 if eval "test \"\${$as_ac_var+set}\" = set"; then
32676   echo $ECHO_N "(cached) $ECHO_C" >&6
32677 else
32678   if test x$gcc_no_link = xyes; then
32679   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32681    { (exit 1); exit 1; }; }
32682 fi
32683 cat >conftest.$ac_ext <<_ACEOF
32684 /* confdefs.h.  */
32685 _ACEOF
32686 cat confdefs.h >>conftest.$ac_ext
32687 cat >>conftest.$ac_ext <<_ACEOF
32688 /* end confdefs.h.  */
32689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32690    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32691 #define $ac_func innocuous_$ac_func
32692
32693 /* System header to define __stub macros and hopefully few prototypes,
32694     which can conflict with char $ac_func (); below.
32695     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32696     <limits.h> exists even on freestanding compilers.  */
32697
32698 #ifdef __STDC__
32699 # include <limits.h>
32700 #else
32701 # include <assert.h>
32702 #endif
32703
32704 #undef $ac_func
32705
32706 /* Override any gcc2 internal prototype to avoid an error.  */
32707 #ifdef __cplusplus
32708 extern "C"
32709 {
32710 #endif
32711 /* We use char because int might match the return type of a gcc2
32712    builtin and then its argument prototype would still apply.  */
32713 char $ac_func ();
32714 /* The GNU C library defines this for functions which it implements
32715     to always fail with ENOSYS.  Some functions are actually named
32716     something starting with __ and the normal name is an alias.  */
32717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32718 choke me
32719 #else
32720 char (*f) () = $ac_func;
32721 #endif
32722 #ifdef __cplusplus
32723 }
32724 #endif
32725
32726 int
32727 main ()
32728 {
32729 return f != $ac_func;
32730   ;
32731   return 0;
32732 }
32733 _ACEOF
32734 rm -f conftest.$ac_objext conftest$ac_exeext
32735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32736   (eval $ac_link) 2>conftest.er1
32737   ac_status=$?
32738   grep -v '^ *+' conftest.er1 >conftest.err
32739   rm -f conftest.er1
32740   cat conftest.err >&5
32741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742   (exit $ac_status); } &&
32743          { ac_try='test -z "$ac_c_werror_flag"
32744                          || test ! -s conftest.err'
32745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32746   (eval $ac_try) 2>&5
32747   ac_status=$?
32748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32749   (exit $ac_status); }; } &&
32750          { ac_try='test -s conftest$ac_exeext'
32751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32752   (eval $ac_try) 2>&5
32753   ac_status=$?
32754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32755   (exit $ac_status); }; }; then
32756   eval "$as_ac_var=yes"
32757 else
32758   echo "$as_me: failed program was:" >&5
32759 sed 's/^/| /' conftest.$ac_ext >&5
32760
32761 eval "$as_ac_var=no"
32762 fi
32763 rm -f conftest.err conftest.$ac_objext \
32764       conftest$ac_exeext conftest.$ac_ext
32765 fi
32766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32768 if test `eval echo '${'$as_ac_var'}'` = yes; then
32769   cat >>confdefs.h <<_ACEOF
32770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32771 _ACEOF
32772
32773 fi
32774 done
32775
32776   else
32777
32778   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
32779 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
32780   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32781     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
32782   echo $ECHO_N "(cached) $ECHO_C" >&6
32783 else
32784
32785
32786
32787       ac_ext=cc
32788 ac_cpp='$CXXCPP $CPPFLAGS'
32789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32792
32793       cat >conftest.$ac_ext <<_ACEOF
32794 /* confdefs.h.  */
32795 _ACEOF
32796 cat confdefs.h >>conftest.$ac_ext
32797 cat >>conftest.$ac_ext <<_ACEOF
32798 /* end confdefs.h.  */
32799 #include <math.h>
32800                       #ifdef HAVE_IEEEFP_H
32801                       #include <ieeefp.h>
32802                       #endif
32803
32804 int
32805 main ()
32806 {
32807  _isinf(0);
32808   ;
32809   return 0;
32810 }
32811 _ACEOF
32812 rm -f conftest.$ac_objext
32813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32814   (eval $ac_compile) 2>conftest.er1
32815   ac_status=$?
32816   grep -v '^ *+' conftest.er1 >conftest.err
32817   rm -f conftest.er1
32818   cat conftest.err >&5
32819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32820   (exit $ac_status); } &&
32821          { ac_try='test -z "$ac_cxx_werror_flag"
32822                          || test ! -s conftest.err'
32823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32824   (eval $ac_try) 2>&5
32825   ac_status=$?
32826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32827   (exit $ac_status); }; } &&
32828          { ac_try='test -s conftest.$ac_objext'
32829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32830   (eval $ac_try) 2>&5
32831   ac_status=$?
32832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32833   (exit $ac_status); }; }; then
32834   glibcxx_cv_func__isinf_use=yes
32835 else
32836   echo "$as_me: failed program was:" >&5
32837 sed 's/^/| /' conftest.$ac_ext >&5
32838
32839 glibcxx_cv_func__isinf_use=no
32840 fi
32841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32842       ac_ext=c
32843 ac_cpp='$CPP $CPPFLAGS'
32844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32847
32848
32849 fi
32850
32851   fi
32852   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
32853 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
32854
32855     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32856
32857 for ac_func in _isinf
32858 do
32859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32860 echo "$as_me:$LINENO: checking for $ac_func" >&5
32861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32862 if eval "test \"\${$as_ac_var+set}\" = set"; then
32863   echo $ECHO_N "(cached) $ECHO_C" >&6
32864 else
32865   if test x$gcc_no_link = xyes; then
32866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32868    { (exit 1); exit 1; }; }
32869 fi
32870 cat >conftest.$ac_ext <<_ACEOF
32871 /* confdefs.h.  */
32872 _ACEOF
32873 cat confdefs.h >>conftest.$ac_ext
32874 cat >>conftest.$ac_ext <<_ACEOF
32875 /* end confdefs.h.  */
32876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32877    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32878 #define $ac_func innocuous_$ac_func
32879
32880 /* System header to define __stub macros and hopefully few prototypes,
32881     which can conflict with char $ac_func (); below.
32882     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32883     <limits.h> exists even on freestanding compilers.  */
32884
32885 #ifdef __STDC__
32886 # include <limits.h>
32887 #else
32888 # include <assert.h>
32889 #endif
32890
32891 #undef $ac_func
32892
32893 /* Override any gcc2 internal prototype to avoid an error.  */
32894 #ifdef __cplusplus
32895 extern "C"
32896 {
32897 #endif
32898 /* We use char because int might match the return type of a gcc2
32899    builtin and then its argument prototype would still apply.  */
32900 char $ac_func ();
32901 /* The GNU C library defines this for functions which it implements
32902     to always fail with ENOSYS.  Some functions are actually named
32903     something starting with __ and the normal name is an alias.  */
32904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32905 choke me
32906 #else
32907 char (*f) () = $ac_func;
32908 #endif
32909 #ifdef __cplusplus
32910 }
32911 #endif
32912
32913 int
32914 main ()
32915 {
32916 return f != $ac_func;
32917   ;
32918   return 0;
32919 }
32920 _ACEOF
32921 rm -f conftest.$ac_objext conftest$ac_exeext
32922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32923   (eval $ac_link) 2>conftest.er1
32924   ac_status=$?
32925   grep -v '^ *+' conftest.er1 >conftest.err
32926   rm -f conftest.er1
32927   cat conftest.err >&5
32928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929   (exit $ac_status); } &&
32930          { ac_try='test -z "$ac_c_werror_flag"
32931                          || test ! -s conftest.err'
32932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32933   (eval $ac_try) 2>&5
32934   ac_status=$?
32935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32936   (exit $ac_status); }; } &&
32937          { ac_try='test -s conftest$ac_exeext'
32938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32939   (eval $ac_try) 2>&5
32940   ac_status=$?
32941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32942   (exit $ac_status); }; }; then
32943   eval "$as_ac_var=yes"
32944 else
32945   echo "$as_me: failed program was:" >&5
32946 sed 's/^/| /' conftest.$ac_ext >&5
32947
32948 eval "$as_ac_var=no"
32949 fi
32950 rm -f conftest.err conftest.$ac_objext \
32951       conftest$ac_exeext conftest.$ac_ext
32952 fi
32953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32955 if test `eval echo '${'$as_ac_var'}'` = yes; then
32956   cat >>confdefs.h <<_ACEOF
32957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32958 _ACEOF
32959
32960 fi
32961 done
32962
32963     fi
32964   fi
32965
32966
32967
32968
32969
32970
32971   echo "$as_me:$LINENO: checking for isnan declaration" >&5
32972 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
32973   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32974     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
32975   echo $ECHO_N "(cached) $ECHO_C" >&6
32976 else
32977
32978
32979
32980       ac_ext=cc
32981 ac_cpp='$CXXCPP $CPPFLAGS'
32982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32985
32986       cat >conftest.$ac_ext <<_ACEOF
32987 /* confdefs.h.  */
32988 _ACEOF
32989 cat confdefs.h >>conftest.$ac_ext
32990 cat >>conftest.$ac_ext <<_ACEOF
32991 /* end confdefs.h.  */
32992 #include <math.h>
32993                       #ifdef HAVE_IEEEFP_H
32994                       #include <ieeefp.h>
32995                       #endif
32996
32997 int
32998 main ()
32999 {
33000  isnan(0);
33001   ;
33002   return 0;
33003 }
33004 _ACEOF
33005 rm -f conftest.$ac_objext
33006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33007   (eval $ac_compile) 2>conftest.er1
33008   ac_status=$?
33009   grep -v '^ *+' conftest.er1 >conftest.err
33010   rm -f conftest.er1
33011   cat conftest.err >&5
33012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33013   (exit $ac_status); } &&
33014          { ac_try='test -z "$ac_cxx_werror_flag"
33015                          || test ! -s conftest.err'
33016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33017   (eval $ac_try) 2>&5
33018   ac_status=$?
33019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33020   (exit $ac_status); }; } &&
33021          { ac_try='test -s conftest.$ac_objext'
33022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33023   (eval $ac_try) 2>&5
33024   ac_status=$?
33025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33026   (exit $ac_status); }; }; then
33027   glibcxx_cv_func_isnan_use=yes
33028 else
33029   echo "$as_me: failed program was:" >&5
33030 sed 's/^/| /' conftest.$ac_ext >&5
33031
33032 glibcxx_cv_func_isnan_use=no
33033 fi
33034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33035       ac_ext=c
33036 ac_cpp='$CPP $CPPFLAGS'
33037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33040
33041
33042 fi
33043
33044   fi
33045   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
33046 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
33047
33048   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33049
33050 for ac_func in isnan
33051 do
33052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33053 echo "$as_me:$LINENO: checking for $ac_func" >&5
33054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33055 if eval "test \"\${$as_ac_var+set}\" = set"; then
33056   echo $ECHO_N "(cached) $ECHO_C" >&6
33057 else
33058   if test x$gcc_no_link = xyes; then
33059   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33061    { (exit 1); exit 1; }; }
33062 fi
33063 cat >conftest.$ac_ext <<_ACEOF
33064 /* confdefs.h.  */
33065 _ACEOF
33066 cat confdefs.h >>conftest.$ac_ext
33067 cat >>conftest.$ac_ext <<_ACEOF
33068 /* end confdefs.h.  */
33069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33070    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33071 #define $ac_func innocuous_$ac_func
33072
33073 /* System header to define __stub macros and hopefully few prototypes,
33074     which can conflict with char $ac_func (); below.
33075     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33076     <limits.h> exists even on freestanding compilers.  */
33077
33078 #ifdef __STDC__
33079 # include <limits.h>
33080 #else
33081 # include <assert.h>
33082 #endif
33083
33084 #undef $ac_func
33085
33086 /* Override any gcc2 internal prototype to avoid an error.  */
33087 #ifdef __cplusplus
33088 extern "C"
33089 {
33090 #endif
33091 /* We use char because int might match the return type of a gcc2
33092    builtin and then its argument prototype would still apply.  */
33093 char $ac_func ();
33094 /* The GNU C library defines this for functions which it implements
33095     to always fail with ENOSYS.  Some functions are actually named
33096     something starting with __ and the normal name is an alias.  */
33097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33098 choke me
33099 #else
33100 char (*f) () = $ac_func;
33101 #endif
33102 #ifdef __cplusplus
33103 }
33104 #endif
33105
33106 int
33107 main ()
33108 {
33109 return f != $ac_func;
33110   ;
33111   return 0;
33112 }
33113 _ACEOF
33114 rm -f conftest.$ac_objext conftest$ac_exeext
33115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33116   (eval $ac_link) 2>conftest.er1
33117   ac_status=$?
33118   grep -v '^ *+' conftest.er1 >conftest.err
33119   rm -f conftest.er1
33120   cat conftest.err >&5
33121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33122   (exit $ac_status); } &&
33123          { ac_try='test -z "$ac_c_werror_flag"
33124                          || test ! -s conftest.err'
33125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33126   (eval $ac_try) 2>&5
33127   ac_status=$?
33128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33129   (exit $ac_status); }; } &&
33130          { ac_try='test -s conftest$ac_exeext'
33131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33132   (eval $ac_try) 2>&5
33133   ac_status=$?
33134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33135   (exit $ac_status); }; }; then
33136   eval "$as_ac_var=yes"
33137 else
33138   echo "$as_me: failed program was:" >&5
33139 sed 's/^/| /' conftest.$ac_ext >&5
33140
33141 eval "$as_ac_var=no"
33142 fi
33143 rm -f conftest.err conftest.$ac_objext \
33144       conftest$ac_exeext conftest.$ac_ext
33145 fi
33146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33148 if test `eval echo '${'$as_ac_var'}'` = yes; then
33149   cat >>confdefs.h <<_ACEOF
33150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33151 _ACEOF
33152
33153 fi
33154 done
33155
33156   else
33157
33158   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
33159 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
33160   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33161     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
33162   echo $ECHO_N "(cached) $ECHO_C" >&6
33163 else
33164
33165
33166
33167       ac_ext=cc
33168 ac_cpp='$CXXCPP $CPPFLAGS'
33169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33172
33173       cat >conftest.$ac_ext <<_ACEOF
33174 /* confdefs.h.  */
33175 _ACEOF
33176 cat confdefs.h >>conftest.$ac_ext
33177 cat >>conftest.$ac_ext <<_ACEOF
33178 /* end confdefs.h.  */
33179 #include <math.h>
33180                       #ifdef HAVE_IEEEFP_H
33181                       #include <ieeefp.h>
33182                       #endif
33183
33184 int
33185 main ()
33186 {
33187  _isnan(0);
33188   ;
33189   return 0;
33190 }
33191 _ACEOF
33192 rm -f conftest.$ac_objext
33193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33194   (eval $ac_compile) 2>conftest.er1
33195   ac_status=$?
33196   grep -v '^ *+' conftest.er1 >conftest.err
33197   rm -f conftest.er1
33198   cat conftest.err >&5
33199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33200   (exit $ac_status); } &&
33201          { ac_try='test -z "$ac_cxx_werror_flag"
33202                          || test ! -s conftest.err'
33203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33204   (eval $ac_try) 2>&5
33205   ac_status=$?
33206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33207   (exit $ac_status); }; } &&
33208          { ac_try='test -s conftest.$ac_objext'
33209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33210   (eval $ac_try) 2>&5
33211   ac_status=$?
33212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33213   (exit $ac_status); }; }; then
33214   glibcxx_cv_func__isnan_use=yes
33215 else
33216   echo "$as_me: failed program was:" >&5
33217 sed 's/^/| /' conftest.$ac_ext >&5
33218
33219 glibcxx_cv_func__isnan_use=no
33220 fi
33221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33222       ac_ext=c
33223 ac_cpp='$CPP $CPPFLAGS'
33224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33227
33228
33229 fi
33230
33231   fi
33232   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
33233 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
33234
33235     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33236
33237 for ac_func in _isnan
33238 do
33239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33240 echo "$as_me:$LINENO: checking for $ac_func" >&5
33241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33242 if eval "test \"\${$as_ac_var+set}\" = set"; then
33243   echo $ECHO_N "(cached) $ECHO_C" >&6
33244 else
33245   if test x$gcc_no_link = xyes; then
33246   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33248    { (exit 1); exit 1; }; }
33249 fi
33250 cat >conftest.$ac_ext <<_ACEOF
33251 /* confdefs.h.  */
33252 _ACEOF
33253 cat confdefs.h >>conftest.$ac_ext
33254 cat >>conftest.$ac_ext <<_ACEOF
33255 /* end confdefs.h.  */
33256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33257    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33258 #define $ac_func innocuous_$ac_func
33259
33260 /* System header to define __stub macros and hopefully few prototypes,
33261     which can conflict with char $ac_func (); below.
33262     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33263     <limits.h> exists even on freestanding compilers.  */
33264
33265 #ifdef __STDC__
33266 # include <limits.h>
33267 #else
33268 # include <assert.h>
33269 #endif
33270
33271 #undef $ac_func
33272
33273 /* Override any gcc2 internal prototype to avoid an error.  */
33274 #ifdef __cplusplus
33275 extern "C"
33276 {
33277 #endif
33278 /* We use char because int might match the return type of a gcc2
33279    builtin and then its argument prototype would still apply.  */
33280 char $ac_func ();
33281 /* The GNU C library defines this for functions which it implements
33282     to always fail with ENOSYS.  Some functions are actually named
33283     something starting with __ and the normal name is an alias.  */
33284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33285 choke me
33286 #else
33287 char (*f) () = $ac_func;
33288 #endif
33289 #ifdef __cplusplus
33290 }
33291 #endif
33292
33293 int
33294 main ()
33295 {
33296 return f != $ac_func;
33297   ;
33298   return 0;
33299 }
33300 _ACEOF
33301 rm -f conftest.$ac_objext conftest$ac_exeext
33302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33303   (eval $ac_link) 2>conftest.er1
33304   ac_status=$?
33305   grep -v '^ *+' conftest.er1 >conftest.err
33306   rm -f conftest.er1
33307   cat conftest.err >&5
33308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33309   (exit $ac_status); } &&
33310          { ac_try='test -z "$ac_c_werror_flag"
33311                          || test ! -s conftest.err'
33312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33313   (eval $ac_try) 2>&5
33314   ac_status=$?
33315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33316   (exit $ac_status); }; } &&
33317          { ac_try='test -s conftest$ac_exeext'
33318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33319   (eval $ac_try) 2>&5
33320   ac_status=$?
33321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33322   (exit $ac_status); }; }; then
33323   eval "$as_ac_var=yes"
33324 else
33325   echo "$as_me: failed program was:" >&5
33326 sed 's/^/| /' conftest.$ac_ext >&5
33327
33328 eval "$as_ac_var=no"
33329 fi
33330 rm -f conftest.err conftest.$ac_objext \
33331       conftest$ac_exeext conftest.$ac_ext
33332 fi
33333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33335 if test `eval echo '${'$as_ac_var'}'` = yes; then
33336   cat >>confdefs.h <<_ACEOF
33337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33338 _ACEOF
33339
33340 fi
33341 done
33342
33343     fi
33344   fi
33345
33346
33347
33348
33349
33350
33351   echo "$as_me:$LINENO: checking for finite declaration" >&5
33352 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
33353   if test x${glibcxx_cv_func_finite_use+set} != xset; then
33354     if test "${glibcxx_cv_func_finite_use+set}" = set; then
33355   echo $ECHO_N "(cached) $ECHO_C" >&6
33356 else
33357
33358
33359
33360       ac_ext=cc
33361 ac_cpp='$CXXCPP $CPPFLAGS'
33362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33365
33366       cat >conftest.$ac_ext <<_ACEOF
33367 /* confdefs.h.  */
33368 _ACEOF
33369 cat confdefs.h >>conftest.$ac_ext
33370 cat >>conftest.$ac_ext <<_ACEOF
33371 /* end confdefs.h.  */
33372 #include <math.h>
33373                       #ifdef HAVE_IEEEFP_H
33374                       #include <ieeefp.h>
33375                       #endif
33376
33377 int
33378 main ()
33379 {
33380  finite(0);
33381   ;
33382   return 0;
33383 }
33384 _ACEOF
33385 rm -f conftest.$ac_objext
33386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33387   (eval $ac_compile) 2>conftest.er1
33388   ac_status=$?
33389   grep -v '^ *+' conftest.er1 >conftest.err
33390   rm -f conftest.er1
33391   cat conftest.err >&5
33392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33393   (exit $ac_status); } &&
33394          { ac_try='test -z "$ac_cxx_werror_flag"
33395                          || test ! -s conftest.err'
33396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33397   (eval $ac_try) 2>&5
33398   ac_status=$?
33399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33400   (exit $ac_status); }; } &&
33401          { ac_try='test -s conftest.$ac_objext'
33402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33403   (eval $ac_try) 2>&5
33404   ac_status=$?
33405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33406   (exit $ac_status); }; }; then
33407   glibcxx_cv_func_finite_use=yes
33408 else
33409   echo "$as_me: failed program was:" >&5
33410 sed 's/^/| /' conftest.$ac_ext >&5
33411
33412 glibcxx_cv_func_finite_use=no
33413 fi
33414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33415       ac_ext=c
33416 ac_cpp='$CPP $CPPFLAGS'
33417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33420
33421
33422 fi
33423
33424   fi
33425   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
33426 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
33427
33428   if test x$glibcxx_cv_func_finite_use = x"yes"; then
33429
33430 for ac_func in finite
33431 do
33432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33433 echo "$as_me:$LINENO: checking for $ac_func" >&5
33434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33435 if eval "test \"\${$as_ac_var+set}\" = set"; then
33436   echo $ECHO_N "(cached) $ECHO_C" >&6
33437 else
33438   if test x$gcc_no_link = xyes; then
33439   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33441    { (exit 1); exit 1; }; }
33442 fi
33443 cat >conftest.$ac_ext <<_ACEOF
33444 /* confdefs.h.  */
33445 _ACEOF
33446 cat confdefs.h >>conftest.$ac_ext
33447 cat >>conftest.$ac_ext <<_ACEOF
33448 /* end confdefs.h.  */
33449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33450    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33451 #define $ac_func innocuous_$ac_func
33452
33453 /* System header to define __stub macros and hopefully few prototypes,
33454     which can conflict with char $ac_func (); below.
33455     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33456     <limits.h> exists even on freestanding compilers.  */
33457
33458 #ifdef __STDC__
33459 # include <limits.h>
33460 #else
33461 # include <assert.h>
33462 #endif
33463
33464 #undef $ac_func
33465
33466 /* Override any gcc2 internal prototype to avoid an error.  */
33467 #ifdef __cplusplus
33468 extern "C"
33469 {
33470 #endif
33471 /* We use char because int might match the return type of a gcc2
33472    builtin and then its argument prototype would still apply.  */
33473 char $ac_func ();
33474 /* The GNU C library defines this for functions which it implements
33475     to always fail with ENOSYS.  Some functions are actually named
33476     something starting with __ and the normal name is an alias.  */
33477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33478 choke me
33479 #else
33480 char (*f) () = $ac_func;
33481 #endif
33482 #ifdef __cplusplus
33483 }
33484 #endif
33485
33486 int
33487 main ()
33488 {
33489 return f != $ac_func;
33490   ;
33491   return 0;
33492 }
33493 _ACEOF
33494 rm -f conftest.$ac_objext conftest$ac_exeext
33495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33496   (eval $ac_link) 2>conftest.er1
33497   ac_status=$?
33498   grep -v '^ *+' conftest.er1 >conftest.err
33499   rm -f conftest.er1
33500   cat conftest.err >&5
33501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33502   (exit $ac_status); } &&
33503          { ac_try='test -z "$ac_c_werror_flag"
33504                          || test ! -s conftest.err'
33505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33506   (eval $ac_try) 2>&5
33507   ac_status=$?
33508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33509   (exit $ac_status); }; } &&
33510          { ac_try='test -s conftest$ac_exeext'
33511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33512   (eval $ac_try) 2>&5
33513   ac_status=$?
33514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33515   (exit $ac_status); }; }; then
33516   eval "$as_ac_var=yes"
33517 else
33518   echo "$as_me: failed program was:" >&5
33519 sed 's/^/| /' conftest.$ac_ext >&5
33520
33521 eval "$as_ac_var=no"
33522 fi
33523 rm -f conftest.err conftest.$ac_objext \
33524       conftest$ac_exeext conftest.$ac_ext
33525 fi
33526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33528 if test `eval echo '${'$as_ac_var'}'` = yes; then
33529   cat >>confdefs.h <<_ACEOF
33530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33531 _ACEOF
33532
33533 fi
33534 done
33535
33536   else
33537
33538   echo "$as_me:$LINENO: checking for _finite declaration" >&5
33539 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
33540   if test x${glibcxx_cv_func__finite_use+set} != xset; then
33541     if test "${glibcxx_cv_func__finite_use+set}" = set; then
33542   echo $ECHO_N "(cached) $ECHO_C" >&6
33543 else
33544
33545
33546
33547       ac_ext=cc
33548 ac_cpp='$CXXCPP $CPPFLAGS'
33549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33552
33553       cat >conftest.$ac_ext <<_ACEOF
33554 /* confdefs.h.  */
33555 _ACEOF
33556 cat confdefs.h >>conftest.$ac_ext
33557 cat >>conftest.$ac_ext <<_ACEOF
33558 /* end confdefs.h.  */
33559 #include <math.h>
33560                       #ifdef HAVE_IEEEFP_H
33561                       #include <ieeefp.h>
33562                       #endif
33563
33564 int
33565 main ()
33566 {
33567  _finite(0);
33568   ;
33569   return 0;
33570 }
33571 _ACEOF
33572 rm -f conftest.$ac_objext
33573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33574   (eval $ac_compile) 2>conftest.er1
33575   ac_status=$?
33576   grep -v '^ *+' conftest.er1 >conftest.err
33577   rm -f conftest.er1
33578   cat conftest.err >&5
33579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33580   (exit $ac_status); } &&
33581          { ac_try='test -z "$ac_cxx_werror_flag"
33582                          || test ! -s conftest.err'
33583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33584   (eval $ac_try) 2>&5
33585   ac_status=$?
33586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33587   (exit $ac_status); }; } &&
33588          { ac_try='test -s conftest.$ac_objext'
33589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33590   (eval $ac_try) 2>&5
33591   ac_status=$?
33592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33593   (exit $ac_status); }; }; then
33594   glibcxx_cv_func__finite_use=yes
33595 else
33596   echo "$as_me: failed program was:" >&5
33597 sed 's/^/| /' conftest.$ac_ext >&5
33598
33599 glibcxx_cv_func__finite_use=no
33600 fi
33601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33602       ac_ext=c
33603 ac_cpp='$CPP $CPPFLAGS'
33604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33607
33608
33609 fi
33610
33611   fi
33612   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
33613 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
33614
33615     if test x$glibcxx_cv_func__finite_use = x"yes"; then
33616
33617 for ac_func in _finite
33618 do
33619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33620 echo "$as_me:$LINENO: checking for $ac_func" >&5
33621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33622 if eval "test \"\${$as_ac_var+set}\" = set"; then
33623   echo $ECHO_N "(cached) $ECHO_C" >&6
33624 else
33625   if test x$gcc_no_link = xyes; then
33626   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33628    { (exit 1); exit 1; }; }
33629 fi
33630 cat >conftest.$ac_ext <<_ACEOF
33631 /* confdefs.h.  */
33632 _ACEOF
33633 cat confdefs.h >>conftest.$ac_ext
33634 cat >>conftest.$ac_ext <<_ACEOF
33635 /* end confdefs.h.  */
33636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33637    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33638 #define $ac_func innocuous_$ac_func
33639
33640 /* System header to define __stub macros and hopefully few prototypes,
33641     which can conflict with char $ac_func (); below.
33642     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33643     <limits.h> exists even on freestanding compilers.  */
33644
33645 #ifdef __STDC__
33646 # include <limits.h>
33647 #else
33648 # include <assert.h>
33649 #endif
33650
33651 #undef $ac_func
33652
33653 /* Override any gcc2 internal prototype to avoid an error.  */
33654 #ifdef __cplusplus
33655 extern "C"
33656 {
33657 #endif
33658 /* We use char because int might match the return type of a gcc2
33659    builtin and then its argument prototype would still apply.  */
33660 char $ac_func ();
33661 /* The GNU C library defines this for functions which it implements
33662     to always fail with ENOSYS.  Some functions are actually named
33663     something starting with __ and the normal name is an alias.  */
33664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33665 choke me
33666 #else
33667 char (*f) () = $ac_func;
33668 #endif
33669 #ifdef __cplusplus
33670 }
33671 #endif
33672
33673 int
33674 main ()
33675 {
33676 return f != $ac_func;
33677   ;
33678   return 0;
33679 }
33680 _ACEOF
33681 rm -f conftest.$ac_objext conftest$ac_exeext
33682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33683   (eval $ac_link) 2>conftest.er1
33684   ac_status=$?
33685   grep -v '^ *+' conftest.er1 >conftest.err
33686   rm -f conftest.er1
33687   cat conftest.err >&5
33688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33689   (exit $ac_status); } &&
33690          { ac_try='test -z "$ac_c_werror_flag"
33691                          || test ! -s conftest.err'
33692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33693   (eval $ac_try) 2>&5
33694   ac_status=$?
33695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33696   (exit $ac_status); }; } &&
33697          { ac_try='test -s conftest$ac_exeext'
33698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33699   (eval $ac_try) 2>&5
33700   ac_status=$?
33701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33702   (exit $ac_status); }; }; then
33703   eval "$as_ac_var=yes"
33704 else
33705   echo "$as_me: failed program was:" >&5
33706 sed 's/^/| /' conftest.$ac_ext >&5
33707
33708 eval "$as_ac_var=no"
33709 fi
33710 rm -f conftest.err conftest.$ac_objext \
33711       conftest$ac_exeext conftest.$ac_ext
33712 fi
33713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33715 if test `eval echo '${'$as_ac_var'}'` = yes; then
33716   cat >>confdefs.h <<_ACEOF
33717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33718 _ACEOF
33719
33720 fi
33721 done
33722
33723     fi
33724   fi
33725
33726
33727
33728
33729
33730
33731   echo "$as_me:$LINENO: checking for copysign declaration" >&5
33732 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
33733   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
33734     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
33735   echo $ECHO_N "(cached) $ECHO_C" >&6
33736 else
33737
33738
33739
33740       ac_ext=cc
33741 ac_cpp='$CXXCPP $CPPFLAGS'
33742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33745
33746       cat >conftest.$ac_ext <<_ACEOF
33747 /* confdefs.h.  */
33748 _ACEOF
33749 cat confdefs.h >>conftest.$ac_ext
33750 cat >>conftest.$ac_ext <<_ACEOF
33751 /* end confdefs.h.  */
33752 #include <math.h>
33753 int
33754 main ()
33755 {
33756  copysign(0, 0);
33757   ;
33758   return 0;
33759 }
33760 _ACEOF
33761 rm -f conftest.$ac_objext
33762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33763   (eval $ac_compile) 2>conftest.er1
33764   ac_status=$?
33765   grep -v '^ *+' conftest.er1 >conftest.err
33766   rm -f conftest.er1
33767   cat conftest.err >&5
33768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33769   (exit $ac_status); } &&
33770          { ac_try='test -z "$ac_cxx_werror_flag"
33771                          || test ! -s conftest.err'
33772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33773   (eval $ac_try) 2>&5
33774   ac_status=$?
33775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33776   (exit $ac_status); }; } &&
33777          { ac_try='test -s conftest.$ac_objext'
33778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33779   (eval $ac_try) 2>&5
33780   ac_status=$?
33781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782   (exit $ac_status); }; }; then
33783   glibcxx_cv_func_copysign_use=yes
33784 else
33785   echo "$as_me: failed program was:" >&5
33786 sed 's/^/| /' conftest.$ac_ext >&5
33787
33788 glibcxx_cv_func_copysign_use=no
33789 fi
33790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33791       ac_ext=c
33792 ac_cpp='$CPP $CPPFLAGS'
33793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33796
33797
33798 fi
33799
33800   fi
33801   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
33802 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
33803
33804   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
33805
33806 for ac_func in copysign
33807 do
33808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33809 echo "$as_me:$LINENO: checking for $ac_func" >&5
33810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33811 if eval "test \"\${$as_ac_var+set}\" = set"; then
33812   echo $ECHO_N "(cached) $ECHO_C" >&6
33813 else
33814   if test x$gcc_no_link = xyes; then
33815   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33817    { (exit 1); exit 1; }; }
33818 fi
33819 cat >conftest.$ac_ext <<_ACEOF
33820 /* confdefs.h.  */
33821 _ACEOF
33822 cat confdefs.h >>conftest.$ac_ext
33823 cat >>conftest.$ac_ext <<_ACEOF
33824 /* end confdefs.h.  */
33825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33826    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33827 #define $ac_func innocuous_$ac_func
33828
33829 /* System header to define __stub macros and hopefully few prototypes,
33830     which can conflict with char $ac_func (); below.
33831     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33832     <limits.h> exists even on freestanding compilers.  */
33833
33834 #ifdef __STDC__
33835 # include <limits.h>
33836 #else
33837 # include <assert.h>
33838 #endif
33839
33840 #undef $ac_func
33841
33842 /* Override any gcc2 internal prototype to avoid an error.  */
33843 #ifdef __cplusplus
33844 extern "C"
33845 {
33846 #endif
33847 /* We use char because int might match the return type of a gcc2
33848    builtin and then its argument prototype would still apply.  */
33849 char $ac_func ();
33850 /* The GNU C library defines this for functions which it implements
33851     to always fail with ENOSYS.  Some functions are actually named
33852     something starting with __ and the normal name is an alias.  */
33853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33854 choke me
33855 #else
33856 char (*f) () = $ac_func;
33857 #endif
33858 #ifdef __cplusplus
33859 }
33860 #endif
33861
33862 int
33863 main ()
33864 {
33865 return f != $ac_func;
33866   ;
33867   return 0;
33868 }
33869 _ACEOF
33870 rm -f conftest.$ac_objext conftest$ac_exeext
33871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33872   (eval $ac_link) 2>conftest.er1
33873   ac_status=$?
33874   grep -v '^ *+' conftest.er1 >conftest.err
33875   rm -f conftest.er1
33876   cat conftest.err >&5
33877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33878   (exit $ac_status); } &&
33879          { ac_try='test -z "$ac_c_werror_flag"
33880                          || test ! -s conftest.err'
33881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33882   (eval $ac_try) 2>&5
33883   ac_status=$?
33884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33885   (exit $ac_status); }; } &&
33886          { ac_try='test -s conftest$ac_exeext'
33887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33888   (eval $ac_try) 2>&5
33889   ac_status=$?
33890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33891   (exit $ac_status); }; }; then
33892   eval "$as_ac_var=yes"
33893 else
33894   echo "$as_me: failed program was:" >&5
33895 sed 's/^/| /' conftest.$ac_ext >&5
33896
33897 eval "$as_ac_var=no"
33898 fi
33899 rm -f conftest.err conftest.$ac_objext \
33900       conftest$ac_exeext conftest.$ac_ext
33901 fi
33902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33904 if test `eval echo '${'$as_ac_var'}'` = yes; then
33905   cat >>confdefs.h <<_ACEOF
33906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33907 _ACEOF
33908
33909 fi
33910 done
33911
33912   else
33913
33914   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
33915 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
33916   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
33917     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
33918   echo $ECHO_N "(cached) $ECHO_C" >&6
33919 else
33920
33921
33922
33923       ac_ext=cc
33924 ac_cpp='$CXXCPP $CPPFLAGS'
33925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33928
33929       cat >conftest.$ac_ext <<_ACEOF
33930 /* confdefs.h.  */
33931 _ACEOF
33932 cat confdefs.h >>conftest.$ac_ext
33933 cat >>conftest.$ac_ext <<_ACEOF
33934 /* end confdefs.h.  */
33935 #include <math.h>
33936 int
33937 main ()
33938 {
33939  _copysign(0, 0);
33940   ;
33941   return 0;
33942 }
33943 _ACEOF
33944 rm -f conftest.$ac_objext
33945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33946   (eval $ac_compile) 2>conftest.er1
33947   ac_status=$?
33948   grep -v '^ *+' conftest.er1 >conftest.err
33949   rm -f conftest.er1
33950   cat conftest.err >&5
33951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33952   (exit $ac_status); } &&
33953          { ac_try='test -z "$ac_cxx_werror_flag"
33954                          || test ! -s conftest.err'
33955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33956   (eval $ac_try) 2>&5
33957   ac_status=$?
33958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33959   (exit $ac_status); }; } &&
33960          { ac_try='test -s conftest.$ac_objext'
33961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33962   (eval $ac_try) 2>&5
33963   ac_status=$?
33964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33965   (exit $ac_status); }; }; then
33966   glibcxx_cv_func__copysign_use=yes
33967 else
33968   echo "$as_me: failed program was:" >&5
33969 sed 's/^/| /' conftest.$ac_ext >&5
33970
33971 glibcxx_cv_func__copysign_use=no
33972 fi
33973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33974       ac_ext=c
33975 ac_cpp='$CPP $CPPFLAGS'
33976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33979
33980
33981 fi
33982
33983   fi
33984   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
33985 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
33986
33987     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
33988
33989 for ac_func in _copysign
33990 do
33991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33992 echo "$as_me:$LINENO: checking for $ac_func" >&5
33993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33994 if eval "test \"\${$as_ac_var+set}\" = set"; then
33995   echo $ECHO_N "(cached) $ECHO_C" >&6
33996 else
33997   if test x$gcc_no_link = xyes; then
33998   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34000    { (exit 1); exit 1; }; }
34001 fi
34002 cat >conftest.$ac_ext <<_ACEOF
34003 /* confdefs.h.  */
34004 _ACEOF
34005 cat confdefs.h >>conftest.$ac_ext
34006 cat >>conftest.$ac_ext <<_ACEOF
34007 /* end confdefs.h.  */
34008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34009    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34010 #define $ac_func innocuous_$ac_func
34011
34012 /* System header to define __stub macros and hopefully few prototypes,
34013     which can conflict with char $ac_func (); below.
34014     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34015     <limits.h> exists even on freestanding compilers.  */
34016
34017 #ifdef __STDC__
34018 # include <limits.h>
34019 #else
34020 # include <assert.h>
34021 #endif
34022
34023 #undef $ac_func
34024
34025 /* Override any gcc2 internal prototype to avoid an error.  */
34026 #ifdef __cplusplus
34027 extern "C"
34028 {
34029 #endif
34030 /* We use char because int might match the return type of a gcc2
34031    builtin and then its argument prototype would still apply.  */
34032 char $ac_func ();
34033 /* The GNU C library defines this for functions which it implements
34034     to always fail with ENOSYS.  Some functions are actually named
34035     something starting with __ and the normal name is an alias.  */
34036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34037 choke me
34038 #else
34039 char (*f) () = $ac_func;
34040 #endif
34041 #ifdef __cplusplus
34042 }
34043 #endif
34044
34045 int
34046 main ()
34047 {
34048 return f != $ac_func;
34049   ;
34050   return 0;
34051 }
34052 _ACEOF
34053 rm -f conftest.$ac_objext conftest$ac_exeext
34054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34055   (eval $ac_link) 2>conftest.er1
34056   ac_status=$?
34057   grep -v '^ *+' conftest.er1 >conftest.err
34058   rm -f conftest.er1
34059   cat conftest.err >&5
34060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34061   (exit $ac_status); } &&
34062          { ac_try='test -z "$ac_c_werror_flag"
34063                          || test ! -s conftest.err'
34064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34065   (eval $ac_try) 2>&5
34066   ac_status=$?
34067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34068   (exit $ac_status); }; } &&
34069          { ac_try='test -s conftest$ac_exeext'
34070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34071   (eval $ac_try) 2>&5
34072   ac_status=$?
34073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34074   (exit $ac_status); }; }; then
34075   eval "$as_ac_var=yes"
34076 else
34077   echo "$as_me: failed program was:" >&5
34078 sed 's/^/| /' conftest.$ac_ext >&5
34079
34080 eval "$as_ac_var=no"
34081 fi
34082 rm -f conftest.err conftest.$ac_objext \
34083       conftest$ac_exeext conftest.$ac_ext
34084 fi
34085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34087 if test `eval echo '${'$as_ac_var'}'` = yes; then
34088   cat >>confdefs.h <<_ACEOF
34089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34090 _ACEOF
34091
34092 fi
34093 done
34094
34095     fi
34096   fi
34097
34098
34099
34100
34101
34102
34103   echo "$as_me:$LINENO: checking for sincos declaration" >&5
34104 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
34105   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34106     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
34107   echo $ECHO_N "(cached) $ECHO_C" >&6
34108 else
34109
34110
34111
34112       ac_ext=cc
34113 ac_cpp='$CXXCPP $CPPFLAGS'
34114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34117
34118       cat >conftest.$ac_ext <<_ACEOF
34119 /* confdefs.h.  */
34120 _ACEOF
34121 cat confdefs.h >>conftest.$ac_ext
34122 cat >>conftest.$ac_ext <<_ACEOF
34123 /* end confdefs.h.  */
34124 #include <math.h>
34125 int
34126 main ()
34127 {
34128  sincos(0, 0, 0);
34129   ;
34130   return 0;
34131 }
34132 _ACEOF
34133 rm -f conftest.$ac_objext
34134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34135   (eval $ac_compile) 2>conftest.er1
34136   ac_status=$?
34137   grep -v '^ *+' conftest.er1 >conftest.err
34138   rm -f conftest.er1
34139   cat conftest.err >&5
34140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34141   (exit $ac_status); } &&
34142          { ac_try='test -z "$ac_cxx_werror_flag"
34143                          || test ! -s conftest.err'
34144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34145   (eval $ac_try) 2>&5
34146   ac_status=$?
34147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34148   (exit $ac_status); }; } &&
34149          { ac_try='test -s conftest.$ac_objext'
34150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34151   (eval $ac_try) 2>&5
34152   ac_status=$?
34153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34154   (exit $ac_status); }; }; then
34155   glibcxx_cv_func_sincos_use=yes
34156 else
34157   echo "$as_me: failed program was:" >&5
34158 sed 's/^/| /' conftest.$ac_ext >&5
34159
34160 glibcxx_cv_func_sincos_use=no
34161 fi
34162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34163       ac_ext=c
34164 ac_cpp='$CPP $CPPFLAGS'
34165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34168
34169
34170 fi
34171
34172   fi
34173   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
34174 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
34175
34176   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34177
34178 for ac_func in sincos
34179 do
34180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34181 echo "$as_me:$LINENO: checking for $ac_func" >&5
34182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34183 if eval "test \"\${$as_ac_var+set}\" = set"; then
34184   echo $ECHO_N "(cached) $ECHO_C" >&6
34185 else
34186   if test x$gcc_no_link = xyes; then
34187   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34189    { (exit 1); exit 1; }; }
34190 fi
34191 cat >conftest.$ac_ext <<_ACEOF
34192 /* confdefs.h.  */
34193 _ACEOF
34194 cat confdefs.h >>conftest.$ac_ext
34195 cat >>conftest.$ac_ext <<_ACEOF
34196 /* end confdefs.h.  */
34197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34198    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34199 #define $ac_func innocuous_$ac_func
34200
34201 /* System header to define __stub macros and hopefully few prototypes,
34202     which can conflict with char $ac_func (); below.
34203     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34204     <limits.h> exists even on freestanding compilers.  */
34205
34206 #ifdef __STDC__
34207 # include <limits.h>
34208 #else
34209 # include <assert.h>
34210 #endif
34211
34212 #undef $ac_func
34213
34214 /* Override any gcc2 internal prototype to avoid an error.  */
34215 #ifdef __cplusplus
34216 extern "C"
34217 {
34218 #endif
34219 /* We use char because int might match the return type of a gcc2
34220    builtin and then its argument prototype would still apply.  */
34221 char $ac_func ();
34222 /* The GNU C library defines this for functions which it implements
34223     to always fail with ENOSYS.  Some functions are actually named
34224     something starting with __ and the normal name is an alias.  */
34225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34226 choke me
34227 #else
34228 char (*f) () = $ac_func;
34229 #endif
34230 #ifdef __cplusplus
34231 }
34232 #endif
34233
34234 int
34235 main ()
34236 {
34237 return f != $ac_func;
34238   ;
34239   return 0;
34240 }
34241 _ACEOF
34242 rm -f conftest.$ac_objext conftest$ac_exeext
34243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34244   (eval $ac_link) 2>conftest.er1
34245   ac_status=$?
34246   grep -v '^ *+' conftest.er1 >conftest.err
34247   rm -f conftest.er1
34248   cat conftest.err >&5
34249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34250   (exit $ac_status); } &&
34251          { ac_try='test -z "$ac_c_werror_flag"
34252                          || test ! -s conftest.err'
34253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34254   (eval $ac_try) 2>&5
34255   ac_status=$?
34256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34257   (exit $ac_status); }; } &&
34258          { ac_try='test -s conftest$ac_exeext'
34259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34260   (eval $ac_try) 2>&5
34261   ac_status=$?
34262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34263   (exit $ac_status); }; }; then
34264   eval "$as_ac_var=yes"
34265 else
34266   echo "$as_me: failed program was:" >&5
34267 sed 's/^/| /' conftest.$ac_ext >&5
34268
34269 eval "$as_ac_var=no"
34270 fi
34271 rm -f conftest.err conftest.$ac_objext \
34272       conftest$ac_exeext conftest.$ac_ext
34273 fi
34274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34276 if test `eval echo '${'$as_ac_var'}'` = yes; then
34277   cat >>confdefs.h <<_ACEOF
34278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34279 _ACEOF
34280
34281 fi
34282 done
34283
34284   else
34285
34286   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
34287 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
34288   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34289     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
34290   echo $ECHO_N "(cached) $ECHO_C" >&6
34291 else
34292
34293
34294
34295       ac_ext=cc
34296 ac_cpp='$CXXCPP $CPPFLAGS'
34297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34300
34301       cat >conftest.$ac_ext <<_ACEOF
34302 /* confdefs.h.  */
34303 _ACEOF
34304 cat confdefs.h >>conftest.$ac_ext
34305 cat >>conftest.$ac_ext <<_ACEOF
34306 /* end confdefs.h.  */
34307 #include <math.h>
34308 int
34309 main ()
34310 {
34311  _sincos(0, 0, 0);
34312   ;
34313   return 0;
34314 }
34315 _ACEOF
34316 rm -f conftest.$ac_objext
34317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34318   (eval $ac_compile) 2>conftest.er1
34319   ac_status=$?
34320   grep -v '^ *+' conftest.er1 >conftest.err
34321   rm -f conftest.er1
34322   cat conftest.err >&5
34323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34324   (exit $ac_status); } &&
34325          { ac_try='test -z "$ac_cxx_werror_flag"
34326                          || test ! -s conftest.err'
34327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34328   (eval $ac_try) 2>&5
34329   ac_status=$?
34330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34331   (exit $ac_status); }; } &&
34332          { ac_try='test -s conftest.$ac_objext'
34333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34334   (eval $ac_try) 2>&5
34335   ac_status=$?
34336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34337   (exit $ac_status); }; }; then
34338   glibcxx_cv_func__sincos_use=yes
34339 else
34340   echo "$as_me: failed program was:" >&5
34341 sed 's/^/| /' conftest.$ac_ext >&5
34342
34343 glibcxx_cv_func__sincos_use=no
34344 fi
34345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34346       ac_ext=c
34347 ac_cpp='$CPP $CPPFLAGS'
34348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34351
34352
34353 fi
34354
34355   fi
34356   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
34357 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
34358
34359     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34360
34361 for ac_func in _sincos
34362 do
34363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34364 echo "$as_me:$LINENO: checking for $ac_func" >&5
34365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34366 if eval "test \"\${$as_ac_var+set}\" = set"; then
34367   echo $ECHO_N "(cached) $ECHO_C" >&6
34368 else
34369   if test x$gcc_no_link = xyes; then
34370   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34372    { (exit 1); exit 1; }; }
34373 fi
34374 cat >conftest.$ac_ext <<_ACEOF
34375 /* confdefs.h.  */
34376 _ACEOF
34377 cat confdefs.h >>conftest.$ac_ext
34378 cat >>conftest.$ac_ext <<_ACEOF
34379 /* end confdefs.h.  */
34380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34381    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34382 #define $ac_func innocuous_$ac_func
34383
34384 /* System header to define __stub macros and hopefully few prototypes,
34385     which can conflict with char $ac_func (); below.
34386     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34387     <limits.h> exists even on freestanding compilers.  */
34388
34389 #ifdef __STDC__
34390 # include <limits.h>
34391 #else
34392 # include <assert.h>
34393 #endif
34394
34395 #undef $ac_func
34396
34397 /* Override any gcc2 internal prototype to avoid an error.  */
34398 #ifdef __cplusplus
34399 extern "C"
34400 {
34401 #endif
34402 /* We use char because int might match the return type of a gcc2
34403    builtin and then its argument prototype would still apply.  */
34404 char $ac_func ();
34405 /* The GNU C library defines this for functions which it implements
34406     to always fail with ENOSYS.  Some functions are actually named
34407     something starting with __ and the normal name is an alias.  */
34408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34409 choke me
34410 #else
34411 char (*f) () = $ac_func;
34412 #endif
34413 #ifdef __cplusplus
34414 }
34415 #endif
34416
34417 int
34418 main ()
34419 {
34420 return f != $ac_func;
34421   ;
34422   return 0;
34423 }
34424 _ACEOF
34425 rm -f conftest.$ac_objext conftest$ac_exeext
34426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34427   (eval $ac_link) 2>conftest.er1
34428   ac_status=$?
34429   grep -v '^ *+' conftest.er1 >conftest.err
34430   rm -f conftest.er1
34431   cat conftest.err >&5
34432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34433   (exit $ac_status); } &&
34434          { ac_try='test -z "$ac_c_werror_flag"
34435                          || test ! -s conftest.err'
34436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34437   (eval $ac_try) 2>&5
34438   ac_status=$?
34439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34440   (exit $ac_status); }; } &&
34441          { ac_try='test -s conftest$ac_exeext'
34442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34443   (eval $ac_try) 2>&5
34444   ac_status=$?
34445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34446   (exit $ac_status); }; }; then
34447   eval "$as_ac_var=yes"
34448 else
34449   echo "$as_me: failed program was:" >&5
34450 sed 's/^/| /' conftest.$ac_ext >&5
34451
34452 eval "$as_ac_var=no"
34453 fi
34454 rm -f conftest.err conftest.$ac_objext \
34455       conftest$ac_exeext conftest.$ac_ext
34456 fi
34457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34459 if test `eval echo '${'$as_ac_var'}'` = yes; then
34460   cat >>confdefs.h <<_ACEOF
34461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34462 _ACEOF
34463
34464 fi
34465 done
34466
34467     fi
34468   fi
34469
34470
34471
34472
34473
34474
34475   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
34476 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
34477   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34478     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
34479   echo $ECHO_N "(cached) $ECHO_C" >&6
34480 else
34481
34482
34483
34484       ac_ext=cc
34485 ac_cpp='$CXXCPP $CPPFLAGS'
34486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34489
34490       cat >conftest.$ac_ext <<_ACEOF
34491 /* confdefs.h.  */
34492 _ACEOF
34493 cat confdefs.h >>conftest.$ac_ext
34494 cat >>conftest.$ac_ext <<_ACEOF
34495 /* end confdefs.h.  */
34496 #include <math.h>
34497                       #ifdef HAVE_IEEEFP_H
34498                       #include <ieeefp.h>
34499                       #endif
34500
34501 int
34502 main ()
34503 {
34504  fpclass(0);
34505   ;
34506   return 0;
34507 }
34508 _ACEOF
34509 rm -f conftest.$ac_objext
34510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34511   (eval $ac_compile) 2>conftest.er1
34512   ac_status=$?
34513   grep -v '^ *+' conftest.er1 >conftest.err
34514   rm -f conftest.er1
34515   cat conftest.err >&5
34516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34517   (exit $ac_status); } &&
34518          { ac_try='test -z "$ac_cxx_werror_flag"
34519                          || test ! -s conftest.err'
34520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34521   (eval $ac_try) 2>&5
34522   ac_status=$?
34523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524   (exit $ac_status); }; } &&
34525          { ac_try='test -s conftest.$ac_objext'
34526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34527   (eval $ac_try) 2>&5
34528   ac_status=$?
34529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34530   (exit $ac_status); }; }; then
34531   glibcxx_cv_func_fpclass_use=yes
34532 else
34533   echo "$as_me: failed program was:" >&5
34534 sed 's/^/| /' conftest.$ac_ext >&5
34535
34536 glibcxx_cv_func_fpclass_use=no
34537 fi
34538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34539       ac_ext=c
34540 ac_cpp='$CPP $CPPFLAGS'
34541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34544
34545
34546 fi
34547
34548   fi
34549   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
34550 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
34551
34552   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34553
34554 for ac_func in fpclass
34555 do
34556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34557 echo "$as_me:$LINENO: checking for $ac_func" >&5
34558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34559 if eval "test \"\${$as_ac_var+set}\" = set"; then
34560   echo $ECHO_N "(cached) $ECHO_C" >&6
34561 else
34562   if test x$gcc_no_link = xyes; then
34563   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34565    { (exit 1); exit 1; }; }
34566 fi
34567 cat >conftest.$ac_ext <<_ACEOF
34568 /* confdefs.h.  */
34569 _ACEOF
34570 cat confdefs.h >>conftest.$ac_ext
34571 cat >>conftest.$ac_ext <<_ACEOF
34572 /* end confdefs.h.  */
34573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34574    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34575 #define $ac_func innocuous_$ac_func
34576
34577 /* System header to define __stub macros and hopefully few prototypes,
34578     which can conflict with char $ac_func (); below.
34579     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34580     <limits.h> exists even on freestanding compilers.  */
34581
34582 #ifdef __STDC__
34583 # include <limits.h>
34584 #else
34585 # include <assert.h>
34586 #endif
34587
34588 #undef $ac_func
34589
34590 /* Override any gcc2 internal prototype to avoid an error.  */
34591 #ifdef __cplusplus
34592 extern "C"
34593 {
34594 #endif
34595 /* We use char because int might match the return type of a gcc2
34596    builtin and then its argument prototype would still apply.  */
34597 char $ac_func ();
34598 /* The GNU C library defines this for functions which it implements
34599     to always fail with ENOSYS.  Some functions are actually named
34600     something starting with __ and the normal name is an alias.  */
34601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34602 choke me
34603 #else
34604 char (*f) () = $ac_func;
34605 #endif
34606 #ifdef __cplusplus
34607 }
34608 #endif
34609
34610 int
34611 main ()
34612 {
34613 return f != $ac_func;
34614   ;
34615   return 0;
34616 }
34617 _ACEOF
34618 rm -f conftest.$ac_objext conftest$ac_exeext
34619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34620   (eval $ac_link) 2>conftest.er1
34621   ac_status=$?
34622   grep -v '^ *+' conftest.er1 >conftest.err
34623   rm -f conftest.er1
34624   cat conftest.err >&5
34625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34626   (exit $ac_status); } &&
34627          { ac_try='test -z "$ac_c_werror_flag"
34628                          || test ! -s conftest.err'
34629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34630   (eval $ac_try) 2>&5
34631   ac_status=$?
34632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34633   (exit $ac_status); }; } &&
34634          { ac_try='test -s conftest$ac_exeext'
34635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34636   (eval $ac_try) 2>&5
34637   ac_status=$?
34638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34639   (exit $ac_status); }; }; then
34640   eval "$as_ac_var=yes"
34641 else
34642   echo "$as_me: failed program was:" >&5
34643 sed 's/^/| /' conftest.$ac_ext >&5
34644
34645 eval "$as_ac_var=no"
34646 fi
34647 rm -f conftest.err conftest.$ac_objext \
34648       conftest$ac_exeext conftest.$ac_ext
34649 fi
34650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34652 if test `eval echo '${'$as_ac_var'}'` = yes; then
34653   cat >>confdefs.h <<_ACEOF
34654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34655 _ACEOF
34656
34657 fi
34658 done
34659
34660   else
34661
34662   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
34663 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
34664   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34665     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
34666   echo $ECHO_N "(cached) $ECHO_C" >&6
34667 else
34668
34669
34670
34671       ac_ext=cc
34672 ac_cpp='$CXXCPP $CPPFLAGS'
34673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34676
34677       cat >conftest.$ac_ext <<_ACEOF
34678 /* confdefs.h.  */
34679 _ACEOF
34680 cat confdefs.h >>conftest.$ac_ext
34681 cat >>conftest.$ac_ext <<_ACEOF
34682 /* end confdefs.h.  */
34683 #include <math.h>
34684                       #ifdef HAVE_IEEEFP_H
34685                       #include <ieeefp.h>
34686                       #endif
34687
34688 int
34689 main ()
34690 {
34691  _fpclass(0);
34692   ;
34693   return 0;
34694 }
34695 _ACEOF
34696 rm -f conftest.$ac_objext
34697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34698   (eval $ac_compile) 2>conftest.er1
34699   ac_status=$?
34700   grep -v '^ *+' conftest.er1 >conftest.err
34701   rm -f conftest.er1
34702   cat conftest.err >&5
34703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34704   (exit $ac_status); } &&
34705          { ac_try='test -z "$ac_cxx_werror_flag"
34706                          || test ! -s conftest.err'
34707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34708   (eval $ac_try) 2>&5
34709   ac_status=$?
34710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34711   (exit $ac_status); }; } &&
34712          { ac_try='test -s conftest.$ac_objext'
34713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34714   (eval $ac_try) 2>&5
34715   ac_status=$?
34716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34717   (exit $ac_status); }; }; then
34718   glibcxx_cv_func__fpclass_use=yes
34719 else
34720   echo "$as_me: failed program was:" >&5
34721 sed 's/^/| /' conftest.$ac_ext >&5
34722
34723 glibcxx_cv_func__fpclass_use=no
34724 fi
34725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34726       ac_ext=c
34727 ac_cpp='$CPP $CPPFLAGS'
34728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34731
34732
34733 fi
34734
34735   fi
34736   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
34737 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
34738
34739     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34740
34741 for ac_func in _fpclass
34742 do
34743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34744 echo "$as_me:$LINENO: checking for $ac_func" >&5
34745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34746 if eval "test \"\${$as_ac_var+set}\" = set"; then
34747   echo $ECHO_N "(cached) $ECHO_C" >&6
34748 else
34749   if test x$gcc_no_link = xyes; then
34750   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34752    { (exit 1); exit 1; }; }
34753 fi
34754 cat >conftest.$ac_ext <<_ACEOF
34755 /* confdefs.h.  */
34756 _ACEOF
34757 cat confdefs.h >>conftest.$ac_ext
34758 cat >>conftest.$ac_ext <<_ACEOF
34759 /* end confdefs.h.  */
34760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34761    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34762 #define $ac_func innocuous_$ac_func
34763
34764 /* System header to define __stub macros and hopefully few prototypes,
34765     which can conflict with char $ac_func (); below.
34766     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34767     <limits.h> exists even on freestanding compilers.  */
34768
34769 #ifdef __STDC__
34770 # include <limits.h>
34771 #else
34772 # include <assert.h>
34773 #endif
34774
34775 #undef $ac_func
34776
34777 /* Override any gcc2 internal prototype to avoid an error.  */
34778 #ifdef __cplusplus
34779 extern "C"
34780 {
34781 #endif
34782 /* We use char because int might match the return type of a gcc2
34783    builtin and then its argument prototype would still apply.  */
34784 char $ac_func ();
34785 /* The GNU C library defines this for functions which it implements
34786     to always fail with ENOSYS.  Some functions are actually named
34787     something starting with __ and the normal name is an alias.  */
34788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34789 choke me
34790 #else
34791 char (*f) () = $ac_func;
34792 #endif
34793 #ifdef __cplusplus
34794 }
34795 #endif
34796
34797 int
34798 main ()
34799 {
34800 return f != $ac_func;
34801   ;
34802   return 0;
34803 }
34804 _ACEOF
34805 rm -f conftest.$ac_objext conftest$ac_exeext
34806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34807   (eval $ac_link) 2>conftest.er1
34808   ac_status=$?
34809   grep -v '^ *+' conftest.er1 >conftest.err
34810   rm -f conftest.er1
34811   cat conftest.err >&5
34812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34813   (exit $ac_status); } &&
34814          { ac_try='test -z "$ac_c_werror_flag"
34815                          || test ! -s conftest.err'
34816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34817   (eval $ac_try) 2>&5
34818   ac_status=$?
34819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34820   (exit $ac_status); }; } &&
34821          { ac_try='test -s conftest$ac_exeext'
34822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34823   (eval $ac_try) 2>&5
34824   ac_status=$?
34825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34826   (exit $ac_status); }; }; then
34827   eval "$as_ac_var=yes"
34828 else
34829   echo "$as_me: failed program was:" >&5
34830 sed 's/^/| /' conftest.$ac_ext >&5
34831
34832 eval "$as_ac_var=no"
34833 fi
34834 rm -f conftest.err conftest.$ac_objext \
34835       conftest$ac_exeext conftest.$ac_ext
34836 fi
34837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34839 if test `eval echo '${'$as_ac_var'}'` = yes; then
34840   cat >>confdefs.h <<_ACEOF
34841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34842 _ACEOF
34843
34844 fi
34845 done
34846
34847     fi
34848   fi
34849
34850
34851
34852
34853
34854
34855   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
34856 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
34857   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34858     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
34859   echo $ECHO_N "(cached) $ECHO_C" >&6
34860 else
34861
34862
34863
34864       ac_ext=cc
34865 ac_cpp='$CXXCPP $CPPFLAGS'
34866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34869
34870       cat >conftest.$ac_ext <<_ACEOF
34871 /* confdefs.h.  */
34872 _ACEOF
34873 cat confdefs.h >>conftest.$ac_ext
34874 cat >>conftest.$ac_ext <<_ACEOF
34875 /* end confdefs.h.  */
34876 #include <math.h>
34877                       #ifdef HAVE_IEEEFP_H
34878                       #include <ieeefp.h>
34879                       #endif
34880
34881 int
34882 main ()
34883 {
34884  qfpclass(0);
34885   ;
34886   return 0;
34887 }
34888 _ACEOF
34889 rm -f conftest.$ac_objext
34890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34891   (eval $ac_compile) 2>conftest.er1
34892   ac_status=$?
34893   grep -v '^ *+' conftest.er1 >conftest.err
34894   rm -f conftest.er1
34895   cat conftest.err >&5
34896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34897   (exit $ac_status); } &&
34898          { ac_try='test -z "$ac_cxx_werror_flag"
34899                          || test ! -s conftest.err'
34900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34901   (eval $ac_try) 2>&5
34902   ac_status=$?
34903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34904   (exit $ac_status); }; } &&
34905          { ac_try='test -s conftest.$ac_objext'
34906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34907   (eval $ac_try) 2>&5
34908   ac_status=$?
34909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34910   (exit $ac_status); }; }; then
34911   glibcxx_cv_func_qfpclass_use=yes
34912 else
34913   echo "$as_me: failed program was:" >&5
34914 sed 's/^/| /' conftest.$ac_ext >&5
34915
34916 glibcxx_cv_func_qfpclass_use=no
34917 fi
34918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34919       ac_ext=c
34920 ac_cpp='$CPP $CPPFLAGS'
34921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34924
34925
34926 fi
34927
34928   fi
34929   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
34930 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
34931
34932   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34933
34934 for ac_func in qfpclass
34935 do
34936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34937 echo "$as_me:$LINENO: checking for $ac_func" >&5
34938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34939 if eval "test \"\${$as_ac_var+set}\" = set"; then
34940   echo $ECHO_N "(cached) $ECHO_C" >&6
34941 else
34942   if test x$gcc_no_link = xyes; then
34943   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34945    { (exit 1); exit 1; }; }
34946 fi
34947 cat >conftest.$ac_ext <<_ACEOF
34948 /* confdefs.h.  */
34949 _ACEOF
34950 cat confdefs.h >>conftest.$ac_ext
34951 cat >>conftest.$ac_ext <<_ACEOF
34952 /* end confdefs.h.  */
34953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34954    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34955 #define $ac_func innocuous_$ac_func
34956
34957 /* System header to define __stub macros and hopefully few prototypes,
34958     which can conflict with char $ac_func (); below.
34959     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34960     <limits.h> exists even on freestanding compilers.  */
34961
34962 #ifdef __STDC__
34963 # include <limits.h>
34964 #else
34965 # include <assert.h>
34966 #endif
34967
34968 #undef $ac_func
34969
34970 /* Override any gcc2 internal prototype to avoid an error.  */
34971 #ifdef __cplusplus
34972 extern "C"
34973 {
34974 #endif
34975 /* We use char because int might match the return type of a gcc2
34976    builtin and then its argument prototype would still apply.  */
34977 char $ac_func ();
34978 /* The GNU C library defines this for functions which it implements
34979     to always fail with ENOSYS.  Some functions are actually named
34980     something starting with __ and the normal name is an alias.  */
34981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34982 choke me
34983 #else
34984 char (*f) () = $ac_func;
34985 #endif
34986 #ifdef __cplusplus
34987 }
34988 #endif
34989
34990 int
34991 main ()
34992 {
34993 return f != $ac_func;
34994   ;
34995   return 0;
34996 }
34997 _ACEOF
34998 rm -f conftest.$ac_objext conftest$ac_exeext
34999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35000   (eval $ac_link) 2>conftest.er1
35001   ac_status=$?
35002   grep -v '^ *+' conftest.er1 >conftest.err
35003   rm -f conftest.er1
35004   cat conftest.err >&5
35005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35006   (exit $ac_status); } &&
35007          { ac_try='test -z "$ac_c_werror_flag"
35008                          || test ! -s conftest.err'
35009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35010   (eval $ac_try) 2>&5
35011   ac_status=$?
35012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35013   (exit $ac_status); }; } &&
35014          { ac_try='test -s conftest$ac_exeext'
35015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35016   (eval $ac_try) 2>&5
35017   ac_status=$?
35018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35019   (exit $ac_status); }; }; then
35020   eval "$as_ac_var=yes"
35021 else
35022   echo "$as_me: failed program was:" >&5
35023 sed 's/^/| /' conftest.$ac_ext >&5
35024
35025 eval "$as_ac_var=no"
35026 fi
35027 rm -f conftest.err conftest.$ac_objext \
35028       conftest$ac_exeext conftest.$ac_ext
35029 fi
35030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35032 if test `eval echo '${'$as_ac_var'}'` = yes; then
35033   cat >>confdefs.h <<_ACEOF
35034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35035 _ACEOF
35036
35037 fi
35038 done
35039
35040   else
35041
35042   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
35043 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
35044   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35045     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
35046   echo $ECHO_N "(cached) $ECHO_C" >&6
35047 else
35048
35049
35050
35051       ac_ext=cc
35052 ac_cpp='$CXXCPP $CPPFLAGS'
35053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35056
35057       cat >conftest.$ac_ext <<_ACEOF
35058 /* confdefs.h.  */
35059 _ACEOF
35060 cat confdefs.h >>conftest.$ac_ext
35061 cat >>conftest.$ac_ext <<_ACEOF
35062 /* end confdefs.h.  */
35063 #include <math.h>
35064                       #ifdef HAVE_IEEEFP_H
35065                       #include <ieeefp.h>
35066                       #endif
35067
35068 int
35069 main ()
35070 {
35071  _qfpclass(0);
35072   ;
35073   return 0;
35074 }
35075 _ACEOF
35076 rm -f conftest.$ac_objext
35077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35078   (eval $ac_compile) 2>conftest.er1
35079   ac_status=$?
35080   grep -v '^ *+' conftest.er1 >conftest.err
35081   rm -f conftest.er1
35082   cat conftest.err >&5
35083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35084   (exit $ac_status); } &&
35085          { ac_try='test -z "$ac_cxx_werror_flag"
35086                          || test ! -s conftest.err'
35087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35088   (eval $ac_try) 2>&5
35089   ac_status=$?
35090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35091   (exit $ac_status); }; } &&
35092          { ac_try='test -s conftest.$ac_objext'
35093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35094   (eval $ac_try) 2>&5
35095   ac_status=$?
35096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35097   (exit $ac_status); }; }; then
35098   glibcxx_cv_func__qfpclass_use=yes
35099 else
35100   echo "$as_me: failed program was:" >&5
35101 sed 's/^/| /' conftest.$ac_ext >&5
35102
35103 glibcxx_cv_func__qfpclass_use=no
35104 fi
35105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35106       ac_ext=c
35107 ac_cpp='$CPP $CPPFLAGS'
35108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35111
35112
35113 fi
35114
35115   fi
35116   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
35117 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
35118
35119     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35120
35121 for ac_func in _qfpclass
35122 do
35123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35124 echo "$as_me:$LINENO: checking for $ac_func" >&5
35125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35126 if eval "test \"\${$as_ac_var+set}\" = set"; then
35127   echo $ECHO_N "(cached) $ECHO_C" >&6
35128 else
35129   if test x$gcc_no_link = xyes; then
35130   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35132    { (exit 1); exit 1; }; }
35133 fi
35134 cat >conftest.$ac_ext <<_ACEOF
35135 /* confdefs.h.  */
35136 _ACEOF
35137 cat confdefs.h >>conftest.$ac_ext
35138 cat >>conftest.$ac_ext <<_ACEOF
35139 /* end confdefs.h.  */
35140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35141    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35142 #define $ac_func innocuous_$ac_func
35143
35144 /* System header to define __stub macros and hopefully few prototypes,
35145     which can conflict with char $ac_func (); below.
35146     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35147     <limits.h> exists even on freestanding compilers.  */
35148
35149 #ifdef __STDC__
35150 # include <limits.h>
35151 #else
35152 # include <assert.h>
35153 #endif
35154
35155 #undef $ac_func
35156
35157 /* Override any gcc2 internal prototype to avoid an error.  */
35158 #ifdef __cplusplus
35159 extern "C"
35160 {
35161 #endif
35162 /* We use char because int might match the return type of a gcc2
35163    builtin and then its argument prototype would still apply.  */
35164 char $ac_func ();
35165 /* The GNU C library defines this for functions which it implements
35166     to always fail with ENOSYS.  Some functions are actually named
35167     something starting with __ and the normal name is an alias.  */
35168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35169 choke me
35170 #else
35171 char (*f) () = $ac_func;
35172 #endif
35173 #ifdef __cplusplus
35174 }
35175 #endif
35176
35177 int
35178 main ()
35179 {
35180 return f != $ac_func;
35181   ;
35182   return 0;
35183 }
35184 _ACEOF
35185 rm -f conftest.$ac_objext conftest$ac_exeext
35186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35187   (eval $ac_link) 2>conftest.er1
35188   ac_status=$?
35189   grep -v '^ *+' conftest.er1 >conftest.err
35190   rm -f conftest.er1
35191   cat conftest.err >&5
35192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35193   (exit $ac_status); } &&
35194          { ac_try='test -z "$ac_c_werror_flag"
35195                          || test ! -s conftest.err'
35196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35197   (eval $ac_try) 2>&5
35198   ac_status=$?
35199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35200   (exit $ac_status); }; } &&
35201          { ac_try='test -s conftest$ac_exeext'
35202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35203   (eval $ac_try) 2>&5
35204   ac_status=$?
35205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206   (exit $ac_status); }; }; then
35207   eval "$as_ac_var=yes"
35208 else
35209   echo "$as_me: failed program was:" >&5
35210 sed 's/^/| /' conftest.$ac_ext >&5
35211
35212 eval "$as_ac_var=no"
35213 fi
35214 rm -f conftest.err conftest.$ac_objext \
35215       conftest$ac_exeext conftest.$ac_ext
35216 fi
35217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35219 if test `eval echo '${'$as_ac_var'}'` = yes; then
35220   cat >>confdefs.h <<_ACEOF
35221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35222 _ACEOF
35223
35224 fi
35225 done
35226
35227     fi
35228   fi
35229
35230
35231
35232
35233
35234
35235   echo "$as_me:$LINENO: checking for hypot declaration" >&5
35236 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
35237   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35238     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
35239   echo $ECHO_N "(cached) $ECHO_C" >&6
35240 else
35241
35242
35243
35244       ac_ext=cc
35245 ac_cpp='$CXXCPP $CPPFLAGS'
35246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35249
35250       cat >conftest.$ac_ext <<_ACEOF
35251 /* confdefs.h.  */
35252 _ACEOF
35253 cat confdefs.h >>conftest.$ac_ext
35254 cat >>conftest.$ac_ext <<_ACEOF
35255 /* end confdefs.h.  */
35256 #include <math.h>
35257 int
35258 main ()
35259 {
35260  hypot(0, 0);
35261   ;
35262   return 0;
35263 }
35264 _ACEOF
35265 rm -f conftest.$ac_objext
35266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35267   (eval $ac_compile) 2>conftest.er1
35268   ac_status=$?
35269   grep -v '^ *+' conftest.er1 >conftest.err
35270   rm -f conftest.er1
35271   cat conftest.err >&5
35272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35273   (exit $ac_status); } &&
35274          { ac_try='test -z "$ac_cxx_werror_flag"
35275                          || test ! -s conftest.err'
35276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35277   (eval $ac_try) 2>&5
35278   ac_status=$?
35279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35280   (exit $ac_status); }; } &&
35281          { ac_try='test -s conftest.$ac_objext'
35282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35283   (eval $ac_try) 2>&5
35284   ac_status=$?
35285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35286   (exit $ac_status); }; }; then
35287   glibcxx_cv_func_hypot_use=yes
35288 else
35289   echo "$as_me: failed program was:" >&5
35290 sed 's/^/| /' conftest.$ac_ext >&5
35291
35292 glibcxx_cv_func_hypot_use=no
35293 fi
35294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35295       ac_ext=c
35296 ac_cpp='$CPP $CPPFLAGS'
35297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35300
35301
35302 fi
35303
35304   fi
35305   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
35306 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
35307
35308   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35309
35310 for ac_func in hypot
35311 do
35312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35313 echo "$as_me:$LINENO: checking for $ac_func" >&5
35314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35315 if eval "test \"\${$as_ac_var+set}\" = set"; then
35316   echo $ECHO_N "(cached) $ECHO_C" >&6
35317 else
35318   if test x$gcc_no_link = xyes; then
35319   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35321    { (exit 1); exit 1; }; }
35322 fi
35323 cat >conftest.$ac_ext <<_ACEOF
35324 /* confdefs.h.  */
35325 _ACEOF
35326 cat confdefs.h >>conftest.$ac_ext
35327 cat >>conftest.$ac_ext <<_ACEOF
35328 /* end confdefs.h.  */
35329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35330    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35331 #define $ac_func innocuous_$ac_func
35332
35333 /* System header to define __stub macros and hopefully few prototypes,
35334     which can conflict with char $ac_func (); below.
35335     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35336     <limits.h> exists even on freestanding compilers.  */
35337
35338 #ifdef __STDC__
35339 # include <limits.h>
35340 #else
35341 # include <assert.h>
35342 #endif
35343
35344 #undef $ac_func
35345
35346 /* Override any gcc2 internal prototype to avoid an error.  */
35347 #ifdef __cplusplus
35348 extern "C"
35349 {
35350 #endif
35351 /* We use char because int might match the return type of a gcc2
35352    builtin and then its argument prototype would still apply.  */
35353 char $ac_func ();
35354 /* The GNU C library defines this for functions which it implements
35355     to always fail with ENOSYS.  Some functions are actually named
35356     something starting with __ and the normal name is an alias.  */
35357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35358 choke me
35359 #else
35360 char (*f) () = $ac_func;
35361 #endif
35362 #ifdef __cplusplus
35363 }
35364 #endif
35365
35366 int
35367 main ()
35368 {
35369 return f != $ac_func;
35370   ;
35371   return 0;
35372 }
35373 _ACEOF
35374 rm -f conftest.$ac_objext conftest$ac_exeext
35375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35376   (eval $ac_link) 2>conftest.er1
35377   ac_status=$?
35378   grep -v '^ *+' conftest.er1 >conftest.err
35379   rm -f conftest.er1
35380   cat conftest.err >&5
35381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35382   (exit $ac_status); } &&
35383          { ac_try='test -z "$ac_c_werror_flag"
35384                          || test ! -s conftest.err'
35385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35386   (eval $ac_try) 2>&5
35387   ac_status=$?
35388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389   (exit $ac_status); }; } &&
35390          { ac_try='test -s conftest$ac_exeext'
35391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35392   (eval $ac_try) 2>&5
35393   ac_status=$?
35394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35395   (exit $ac_status); }; }; then
35396   eval "$as_ac_var=yes"
35397 else
35398   echo "$as_me: failed program was:" >&5
35399 sed 's/^/| /' conftest.$ac_ext >&5
35400
35401 eval "$as_ac_var=no"
35402 fi
35403 rm -f conftest.err conftest.$ac_objext \
35404       conftest$ac_exeext conftest.$ac_ext
35405 fi
35406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35408 if test `eval echo '${'$as_ac_var'}'` = yes; then
35409   cat >>confdefs.h <<_ACEOF
35410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35411 _ACEOF
35412
35413 fi
35414 done
35415
35416   else
35417
35418   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
35419 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
35420   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35421     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
35422   echo $ECHO_N "(cached) $ECHO_C" >&6
35423 else
35424
35425
35426
35427       ac_ext=cc
35428 ac_cpp='$CXXCPP $CPPFLAGS'
35429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35432
35433       cat >conftest.$ac_ext <<_ACEOF
35434 /* confdefs.h.  */
35435 _ACEOF
35436 cat confdefs.h >>conftest.$ac_ext
35437 cat >>conftest.$ac_ext <<_ACEOF
35438 /* end confdefs.h.  */
35439 #include <math.h>
35440 int
35441 main ()
35442 {
35443  _hypot(0, 0);
35444   ;
35445   return 0;
35446 }
35447 _ACEOF
35448 rm -f conftest.$ac_objext
35449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35450   (eval $ac_compile) 2>conftest.er1
35451   ac_status=$?
35452   grep -v '^ *+' conftest.er1 >conftest.err
35453   rm -f conftest.er1
35454   cat conftest.err >&5
35455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35456   (exit $ac_status); } &&
35457          { ac_try='test -z "$ac_cxx_werror_flag"
35458                          || test ! -s conftest.err'
35459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35460   (eval $ac_try) 2>&5
35461   ac_status=$?
35462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35463   (exit $ac_status); }; } &&
35464          { ac_try='test -s conftest.$ac_objext'
35465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35466   (eval $ac_try) 2>&5
35467   ac_status=$?
35468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35469   (exit $ac_status); }; }; then
35470   glibcxx_cv_func__hypot_use=yes
35471 else
35472   echo "$as_me: failed program was:" >&5
35473 sed 's/^/| /' conftest.$ac_ext >&5
35474
35475 glibcxx_cv_func__hypot_use=no
35476 fi
35477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35478       ac_ext=c
35479 ac_cpp='$CPP $CPPFLAGS'
35480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35483
35484
35485 fi
35486
35487   fi
35488   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
35489 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
35490
35491     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35492
35493 for ac_func in _hypot
35494 do
35495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35496 echo "$as_me:$LINENO: checking for $ac_func" >&5
35497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35498 if eval "test \"\${$as_ac_var+set}\" = set"; then
35499   echo $ECHO_N "(cached) $ECHO_C" >&6
35500 else
35501   if test x$gcc_no_link = xyes; then
35502   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35504    { (exit 1); exit 1; }; }
35505 fi
35506 cat >conftest.$ac_ext <<_ACEOF
35507 /* confdefs.h.  */
35508 _ACEOF
35509 cat confdefs.h >>conftest.$ac_ext
35510 cat >>conftest.$ac_ext <<_ACEOF
35511 /* end confdefs.h.  */
35512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35513    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35514 #define $ac_func innocuous_$ac_func
35515
35516 /* System header to define __stub macros and hopefully few prototypes,
35517     which can conflict with char $ac_func (); below.
35518     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35519     <limits.h> exists even on freestanding compilers.  */
35520
35521 #ifdef __STDC__
35522 # include <limits.h>
35523 #else
35524 # include <assert.h>
35525 #endif
35526
35527 #undef $ac_func
35528
35529 /* Override any gcc2 internal prototype to avoid an error.  */
35530 #ifdef __cplusplus
35531 extern "C"
35532 {
35533 #endif
35534 /* We use char because int might match the return type of a gcc2
35535    builtin and then its argument prototype would still apply.  */
35536 char $ac_func ();
35537 /* The GNU C library defines this for functions which it implements
35538     to always fail with ENOSYS.  Some functions are actually named
35539     something starting with __ and the normal name is an alias.  */
35540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35541 choke me
35542 #else
35543 char (*f) () = $ac_func;
35544 #endif
35545 #ifdef __cplusplus
35546 }
35547 #endif
35548
35549 int
35550 main ()
35551 {
35552 return f != $ac_func;
35553   ;
35554   return 0;
35555 }
35556 _ACEOF
35557 rm -f conftest.$ac_objext conftest$ac_exeext
35558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35559   (eval $ac_link) 2>conftest.er1
35560   ac_status=$?
35561   grep -v '^ *+' conftest.er1 >conftest.err
35562   rm -f conftest.er1
35563   cat conftest.err >&5
35564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35565   (exit $ac_status); } &&
35566          { ac_try='test -z "$ac_c_werror_flag"
35567                          || test ! -s conftest.err'
35568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35569   (eval $ac_try) 2>&5
35570   ac_status=$?
35571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572   (exit $ac_status); }; } &&
35573          { ac_try='test -s conftest$ac_exeext'
35574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35575   (eval $ac_try) 2>&5
35576   ac_status=$?
35577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35578   (exit $ac_status); }; }; then
35579   eval "$as_ac_var=yes"
35580 else
35581   echo "$as_me: failed program was:" >&5
35582 sed 's/^/| /' conftest.$ac_ext >&5
35583
35584 eval "$as_ac_var=no"
35585 fi
35586 rm -f conftest.err conftest.$ac_objext \
35587       conftest$ac_exeext conftest.$ac_ext
35588 fi
35589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35591 if test `eval echo '${'$as_ac_var'}'` = yes; then
35592   cat >>confdefs.h <<_ACEOF
35593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35594 _ACEOF
35595
35596 fi
35597 done
35598
35599     fi
35600   fi
35601
35602
35603
35604
35605
35606
35607     echo "$as_me:$LINENO: checking for float trig functions" >&5
35608 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
35609   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
35610   echo $ECHO_N "(cached) $ECHO_C" >&6
35611 else
35612
35613
35614
35615     ac_ext=cc
35616 ac_cpp='$CXXCPP $CPPFLAGS'
35617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35620
35621     cat >conftest.$ac_ext <<_ACEOF
35622 /* confdefs.h.  */
35623 _ACEOF
35624 cat confdefs.h >>conftest.$ac_ext
35625 cat >>conftest.$ac_ext <<_ACEOF
35626 /* end confdefs.h.  */
35627 #include <math.h>
35628 int
35629 main ()
35630 {
35631 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35632   ;
35633   return 0;
35634 }
35635 _ACEOF
35636 rm -f conftest.$ac_objext
35637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35638   (eval $ac_compile) 2>conftest.er1
35639   ac_status=$?
35640   grep -v '^ *+' conftest.er1 >conftest.err
35641   rm -f conftest.er1
35642   cat conftest.err >&5
35643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35644   (exit $ac_status); } &&
35645          { ac_try='test -z "$ac_cxx_werror_flag"
35646                          || test ! -s conftest.err'
35647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35648   (eval $ac_try) 2>&5
35649   ac_status=$?
35650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35651   (exit $ac_status); }; } &&
35652          { ac_try='test -s conftest.$ac_objext'
35653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35654   (eval $ac_try) 2>&5
35655   ac_status=$?
35656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35657   (exit $ac_status); }; }; then
35658   glibcxx_cv_func_float_trig_use=yes
35659 else
35660   echo "$as_me: failed program was:" >&5
35661 sed 's/^/| /' conftest.$ac_ext >&5
35662
35663 glibcxx_cv_func_float_trig_use=no
35664 fi
35665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35666     ac_ext=c
35667 ac_cpp='$CPP $CPPFLAGS'
35668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35671
35672 fi
35673
35674   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
35675 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
35676   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35677
35678
35679
35680
35681
35682
35683
35684
35685
35686 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35687 do
35688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35689 echo "$as_me:$LINENO: checking for $ac_func" >&5
35690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35691 if eval "test \"\${$as_ac_var+set}\" = set"; then
35692   echo $ECHO_N "(cached) $ECHO_C" >&6
35693 else
35694   if test x$gcc_no_link = xyes; then
35695   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35697    { (exit 1); exit 1; }; }
35698 fi
35699 cat >conftest.$ac_ext <<_ACEOF
35700 /* confdefs.h.  */
35701 _ACEOF
35702 cat confdefs.h >>conftest.$ac_ext
35703 cat >>conftest.$ac_ext <<_ACEOF
35704 /* end confdefs.h.  */
35705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35706    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35707 #define $ac_func innocuous_$ac_func
35708
35709 /* System header to define __stub macros and hopefully few prototypes,
35710     which can conflict with char $ac_func (); below.
35711     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35712     <limits.h> exists even on freestanding compilers.  */
35713
35714 #ifdef __STDC__
35715 # include <limits.h>
35716 #else
35717 # include <assert.h>
35718 #endif
35719
35720 #undef $ac_func
35721
35722 /* Override any gcc2 internal prototype to avoid an error.  */
35723 #ifdef __cplusplus
35724 extern "C"
35725 {
35726 #endif
35727 /* We use char because int might match the return type of a gcc2
35728    builtin and then its argument prototype would still apply.  */
35729 char $ac_func ();
35730 /* The GNU C library defines this for functions which it implements
35731     to always fail with ENOSYS.  Some functions are actually named
35732     something starting with __ and the normal name is an alias.  */
35733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35734 choke me
35735 #else
35736 char (*f) () = $ac_func;
35737 #endif
35738 #ifdef __cplusplus
35739 }
35740 #endif
35741
35742 int
35743 main ()
35744 {
35745 return f != $ac_func;
35746   ;
35747   return 0;
35748 }
35749 _ACEOF
35750 rm -f conftest.$ac_objext conftest$ac_exeext
35751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35752   (eval $ac_link) 2>conftest.er1
35753   ac_status=$?
35754   grep -v '^ *+' conftest.er1 >conftest.err
35755   rm -f conftest.er1
35756   cat conftest.err >&5
35757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35758   (exit $ac_status); } &&
35759          { ac_try='test -z "$ac_c_werror_flag"
35760                          || test ! -s conftest.err'
35761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35762   (eval $ac_try) 2>&5
35763   ac_status=$?
35764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35765   (exit $ac_status); }; } &&
35766          { ac_try='test -s conftest$ac_exeext'
35767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35768   (eval $ac_try) 2>&5
35769   ac_status=$?
35770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35771   (exit $ac_status); }; }; then
35772   eval "$as_ac_var=yes"
35773 else
35774   echo "$as_me: failed program was:" >&5
35775 sed 's/^/| /' conftest.$ac_ext >&5
35776
35777 eval "$as_ac_var=no"
35778 fi
35779 rm -f conftest.err conftest.$ac_objext \
35780       conftest$ac_exeext conftest.$ac_ext
35781 fi
35782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35784 if test `eval echo '${'$as_ac_var'}'` = yes; then
35785   cat >>confdefs.h <<_ACEOF
35786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35787 _ACEOF
35788
35789 fi
35790 done
35791
35792   else
35793     echo "$as_me:$LINENO: checking for _float trig functions" >&5
35794 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
35795     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
35796   echo $ECHO_N "(cached) $ECHO_C" >&6
35797 else
35798
35799
35800
35801       ac_ext=cc
35802 ac_cpp='$CXXCPP $CPPFLAGS'
35803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35806
35807       cat >conftest.$ac_ext <<_ACEOF
35808 /* confdefs.h.  */
35809 _ACEOF
35810 cat confdefs.h >>conftest.$ac_ext
35811 cat >>conftest.$ac_ext <<_ACEOF
35812 /* end confdefs.h.  */
35813 #include <math.h>
35814 int
35815 main ()
35816 {
35817 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35818   ;
35819   return 0;
35820 }
35821 _ACEOF
35822 rm -f conftest.$ac_objext
35823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35824   (eval $ac_compile) 2>conftest.er1
35825   ac_status=$?
35826   grep -v '^ *+' conftest.er1 >conftest.err
35827   rm -f conftest.er1
35828   cat conftest.err >&5
35829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35830   (exit $ac_status); } &&
35831          { ac_try='test -z "$ac_cxx_werror_flag"
35832                          || test ! -s conftest.err'
35833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35834   (eval $ac_try) 2>&5
35835   ac_status=$?
35836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35837   (exit $ac_status); }; } &&
35838          { ac_try='test -s conftest.$ac_objext'
35839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35840   (eval $ac_try) 2>&5
35841   ac_status=$?
35842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35843   (exit $ac_status); }; }; then
35844   glibcxx_cv_func__float_trig_use=yes
35845 else
35846   echo "$as_me: failed program was:" >&5
35847 sed 's/^/| /' conftest.$ac_ext >&5
35848
35849 glibcxx_cv_func__float_trig_use=no
35850 fi
35851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35852       ac_ext=c
35853 ac_cpp='$CPP $CPPFLAGS'
35854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35857
35858 fi
35859
35860     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
35861 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
35862     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35863
35864
35865
35866
35867
35868
35869
35870
35871
35872 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35873 do
35874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35875 echo "$as_me:$LINENO: checking for $ac_func" >&5
35876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35877 if eval "test \"\${$as_ac_var+set}\" = set"; then
35878   echo $ECHO_N "(cached) $ECHO_C" >&6
35879 else
35880   if test x$gcc_no_link = xyes; then
35881   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35883    { (exit 1); exit 1; }; }
35884 fi
35885 cat >conftest.$ac_ext <<_ACEOF
35886 /* confdefs.h.  */
35887 _ACEOF
35888 cat confdefs.h >>conftest.$ac_ext
35889 cat >>conftest.$ac_ext <<_ACEOF
35890 /* end confdefs.h.  */
35891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35892    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35893 #define $ac_func innocuous_$ac_func
35894
35895 /* System header to define __stub macros and hopefully few prototypes,
35896     which can conflict with char $ac_func (); below.
35897     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35898     <limits.h> exists even on freestanding compilers.  */
35899
35900 #ifdef __STDC__
35901 # include <limits.h>
35902 #else
35903 # include <assert.h>
35904 #endif
35905
35906 #undef $ac_func
35907
35908 /* Override any gcc2 internal prototype to avoid an error.  */
35909 #ifdef __cplusplus
35910 extern "C"
35911 {
35912 #endif
35913 /* We use char because int might match the return type of a gcc2
35914    builtin and then its argument prototype would still apply.  */
35915 char $ac_func ();
35916 /* The GNU C library defines this for functions which it implements
35917     to always fail with ENOSYS.  Some functions are actually named
35918     something starting with __ and the normal name is an alias.  */
35919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35920 choke me
35921 #else
35922 char (*f) () = $ac_func;
35923 #endif
35924 #ifdef __cplusplus
35925 }
35926 #endif
35927
35928 int
35929 main ()
35930 {
35931 return f != $ac_func;
35932   ;
35933   return 0;
35934 }
35935 _ACEOF
35936 rm -f conftest.$ac_objext conftest$ac_exeext
35937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35938   (eval $ac_link) 2>conftest.er1
35939   ac_status=$?
35940   grep -v '^ *+' conftest.er1 >conftest.err
35941   rm -f conftest.er1
35942   cat conftest.err >&5
35943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35944   (exit $ac_status); } &&
35945          { ac_try='test -z "$ac_c_werror_flag"
35946                          || test ! -s conftest.err'
35947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35948   (eval $ac_try) 2>&5
35949   ac_status=$?
35950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35951   (exit $ac_status); }; } &&
35952          { ac_try='test -s conftest$ac_exeext'
35953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35954   (eval $ac_try) 2>&5
35955   ac_status=$?
35956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35957   (exit $ac_status); }; }; then
35958   eval "$as_ac_var=yes"
35959 else
35960   echo "$as_me: failed program was:" >&5
35961 sed 's/^/| /' conftest.$ac_ext >&5
35962
35963 eval "$as_ac_var=no"
35964 fi
35965 rm -f conftest.err conftest.$ac_objext \
35966       conftest$ac_exeext conftest.$ac_ext
35967 fi
35968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35970 if test `eval echo '${'$as_ac_var'}'` = yes; then
35971   cat >>confdefs.h <<_ACEOF
35972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35973 _ACEOF
35974
35975 fi
35976 done
35977
35978     fi
35979   fi
35980
35981
35982
35983
35984
35985
35986
35987
35988
35989
35990
35991
35992
35993
35994     echo "$as_me:$LINENO: checking for float round functions" >&5
35995 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
35996   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
35997   echo $ECHO_N "(cached) $ECHO_C" >&6
35998 else
35999
36000
36001
36002     ac_ext=cc
36003 ac_cpp='$CXXCPP $CPPFLAGS'
36004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36007
36008     cat >conftest.$ac_ext <<_ACEOF
36009 /* confdefs.h.  */
36010 _ACEOF
36011 cat confdefs.h >>conftest.$ac_ext
36012 cat >>conftest.$ac_ext <<_ACEOF
36013 /* end confdefs.h.  */
36014 #include <math.h>
36015 int
36016 main ()
36017 {
36018 ceilf (0); floorf (0);
36019   ;
36020   return 0;
36021 }
36022 _ACEOF
36023 rm -f conftest.$ac_objext
36024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36025   (eval $ac_compile) 2>conftest.er1
36026   ac_status=$?
36027   grep -v '^ *+' conftest.er1 >conftest.err
36028   rm -f conftest.er1
36029   cat conftest.err >&5
36030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36031   (exit $ac_status); } &&
36032          { ac_try='test -z "$ac_cxx_werror_flag"
36033                          || test ! -s conftest.err'
36034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36035   (eval $ac_try) 2>&5
36036   ac_status=$?
36037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36038   (exit $ac_status); }; } &&
36039          { ac_try='test -s conftest.$ac_objext'
36040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36041   (eval $ac_try) 2>&5
36042   ac_status=$?
36043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36044   (exit $ac_status); }; }; then
36045   glibcxx_cv_func_float_round_use=yes
36046 else
36047   echo "$as_me: failed program was:" >&5
36048 sed 's/^/| /' conftest.$ac_ext >&5
36049
36050 glibcxx_cv_func_float_round_use=no
36051 fi
36052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36053     ac_ext=c
36054 ac_cpp='$CPP $CPPFLAGS'
36055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36058
36059 fi
36060
36061   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
36062 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
36063   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36064
36065
36066 for ac_func in ceilf floorf
36067 do
36068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36069 echo "$as_me:$LINENO: checking for $ac_func" >&5
36070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36071 if eval "test \"\${$as_ac_var+set}\" = set"; then
36072   echo $ECHO_N "(cached) $ECHO_C" >&6
36073 else
36074   if test x$gcc_no_link = xyes; then
36075   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36077    { (exit 1); exit 1; }; }
36078 fi
36079 cat >conftest.$ac_ext <<_ACEOF
36080 /* confdefs.h.  */
36081 _ACEOF
36082 cat confdefs.h >>conftest.$ac_ext
36083 cat >>conftest.$ac_ext <<_ACEOF
36084 /* end confdefs.h.  */
36085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36086    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36087 #define $ac_func innocuous_$ac_func
36088
36089 /* System header to define __stub macros and hopefully few prototypes,
36090     which can conflict with char $ac_func (); below.
36091     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36092     <limits.h> exists even on freestanding compilers.  */
36093
36094 #ifdef __STDC__
36095 # include <limits.h>
36096 #else
36097 # include <assert.h>
36098 #endif
36099
36100 #undef $ac_func
36101
36102 /* Override any gcc2 internal prototype to avoid an error.  */
36103 #ifdef __cplusplus
36104 extern "C"
36105 {
36106 #endif
36107 /* We use char because int might match the return type of a gcc2
36108    builtin and then its argument prototype would still apply.  */
36109 char $ac_func ();
36110 /* The GNU C library defines this for functions which it implements
36111     to always fail with ENOSYS.  Some functions are actually named
36112     something starting with __ and the normal name is an alias.  */
36113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36114 choke me
36115 #else
36116 char (*f) () = $ac_func;
36117 #endif
36118 #ifdef __cplusplus
36119 }
36120 #endif
36121
36122 int
36123 main ()
36124 {
36125 return f != $ac_func;
36126   ;
36127   return 0;
36128 }
36129 _ACEOF
36130 rm -f conftest.$ac_objext conftest$ac_exeext
36131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36132   (eval $ac_link) 2>conftest.er1
36133   ac_status=$?
36134   grep -v '^ *+' conftest.er1 >conftest.err
36135   rm -f conftest.er1
36136   cat conftest.err >&5
36137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36138   (exit $ac_status); } &&
36139          { ac_try='test -z "$ac_c_werror_flag"
36140                          || test ! -s conftest.err'
36141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36142   (eval $ac_try) 2>&5
36143   ac_status=$?
36144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36145   (exit $ac_status); }; } &&
36146          { ac_try='test -s conftest$ac_exeext'
36147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36148   (eval $ac_try) 2>&5
36149   ac_status=$?
36150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36151   (exit $ac_status); }; }; then
36152   eval "$as_ac_var=yes"
36153 else
36154   echo "$as_me: failed program was:" >&5
36155 sed 's/^/| /' conftest.$ac_ext >&5
36156
36157 eval "$as_ac_var=no"
36158 fi
36159 rm -f conftest.err conftest.$ac_objext \
36160       conftest$ac_exeext conftest.$ac_ext
36161 fi
36162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36164 if test `eval echo '${'$as_ac_var'}'` = yes; then
36165   cat >>confdefs.h <<_ACEOF
36166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36167 _ACEOF
36168
36169 fi
36170 done
36171
36172   else
36173     echo "$as_me:$LINENO: checking for _float round functions" >&5
36174 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
36175     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
36176   echo $ECHO_N "(cached) $ECHO_C" >&6
36177 else
36178
36179
36180
36181       ac_ext=cc
36182 ac_cpp='$CXXCPP $CPPFLAGS'
36183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36186
36187       cat >conftest.$ac_ext <<_ACEOF
36188 /* confdefs.h.  */
36189 _ACEOF
36190 cat confdefs.h >>conftest.$ac_ext
36191 cat >>conftest.$ac_ext <<_ACEOF
36192 /* end confdefs.h.  */
36193 #include <math.h>
36194 int
36195 main ()
36196 {
36197 _ceilf (0); _floorf (0);
36198   ;
36199   return 0;
36200 }
36201 _ACEOF
36202 rm -f conftest.$ac_objext
36203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36204   (eval $ac_compile) 2>conftest.er1
36205   ac_status=$?
36206   grep -v '^ *+' conftest.er1 >conftest.err
36207   rm -f conftest.er1
36208   cat conftest.err >&5
36209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36210   (exit $ac_status); } &&
36211          { ac_try='test -z "$ac_cxx_werror_flag"
36212                          || test ! -s conftest.err'
36213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36214   (eval $ac_try) 2>&5
36215   ac_status=$?
36216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36217   (exit $ac_status); }; } &&
36218          { ac_try='test -s conftest.$ac_objext'
36219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36220   (eval $ac_try) 2>&5
36221   ac_status=$?
36222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36223   (exit $ac_status); }; }; then
36224   glibcxx_cv_func__float_round_use=yes
36225 else
36226   echo "$as_me: failed program was:" >&5
36227 sed 's/^/| /' conftest.$ac_ext >&5
36228
36229 glibcxx_cv_func__float_round_use=no
36230 fi
36231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36232       ac_ext=c
36233 ac_cpp='$CPP $CPPFLAGS'
36234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36237
36238 fi
36239
36240     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
36241 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
36242     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36243
36244
36245 for ac_func in _ceilf _floorf
36246 do
36247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36248 echo "$as_me:$LINENO: checking for $ac_func" >&5
36249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36250 if eval "test \"\${$as_ac_var+set}\" = set"; then
36251   echo $ECHO_N "(cached) $ECHO_C" >&6
36252 else
36253   if test x$gcc_no_link = xyes; then
36254   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36256    { (exit 1); exit 1; }; }
36257 fi
36258 cat >conftest.$ac_ext <<_ACEOF
36259 /* confdefs.h.  */
36260 _ACEOF
36261 cat confdefs.h >>conftest.$ac_ext
36262 cat >>conftest.$ac_ext <<_ACEOF
36263 /* end confdefs.h.  */
36264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36265    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36266 #define $ac_func innocuous_$ac_func
36267
36268 /* System header to define __stub macros and hopefully few prototypes,
36269     which can conflict with char $ac_func (); below.
36270     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36271     <limits.h> exists even on freestanding compilers.  */
36272
36273 #ifdef __STDC__
36274 # include <limits.h>
36275 #else
36276 # include <assert.h>
36277 #endif
36278
36279 #undef $ac_func
36280
36281 /* Override any gcc2 internal prototype to avoid an error.  */
36282 #ifdef __cplusplus
36283 extern "C"
36284 {
36285 #endif
36286 /* We use char because int might match the return type of a gcc2
36287    builtin and then its argument prototype would still apply.  */
36288 char $ac_func ();
36289 /* The GNU C library defines this for functions which it implements
36290     to always fail with ENOSYS.  Some functions are actually named
36291     something starting with __ and the normal name is an alias.  */
36292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36293 choke me
36294 #else
36295 char (*f) () = $ac_func;
36296 #endif
36297 #ifdef __cplusplus
36298 }
36299 #endif
36300
36301 int
36302 main ()
36303 {
36304 return f != $ac_func;
36305   ;
36306   return 0;
36307 }
36308 _ACEOF
36309 rm -f conftest.$ac_objext conftest$ac_exeext
36310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36311   (eval $ac_link) 2>conftest.er1
36312   ac_status=$?
36313   grep -v '^ *+' conftest.er1 >conftest.err
36314   rm -f conftest.er1
36315   cat conftest.err >&5
36316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36317   (exit $ac_status); } &&
36318          { ac_try='test -z "$ac_c_werror_flag"
36319                          || test ! -s conftest.err'
36320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36321   (eval $ac_try) 2>&5
36322   ac_status=$?
36323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36324   (exit $ac_status); }; } &&
36325          { ac_try='test -s conftest$ac_exeext'
36326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36327   (eval $ac_try) 2>&5
36328   ac_status=$?
36329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36330   (exit $ac_status); }; }; then
36331   eval "$as_ac_var=yes"
36332 else
36333   echo "$as_me: failed program was:" >&5
36334 sed 's/^/| /' conftest.$ac_ext >&5
36335
36336 eval "$as_ac_var=no"
36337 fi
36338 rm -f conftest.err conftest.$ac_objext \
36339       conftest$ac_exeext conftest.$ac_ext
36340 fi
36341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36343 if test `eval echo '${'$as_ac_var'}'` = yes; then
36344   cat >>confdefs.h <<_ACEOF
36345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36346 _ACEOF
36347
36348 fi
36349 done
36350
36351     fi
36352   fi
36353
36354
36355
36356
36357
36358
36359
36360
36361   echo "$as_me:$LINENO: checking for expf declaration" >&5
36362 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
36363   if test x${glibcxx_cv_func_expf_use+set} != xset; then
36364     if test "${glibcxx_cv_func_expf_use+set}" = set; then
36365   echo $ECHO_N "(cached) $ECHO_C" >&6
36366 else
36367
36368
36369
36370       ac_ext=cc
36371 ac_cpp='$CXXCPP $CPPFLAGS'
36372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36375
36376       cat >conftest.$ac_ext <<_ACEOF
36377 /* confdefs.h.  */
36378 _ACEOF
36379 cat confdefs.h >>conftest.$ac_ext
36380 cat >>conftest.$ac_ext <<_ACEOF
36381 /* end confdefs.h.  */
36382 #include <math.h>
36383                       #ifdef HAVE_IEEEFP_H
36384                       #include <ieeefp.h>
36385                       #endif
36386
36387 int
36388 main ()
36389 {
36390  expf(0);
36391   ;
36392   return 0;
36393 }
36394 _ACEOF
36395 rm -f conftest.$ac_objext
36396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36397   (eval $ac_compile) 2>conftest.er1
36398   ac_status=$?
36399   grep -v '^ *+' conftest.er1 >conftest.err
36400   rm -f conftest.er1
36401   cat conftest.err >&5
36402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36403   (exit $ac_status); } &&
36404          { ac_try='test -z "$ac_cxx_werror_flag"
36405                          || test ! -s conftest.err'
36406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36407   (eval $ac_try) 2>&5
36408   ac_status=$?
36409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36410   (exit $ac_status); }; } &&
36411          { ac_try='test -s conftest.$ac_objext'
36412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36413   (eval $ac_try) 2>&5
36414   ac_status=$?
36415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36416   (exit $ac_status); }; }; then
36417   glibcxx_cv_func_expf_use=yes
36418 else
36419   echo "$as_me: failed program was:" >&5
36420 sed 's/^/| /' conftest.$ac_ext >&5
36421
36422 glibcxx_cv_func_expf_use=no
36423 fi
36424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36425       ac_ext=c
36426 ac_cpp='$CPP $CPPFLAGS'
36427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36430
36431
36432 fi
36433
36434   fi
36435   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
36436 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
36437
36438   if test x$glibcxx_cv_func_expf_use = x"yes"; then
36439
36440 for ac_func in expf
36441 do
36442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36443 echo "$as_me:$LINENO: checking for $ac_func" >&5
36444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36445 if eval "test \"\${$as_ac_var+set}\" = set"; then
36446   echo $ECHO_N "(cached) $ECHO_C" >&6
36447 else
36448   if test x$gcc_no_link = xyes; then
36449   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36451    { (exit 1); exit 1; }; }
36452 fi
36453 cat >conftest.$ac_ext <<_ACEOF
36454 /* confdefs.h.  */
36455 _ACEOF
36456 cat confdefs.h >>conftest.$ac_ext
36457 cat >>conftest.$ac_ext <<_ACEOF
36458 /* end confdefs.h.  */
36459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36460    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36461 #define $ac_func innocuous_$ac_func
36462
36463 /* System header to define __stub macros and hopefully few prototypes,
36464     which can conflict with char $ac_func (); below.
36465     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36466     <limits.h> exists even on freestanding compilers.  */
36467
36468 #ifdef __STDC__
36469 # include <limits.h>
36470 #else
36471 # include <assert.h>
36472 #endif
36473
36474 #undef $ac_func
36475
36476 /* Override any gcc2 internal prototype to avoid an error.  */
36477 #ifdef __cplusplus
36478 extern "C"
36479 {
36480 #endif
36481 /* We use char because int might match the return type of a gcc2
36482    builtin and then its argument prototype would still apply.  */
36483 char $ac_func ();
36484 /* The GNU C library defines this for functions which it implements
36485     to always fail with ENOSYS.  Some functions are actually named
36486     something starting with __ and the normal name is an alias.  */
36487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36488 choke me
36489 #else
36490 char (*f) () = $ac_func;
36491 #endif
36492 #ifdef __cplusplus
36493 }
36494 #endif
36495
36496 int
36497 main ()
36498 {
36499 return f != $ac_func;
36500   ;
36501   return 0;
36502 }
36503 _ACEOF
36504 rm -f conftest.$ac_objext conftest$ac_exeext
36505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36506   (eval $ac_link) 2>conftest.er1
36507   ac_status=$?
36508   grep -v '^ *+' conftest.er1 >conftest.err
36509   rm -f conftest.er1
36510   cat conftest.err >&5
36511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36512   (exit $ac_status); } &&
36513          { ac_try='test -z "$ac_c_werror_flag"
36514                          || test ! -s conftest.err'
36515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36516   (eval $ac_try) 2>&5
36517   ac_status=$?
36518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36519   (exit $ac_status); }; } &&
36520          { ac_try='test -s conftest$ac_exeext'
36521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36522   (eval $ac_try) 2>&5
36523   ac_status=$?
36524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36525   (exit $ac_status); }; }; then
36526   eval "$as_ac_var=yes"
36527 else
36528   echo "$as_me: failed program was:" >&5
36529 sed 's/^/| /' conftest.$ac_ext >&5
36530
36531 eval "$as_ac_var=no"
36532 fi
36533 rm -f conftest.err conftest.$ac_objext \
36534       conftest$ac_exeext conftest.$ac_ext
36535 fi
36536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36538 if test `eval echo '${'$as_ac_var'}'` = yes; then
36539   cat >>confdefs.h <<_ACEOF
36540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36541 _ACEOF
36542
36543 fi
36544 done
36545
36546   else
36547
36548   echo "$as_me:$LINENO: checking for _expf declaration" >&5
36549 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
36550   if test x${glibcxx_cv_func__expf_use+set} != xset; then
36551     if test "${glibcxx_cv_func__expf_use+set}" = set; then
36552   echo $ECHO_N "(cached) $ECHO_C" >&6
36553 else
36554
36555
36556
36557       ac_ext=cc
36558 ac_cpp='$CXXCPP $CPPFLAGS'
36559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36562
36563       cat >conftest.$ac_ext <<_ACEOF
36564 /* confdefs.h.  */
36565 _ACEOF
36566 cat confdefs.h >>conftest.$ac_ext
36567 cat >>conftest.$ac_ext <<_ACEOF
36568 /* end confdefs.h.  */
36569 #include <math.h>
36570                       #ifdef HAVE_IEEEFP_H
36571                       #include <ieeefp.h>
36572                       #endif
36573
36574 int
36575 main ()
36576 {
36577  _expf(0);
36578   ;
36579   return 0;
36580 }
36581 _ACEOF
36582 rm -f conftest.$ac_objext
36583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36584   (eval $ac_compile) 2>conftest.er1
36585   ac_status=$?
36586   grep -v '^ *+' conftest.er1 >conftest.err
36587   rm -f conftest.er1
36588   cat conftest.err >&5
36589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36590   (exit $ac_status); } &&
36591          { ac_try='test -z "$ac_cxx_werror_flag"
36592                          || test ! -s conftest.err'
36593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36594   (eval $ac_try) 2>&5
36595   ac_status=$?
36596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36597   (exit $ac_status); }; } &&
36598          { ac_try='test -s conftest.$ac_objext'
36599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36600   (eval $ac_try) 2>&5
36601   ac_status=$?
36602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36603   (exit $ac_status); }; }; then
36604   glibcxx_cv_func__expf_use=yes
36605 else
36606   echo "$as_me: failed program was:" >&5
36607 sed 's/^/| /' conftest.$ac_ext >&5
36608
36609 glibcxx_cv_func__expf_use=no
36610 fi
36611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36612       ac_ext=c
36613 ac_cpp='$CPP $CPPFLAGS'
36614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36617
36618
36619 fi
36620
36621   fi
36622   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
36623 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
36624
36625     if test x$glibcxx_cv_func__expf_use = x"yes"; then
36626
36627 for ac_func in _expf
36628 do
36629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36630 echo "$as_me:$LINENO: checking for $ac_func" >&5
36631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36632 if eval "test \"\${$as_ac_var+set}\" = set"; then
36633   echo $ECHO_N "(cached) $ECHO_C" >&6
36634 else
36635   if test x$gcc_no_link = xyes; then
36636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36638    { (exit 1); exit 1; }; }
36639 fi
36640 cat >conftest.$ac_ext <<_ACEOF
36641 /* confdefs.h.  */
36642 _ACEOF
36643 cat confdefs.h >>conftest.$ac_ext
36644 cat >>conftest.$ac_ext <<_ACEOF
36645 /* end confdefs.h.  */
36646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36647    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36648 #define $ac_func innocuous_$ac_func
36649
36650 /* System header to define __stub macros and hopefully few prototypes,
36651     which can conflict with char $ac_func (); below.
36652     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36653     <limits.h> exists even on freestanding compilers.  */
36654
36655 #ifdef __STDC__
36656 # include <limits.h>
36657 #else
36658 # include <assert.h>
36659 #endif
36660
36661 #undef $ac_func
36662
36663 /* Override any gcc2 internal prototype to avoid an error.  */
36664 #ifdef __cplusplus
36665 extern "C"
36666 {
36667 #endif
36668 /* We use char because int might match the return type of a gcc2
36669    builtin and then its argument prototype would still apply.  */
36670 char $ac_func ();
36671 /* The GNU C library defines this for functions which it implements
36672     to always fail with ENOSYS.  Some functions are actually named
36673     something starting with __ and the normal name is an alias.  */
36674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36675 choke me
36676 #else
36677 char (*f) () = $ac_func;
36678 #endif
36679 #ifdef __cplusplus
36680 }
36681 #endif
36682
36683 int
36684 main ()
36685 {
36686 return f != $ac_func;
36687   ;
36688   return 0;
36689 }
36690 _ACEOF
36691 rm -f conftest.$ac_objext conftest$ac_exeext
36692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36693   (eval $ac_link) 2>conftest.er1
36694   ac_status=$?
36695   grep -v '^ *+' conftest.er1 >conftest.err
36696   rm -f conftest.er1
36697   cat conftest.err >&5
36698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36699   (exit $ac_status); } &&
36700          { ac_try='test -z "$ac_c_werror_flag"
36701                          || test ! -s conftest.err'
36702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36703   (eval $ac_try) 2>&5
36704   ac_status=$?
36705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36706   (exit $ac_status); }; } &&
36707          { ac_try='test -s conftest$ac_exeext'
36708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36709   (eval $ac_try) 2>&5
36710   ac_status=$?
36711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36712   (exit $ac_status); }; }; then
36713   eval "$as_ac_var=yes"
36714 else
36715   echo "$as_me: failed program was:" >&5
36716 sed 's/^/| /' conftest.$ac_ext >&5
36717
36718 eval "$as_ac_var=no"
36719 fi
36720 rm -f conftest.err conftest.$ac_objext \
36721       conftest$ac_exeext conftest.$ac_ext
36722 fi
36723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36725 if test `eval echo '${'$as_ac_var'}'` = yes; then
36726   cat >>confdefs.h <<_ACEOF
36727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36728 _ACEOF
36729
36730 fi
36731 done
36732
36733     fi
36734   fi
36735
36736
36737
36738
36739
36740
36741   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
36742 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
36743   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36744     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
36745   echo $ECHO_N "(cached) $ECHO_C" >&6
36746 else
36747
36748
36749
36750       ac_ext=cc
36751 ac_cpp='$CXXCPP $CPPFLAGS'
36752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36755
36756       cat >conftest.$ac_ext <<_ACEOF
36757 /* confdefs.h.  */
36758 _ACEOF
36759 cat confdefs.h >>conftest.$ac_ext
36760 cat >>conftest.$ac_ext <<_ACEOF
36761 /* end confdefs.h.  */
36762 #include <math.h>
36763                       #ifdef HAVE_IEEEFP_H
36764                       #include <ieeefp.h>
36765                       #endif
36766
36767 int
36768 main ()
36769 {
36770  isnanf(0);
36771   ;
36772   return 0;
36773 }
36774 _ACEOF
36775 rm -f conftest.$ac_objext
36776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36777   (eval $ac_compile) 2>conftest.er1
36778   ac_status=$?
36779   grep -v '^ *+' conftest.er1 >conftest.err
36780   rm -f conftest.er1
36781   cat conftest.err >&5
36782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36783   (exit $ac_status); } &&
36784          { ac_try='test -z "$ac_cxx_werror_flag"
36785                          || test ! -s conftest.err'
36786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36787   (eval $ac_try) 2>&5
36788   ac_status=$?
36789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36790   (exit $ac_status); }; } &&
36791          { ac_try='test -s conftest.$ac_objext'
36792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36793   (eval $ac_try) 2>&5
36794   ac_status=$?
36795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36796   (exit $ac_status); }; }; then
36797   glibcxx_cv_func_isnanf_use=yes
36798 else
36799   echo "$as_me: failed program was:" >&5
36800 sed 's/^/| /' conftest.$ac_ext >&5
36801
36802 glibcxx_cv_func_isnanf_use=no
36803 fi
36804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36805       ac_ext=c
36806 ac_cpp='$CPP $CPPFLAGS'
36807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36810
36811
36812 fi
36813
36814   fi
36815   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
36816 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
36817
36818   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36819
36820 for ac_func in isnanf
36821 do
36822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36823 echo "$as_me:$LINENO: checking for $ac_func" >&5
36824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36825 if eval "test \"\${$as_ac_var+set}\" = set"; then
36826   echo $ECHO_N "(cached) $ECHO_C" >&6
36827 else
36828   if test x$gcc_no_link = xyes; then
36829   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36831    { (exit 1); exit 1; }; }
36832 fi
36833 cat >conftest.$ac_ext <<_ACEOF
36834 /* confdefs.h.  */
36835 _ACEOF
36836 cat confdefs.h >>conftest.$ac_ext
36837 cat >>conftest.$ac_ext <<_ACEOF
36838 /* end confdefs.h.  */
36839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36840    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36841 #define $ac_func innocuous_$ac_func
36842
36843 /* System header to define __stub macros and hopefully few prototypes,
36844     which can conflict with char $ac_func (); below.
36845     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36846     <limits.h> exists even on freestanding compilers.  */
36847
36848 #ifdef __STDC__
36849 # include <limits.h>
36850 #else
36851 # include <assert.h>
36852 #endif
36853
36854 #undef $ac_func
36855
36856 /* Override any gcc2 internal prototype to avoid an error.  */
36857 #ifdef __cplusplus
36858 extern "C"
36859 {
36860 #endif
36861 /* We use char because int might match the return type of a gcc2
36862    builtin and then its argument prototype would still apply.  */
36863 char $ac_func ();
36864 /* The GNU C library defines this for functions which it implements
36865     to always fail with ENOSYS.  Some functions are actually named
36866     something starting with __ and the normal name is an alias.  */
36867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36868 choke me
36869 #else
36870 char (*f) () = $ac_func;
36871 #endif
36872 #ifdef __cplusplus
36873 }
36874 #endif
36875
36876 int
36877 main ()
36878 {
36879 return f != $ac_func;
36880   ;
36881   return 0;
36882 }
36883 _ACEOF
36884 rm -f conftest.$ac_objext conftest$ac_exeext
36885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36886   (eval $ac_link) 2>conftest.er1
36887   ac_status=$?
36888   grep -v '^ *+' conftest.er1 >conftest.err
36889   rm -f conftest.er1
36890   cat conftest.err >&5
36891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36892   (exit $ac_status); } &&
36893          { ac_try='test -z "$ac_c_werror_flag"
36894                          || test ! -s conftest.err'
36895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36896   (eval $ac_try) 2>&5
36897   ac_status=$?
36898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36899   (exit $ac_status); }; } &&
36900          { ac_try='test -s conftest$ac_exeext'
36901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36902   (eval $ac_try) 2>&5
36903   ac_status=$?
36904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36905   (exit $ac_status); }; }; then
36906   eval "$as_ac_var=yes"
36907 else
36908   echo "$as_me: failed program was:" >&5
36909 sed 's/^/| /' conftest.$ac_ext >&5
36910
36911 eval "$as_ac_var=no"
36912 fi
36913 rm -f conftest.err conftest.$ac_objext \
36914       conftest$ac_exeext conftest.$ac_ext
36915 fi
36916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36918 if test `eval echo '${'$as_ac_var'}'` = yes; then
36919   cat >>confdefs.h <<_ACEOF
36920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36921 _ACEOF
36922
36923 fi
36924 done
36925
36926   else
36927
36928   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
36929 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
36930   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36931     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
36932   echo $ECHO_N "(cached) $ECHO_C" >&6
36933 else
36934
36935
36936
36937       ac_ext=cc
36938 ac_cpp='$CXXCPP $CPPFLAGS'
36939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36942
36943       cat >conftest.$ac_ext <<_ACEOF
36944 /* confdefs.h.  */
36945 _ACEOF
36946 cat confdefs.h >>conftest.$ac_ext
36947 cat >>conftest.$ac_ext <<_ACEOF
36948 /* end confdefs.h.  */
36949 #include <math.h>
36950                       #ifdef HAVE_IEEEFP_H
36951                       #include <ieeefp.h>
36952                       #endif
36953
36954 int
36955 main ()
36956 {
36957  _isnanf(0);
36958   ;
36959   return 0;
36960 }
36961 _ACEOF
36962 rm -f conftest.$ac_objext
36963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36964   (eval $ac_compile) 2>conftest.er1
36965   ac_status=$?
36966   grep -v '^ *+' conftest.er1 >conftest.err
36967   rm -f conftest.er1
36968   cat conftest.err >&5
36969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36970   (exit $ac_status); } &&
36971          { ac_try='test -z "$ac_cxx_werror_flag"
36972                          || test ! -s conftest.err'
36973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36974   (eval $ac_try) 2>&5
36975   ac_status=$?
36976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36977   (exit $ac_status); }; } &&
36978          { ac_try='test -s conftest.$ac_objext'
36979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36980   (eval $ac_try) 2>&5
36981   ac_status=$?
36982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36983   (exit $ac_status); }; }; then
36984   glibcxx_cv_func__isnanf_use=yes
36985 else
36986   echo "$as_me: failed program was:" >&5
36987 sed 's/^/| /' conftest.$ac_ext >&5
36988
36989 glibcxx_cv_func__isnanf_use=no
36990 fi
36991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36992       ac_ext=c
36993 ac_cpp='$CPP $CPPFLAGS'
36994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36997
36998
36999 fi
37000
37001   fi
37002   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
37003 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
37004
37005     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
37006
37007 for ac_func in _isnanf
37008 do
37009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37010 echo "$as_me:$LINENO: checking for $ac_func" >&5
37011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37012 if eval "test \"\${$as_ac_var+set}\" = set"; then
37013   echo $ECHO_N "(cached) $ECHO_C" >&6
37014 else
37015   if test x$gcc_no_link = xyes; then
37016   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37018    { (exit 1); exit 1; }; }
37019 fi
37020 cat >conftest.$ac_ext <<_ACEOF
37021 /* confdefs.h.  */
37022 _ACEOF
37023 cat confdefs.h >>conftest.$ac_ext
37024 cat >>conftest.$ac_ext <<_ACEOF
37025 /* end confdefs.h.  */
37026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37027    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37028 #define $ac_func innocuous_$ac_func
37029
37030 /* System header to define __stub macros and hopefully few prototypes,
37031     which can conflict with char $ac_func (); below.
37032     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37033     <limits.h> exists even on freestanding compilers.  */
37034
37035 #ifdef __STDC__
37036 # include <limits.h>
37037 #else
37038 # include <assert.h>
37039 #endif
37040
37041 #undef $ac_func
37042
37043 /* Override any gcc2 internal prototype to avoid an error.  */
37044 #ifdef __cplusplus
37045 extern "C"
37046 {
37047 #endif
37048 /* We use char because int might match the return type of a gcc2
37049    builtin and then its argument prototype would still apply.  */
37050 char $ac_func ();
37051 /* The GNU C library defines this for functions which it implements
37052     to always fail with ENOSYS.  Some functions are actually named
37053     something starting with __ and the normal name is an alias.  */
37054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37055 choke me
37056 #else
37057 char (*f) () = $ac_func;
37058 #endif
37059 #ifdef __cplusplus
37060 }
37061 #endif
37062
37063 int
37064 main ()
37065 {
37066 return f != $ac_func;
37067   ;
37068   return 0;
37069 }
37070 _ACEOF
37071 rm -f conftest.$ac_objext conftest$ac_exeext
37072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37073   (eval $ac_link) 2>conftest.er1
37074   ac_status=$?
37075   grep -v '^ *+' conftest.er1 >conftest.err
37076   rm -f conftest.er1
37077   cat conftest.err >&5
37078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37079   (exit $ac_status); } &&
37080          { ac_try='test -z "$ac_c_werror_flag"
37081                          || test ! -s conftest.err'
37082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37083   (eval $ac_try) 2>&5
37084   ac_status=$?
37085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37086   (exit $ac_status); }; } &&
37087          { ac_try='test -s conftest$ac_exeext'
37088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37089   (eval $ac_try) 2>&5
37090   ac_status=$?
37091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37092   (exit $ac_status); }; }; then
37093   eval "$as_ac_var=yes"
37094 else
37095   echo "$as_me: failed program was:" >&5
37096 sed 's/^/| /' conftest.$ac_ext >&5
37097
37098 eval "$as_ac_var=no"
37099 fi
37100 rm -f conftest.err conftest.$ac_objext \
37101       conftest$ac_exeext conftest.$ac_ext
37102 fi
37103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37105 if test `eval echo '${'$as_ac_var'}'` = yes; then
37106   cat >>confdefs.h <<_ACEOF
37107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37108 _ACEOF
37109
37110 fi
37111 done
37112
37113     fi
37114   fi
37115
37116
37117
37118
37119
37120
37121   echo "$as_me:$LINENO: checking for isinff declaration" >&5
37122 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
37123   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37124     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
37125   echo $ECHO_N "(cached) $ECHO_C" >&6
37126 else
37127
37128
37129
37130       ac_ext=cc
37131 ac_cpp='$CXXCPP $CPPFLAGS'
37132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37135
37136       cat >conftest.$ac_ext <<_ACEOF
37137 /* confdefs.h.  */
37138 _ACEOF
37139 cat confdefs.h >>conftest.$ac_ext
37140 cat >>conftest.$ac_ext <<_ACEOF
37141 /* end confdefs.h.  */
37142 #include <math.h>
37143                       #ifdef HAVE_IEEEFP_H
37144                       #include <ieeefp.h>
37145                       #endif
37146
37147 int
37148 main ()
37149 {
37150  isinff(0);
37151   ;
37152   return 0;
37153 }
37154 _ACEOF
37155 rm -f conftest.$ac_objext
37156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37157   (eval $ac_compile) 2>conftest.er1
37158   ac_status=$?
37159   grep -v '^ *+' conftest.er1 >conftest.err
37160   rm -f conftest.er1
37161   cat conftest.err >&5
37162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37163   (exit $ac_status); } &&
37164          { ac_try='test -z "$ac_cxx_werror_flag"
37165                          || test ! -s conftest.err'
37166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37167   (eval $ac_try) 2>&5
37168   ac_status=$?
37169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37170   (exit $ac_status); }; } &&
37171          { ac_try='test -s conftest.$ac_objext'
37172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37173   (eval $ac_try) 2>&5
37174   ac_status=$?
37175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37176   (exit $ac_status); }; }; then
37177   glibcxx_cv_func_isinff_use=yes
37178 else
37179   echo "$as_me: failed program was:" >&5
37180 sed 's/^/| /' conftest.$ac_ext >&5
37181
37182 glibcxx_cv_func_isinff_use=no
37183 fi
37184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37185       ac_ext=c
37186 ac_cpp='$CPP $CPPFLAGS'
37187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37190
37191
37192 fi
37193
37194   fi
37195   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
37196 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
37197
37198   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37199
37200 for ac_func in isinff
37201 do
37202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37203 echo "$as_me:$LINENO: checking for $ac_func" >&5
37204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37205 if eval "test \"\${$as_ac_var+set}\" = set"; then
37206   echo $ECHO_N "(cached) $ECHO_C" >&6
37207 else
37208   if test x$gcc_no_link = xyes; then
37209   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37211    { (exit 1); exit 1; }; }
37212 fi
37213 cat >conftest.$ac_ext <<_ACEOF
37214 /* confdefs.h.  */
37215 _ACEOF
37216 cat confdefs.h >>conftest.$ac_ext
37217 cat >>conftest.$ac_ext <<_ACEOF
37218 /* end confdefs.h.  */
37219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37220    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37221 #define $ac_func innocuous_$ac_func
37222
37223 /* System header to define __stub macros and hopefully few prototypes,
37224     which can conflict with char $ac_func (); below.
37225     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37226     <limits.h> exists even on freestanding compilers.  */
37227
37228 #ifdef __STDC__
37229 # include <limits.h>
37230 #else
37231 # include <assert.h>
37232 #endif
37233
37234 #undef $ac_func
37235
37236 /* Override any gcc2 internal prototype to avoid an error.  */
37237 #ifdef __cplusplus
37238 extern "C"
37239 {
37240 #endif
37241 /* We use char because int might match the return type of a gcc2
37242    builtin and then its argument prototype would still apply.  */
37243 char $ac_func ();
37244 /* The GNU C library defines this for functions which it implements
37245     to always fail with ENOSYS.  Some functions are actually named
37246     something starting with __ and the normal name is an alias.  */
37247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37248 choke me
37249 #else
37250 char (*f) () = $ac_func;
37251 #endif
37252 #ifdef __cplusplus
37253 }
37254 #endif
37255
37256 int
37257 main ()
37258 {
37259 return f != $ac_func;
37260   ;
37261   return 0;
37262 }
37263 _ACEOF
37264 rm -f conftest.$ac_objext conftest$ac_exeext
37265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37266   (eval $ac_link) 2>conftest.er1
37267   ac_status=$?
37268   grep -v '^ *+' conftest.er1 >conftest.err
37269   rm -f conftest.er1
37270   cat conftest.err >&5
37271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37272   (exit $ac_status); } &&
37273          { ac_try='test -z "$ac_c_werror_flag"
37274                          || test ! -s conftest.err'
37275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37276   (eval $ac_try) 2>&5
37277   ac_status=$?
37278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37279   (exit $ac_status); }; } &&
37280          { ac_try='test -s conftest$ac_exeext'
37281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37282   (eval $ac_try) 2>&5
37283   ac_status=$?
37284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37285   (exit $ac_status); }; }; then
37286   eval "$as_ac_var=yes"
37287 else
37288   echo "$as_me: failed program was:" >&5
37289 sed 's/^/| /' conftest.$ac_ext >&5
37290
37291 eval "$as_ac_var=no"
37292 fi
37293 rm -f conftest.err conftest.$ac_objext \
37294       conftest$ac_exeext conftest.$ac_ext
37295 fi
37296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37298 if test `eval echo '${'$as_ac_var'}'` = yes; then
37299   cat >>confdefs.h <<_ACEOF
37300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37301 _ACEOF
37302
37303 fi
37304 done
37305
37306   else
37307
37308   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
37309 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
37310   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37311     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
37312   echo $ECHO_N "(cached) $ECHO_C" >&6
37313 else
37314
37315
37316
37317       ac_ext=cc
37318 ac_cpp='$CXXCPP $CPPFLAGS'
37319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37322
37323       cat >conftest.$ac_ext <<_ACEOF
37324 /* confdefs.h.  */
37325 _ACEOF
37326 cat confdefs.h >>conftest.$ac_ext
37327 cat >>conftest.$ac_ext <<_ACEOF
37328 /* end confdefs.h.  */
37329 #include <math.h>
37330                       #ifdef HAVE_IEEEFP_H
37331                       #include <ieeefp.h>
37332                       #endif
37333
37334 int
37335 main ()
37336 {
37337  _isinff(0);
37338   ;
37339   return 0;
37340 }
37341 _ACEOF
37342 rm -f conftest.$ac_objext
37343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37344   (eval $ac_compile) 2>conftest.er1
37345   ac_status=$?
37346   grep -v '^ *+' conftest.er1 >conftest.err
37347   rm -f conftest.er1
37348   cat conftest.err >&5
37349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37350   (exit $ac_status); } &&
37351          { ac_try='test -z "$ac_cxx_werror_flag"
37352                          || test ! -s conftest.err'
37353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37354   (eval $ac_try) 2>&5
37355   ac_status=$?
37356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37357   (exit $ac_status); }; } &&
37358          { ac_try='test -s conftest.$ac_objext'
37359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37360   (eval $ac_try) 2>&5
37361   ac_status=$?
37362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37363   (exit $ac_status); }; }; then
37364   glibcxx_cv_func__isinff_use=yes
37365 else
37366   echo "$as_me: failed program was:" >&5
37367 sed 's/^/| /' conftest.$ac_ext >&5
37368
37369 glibcxx_cv_func__isinff_use=no
37370 fi
37371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37372       ac_ext=c
37373 ac_cpp='$CPP $CPPFLAGS'
37374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37377
37378
37379 fi
37380
37381   fi
37382   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
37383 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
37384
37385     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37386
37387 for ac_func in _isinff
37388 do
37389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37390 echo "$as_me:$LINENO: checking for $ac_func" >&5
37391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37392 if eval "test \"\${$as_ac_var+set}\" = set"; then
37393   echo $ECHO_N "(cached) $ECHO_C" >&6
37394 else
37395   if test x$gcc_no_link = xyes; then
37396   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37398    { (exit 1); exit 1; }; }
37399 fi
37400 cat >conftest.$ac_ext <<_ACEOF
37401 /* confdefs.h.  */
37402 _ACEOF
37403 cat confdefs.h >>conftest.$ac_ext
37404 cat >>conftest.$ac_ext <<_ACEOF
37405 /* end confdefs.h.  */
37406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37407    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37408 #define $ac_func innocuous_$ac_func
37409
37410 /* System header to define __stub macros and hopefully few prototypes,
37411     which can conflict with char $ac_func (); below.
37412     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37413     <limits.h> exists even on freestanding compilers.  */
37414
37415 #ifdef __STDC__
37416 # include <limits.h>
37417 #else
37418 # include <assert.h>
37419 #endif
37420
37421 #undef $ac_func
37422
37423 /* Override any gcc2 internal prototype to avoid an error.  */
37424 #ifdef __cplusplus
37425 extern "C"
37426 {
37427 #endif
37428 /* We use char because int might match the return type of a gcc2
37429    builtin and then its argument prototype would still apply.  */
37430 char $ac_func ();
37431 /* The GNU C library defines this for functions which it implements
37432     to always fail with ENOSYS.  Some functions are actually named
37433     something starting with __ and the normal name is an alias.  */
37434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37435 choke me
37436 #else
37437 char (*f) () = $ac_func;
37438 #endif
37439 #ifdef __cplusplus
37440 }
37441 #endif
37442
37443 int
37444 main ()
37445 {
37446 return f != $ac_func;
37447   ;
37448   return 0;
37449 }
37450 _ACEOF
37451 rm -f conftest.$ac_objext conftest$ac_exeext
37452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37453   (eval $ac_link) 2>conftest.er1
37454   ac_status=$?
37455   grep -v '^ *+' conftest.er1 >conftest.err
37456   rm -f conftest.er1
37457   cat conftest.err >&5
37458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37459   (exit $ac_status); } &&
37460          { ac_try='test -z "$ac_c_werror_flag"
37461                          || test ! -s conftest.err'
37462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37463   (eval $ac_try) 2>&5
37464   ac_status=$?
37465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37466   (exit $ac_status); }; } &&
37467          { ac_try='test -s conftest$ac_exeext'
37468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37469   (eval $ac_try) 2>&5
37470   ac_status=$?
37471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37472   (exit $ac_status); }; }; then
37473   eval "$as_ac_var=yes"
37474 else
37475   echo "$as_me: failed program was:" >&5
37476 sed 's/^/| /' conftest.$ac_ext >&5
37477
37478 eval "$as_ac_var=no"
37479 fi
37480 rm -f conftest.err conftest.$ac_objext \
37481       conftest$ac_exeext conftest.$ac_ext
37482 fi
37483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37485 if test `eval echo '${'$as_ac_var'}'` = yes; then
37486   cat >>confdefs.h <<_ACEOF
37487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37488 _ACEOF
37489
37490 fi
37491 done
37492
37493     fi
37494   fi
37495
37496
37497
37498
37499
37500
37501   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
37502 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
37503   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37504     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
37505   echo $ECHO_N "(cached) $ECHO_C" >&6
37506 else
37507
37508
37509
37510       ac_ext=cc
37511 ac_cpp='$CXXCPP $CPPFLAGS'
37512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37515
37516       cat >conftest.$ac_ext <<_ACEOF
37517 /* confdefs.h.  */
37518 _ACEOF
37519 cat confdefs.h >>conftest.$ac_ext
37520 cat >>conftest.$ac_ext <<_ACEOF
37521 /* end confdefs.h.  */
37522 #include <math.h>
37523 int
37524 main ()
37525 {
37526  atan2f(0, 0);
37527   ;
37528   return 0;
37529 }
37530 _ACEOF
37531 rm -f conftest.$ac_objext
37532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37533   (eval $ac_compile) 2>conftest.er1
37534   ac_status=$?
37535   grep -v '^ *+' conftest.er1 >conftest.err
37536   rm -f conftest.er1
37537   cat conftest.err >&5
37538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37539   (exit $ac_status); } &&
37540          { ac_try='test -z "$ac_cxx_werror_flag"
37541                          || test ! -s conftest.err'
37542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37543   (eval $ac_try) 2>&5
37544   ac_status=$?
37545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37546   (exit $ac_status); }; } &&
37547          { ac_try='test -s conftest.$ac_objext'
37548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37549   (eval $ac_try) 2>&5
37550   ac_status=$?
37551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552   (exit $ac_status); }; }; then
37553   glibcxx_cv_func_atan2f_use=yes
37554 else
37555   echo "$as_me: failed program was:" >&5
37556 sed 's/^/| /' conftest.$ac_ext >&5
37557
37558 glibcxx_cv_func_atan2f_use=no
37559 fi
37560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37561       ac_ext=c
37562 ac_cpp='$CPP $CPPFLAGS'
37563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37566
37567
37568 fi
37569
37570   fi
37571   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
37572 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
37573
37574   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37575
37576 for ac_func in atan2f
37577 do
37578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37579 echo "$as_me:$LINENO: checking for $ac_func" >&5
37580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37581 if eval "test \"\${$as_ac_var+set}\" = set"; then
37582   echo $ECHO_N "(cached) $ECHO_C" >&6
37583 else
37584   if test x$gcc_no_link = xyes; then
37585   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37587    { (exit 1); exit 1; }; }
37588 fi
37589 cat >conftest.$ac_ext <<_ACEOF
37590 /* confdefs.h.  */
37591 _ACEOF
37592 cat confdefs.h >>conftest.$ac_ext
37593 cat >>conftest.$ac_ext <<_ACEOF
37594 /* end confdefs.h.  */
37595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37596    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37597 #define $ac_func innocuous_$ac_func
37598
37599 /* System header to define __stub macros and hopefully few prototypes,
37600     which can conflict with char $ac_func (); below.
37601     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37602     <limits.h> exists even on freestanding compilers.  */
37603
37604 #ifdef __STDC__
37605 # include <limits.h>
37606 #else
37607 # include <assert.h>
37608 #endif
37609
37610 #undef $ac_func
37611
37612 /* Override any gcc2 internal prototype to avoid an error.  */
37613 #ifdef __cplusplus
37614 extern "C"
37615 {
37616 #endif
37617 /* We use char because int might match the return type of a gcc2
37618    builtin and then its argument prototype would still apply.  */
37619 char $ac_func ();
37620 /* The GNU C library defines this for functions which it implements
37621     to always fail with ENOSYS.  Some functions are actually named
37622     something starting with __ and the normal name is an alias.  */
37623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37624 choke me
37625 #else
37626 char (*f) () = $ac_func;
37627 #endif
37628 #ifdef __cplusplus
37629 }
37630 #endif
37631
37632 int
37633 main ()
37634 {
37635 return f != $ac_func;
37636   ;
37637   return 0;
37638 }
37639 _ACEOF
37640 rm -f conftest.$ac_objext conftest$ac_exeext
37641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37642   (eval $ac_link) 2>conftest.er1
37643   ac_status=$?
37644   grep -v '^ *+' conftest.er1 >conftest.err
37645   rm -f conftest.er1
37646   cat conftest.err >&5
37647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37648   (exit $ac_status); } &&
37649          { ac_try='test -z "$ac_c_werror_flag"
37650                          || test ! -s conftest.err'
37651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37652   (eval $ac_try) 2>&5
37653   ac_status=$?
37654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37655   (exit $ac_status); }; } &&
37656          { ac_try='test -s conftest$ac_exeext'
37657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37658   (eval $ac_try) 2>&5
37659   ac_status=$?
37660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37661   (exit $ac_status); }; }; then
37662   eval "$as_ac_var=yes"
37663 else
37664   echo "$as_me: failed program was:" >&5
37665 sed 's/^/| /' conftest.$ac_ext >&5
37666
37667 eval "$as_ac_var=no"
37668 fi
37669 rm -f conftest.err conftest.$ac_objext \
37670       conftest$ac_exeext conftest.$ac_ext
37671 fi
37672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37674 if test `eval echo '${'$as_ac_var'}'` = yes; then
37675   cat >>confdefs.h <<_ACEOF
37676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37677 _ACEOF
37678
37679 fi
37680 done
37681
37682   else
37683
37684   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
37685 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
37686   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37687     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
37688   echo $ECHO_N "(cached) $ECHO_C" >&6
37689 else
37690
37691
37692
37693       ac_ext=cc
37694 ac_cpp='$CXXCPP $CPPFLAGS'
37695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37698
37699       cat >conftest.$ac_ext <<_ACEOF
37700 /* confdefs.h.  */
37701 _ACEOF
37702 cat confdefs.h >>conftest.$ac_ext
37703 cat >>conftest.$ac_ext <<_ACEOF
37704 /* end confdefs.h.  */
37705 #include <math.h>
37706 int
37707 main ()
37708 {
37709  _atan2f(0, 0);
37710   ;
37711   return 0;
37712 }
37713 _ACEOF
37714 rm -f conftest.$ac_objext
37715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37716   (eval $ac_compile) 2>conftest.er1
37717   ac_status=$?
37718   grep -v '^ *+' conftest.er1 >conftest.err
37719   rm -f conftest.er1
37720   cat conftest.err >&5
37721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37722   (exit $ac_status); } &&
37723          { ac_try='test -z "$ac_cxx_werror_flag"
37724                          || test ! -s conftest.err'
37725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37726   (eval $ac_try) 2>&5
37727   ac_status=$?
37728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37729   (exit $ac_status); }; } &&
37730          { ac_try='test -s conftest.$ac_objext'
37731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37732   (eval $ac_try) 2>&5
37733   ac_status=$?
37734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37735   (exit $ac_status); }; }; then
37736   glibcxx_cv_func__atan2f_use=yes
37737 else
37738   echo "$as_me: failed program was:" >&5
37739 sed 's/^/| /' conftest.$ac_ext >&5
37740
37741 glibcxx_cv_func__atan2f_use=no
37742 fi
37743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37744       ac_ext=c
37745 ac_cpp='$CPP $CPPFLAGS'
37746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37749
37750
37751 fi
37752
37753   fi
37754   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
37755 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
37756
37757     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37758
37759 for ac_func in _atan2f
37760 do
37761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37762 echo "$as_me:$LINENO: checking for $ac_func" >&5
37763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37764 if eval "test \"\${$as_ac_var+set}\" = set"; then
37765   echo $ECHO_N "(cached) $ECHO_C" >&6
37766 else
37767   if test x$gcc_no_link = xyes; then
37768   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37770    { (exit 1); exit 1; }; }
37771 fi
37772 cat >conftest.$ac_ext <<_ACEOF
37773 /* confdefs.h.  */
37774 _ACEOF
37775 cat confdefs.h >>conftest.$ac_ext
37776 cat >>conftest.$ac_ext <<_ACEOF
37777 /* end confdefs.h.  */
37778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37779    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37780 #define $ac_func innocuous_$ac_func
37781
37782 /* System header to define __stub macros and hopefully few prototypes,
37783     which can conflict with char $ac_func (); below.
37784     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37785     <limits.h> exists even on freestanding compilers.  */
37786
37787 #ifdef __STDC__
37788 # include <limits.h>
37789 #else
37790 # include <assert.h>
37791 #endif
37792
37793 #undef $ac_func
37794
37795 /* Override any gcc2 internal prototype to avoid an error.  */
37796 #ifdef __cplusplus
37797 extern "C"
37798 {
37799 #endif
37800 /* We use char because int might match the return type of a gcc2
37801    builtin and then its argument prototype would still apply.  */
37802 char $ac_func ();
37803 /* The GNU C library defines this for functions which it implements
37804     to always fail with ENOSYS.  Some functions are actually named
37805     something starting with __ and the normal name is an alias.  */
37806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37807 choke me
37808 #else
37809 char (*f) () = $ac_func;
37810 #endif
37811 #ifdef __cplusplus
37812 }
37813 #endif
37814
37815 int
37816 main ()
37817 {
37818 return f != $ac_func;
37819   ;
37820   return 0;
37821 }
37822 _ACEOF
37823 rm -f conftest.$ac_objext conftest$ac_exeext
37824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37825   (eval $ac_link) 2>conftest.er1
37826   ac_status=$?
37827   grep -v '^ *+' conftest.er1 >conftest.err
37828   rm -f conftest.er1
37829   cat conftest.err >&5
37830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37831   (exit $ac_status); } &&
37832          { ac_try='test -z "$ac_c_werror_flag"
37833                          || test ! -s conftest.err'
37834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37835   (eval $ac_try) 2>&5
37836   ac_status=$?
37837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37838   (exit $ac_status); }; } &&
37839          { ac_try='test -s conftest$ac_exeext'
37840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37841   (eval $ac_try) 2>&5
37842   ac_status=$?
37843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37844   (exit $ac_status); }; }; then
37845   eval "$as_ac_var=yes"
37846 else
37847   echo "$as_me: failed program was:" >&5
37848 sed 's/^/| /' conftest.$ac_ext >&5
37849
37850 eval "$as_ac_var=no"
37851 fi
37852 rm -f conftest.err conftest.$ac_objext \
37853       conftest$ac_exeext conftest.$ac_ext
37854 fi
37855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37857 if test `eval echo '${'$as_ac_var'}'` = yes; then
37858   cat >>confdefs.h <<_ACEOF
37859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37860 _ACEOF
37861
37862 fi
37863 done
37864
37865     fi
37866   fi
37867
37868
37869
37870
37871
37872
37873   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
37874 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
37875   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37876     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
37877   echo $ECHO_N "(cached) $ECHO_C" >&6
37878 else
37879
37880
37881
37882       ac_ext=cc
37883 ac_cpp='$CXXCPP $CPPFLAGS'
37884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37887
37888       cat >conftest.$ac_ext <<_ACEOF
37889 /* confdefs.h.  */
37890 _ACEOF
37891 cat confdefs.h >>conftest.$ac_ext
37892 cat >>conftest.$ac_ext <<_ACEOF
37893 /* end confdefs.h.  */
37894 #include <math.h>
37895                       #ifdef HAVE_IEEEFP_H
37896                       #include <ieeefp.h>
37897                       #endif
37898
37899 int
37900 main ()
37901 {
37902  fabsf(0);
37903   ;
37904   return 0;
37905 }
37906 _ACEOF
37907 rm -f conftest.$ac_objext
37908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37909   (eval $ac_compile) 2>conftest.er1
37910   ac_status=$?
37911   grep -v '^ *+' conftest.er1 >conftest.err
37912   rm -f conftest.er1
37913   cat conftest.err >&5
37914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37915   (exit $ac_status); } &&
37916          { ac_try='test -z "$ac_cxx_werror_flag"
37917                          || test ! -s conftest.err'
37918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37919   (eval $ac_try) 2>&5
37920   ac_status=$?
37921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37922   (exit $ac_status); }; } &&
37923          { ac_try='test -s conftest.$ac_objext'
37924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37925   (eval $ac_try) 2>&5
37926   ac_status=$?
37927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37928   (exit $ac_status); }; }; then
37929   glibcxx_cv_func_fabsf_use=yes
37930 else
37931   echo "$as_me: failed program was:" >&5
37932 sed 's/^/| /' conftest.$ac_ext >&5
37933
37934 glibcxx_cv_func_fabsf_use=no
37935 fi
37936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37937       ac_ext=c
37938 ac_cpp='$CPP $CPPFLAGS'
37939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37942
37943
37944 fi
37945
37946   fi
37947   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
37948 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
37949
37950   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37951
37952 for ac_func in fabsf
37953 do
37954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37955 echo "$as_me:$LINENO: checking for $ac_func" >&5
37956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37957 if eval "test \"\${$as_ac_var+set}\" = set"; then
37958   echo $ECHO_N "(cached) $ECHO_C" >&6
37959 else
37960   if test x$gcc_no_link = xyes; then
37961   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37963    { (exit 1); exit 1; }; }
37964 fi
37965 cat >conftest.$ac_ext <<_ACEOF
37966 /* confdefs.h.  */
37967 _ACEOF
37968 cat confdefs.h >>conftest.$ac_ext
37969 cat >>conftest.$ac_ext <<_ACEOF
37970 /* end confdefs.h.  */
37971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37972    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37973 #define $ac_func innocuous_$ac_func
37974
37975 /* System header to define __stub macros and hopefully few prototypes,
37976     which can conflict with char $ac_func (); below.
37977     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37978     <limits.h> exists even on freestanding compilers.  */
37979
37980 #ifdef __STDC__
37981 # include <limits.h>
37982 #else
37983 # include <assert.h>
37984 #endif
37985
37986 #undef $ac_func
37987
37988 /* Override any gcc2 internal prototype to avoid an error.  */
37989 #ifdef __cplusplus
37990 extern "C"
37991 {
37992 #endif
37993 /* We use char because int might match the return type of a gcc2
37994    builtin and then its argument prototype would still apply.  */
37995 char $ac_func ();
37996 /* The GNU C library defines this for functions which it implements
37997     to always fail with ENOSYS.  Some functions are actually named
37998     something starting with __ and the normal name is an alias.  */
37999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38000 choke me
38001 #else
38002 char (*f) () = $ac_func;
38003 #endif
38004 #ifdef __cplusplus
38005 }
38006 #endif
38007
38008 int
38009 main ()
38010 {
38011 return f != $ac_func;
38012   ;
38013   return 0;
38014 }
38015 _ACEOF
38016 rm -f conftest.$ac_objext conftest$ac_exeext
38017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38018   (eval $ac_link) 2>conftest.er1
38019   ac_status=$?
38020   grep -v '^ *+' conftest.er1 >conftest.err
38021   rm -f conftest.er1
38022   cat conftest.err >&5
38023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38024   (exit $ac_status); } &&
38025          { ac_try='test -z "$ac_c_werror_flag"
38026                          || test ! -s conftest.err'
38027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38028   (eval $ac_try) 2>&5
38029   ac_status=$?
38030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38031   (exit $ac_status); }; } &&
38032          { ac_try='test -s conftest$ac_exeext'
38033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38034   (eval $ac_try) 2>&5
38035   ac_status=$?
38036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38037   (exit $ac_status); }; }; then
38038   eval "$as_ac_var=yes"
38039 else
38040   echo "$as_me: failed program was:" >&5
38041 sed 's/^/| /' conftest.$ac_ext >&5
38042
38043 eval "$as_ac_var=no"
38044 fi
38045 rm -f conftest.err conftest.$ac_objext \
38046       conftest$ac_exeext conftest.$ac_ext
38047 fi
38048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38050 if test `eval echo '${'$as_ac_var'}'` = yes; then
38051   cat >>confdefs.h <<_ACEOF
38052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38053 _ACEOF
38054
38055 fi
38056 done
38057
38058   else
38059
38060   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
38061 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
38062   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
38063     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
38064   echo $ECHO_N "(cached) $ECHO_C" >&6
38065 else
38066
38067
38068
38069       ac_ext=cc
38070 ac_cpp='$CXXCPP $CPPFLAGS'
38071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38074
38075       cat >conftest.$ac_ext <<_ACEOF
38076 /* confdefs.h.  */
38077 _ACEOF
38078 cat confdefs.h >>conftest.$ac_ext
38079 cat >>conftest.$ac_ext <<_ACEOF
38080 /* end confdefs.h.  */
38081 #include <math.h>
38082                       #ifdef HAVE_IEEEFP_H
38083                       #include <ieeefp.h>
38084                       #endif
38085
38086 int
38087 main ()
38088 {
38089  _fabsf(0);
38090   ;
38091   return 0;
38092 }
38093 _ACEOF
38094 rm -f conftest.$ac_objext
38095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38096   (eval $ac_compile) 2>conftest.er1
38097   ac_status=$?
38098   grep -v '^ *+' conftest.er1 >conftest.err
38099   rm -f conftest.er1
38100   cat conftest.err >&5
38101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38102   (exit $ac_status); } &&
38103          { ac_try='test -z "$ac_cxx_werror_flag"
38104                          || test ! -s conftest.err'
38105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38106   (eval $ac_try) 2>&5
38107   ac_status=$?
38108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38109   (exit $ac_status); }; } &&
38110          { ac_try='test -s conftest.$ac_objext'
38111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38112   (eval $ac_try) 2>&5
38113   ac_status=$?
38114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38115   (exit $ac_status); }; }; then
38116   glibcxx_cv_func__fabsf_use=yes
38117 else
38118   echo "$as_me: failed program was:" >&5
38119 sed 's/^/| /' conftest.$ac_ext >&5
38120
38121 glibcxx_cv_func__fabsf_use=no
38122 fi
38123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38124       ac_ext=c
38125 ac_cpp='$CPP $CPPFLAGS'
38126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38129
38130
38131 fi
38132
38133   fi
38134   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
38135 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
38136
38137     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
38138
38139 for ac_func in _fabsf
38140 do
38141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38142 echo "$as_me:$LINENO: checking for $ac_func" >&5
38143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38144 if eval "test \"\${$as_ac_var+set}\" = set"; then
38145   echo $ECHO_N "(cached) $ECHO_C" >&6
38146 else
38147   if test x$gcc_no_link = xyes; then
38148   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38150    { (exit 1); exit 1; }; }
38151 fi
38152 cat >conftest.$ac_ext <<_ACEOF
38153 /* confdefs.h.  */
38154 _ACEOF
38155 cat confdefs.h >>conftest.$ac_ext
38156 cat >>conftest.$ac_ext <<_ACEOF
38157 /* end confdefs.h.  */
38158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38159    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38160 #define $ac_func innocuous_$ac_func
38161
38162 /* System header to define __stub macros and hopefully few prototypes,
38163     which can conflict with char $ac_func (); below.
38164     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38165     <limits.h> exists even on freestanding compilers.  */
38166
38167 #ifdef __STDC__
38168 # include <limits.h>
38169 #else
38170 # include <assert.h>
38171 #endif
38172
38173 #undef $ac_func
38174
38175 /* Override any gcc2 internal prototype to avoid an error.  */
38176 #ifdef __cplusplus
38177 extern "C"
38178 {
38179 #endif
38180 /* We use char because int might match the return type of a gcc2
38181    builtin and then its argument prototype would still apply.  */
38182 char $ac_func ();
38183 /* The GNU C library defines this for functions which it implements
38184     to always fail with ENOSYS.  Some functions are actually named
38185     something starting with __ and the normal name is an alias.  */
38186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38187 choke me
38188 #else
38189 char (*f) () = $ac_func;
38190 #endif
38191 #ifdef __cplusplus
38192 }
38193 #endif
38194
38195 int
38196 main ()
38197 {
38198 return f != $ac_func;
38199   ;
38200   return 0;
38201 }
38202 _ACEOF
38203 rm -f conftest.$ac_objext conftest$ac_exeext
38204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38205   (eval $ac_link) 2>conftest.er1
38206   ac_status=$?
38207   grep -v '^ *+' conftest.er1 >conftest.err
38208   rm -f conftest.er1
38209   cat conftest.err >&5
38210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38211   (exit $ac_status); } &&
38212          { ac_try='test -z "$ac_c_werror_flag"
38213                          || test ! -s conftest.err'
38214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38215   (eval $ac_try) 2>&5
38216   ac_status=$?
38217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38218   (exit $ac_status); }; } &&
38219          { ac_try='test -s conftest$ac_exeext'
38220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38221   (eval $ac_try) 2>&5
38222   ac_status=$?
38223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38224   (exit $ac_status); }; }; then
38225   eval "$as_ac_var=yes"
38226 else
38227   echo "$as_me: failed program was:" >&5
38228 sed 's/^/| /' conftest.$ac_ext >&5
38229
38230 eval "$as_ac_var=no"
38231 fi
38232 rm -f conftest.err conftest.$ac_objext \
38233       conftest$ac_exeext conftest.$ac_ext
38234 fi
38235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38237 if test `eval echo '${'$as_ac_var'}'` = yes; then
38238   cat >>confdefs.h <<_ACEOF
38239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38240 _ACEOF
38241
38242 fi
38243 done
38244
38245     fi
38246   fi
38247
38248
38249
38250
38251
38252
38253   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
38254 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
38255   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
38256     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
38257   echo $ECHO_N "(cached) $ECHO_C" >&6
38258 else
38259
38260
38261
38262       ac_ext=cc
38263 ac_cpp='$CXXCPP $CPPFLAGS'
38264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38267
38268       cat >conftest.$ac_ext <<_ACEOF
38269 /* confdefs.h.  */
38270 _ACEOF
38271 cat confdefs.h >>conftest.$ac_ext
38272 cat >>conftest.$ac_ext <<_ACEOF
38273 /* end confdefs.h.  */
38274 #include <math.h>
38275 int
38276 main ()
38277 {
38278  fmodf(0, 0);
38279   ;
38280   return 0;
38281 }
38282 _ACEOF
38283 rm -f conftest.$ac_objext
38284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38285   (eval $ac_compile) 2>conftest.er1
38286   ac_status=$?
38287   grep -v '^ *+' conftest.er1 >conftest.err
38288   rm -f conftest.er1
38289   cat conftest.err >&5
38290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38291   (exit $ac_status); } &&
38292          { ac_try='test -z "$ac_cxx_werror_flag"
38293                          || test ! -s conftest.err'
38294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38295   (eval $ac_try) 2>&5
38296   ac_status=$?
38297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38298   (exit $ac_status); }; } &&
38299          { ac_try='test -s conftest.$ac_objext'
38300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38301   (eval $ac_try) 2>&5
38302   ac_status=$?
38303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38304   (exit $ac_status); }; }; then
38305   glibcxx_cv_func_fmodf_use=yes
38306 else
38307   echo "$as_me: failed program was:" >&5
38308 sed 's/^/| /' conftest.$ac_ext >&5
38309
38310 glibcxx_cv_func_fmodf_use=no
38311 fi
38312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38313       ac_ext=c
38314 ac_cpp='$CPP $CPPFLAGS'
38315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38318
38319
38320 fi
38321
38322   fi
38323   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
38324 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
38325
38326   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
38327
38328 for ac_func in fmodf
38329 do
38330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38331 echo "$as_me:$LINENO: checking for $ac_func" >&5
38332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38333 if eval "test \"\${$as_ac_var+set}\" = set"; then
38334   echo $ECHO_N "(cached) $ECHO_C" >&6
38335 else
38336   if test x$gcc_no_link = xyes; then
38337   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38339    { (exit 1); exit 1; }; }
38340 fi
38341 cat >conftest.$ac_ext <<_ACEOF
38342 /* confdefs.h.  */
38343 _ACEOF
38344 cat confdefs.h >>conftest.$ac_ext
38345 cat >>conftest.$ac_ext <<_ACEOF
38346 /* end confdefs.h.  */
38347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38348    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38349 #define $ac_func innocuous_$ac_func
38350
38351 /* System header to define __stub macros and hopefully few prototypes,
38352     which can conflict with char $ac_func (); below.
38353     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38354     <limits.h> exists even on freestanding compilers.  */
38355
38356 #ifdef __STDC__
38357 # include <limits.h>
38358 #else
38359 # include <assert.h>
38360 #endif
38361
38362 #undef $ac_func
38363
38364 /* Override any gcc2 internal prototype to avoid an error.  */
38365 #ifdef __cplusplus
38366 extern "C"
38367 {
38368 #endif
38369 /* We use char because int might match the return type of a gcc2
38370    builtin and then its argument prototype would still apply.  */
38371 char $ac_func ();
38372 /* The GNU C library defines this for functions which it implements
38373     to always fail with ENOSYS.  Some functions are actually named
38374     something starting with __ and the normal name is an alias.  */
38375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38376 choke me
38377 #else
38378 char (*f) () = $ac_func;
38379 #endif
38380 #ifdef __cplusplus
38381 }
38382 #endif
38383
38384 int
38385 main ()
38386 {
38387 return f != $ac_func;
38388   ;
38389   return 0;
38390 }
38391 _ACEOF
38392 rm -f conftest.$ac_objext conftest$ac_exeext
38393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38394   (eval $ac_link) 2>conftest.er1
38395   ac_status=$?
38396   grep -v '^ *+' conftest.er1 >conftest.err
38397   rm -f conftest.er1
38398   cat conftest.err >&5
38399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38400   (exit $ac_status); } &&
38401          { ac_try='test -z "$ac_c_werror_flag"
38402                          || test ! -s conftest.err'
38403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38404   (eval $ac_try) 2>&5
38405   ac_status=$?
38406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38407   (exit $ac_status); }; } &&
38408          { ac_try='test -s conftest$ac_exeext'
38409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38410   (eval $ac_try) 2>&5
38411   ac_status=$?
38412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38413   (exit $ac_status); }; }; then
38414   eval "$as_ac_var=yes"
38415 else
38416   echo "$as_me: failed program was:" >&5
38417 sed 's/^/| /' conftest.$ac_ext >&5
38418
38419 eval "$as_ac_var=no"
38420 fi
38421 rm -f conftest.err conftest.$ac_objext \
38422       conftest$ac_exeext conftest.$ac_ext
38423 fi
38424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38426 if test `eval echo '${'$as_ac_var'}'` = yes; then
38427   cat >>confdefs.h <<_ACEOF
38428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38429 _ACEOF
38430
38431 fi
38432 done
38433
38434   else
38435
38436   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
38437 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
38438   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
38439     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
38440   echo $ECHO_N "(cached) $ECHO_C" >&6
38441 else
38442
38443
38444
38445       ac_ext=cc
38446 ac_cpp='$CXXCPP $CPPFLAGS'
38447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38450
38451       cat >conftest.$ac_ext <<_ACEOF
38452 /* confdefs.h.  */
38453 _ACEOF
38454 cat confdefs.h >>conftest.$ac_ext
38455 cat >>conftest.$ac_ext <<_ACEOF
38456 /* end confdefs.h.  */
38457 #include <math.h>
38458 int
38459 main ()
38460 {
38461  _fmodf(0, 0);
38462   ;
38463   return 0;
38464 }
38465 _ACEOF
38466 rm -f conftest.$ac_objext
38467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38468   (eval $ac_compile) 2>conftest.er1
38469   ac_status=$?
38470   grep -v '^ *+' conftest.er1 >conftest.err
38471   rm -f conftest.er1
38472   cat conftest.err >&5
38473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38474   (exit $ac_status); } &&
38475          { ac_try='test -z "$ac_cxx_werror_flag"
38476                          || test ! -s conftest.err'
38477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38478   (eval $ac_try) 2>&5
38479   ac_status=$?
38480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38481   (exit $ac_status); }; } &&
38482          { ac_try='test -s conftest.$ac_objext'
38483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38484   (eval $ac_try) 2>&5
38485   ac_status=$?
38486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38487   (exit $ac_status); }; }; then
38488   glibcxx_cv_func__fmodf_use=yes
38489 else
38490   echo "$as_me: failed program was:" >&5
38491 sed 's/^/| /' conftest.$ac_ext >&5
38492
38493 glibcxx_cv_func__fmodf_use=no
38494 fi
38495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38496       ac_ext=c
38497 ac_cpp='$CPP $CPPFLAGS'
38498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38501
38502
38503 fi
38504
38505   fi
38506   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
38507 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
38508
38509     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
38510
38511 for ac_func in _fmodf
38512 do
38513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38514 echo "$as_me:$LINENO: checking for $ac_func" >&5
38515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38516 if eval "test \"\${$as_ac_var+set}\" = set"; then
38517   echo $ECHO_N "(cached) $ECHO_C" >&6
38518 else
38519   if test x$gcc_no_link = xyes; then
38520   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38522    { (exit 1); exit 1; }; }
38523 fi
38524 cat >conftest.$ac_ext <<_ACEOF
38525 /* confdefs.h.  */
38526 _ACEOF
38527 cat confdefs.h >>conftest.$ac_ext
38528 cat >>conftest.$ac_ext <<_ACEOF
38529 /* end confdefs.h.  */
38530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38531    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38532 #define $ac_func innocuous_$ac_func
38533
38534 /* System header to define __stub macros and hopefully few prototypes,
38535     which can conflict with char $ac_func (); below.
38536     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38537     <limits.h> exists even on freestanding compilers.  */
38538
38539 #ifdef __STDC__
38540 # include <limits.h>
38541 #else
38542 # include <assert.h>
38543 #endif
38544
38545 #undef $ac_func
38546
38547 /* Override any gcc2 internal prototype to avoid an error.  */
38548 #ifdef __cplusplus
38549 extern "C"
38550 {
38551 #endif
38552 /* We use char because int might match the return type of a gcc2
38553    builtin and then its argument prototype would still apply.  */
38554 char $ac_func ();
38555 /* The GNU C library defines this for functions which it implements
38556     to always fail with ENOSYS.  Some functions are actually named
38557     something starting with __ and the normal name is an alias.  */
38558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38559 choke me
38560 #else
38561 char (*f) () = $ac_func;
38562 #endif
38563 #ifdef __cplusplus
38564 }
38565 #endif
38566
38567 int
38568 main ()
38569 {
38570 return f != $ac_func;
38571   ;
38572   return 0;
38573 }
38574 _ACEOF
38575 rm -f conftest.$ac_objext conftest$ac_exeext
38576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38577   (eval $ac_link) 2>conftest.er1
38578   ac_status=$?
38579   grep -v '^ *+' conftest.er1 >conftest.err
38580   rm -f conftest.er1
38581   cat conftest.err >&5
38582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38583   (exit $ac_status); } &&
38584          { ac_try='test -z "$ac_c_werror_flag"
38585                          || test ! -s conftest.err'
38586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38587   (eval $ac_try) 2>&5
38588   ac_status=$?
38589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38590   (exit $ac_status); }; } &&
38591          { ac_try='test -s conftest$ac_exeext'
38592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38593   (eval $ac_try) 2>&5
38594   ac_status=$?
38595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38596   (exit $ac_status); }; }; then
38597   eval "$as_ac_var=yes"
38598 else
38599   echo "$as_me: failed program was:" >&5
38600 sed 's/^/| /' conftest.$ac_ext >&5
38601
38602 eval "$as_ac_var=no"
38603 fi
38604 rm -f conftest.err conftest.$ac_objext \
38605       conftest$ac_exeext conftest.$ac_ext
38606 fi
38607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38609 if test `eval echo '${'$as_ac_var'}'` = yes; then
38610   cat >>confdefs.h <<_ACEOF
38611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38612 _ACEOF
38613
38614 fi
38615 done
38616
38617     fi
38618   fi
38619
38620
38621
38622
38623
38624
38625   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
38626 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
38627   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
38628     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
38629   echo $ECHO_N "(cached) $ECHO_C" >&6
38630 else
38631
38632
38633
38634       ac_ext=cc
38635 ac_cpp='$CXXCPP $CPPFLAGS'
38636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38639
38640       cat >conftest.$ac_ext <<_ACEOF
38641 /* confdefs.h.  */
38642 _ACEOF
38643 cat confdefs.h >>conftest.$ac_ext
38644 cat >>conftest.$ac_ext <<_ACEOF
38645 /* end confdefs.h.  */
38646 #include <math.h>
38647 int
38648 main ()
38649 {
38650  frexpf(0, 0);
38651   ;
38652   return 0;
38653 }
38654 _ACEOF
38655 rm -f conftest.$ac_objext
38656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38657   (eval $ac_compile) 2>conftest.er1
38658   ac_status=$?
38659   grep -v '^ *+' conftest.er1 >conftest.err
38660   rm -f conftest.er1
38661   cat conftest.err >&5
38662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38663   (exit $ac_status); } &&
38664          { ac_try='test -z "$ac_cxx_werror_flag"
38665                          || test ! -s conftest.err'
38666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38667   (eval $ac_try) 2>&5
38668   ac_status=$?
38669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38670   (exit $ac_status); }; } &&
38671          { ac_try='test -s conftest.$ac_objext'
38672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38673   (eval $ac_try) 2>&5
38674   ac_status=$?
38675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38676   (exit $ac_status); }; }; then
38677   glibcxx_cv_func_frexpf_use=yes
38678 else
38679   echo "$as_me: failed program was:" >&5
38680 sed 's/^/| /' conftest.$ac_ext >&5
38681
38682 glibcxx_cv_func_frexpf_use=no
38683 fi
38684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38685       ac_ext=c
38686 ac_cpp='$CPP $CPPFLAGS'
38687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38690
38691
38692 fi
38693
38694   fi
38695   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
38696 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
38697
38698   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
38699
38700 for ac_func in frexpf
38701 do
38702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38703 echo "$as_me:$LINENO: checking for $ac_func" >&5
38704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38705 if eval "test \"\${$as_ac_var+set}\" = set"; then
38706   echo $ECHO_N "(cached) $ECHO_C" >&6
38707 else
38708   if test x$gcc_no_link = xyes; then
38709   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38711    { (exit 1); exit 1; }; }
38712 fi
38713 cat >conftest.$ac_ext <<_ACEOF
38714 /* confdefs.h.  */
38715 _ACEOF
38716 cat confdefs.h >>conftest.$ac_ext
38717 cat >>conftest.$ac_ext <<_ACEOF
38718 /* end confdefs.h.  */
38719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38720    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38721 #define $ac_func innocuous_$ac_func
38722
38723 /* System header to define __stub macros and hopefully few prototypes,
38724     which can conflict with char $ac_func (); below.
38725     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38726     <limits.h> exists even on freestanding compilers.  */
38727
38728 #ifdef __STDC__
38729 # include <limits.h>
38730 #else
38731 # include <assert.h>
38732 #endif
38733
38734 #undef $ac_func
38735
38736 /* Override any gcc2 internal prototype to avoid an error.  */
38737 #ifdef __cplusplus
38738 extern "C"
38739 {
38740 #endif
38741 /* We use char because int might match the return type of a gcc2
38742    builtin and then its argument prototype would still apply.  */
38743 char $ac_func ();
38744 /* The GNU C library defines this for functions which it implements
38745     to always fail with ENOSYS.  Some functions are actually named
38746     something starting with __ and the normal name is an alias.  */
38747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38748 choke me
38749 #else
38750 char (*f) () = $ac_func;
38751 #endif
38752 #ifdef __cplusplus
38753 }
38754 #endif
38755
38756 int
38757 main ()
38758 {
38759 return f != $ac_func;
38760   ;
38761   return 0;
38762 }
38763 _ACEOF
38764 rm -f conftest.$ac_objext conftest$ac_exeext
38765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38766   (eval $ac_link) 2>conftest.er1
38767   ac_status=$?
38768   grep -v '^ *+' conftest.er1 >conftest.err
38769   rm -f conftest.er1
38770   cat conftest.err >&5
38771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38772   (exit $ac_status); } &&
38773          { ac_try='test -z "$ac_c_werror_flag"
38774                          || test ! -s conftest.err'
38775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38776   (eval $ac_try) 2>&5
38777   ac_status=$?
38778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38779   (exit $ac_status); }; } &&
38780          { ac_try='test -s conftest$ac_exeext'
38781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38782   (eval $ac_try) 2>&5
38783   ac_status=$?
38784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38785   (exit $ac_status); }; }; then
38786   eval "$as_ac_var=yes"
38787 else
38788   echo "$as_me: failed program was:" >&5
38789 sed 's/^/| /' conftest.$ac_ext >&5
38790
38791 eval "$as_ac_var=no"
38792 fi
38793 rm -f conftest.err conftest.$ac_objext \
38794       conftest$ac_exeext conftest.$ac_ext
38795 fi
38796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38798 if test `eval echo '${'$as_ac_var'}'` = yes; then
38799   cat >>confdefs.h <<_ACEOF
38800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38801 _ACEOF
38802
38803 fi
38804 done
38805
38806   else
38807
38808   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
38809 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
38810   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
38811     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
38812   echo $ECHO_N "(cached) $ECHO_C" >&6
38813 else
38814
38815
38816
38817       ac_ext=cc
38818 ac_cpp='$CXXCPP $CPPFLAGS'
38819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38822
38823       cat >conftest.$ac_ext <<_ACEOF
38824 /* confdefs.h.  */
38825 _ACEOF
38826 cat confdefs.h >>conftest.$ac_ext
38827 cat >>conftest.$ac_ext <<_ACEOF
38828 /* end confdefs.h.  */
38829 #include <math.h>
38830 int
38831 main ()
38832 {
38833  _frexpf(0, 0);
38834   ;
38835   return 0;
38836 }
38837 _ACEOF
38838 rm -f conftest.$ac_objext
38839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38840   (eval $ac_compile) 2>conftest.er1
38841   ac_status=$?
38842   grep -v '^ *+' conftest.er1 >conftest.err
38843   rm -f conftest.er1
38844   cat conftest.err >&5
38845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38846   (exit $ac_status); } &&
38847          { ac_try='test -z "$ac_cxx_werror_flag"
38848                          || test ! -s conftest.err'
38849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38850   (eval $ac_try) 2>&5
38851   ac_status=$?
38852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38853   (exit $ac_status); }; } &&
38854          { ac_try='test -s conftest.$ac_objext'
38855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38856   (eval $ac_try) 2>&5
38857   ac_status=$?
38858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38859   (exit $ac_status); }; }; then
38860   glibcxx_cv_func__frexpf_use=yes
38861 else
38862   echo "$as_me: failed program was:" >&5
38863 sed 's/^/| /' conftest.$ac_ext >&5
38864
38865 glibcxx_cv_func__frexpf_use=no
38866 fi
38867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38868       ac_ext=c
38869 ac_cpp='$CPP $CPPFLAGS'
38870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38873
38874
38875 fi
38876
38877   fi
38878   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
38879 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
38880
38881     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
38882
38883 for ac_func in _frexpf
38884 do
38885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38886 echo "$as_me:$LINENO: checking for $ac_func" >&5
38887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38888 if eval "test \"\${$as_ac_var+set}\" = set"; then
38889   echo $ECHO_N "(cached) $ECHO_C" >&6
38890 else
38891   if test x$gcc_no_link = xyes; then
38892   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38894    { (exit 1); exit 1; }; }
38895 fi
38896 cat >conftest.$ac_ext <<_ACEOF
38897 /* confdefs.h.  */
38898 _ACEOF
38899 cat confdefs.h >>conftest.$ac_ext
38900 cat >>conftest.$ac_ext <<_ACEOF
38901 /* end confdefs.h.  */
38902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38903    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38904 #define $ac_func innocuous_$ac_func
38905
38906 /* System header to define __stub macros and hopefully few prototypes,
38907     which can conflict with char $ac_func (); below.
38908     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38909     <limits.h> exists even on freestanding compilers.  */
38910
38911 #ifdef __STDC__
38912 # include <limits.h>
38913 #else
38914 # include <assert.h>
38915 #endif
38916
38917 #undef $ac_func
38918
38919 /* Override any gcc2 internal prototype to avoid an error.  */
38920 #ifdef __cplusplus
38921 extern "C"
38922 {
38923 #endif
38924 /* We use char because int might match the return type of a gcc2
38925    builtin and then its argument prototype would still apply.  */
38926 char $ac_func ();
38927 /* The GNU C library defines this for functions which it implements
38928     to always fail with ENOSYS.  Some functions are actually named
38929     something starting with __ and the normal name is an alias.  */
38930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38931 choke me
38932 #else
38933 char (*f) () = $ac_func;
38934 #endif
38935 #ifdef __cplusplus
38936 }
38937 #endif
38938
38939 int
38940 main ()
38941 {
38942 return f != $ac_func;
38943   ;
38944   return 0;
38945 }
38946 _ACEOF
38947 rm -f conftest.$ac_objext conftest$ac_exeext
38948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38949   (eval $ac_link) 2>conftest.er1
38950   ac_status=$?
38951   grep -v '^ *+' conftest.er1 >conftest.err
38952   rm -f conftest.er1
38953   cat conftest.err >&5
38954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38955   (exit $ac_status); } &&
38956          { ac_try='test -z "$ac_c_werror_flag"
38957                          || test ! -s conftest.err'
38958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38959   (eval $ac_try) 2>&5
38960   ac_status=$?
38961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38962   (exit $ac_status); }; } &&
38963          { ac_try='test -s conftest$ac_exeext'
38964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38965   (eval $ac_try) 2>&5
38966   ac_status=$?
38967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38968   (exit $ac_status); }; }; then
38969   eval "$as_ac_var=yes"
38970 else
38971   echo "$as_me: failed program was:" >&5
38972 sed 's/^/| /' conftest.$ac_ext >&5
38973
38974 eval "$as_ac_var=no"
38975 fi
38976 rm -f conftest.err conftest.$ac_objext \
38977       conftest$ac_exeext conftest.$ac_ext
38978 fi
38979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38981 if test `eval echo '${'$as_ac_var'}'` = yes; then
38982   cat >>confdefs.h <<_ACEOF
38983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38984 _ACEOF
38985
38986 fi
38987 done
38988
38989     fi
38990   fi
38991
38992
38993
38994
38995
38996
38997   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
38998 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
38999   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
39000     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
39001   echo $ECHO_N "(cached) $ECHO_C" >&6
39002 else
39003
39004
39005
39006       ac_ext=cc
39007 ac_cpp='$CXXCPP $CPPFLAGS'
39008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39011
39012       cat >conftest.$ac_ext <<_ACEOF
39013 /* confdefs.h.  */
39014 _ACEOF
39015 cat confdefs.h >>conftest.$ac_ext
39016 cat >>conftest.$ac_ext <<_ACEOF
39017 /* end confdefs.h.  */
39018 #include <math.h>
39019 int
39020 main ()
39021 {
39022  hypotf(0, 0);
39023   ;
39024   return 0;
39025 }
39026 _ACEOF
39027 rm -f conftest.$ac_objext
39028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39029   (eval $ac_compile) 2>conftest.er1
39030   ac_status=$?
39031   grep -v '^ *+' conftest.er1 >conftest.err
39032   rm -f conftest.er1
39033   cat conftest.err >&5
39034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39035   (exit $ac_status); } &&
39036          { ac_try='test -z "$ac_cxx_werror_flag"
39037                          || test ! -s conftest.err'
39038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39039   (eval $ac_try) 2>&5
39040   ac_status=$?
39041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39042   (exit $ac_status); }; } &&
39043          { ac_try='test -s conftest.$ac_objext'
39044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39045   (eval $ac_try) 2>&5
39046   ac_status=$?
39047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39048   (exit $ac_status); }; }; then
39049   glibcxx_cv_func_hypotf_use=yes
39050 else
39051   echo "$as_me: failed program was:" >&5
39052 sed 's/^/| /' conftest.$ac_ext >&5
39053
39054 glibcxx_cv_func_hypotf_use=no
39055 fi
39056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39057       ac_ext=c
39058 ac_cpp='$CPP $CPPFLAGS'
39059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39062
39063
39064 fi
39065
39066   fi
39067   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
39068 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
39069
39070   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
39071
39072 for ac_func in hypotf
39073 do
39074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39075 echo "$as_me:$LINENO: checking for $ac_func" >&5
39076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39077 if eval "test \"\${$as_ac_var+set}\" = set"; then
39078   echo $ECHO_N "(cached) $ECHO_C" >&6
39079 else
39080   if test x$gcc_no_link = xyes; then
39081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39083    { (exit 1); exit 1; }; }
39084 fi
39085 cat >conftest.$ac_ext <<_ACEOF
39086 /* confdefs.h.  */
39087 _ACEOF
39088 cat confdefs.h >>conftest.$ac_ext
39089 cat >>conftest.$ac_ext <<_ACEOF
39090 /* end confdefs.h.  */
39091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39092    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39093 #define $ac_func innocuous_$ac_func
39094
39095 /* System header to define __stub macros and hopefully few prototypes,
39096     which can conflict with char $ac_func (); below.
39097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39098     <limits.h> exists even on freestanding compilers.  */
39099
39100 #ifdef __STDC__
39101 # include <limits.h>
39102 #else
39103 # include <assert.h>
39104 #endif
39105
39106 #undef $ac_func
39107
39108 /* Override any gcc2 internal prototype to avoid an error.  */
39109 #ifdef __cplusplus
39110 extern "C"
39111 {
39112 #endif
39113 /* We use char because int might match the return type of a gcc2
39114    builtin and then its argument prototype would still apply.  */
39115 char $ac_func ();
39116 /* The GNU C library defines this for functions which it implements
39117     to always fail with ENOSYS.  Some functions are actually named
39118     something starting with __ and the normal name is an alias.  */
39119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39120 choke me
39121 #else
39122 char (*f) () = $ac_func;
39123 #endif
39124 #ifdef __cplusplus
39125 }
39126 #endif
39127
39128 int
39129 main ()
39130 {
39131 return f != $ac_func;
39132   ;
39133   return 0;
39134 }
39135 _ACEOF
39136 rm -f conftest.$ac_objext conftest$ac_exeext
39137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39138   (eval $ac_link) 2>conftest.er1
39139   ac_status=$?
39140   grep -v '^ *+' conftest.er1 >conftest.err
39141   rm -f conftest.er1
39142   cat conftest.err >&5
39143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39144   (exit $ac_status); } &&
39145          { ac_try='test -z "$ac_c_werror_flag"
39146                          || test ! -s conftest.err'
39147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39148   (eval $ac_try) 2>&5
39149   ac_status=$?
39150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39151   (exit $ac_status); }; } &&
39152          { ac_try='test -s conftest$ac_exeext'
39153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39154   (eval $ac_try) 2>&5
39155   ac_status=$?
39156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39157   (exit $ac_status); }; }; then
39158   eval "$as_ac_var=yes"
39159 else
39160   echo "$as_me: failed program was:" >&5
39161 sed 's/^/| /' conftest.$ac_ext >&5
39162
39163 eval "$as_ac_var=no"
39164 fi
39165 rm -f conftest.err conftest.$ac_objext \
39166       conftest$ac_exeext conftest.$ac_ext
39167 fi
39168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39170 if test `eval echo '${'$as_ac_var'}'` = yes; then
39171   cat >>confdefs.h <<_ACEOF
39172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39173 _ACEOF
39174
39175 fi
39176 done
39177
39178   else
39179
39180   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
39181 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
39182   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
39183     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
39184   echo $ECHO_N "(cached) $ECHO_C" >&6
39185 else
39186
39187
39188
39189       ac_ext=cc
39190 ac_cpp='$CXXCPP $CPPFLAGS'
39191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39194
39195       cat >conftest.$ac_ext <<_ACEOF
39196 /* confdefs.h.  */
39197 _ACEOF
39198 cat confdefs.h >>conftest.$ac_ext
39199 cat >>conftest.$ac_ext <<_ACEOF
39200 /* end confdefs.h.  */
39201 #include <math.h>
39202 int
39203 main ()
39204 {
39205  _hypotf(0, 0);
39206   ;
39207   return 0;
39208 }
39209 _ACEOF
39210 rm -f conftest.$ac_objext
39211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39212   (eval $ac_compile) 2>conftest.er1
39213   ac_status=$?
39214   grep -v '^ *+' conftest.er1 >conftest.err
39215   rm -f conftest.er1
39216   cat conftest.err >&5
39217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39218   (exit $ac_status); } &&
39219          { ac_try='test -z "$ac_cxx_werror_flag"
39220                          || test ! -s conftest.err'
39221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39222   (eval $ac_try) 2>&5
39223   ac_status=$?
39224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39225   (exit $ac_status); }; } &&
39226          { ac_try='test -s conftest.$ac_objext'
39227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39228   (eval $ac_try) 2>&5
39229   ac_status=$?
39230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39231   (exit $ac_status); }; }; then
39232   glibcxx_cv_func__hypotf_use=yes
39233 else
39234   echo "$as_me: failed program was:" >&5
39235 sed 's/^/| /' conftest.$ac_ext >&5
39236
39237 glibcxx_cv_func__hypotf_use=no
39238 fi
39239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39240       ac_ext=c
39241 ac_cpp='$CPP $CPPFLAGS'
39242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39245
39246
39247 fi
39248
39249   fi
39250   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
39251 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
39252
39253     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
39254
39255 for ac_func in _hypotf
39256 do
39257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39258 echo "$as_me:$LINENO: checking for $ac_func" >&5
39259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39260 if eval "test \"\${$as_ac_var+set}\" = set"; then
39261   echo $ECHO_N "(cached) $ECHO_C" >&6
39262 else
39263   if test x$gcc_no_link = xyes; then
39264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39266    { (exit 1); exit 1; }; }
39267 fi
39268 cat >conftest.$ac_ext <<_ACEOF
39269 /* confdefs.h.  */
39270 _ACEOF
39271 cat confdefs.h >>conftest.$ac_ext
39272 cat >>conftest.$ac_ext <<_ACEOF
39273 /* end confdefs.h.  */
39274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39275    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39276 #define $ac_func innocuous_$ac_func
39277
39278 /* System header to define __stub macros and hopefully few prototypes,
39279     which can conflict with char $ac_func (); below.
39280     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39281     <limits.h> exists even on freestanding compilers.  */
39282
39283 #ifdef __STDC__
39284 # include <limits.h>
39285 #else
39286 # include <assert.h>
39287 #endif
39288
39289 #undef $ac_func
39290
39291 /* Override any gcc2 internal prototype to avoid an error.  */
39292 #ifdef __cplusplus
39293 extern "C"
39294 {
39295 #endif
39296 /* We use char because int might match the return type of a gcc2
39297    builtin and then its argument prototype would still apply.  */
39298 char $ac_func ();
39299 /* The GNU C library defines this for functions which it implements
39300     to always fail with ENOSYS.  Some functions are actually named
39301     something starting with __ and the normal name is an alias.  */
39302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39303 choke me
39304 #else
39305 char (*f) () = $ac_func;
39306 #endif
39307 #ifdef __cplusplus
39308 }
39309 #endif
39310
39311 int
39312 main ()
39313 {
39314 return f != $ac_func;
39315   ;
39316   return 0;
39317 }
39318 _ACEOF
39319 rm -f conftest.$ac_objext conftest$ac_exeext
39320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39321   (eval $ac_link) 2>conftest.er1
39322   ac_status=$?
39323   grep -v '^ *+' conftest.er1 >conftest.err
39324   rm -f conftest.er1
39325   cat conftest.err >&5
39326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39327   (exit $ac_status); } &&
39328          { ac_try='test -z "$ac_c_werror_flag"
39329                          || test ! -s conftest.err'
39330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39331   (eval $ac_try) 2>&5
39332   ac_status=$?
39333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39334   (exit $ac_status); }; } &&
39335          { ac_try='test -s conftest$ac_exeext'
39336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39337   (eval $ac_try) 2>&5
39338   ac_status=$?
39339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39340   (exit $ac_status); }; }; then
39341   eval "$as_ac_var=yes"
39342 else
39343   echo "$as_me: failed program was:" >&5
39344 sed 's/^/| /' conftest.$ac_ext >&5
39345
39346 eval "$as_ac_var=no"
39347 fi
39348 rm -f conftest.err conftest.$ac_objext \
39349       conftest$ac_exeext conftest.$ac_ext
39350 fi
39351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39353 if test `eval echo '${'$as_ac_var'}'` = yes; then
39354   cat >>confdefs.h <<_ACEOF
39355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39356 _ACEOF
39357
39358 fi
39359 done
39360
39361     fi
39362   fi
39363
39364
39365
39366
39367
39368
39369   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
39370 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
39371   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
39372     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
39373   echo $ECHO_N "(cached) $ECHO_C" >&6
39374 else
39375
39376
39377
39378       ac_ext=cc
39379 ac_cpp='$CXXCPP $CPPFLAGS'
39380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39383
39384       cat >conftest.$ac_ext <<_ACEOF
39385 /* confdefs.h.  */
39386 _ACEOF
39387 cat confdefs.h >>conftest.$ac_ext
39388 cat >>conftest.$ac_ext <<_ACEOF
39389 /* end confdefs.h.  */
39390 #include <math.h>
39391 int
39392 main ()
39393 {
39394  ldexpf(0, 0);
39395   ;
39396   return 0;
39397 }
39398 _ACEOF
39399 rm -f conftest.$ac_objext
39400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39401   (eval $ac_compile) 2>conftest.er1
39402   ac_status=$?
39403   grep -v '^ *+' conftest.er1 >conftest.err
39404   rm -f conftest.er1
39405   cat conftest.err >&5
39406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39407   (exit $ac_status); } &&
39408          { ac_try='test -z "$ac_cxx_werror_flag"
39409                          || test ! -s conftest.err'
39410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39411   (eval $ac_try) 2>&5
39412   ac_status=$?
39413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39414   (exit $ac_status); }; } &&
39415          { ac_try='test -s conftest.$ac_objext'
39416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39417   (eval $ac_try) 2>&5
39418   ac_status=$?
39419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39420   (exit $ac_status); }; }; then
39421   glibcxx_cv_func_ldexpf_use=yes
39422 else
39423   echo "$as_me: failed program was:" >&5
39424 sed 's/^/| /' conftest.$ac_ext >&5
39425
39426 glibcxx_cv_func_ldexpf_use=no
39427 fi
39428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39429       ac_ext=c
39430 ac_cpp='$CPP $CPPFLAGS'
39431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39434
39435
39436 fi
39437
39438   fi
39439   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
39440 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
39441
39442   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
39443
39444 for ac_func in ldexpf
39445 do
39446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39447 echo "$as_me:$LINENO: checking for $ac_func" >&5
39448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39449 if eval "test \"\${$as_ac_var+set}\" = set"; then
39450   echo $ECHO_N "(cached) $ECHO_C" >&6
39451 else
39452   if test x$gcc_no_link = xyes; then
39453   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39455    { (exit 1); exit 1; }; }
39456 fi
39457 cat >conftest.$ac_ext <<_ACEOF
39458 /* confdefs.h.  */
39459 _ACEOF
39460 cat confdefs.h >>conftest.$ac_ext
39461 cat >>conftest.$ac_ext <<_ACEOF
39462 /* end confdefs.h.  */
39463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39464    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39465 #define $ac_func innocuous_$ac_func
39466
39467 /* System header to define __stub macros and hopefully few prototypes,
39468     which can conflict with char $ac_func (); below.
39469     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39470     <limits.h> exists even on freestanding compilers.  */
39471
39472 #ifdef __STDC__
39473 # include <limits.h>
39474 #else
39475 # include <assert.h>
39476 #endif
39477
39478 #undef $ac_func
39479
39480 /* Override any gcc2 internal prototype to avoid an error.  */
39481 #ifdef __cplusplus
39482 extern "C"
39483 {
39484 #endif
39485 /* We use char because int might match the return type of a gcc2
39486    builtin and then its argument prototype would still apply.  */
39487 char $ac_func ();
39488 /* The GNU C library defines this for functions which it implements
39489     to always fail with ENOSYS.  Some functions are actually named
39490     something starting with __ and the normal name is an alias.  */
39491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39492 choke me
39493 #else
39494 char (*f) () = $ac_func;
39495 #endif
39496 #ifdef __cplusplus
39497 }
39498 #endif
39499
39500 int
39501 main ()
39502 {
39503 return f != $ac_func;
39504   ;
39505   return 0;
39506 }
39507 _ACEOF
39508 rm -f conftest.$ac_objext conftest$ac_exeext
39509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39510   (eval $ac_link) 2>conftest.er1
39511   ac_status=$?
39512   grep -v '^ *+' conftest.er1 >conftest.err
39513   rm -f conftest.er1
39514   cat conftest.err >&5
39515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39516   (exit $ac_status); } &&
39517          { ac_try='test -z "$ac_c_werror_flag"
39518                          || test ! -s conftest.err'
39519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39520   (eval $ac_try) 2>&5
39521   ac_status=$?
39522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39523   (exit $ac_status); }; } &&
39524          { ac_try='test -s conftest$ac_exeext'
39525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39526   (eval $ac_try) 2>&5
39527   ac_status=$?
39528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39529   (exit $ac_status); }; }; then
39530   eval "$as_ac_var=yes"
39531 else
39532   echo "$as_me: failed program was:" >&5
39533 sed 's/^/| /' conftest.$ac_ext >&5
39534
39535 eval "$as_ac_var=no"
39536 fi
39537 rm -f conftest.err conftest.$ac_objext \
39538       conftest$ac_exeext conftest.$ac_ext
39539 fi
39540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39542 if test `eval echo '${'$as_ac_var'}'` = yes; then
39543   cat >>confdefs.h <<_ACEOF
39544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39545 _ACEOF
39546
39547 fi
39548 done
39549
39550   else
39551
39552   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
39553 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
39554   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
39555     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
39556   echo $ECHO_N "(cached) $ECHO_C" >&6
39557 else
39558
39559
39560
39561       ac_ext=cc
39562 ac_cpp='$CXXCPP $CPPFLAGS'
39563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39566
39567       cat >conftest.$ac_ext <<_ACEOF
39568 /* confdefs.h.  */
39569 _ACEOF
39570 cat confdefs.h >>conftest.$ac_ext
39571 cat >>conftest.$ac_ext <<_ACEOF
39572 /* end confdefs.h.  */
39573 #include <math.h>
39574 int
39575 main ()
39576 {
39577  _ldexpf(0, 0);
39578   ;
39579   return 0;
39580 }
39581 _ACEOF
39582 rm -f conftest.$ac_objext
39583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39584   (eval $ac_compile) 2>conftest.er1
39585   ac_status=$?
39586   grep -v '^ *+' conftest.er1 >conftest.err
39587   rm -f conftest.er1
39588   cat conftest.err >&5
39589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39590   (exit $ac_status); } &&
39591          { ac_try='test -z "$ac_cxx_werror_flag"
39592                          || test ! -s conftest.err'
39593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39594   (eval $ac_try) 2>&5
39595   ac_status=$?
39596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39597   (exit $ac_status); }; } &&
39598          { ac_try='test -s conftest.$ac_objext'
39599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39600   (eval $ac_try) 2>&5
39601   ac_status=$?
39602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39603   (exit $ac_status); }; }; then
39604   glibcxx_cv_func__ldexpf_use=yes
39605 else
39606   echo "$as_me: failed program was:" >&5
39607 sed 's/^/| /' conftest.$ac_ext >&5
39608
39609 glibcxx_cv_func__ldexpf_use=no
39610 fi
39611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39612       ac_ext=c
39613 ac_cpp='$CPP $CPPFLAGS'
39614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39617
39618
39619 fi
39620
39621   fi
39622   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
39623 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
39624
39625     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
39626
39627 for ac_func in _ldexpf
39628 do
39629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39630 echo "$as_me:$LINENO: checking for $ac_func" >&5
39631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39632 if eval "test \"\${$as_ac_var+set}\" = set"; then
39633   echo $ECHO_N "(cached) $ECHO_C" >&6
39634 else
39635   if test x$gcc_no_link = xyes; then
39636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39638    { (exit 1); exit 1; }; }
39639 fi
39640 cat >conftest.$ac_ext <<_ACEOF
39641 /* confdefs.h.  */
39642 _ACEOF
39643 cat confdefs.h >>conftest.$ac_ext
39644 cat >>conftest.$ac_ext <<_ACEOF
39645 /* end confdefs.h.  */
39646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39647    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39648 #define $ac_func innocuous_$ac_func
39649
39650 /* System header to define __stub macros and hopefully few prototypes,
39651     which can conflict with char $ac_func (); below.
39652     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39653     <limits.h> exists even on freestanding compilers.  */
39654
39655 #ifdef __STDC__
39656 # include <limits.h>
39657 #else
39658 # include <assert.h>
39659 #endif
39660
39661 #undef $ac_func
39662
39663 /* Override any gcc2 internal prototype to avoid an error.  */
39664 #ifdef __cplusplus
39665 extern "C"
39666 {
39667 #endif
39668 /* We use char because int might match the return type of a gcc2
39669    builtin and then its argument prototype would still apply.  */
39670 char $ac_func ();
39671 /* The GNU C library defines this for functions which it implements
39672     to always fail with ENOSYS.  Some functions are actually named
39673     something starting with __ and the normal name is an alias.  */
39674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39675 choke me
39676 #else
39677 char (*f) () = $ac_func;
39678 #endif
39679 #ifdef __cplusplus
39680 }
39681 #endif
39682
39683 int
39684 main ()
39685 {
39686 return f != $ac_func;
39687   ;
39688   return 0;
39689 }
39690 _ACEOF
39691 rm -f conftest.$ac_objext conftest$ac_exeext
39692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39693   (eval $ac_link) 2>conftest.er1
39694   ac_status=$?
39695   grep -v '^ *+' conftest.er1 >conftest.err
39696   rm -f conftest.er1
39697   cat conftest.err >&5
39698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39699   (exit $ac_status); } &&
39700          { ac_try='test -z "$ac_c_werror_flag"
39701                          || test ! -s conftest.err'
39702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39703   (eval $ac_try) 2>&5
39704   ac_status=$?
39705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39706   (exit $ac_status); }; } &&
39707          { ac_try='test -s conftest$ac_exeext'
39708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39709   (eval $ac_try) 2>&5
39710   ac_status=$?
39711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39712   (exit $ac_status); }; }; then
39713   eval "$as_ac_var=yes"
39714 else
39715   echo "$as_me: failed program was:" >&5
39716 sed 's/^/| /' conftest.$ac_ext >&5
39717
39718 eval "$as_ac_var=no"
39719 fi
39720 rm -f conftest.err conftest.$ac_objext \
39721       conftest$ac_exeext conftest.$ac_ext
39722 fi
39723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39725 if test `eval echo '${'$as_ac_var'}'` = yes; then
39726   cat >>confdefs.h <<_ACEOF
39727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39728 _ACEOF
39729
39730 fi
39731 done
39732
39733     fi
39734   fi
39735
39736
39737
39738
39739
39740
39741   echo "$as_me:$LINENO: checking for logf declaration" >&5
39742 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
39743   if test x${glibcxx_cv_func_logf_use+set} != xset; then
39744     if test "${glibcxx_cv_func_logf_use+set}" = set; then
39745   echo $ECHO_N "(cached) $ECHO_C" >&6
39746 else
39747
39748
39749
39750       ac_ext=cc
39751 ac_cpp='$CXXCPP $CPPFLAGS'
39752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39755
39756       cat >conftest.$ac_ext <<_ACEOF
39757 /* confdefs.h.  */
39758 _ACEOF
39759 cat confdefs.h >>conftest.$ac_ext
39760 cat >>conftest.$ac_ext <<_ACEOF
39761 /* end confdefs.h.  */
39762 #include <math.h>
39763                       #ifdef HAVE_IEEEFP_H
39764                       #include <ieeefp.h>
39765                       #endif
39766
39767 int
39768 main ()
39769 {
39770  logf(0);
39771   ;
39772   return 0;
39773 }
39774 _ACEOF
39775 rm -f conftest.$ac_objext
39776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39777   (eval $ac_compile) 2>conftest.er1
39778   ac_status=$?
39779   grep -v '^ *+' conftest.er1 >conftest.err
39780   rm -f conftest.er1
39781   cat conftest.err >&5
39782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39783   (exit $ac_status); } &&
39784          { ac_try='test -z "$ac_cxx_werror_flag"
39785                          || test ! -s conftest.err'
39786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39787   (eval $ac_try) 2>&5
39788   ac_status=$?
39789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39790   (exit $ac_status); }; } &&
39791          { ac_try='test -s conftest.$ac_objext'
39792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39793   (eval $ac_try) 2>&5
39794   ac_status=$?
39795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39796   (exit $ac_status); }; }; then
39797   glibcxx_cv_func_logf_use=yes
39798 else
39799   echo "$as_me: failed program was:" >&5
39800 sed 's/^/| /' conftest.$ac_ext >&5
39801
39802 glibcxx_cv_func_logf_use=no
39803 fi
39804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39805       ac_ext=c
39806 ac_cpp='$CPP $CPPFLAGS'
39807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39810
39811
39812 fi
39813
39814   fi
39815   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
39816 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
39817
39818   if test x$glibcxx_cv_func_logf_use = x"yes"; then
39819
39820 for ac_func in logf
39821 do
39822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39823 echo "$as_me:$LINENO: checking for $ac_func" >&5
39824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39825 if eval "test \"\${$as_ac_var+set}\" = set"; then
39826   echo $ECHO_N "(cached) $ECHO_C" >&6
39827 else
39828   if test x$gcc_no_link = xyes; then
39829   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39831    { (exit 1); exit 1; }; }
39832 fi
39833 cat >conftest.$ac_ext <<_ACEOF
39834 /* confdefs.h.  */
39835 _ACEOF
39836 cat confdefs.h >>conftest.$ac_ext
39837 cat >>conftest.$ac_ext <<_ACEOF
39838 /* end confdefs.h.  */
39839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39840    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39841 #define $ac_func innocuous_$ac_func
39842
39843 /* System header to define __stub macros and hopefully few prototypes,
39844     which can conflict with char $ac_func (); below.
39845     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39846     <limits.h> exists even on freestanding compilers.  */
39847
39848 #ifdef __STDC__
39849 # include <limits.h>
39850 #else
39851 # include <assert.h>
39852 #endif
39853
39854 #undef $ac_func
39855
39856 /* Override any gcc2 internal prototype to avoid an error.  */
39857 #ifdef __cplusplus
39858 extern "C"
39859 {
39860 #endif
39861 /* We use char because int might match the return type of a gcc2
39862    builtin and then its argument prototype would still apply.  */
39863 char $ac_func ();
39864 /* The GNU C library defines this for functions which it implements
39865     to always fail with ENOSYS.  Some functions are actually named
39866     something starting with __ and the normal name is an alias.  */
39867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39868 choke me
39869 #else
39870 char (*f) () = $ac_func;
39871 #endif
39872 #ifdef __cplusplus
39873 }
39874 #endif
39875
39876 int
39877 main ()
39878 {
39879 return f != $ac_func;
39880   ;
39881   return 0;
39882 }
39883 _ACEOF
39884 rm -f conftest.$ac_objext conftest$ac_exeext
39885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39886   (eval $ac_link) 2>conftest.er1
39887   ac_status=$?
39888   grep -v '^ *+' conftest.er1 >conftest.err
39889   rm -f conftest.er1
39890   cat conftest.err >&5
39891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39892   (exit $ac_status); } &&
39893          { ac_try='test -z "$ac_c_werror_flag"
39894                          || test ! -s conftest.err'
39895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39896   (eval $ac_try) 2>&5
39897   ac_status=$?
39898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39899   (exit $ac_status); }; } &&
39900          { ac_try='test -s conftest$ac_exeext'
39901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39902   (eval $ac_try) 2>&5
39903   ac_status=$?
39904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39905   (exit $ac_status); }; }; then
39906   eval "$as_ac_var=yes"
39907 else
39908   echo "$as_me: failed program was:" >&5
39909 sed 's/^/| /' conftest.$ac_ext >&5
39910
39911 eval "$as_ac_var=no"
39912 fi
39913 rm -f conftest.err conftest.$ac_objext \
39914       conftest$ac_exeext conftest.$ac_ext
39915 fi
39916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39918 if test `eval echo '${'$as_ac_var'}'` = yes; then
39919   cat >>confdefs.h <<_ACEOF
39920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39921 _ACEOF
39922
39923 fi
39924 done
39925
39926   else
39927
39928   echo "$as_me:$LINENO: checking for _logf declaration" >&5
39929 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
39930   if test x${glibcxx_cv_func__logf_use+set} != xset; then
39931     if test "${glibcxx_cv_func__logf_use+set}" = set; then
39932   echo $ECHO_N "(cached) $ECHO_C" >&6
39933 else
39934
39935
39936
39937       ac_ext=cc
39938 ac_cpp='$CXXCPP $CPPFLAGS'
39939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39942
39943       cat >conftest.$ac_ext <<_ACEOF
39944 /* confdefs.h.  */
39945 _ACEOF
39946 cat confdefs.h >>conftest.$ac_ext
39947 cat >>conftest.$ac_ext <<_ACEOF
39948 /* end confdefs.h.  */
39949 #include <math.h>
39950                       #ifdef HAVE_IEEEFP_H
39951                       #include <ieeefp.h>
39952                       #endif
39953
39954 int
39955 main ()
39956 {
39957  _logf(0);
39958   ;
39959   return 0;
39960 }
39961 _ACEOF
39962 rm -f conftest.$ac_objext
39963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39964   (eval $ac_compile) 2>conftest.er1
39965   ac_status=$?
39966   grep -v '^ *+' conftest.er1 >conftest.err
39967   rm -f conftest.er1
39968   cat conftest.err >&5
39969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39970   (exit $ac_status); } &&
39971          { ac_try='test -z "$ac_cxx_werror_flag"
39972                          || test ! -s conftest.err'
39973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39974   (eval $ac_try) 2>&5
39975   ac_status=$?
39976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39977   (exit $ac_status); }; } &&
39978          { ac_try='test -s conftest.$ac_objext'
39979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39980   (eval $ac_try) 2>&5
39981   ac_status=$?
39982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39983   (exit $ac_status); }; }; then
39984   glibcxx_cv_func__logf_use=yes
39985 else
39986   echo "$as_me: failed program was:" >&5
39987 sed 's/^/| /' conftest.$ac_ext >&5
39988
39989 glibcxx_cv_func__logf_use=no
39990 fi
39991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39992       ac_ext=c
39993 ac_cpp='$CPP $CPPFLAGS'
39994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39997
39998
39999 fi
40000
40001   fi
40002   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
40003 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
40004
40005     if test x$glibcxx_cv_func__logf_use = x"yes"; then
40006
40007 for ac_func in _logf
40008 do
40009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40010 echo "$as_me:$LINENO: checking for $ac_func" >&5
40011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40012 if eval "test \"\${$as_ac_var+set}\" = set"; then
40013   echo $ECHO_N "(cached) $ECHO_C" >&6
40014 else
40015   if test x$gcc_no_link = xyes; then
40016   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40018    { (exit 1); exit 1; }; }
40019 fi
40020 cat >conftest.$ac_ext <<_ACEOF
40021 /* confdefs.h.  */
40022 _ACEOF
40023 cat confdefs.h >>conftest.$ac_ext
40024 cat >>conftest.$ac_ext <<_ACEOF
40025 /* end confdefs.h.  */
40026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40027    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40028 #define $ac_func innocuous_$ac_func
40029
40030 /* System header to define __stub macros and hopefully few prototypes,
40031     which can conflict with char $ac_func (); below.
40032     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40033     <limits.h> exists even on freestanding compilers.  */
40034
40035 #ifdef __STDC__
40036 # include <limits.h>
40037 #else
40038 # include <assert.h>
40039 #endif
40040
40041 #undef $ac_func
40042
40043 /* Override any gcc2 internal prototype to avoid an error.  */
40044 #ifdef __cplusplus
40045 extern "C"
40046 {
40047 #endif
40048 /* We use char because int might match the return type of a gcc2
40049    builtin and then its argument prototype would still apply.  */
40050 char $ac_func ();
40051 /* The GNU C library defines this for functions which it implements
40052     to always fail with ENOSYS.  Some functions are actually named
40053     something starting with __ and the normal name is an alias.  */
40054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40055 choke me
40056 #else
40057 char (*f) () = $ac_func;
40058 #endif
40059 #ifdef __cplusplus
40060 }
40061 #endif
40062
40063 int
40064 main ()
40065 {
40066 return f != $ac_func;
40067   ;
40068   return 0;
40069 }
40070 _ACEOF
40071 rm -f conftest.$ac_objext conftest$ac_exeext
40072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40073   (eval $ac_link) 2>conftest.er1
40074   ac_status=$?
40075   grep -v '^ *+' conftest.er1 >conftest.err
40076   rm -f conftest.er1
40077   cat conftest.err >&5
40078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40079   (exit $ac_status); } &&
40080          { ac_try='test -z "$ac_c_werror_flag"
40081                          || test ! -s conftest.err'
40082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40083   (eval $ac_try) 2>&5
40084   ac_status=$?
40085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40086   (exit $ac_status); }; } &&
40087          { ac_try='test -s conftest$ac_exeext'
40088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40089   (eval $ac_try) 2>&5
40090   ac_status=$?
40091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40092   (exit $ac_status); }; }; then
40093   eval "$as_ac_var=yes"
40094 else
40095   echo "$as_me: failed program was:" >&5
40096 sed 's/^/| /' conftest.$ac_ext >&5
40097
40098 eval "$as_ac_var=no"
40099 fi
40100 rm -f conftest.err conftest.$ac_objext \
40101       conftest$ac_exeext conftest.$ac_ext
40102 fi
40103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40105 if test `eval echo '${'$as_ac_var'}'` = yes; then
40106   cat >>confdefs.h <<_ACEOF
40107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40108 _ACEOF
40109
40110 fi
40111 done
40112
40113     fi
40114   fi
40115
40116
40117
40118
40119
40120
40121   echo "$as_me:$LINENO: checking for log10f declaration" >&5
40122 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
40123   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40124     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
40125   echo $ECHO_N "(cached) $ECHO_C" >&6
40126 else
40127
40128
40129
40130       ac_ext=cc
40131 ac_cpp='$CXXCPP $CPPFLAGS'
40132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40135
40136       cat >conftest.$ac_ext <<_ACEOF
40137 /* confdefs.h.  */
40138 _ACEOF
40139 cat confdefs.h >>conftest.$ac_ext
40140 cat >>conftest.$ac_ext <<_ACEOF
40141 /* end confdefs.h.  */
40142 #include <math.h>
40143                       #ifdef HAVE_IEEEFP_H
40144                       #include <ieeefp.h>
40145                       #endif
40146
40147 int
40148 main ()
40149 {
40150  log10f(0);
40151   ;
40152   return 0;
40153 }
40154 _ACEOF
40155 rm -f conftest.$ac_objext
40156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40157   (eval $ac_compile) 2>conftest.er1
40158   ac_status=$?
40159   grep -v '^ *+' conftest.er1 >conftest.err
40160   rm -f conftest.er1
40161   cat conftest.err >&5
40162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40163   (exit $ac_status); } &&
40164          { ac_try='test -z "$ac_cxx_werror_flag"
40165                          || test ! -s conftest.err'
40166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40167   (eval $ac_try) 2>&5
40168   ac_status=$?
40169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40170   (exit $ac_status); }; } &&
40171          { ac_try='test -s conftest.$ac_objext'
40172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40173   (eval $ac_try) 2>&5
40174   ac_status=$?
40175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40176   (exit $ac_status); }; }; then
40177   glibcxx_cv_func_log10f_use=yes
40178 else
40179   echo "$as_me: failed program was:" >&5
40180 sed 's/^/| /' conftest.$ac_ext >&5
40181
40182 glibcxx_cv_func_log10f_use=no
40183 fi
40184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40185       ac_ext=c
40186 ac_cpp='$CPP $CPPFLAGS'
40187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40190
40191
40192 fi
40193
40194   fi
40195   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
40196 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
40197
40198   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40199
40200 for ac_func in log10f
40201 do
40202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40203 echo "$as_me:$LINENO: checking for $ac_func" >&5
40204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40205 if eval "test \"\${$as_ac_var+set}\" = set"; then
40206   echo $ECHO_N "(cached) $ECHO_C" >&6
40207 else
40208   if test x$gcc_no_link = xyes; then
40209   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40211    { (exit 1); exit 1; }; }
40212 fi
40213 cat >conftest.$ac_ext <<_ACEOF
40214 /* confdefs.h.  */
40215 _ACEOF
40216 cat confdefs.h >>conftest.$ac_ext
40217 cat >>conftest.$ac_ext <<_ACEOF
40218 /* end confdefs.h.  */
40219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40220    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40221 #define $ac_func innocuous_$ac_func
40222
40223 /* System header to define __stub macros and hopefully few prototypes,
40224     which can conflict with char $ac_func (); below.
40225     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40226     <limits.h> exists even on freestanding compilers.  */
40227
40228 #ifdef __STDC__
40229 # include <limits.h>
40230 #else
40231 # include <assert.h>
40232 #endif
40233
40234 #undef $ac_func
40235
40236 /* Override any gcc2 internal prototype to avoid an error.  */
40237 #ifdef __cplusplus
40238 extern "C"
40239 {
40240 #endif
40241 /* We use char because int might match the return type of a gcc2
40242    builtin and then its argument prototype would still apply.  */
40243 char $ac_func ();
40244 /* The GNU C library defines this for functions which it implements
40245     to always fail with ENOSYS.  Some functions are actually named
40246     something starting with __ and the normal name is an alias.  */
40247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40248 choke me
40249 #else
40250 char (*f) () = $ac_func;
40251 #endif
40252 #ifdef __cplusplus
40253 }
40254 #endif
40255
40256 int
40257 main ()
40258 {
40259 return f != $ac_func;
40260   ;
40261   return 0;
40262 }
40263 _ACEOF
40264 rm -f conftest.$ac_objext conftest$ac_exeext
40265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40266   (eval $ac_link) 2>conftest.er1
40267   ac_status=$?
40268   grep -v '^ *+' conftest.er1 >conftest.err
40269   rm -f conftest.er1
40270   cat conftest.err >&5
40271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40272   (exit $ac_status); } &&
40273          { ac_try='test -z "$ac_c_werror_flag"
40274                          || test ! -s conftest.err'
40275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40276   (eval $ac_try) 2>&5
40277   ac_status=$?
40278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40279   (exit $ac_status); }; } &&
40280          { ac_try='test -s conftest$ac_exeext'
40281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40282   (eval $ac_try) 2>&5
40283   ac_status=$?
40284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40285   (exit $ac_status); }; }; then
40286   eval "$as_ac_var=yes"
40287 else
40288   echo "$as_me: failed program was:" >&5
40289 sed 's/^/| /' conftest.$ac_ext >&5
40290
40291 eval "$as_ac_var=no"
40292 fi
40293 rm -f conftest.err conftest.$ac_objext \
40294       conftest$ac_exeext conftest.$ac_ext
40295 fi
40296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40298 if test `eval echo '${'$as_ac_var'}'` = yes; then
40299   cat >>confdefs.h <<_ACEOF
40300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40301 _ACEOF
40302
40303 fi
40304 done
40305
40306   else
40307
40308   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
40309 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
40310   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40311     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
40312   echo $ECHO_N "(cached) $ECHO_C" >&6
40313 else
40314
40315
40316
40317       ac_ext=cc
40318 ac_cpp='$CXXCPP $CPPFLAGS'
40319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40322
40323       cat >conftest.$ac_ext <<_ACEOF
40324 /* confdefs.h.  */
40325 _ACEOF
40326 cat confdefs.h >>conftest.$ac_ext
40327 cat >>conftest.$ac_ext <<_ACEOF
40328 /* end confdefs.h.  */
40329 #include <math.h>
40330                       #ifdef HAVE_IEEEFP_H
40331                       #include <ieeefp.h>
40332                       #endif
40333
40334 int
40335 main ()
40336 {
40337  _log10f(0);
40338   ;
40339   return 0;
40340 }
40341 _ACEOF
40342 rm -f conftest.$ac_objext
40343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40344   (eval $ac_compile) 2>conftest.er1
40345   ac_status=$?
40346   grep -v '^ *+' conftest.er1 >conftest.err
40347   rm -f conftest.er1
40348   cat conftest.err >&5
40349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40350   (exit $ac_status); } &&
40351          { ac_try='test -z "$ac_cxx_werror_flag"
40352                          || test ! -s conftest.err'
40353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40354   (eval $ac_try) 2>&5
40355   ac_status=$?
40356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40357   (exit $ac_status); }; } &&
40358          { ac_try='test -s conftest.$ac_objext'
40359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40360   (eval $ac_try) 2>&5
40361   ac_status=$?
40362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40363   (exit $ac_status); }; }; then
40364   glibcxx_cv_func__log10f_use=yes
40365 else
40366   echo "$as_me: failed program was:" >&5
40367 sed 's/^/| /' conftest.$ac_ext >&5
40368
40369 glibcxx_cv_func__log10f_use=no
40370 fi
40371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40372       ac_ext=c
40373 ac_cpp='$CPP $CPPFLAGS'
40374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40377
40378
40379 fi
40380
40381   fi
40382   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
40383 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
40384
40385     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40386
40387 for ac_func in _log10f
40388 do
40389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40390 echo "$as_me:$LINENO: checking for $ac_func" >&5
40391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40392 if eval "test \"\${$as_ac_var+set}\" = set"; then
40393   echo $ECHO_N "(cached) $ECHO_C" >&6
40394 else
40395   if test x$gcc_no_link = xyes; then
40396   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40398    { (exit 1); exit 1; }; }
40399 fi
40400 cat >conftest.$ac_ext <<_ACEOF
40401 /* confdefs.h.  */
40402 _ACEOF
40403 cat confdefs.h >>conftest.$ac_ext
40404 cat >>conftest.$ac_ext <<_ACEOF
40405 /* end confdefs.h.  */
40406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40407    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40408 #define $ac_func innocuous_$ac_func
40409
40410 /* System header to define __stub macros and hopefully few prototypes,
40411     which can conflict with char $ac_func (); below.
40412     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40413     <limits.h> exists even on freestanding compilers.  */
40414
40415 #ifdef __STDC__
40416 # include <limits.h>
40417 #else
40418 # include <assert.h>
40419 #endif
40420
40421 #undef $ac_func
40422
40423 /* Override any gcc2 internal prototype to avoid an error.  */
40424 #ifdef __cplusplus
40425 extern "C"
40426 {
40427 #endif
40428 /* We use char because int might match the return type of a gcc2
40429    builtin and then its argument prototype would still apply.  */
40430 char $ac_func ();
40431 /* The GNU C library defines this for functions which it implements
40432     to always fail with ENOSYS.  Some functions are actually named
40433     something starting with __ and the normal name is an alias.  */
40434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40435 choke me
40436 #else
40437 char (*f) () = $ac_func;
40438 #endif
40439 #ifdef __cplusplus
40440 }
40441 #endif
40442
40443 int
40444 main ()
40445 {
40446 return f != $ac_func;
40447   ;
40448   return 0;
40449 }
40450 _ACEOF
40451 rm -f conftest.$ac_objext conftest$ac_exeext
40452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40453   (eval $ac_link) 2>conftest.er1
40454   ac_status=$?
40455   grep -v '^ *+' conftest.er1 >conftest.err
40456   rm -f conftest.er1
40457   cat conftest.err >&5
40458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40459   (exit $ac_status); } &&
40460          { ac_try='test -z "$ac_c_werror_flag"
40461                          || test ! -s conftest.err'
40462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40463   (eval $ac_try) 2>&5
40464   ac_status=$?
40465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40466   (exit $ac_status); }; } &&
40467          { ac_try='test -s conftest$ac_exeext'
40468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40469   (eval $ac_try) 2>&5
40470   ac_status=$?
40471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40472   (exit $ac_status); }; }; then
40473   eval "$as_ac_var=yes"
40474 else
40475   echo "$as_me: failed program was:" >&5
40476 sed 's/^/| /' conftest.$ac_ext >&5
40477
40478 eval "$as_ac_var=no"
40479 fi
40480 rm -f conftest.err conftest.$ac_objext \
40481       conftest$ac_exeext conftest.$ac_ext
40482 fi
40483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40485 if test `eval echo '${'$as_ac_var'}'` = yes; then
40486   cat >>confdefs.h <<_ACEOF
40487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40488 _ACEOF
40489
40490 fi
40491 done
40492
40493     fi
40494   fi
40495
40496
40497
40498
40499
40500
40501   echo "$as_me:$LINENO: checking for modff declaration" >&5
40502 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
40503   if test x${glibcxx_cv_func_modff_use+set} != xset; then
40504     if test "${glibcxx_cv_func_modff_use+set}" = set; then
40505   echo $ECHO_N "(cached) $ECHO_C" >&6
40506 else
40507
40508
40509
40510       ac_ext=cc
40511 ac_cpp='$CXXCPP $CPPFLAGS'
40512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40515
40516       cat >conftest.$ac_ext <<_ACEOF
40517 /* confdefs.h.  */
40518 _ACEOF
40519 cat confdefs.h >>conftest.$ac_ext
40520 cat >>conftest.$ac_ext <<_ACEOF
40521 /* end confdefs.h.  */
40522 #include <math.h>
40523 int
40524 main ()
40525 {
40526  modff(0, 0);
40527   ;
40528   return 0;
40529 }
40530 _ACEOF
40531 rm -f conftest.$ac_objext
40532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40533   (eval $ac_compile) 2>conftest.er1
40534   ac_status=$?
40535   grep -v '^ *+' conftest.er1 >conftest.err
40536   rm -f conftest.er1
40537   cat conftest.err >&5
40538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40539   (exit $ac_status); } &&
40540          { ac_try='test -z "$ac_cxx_werror_flag"
40541                          || test ! -s conftest.err'
40542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40543   (eval $ac_try) 2>&5
40544   ac_status=$?
40545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40546   (exit $ac_status); }; } &&
40547          { ac_try='test -s conftest.$ac_objext'
40548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40549   (eval $ac_try) 2>&5
40550   ac_status=$?
40551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40552   (exit $ac_status); }; }; then
40553   glibcxx_cv_func_modff_use=yes
40554 else
40555   echo "$as_me: failed program was:" >&5
40556 sed 's/^/| /' conftest.$ac_ext >&5
40557
40558 glibcxx_cv_func_modff_use=no
40559 fi
40560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40561       ac_ext=c
40562 ac_cpp='$CPP $CPPFLAGS'
40563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40566
40567
40568 fi
40569
40570   fi
40571   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
40572 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
40573
40574   if test x$glibcxx_cv_func_modff_use = x"yes"; then
40575
40576 for ac_func in modff
40577 do
40578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40579 echo "$as_me:$LINENO: checking for $ac_func" >&5
40580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40581 if eval "test \"\${$as_ac_var+set}\" = set"; then
40582   echo $ECHO_N "(cached) $ECHO_C" >&6
40583 else
40584   if test x$gcc_no_link = xyes; then
40585   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40587    { (exit 1); exit 1; }; }
40588 fi
40589 cat >conftest.$ac_ext <<_ACEOF
40590 /* confdefs.h.  */
40591 _ACEOF
40592 cat confdefs.h >>conftest.$ac_ext
40593 cat >>conftest.$ac_ext <<_ACEOF
40594 /* end confdefs.h.  */
40595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40596    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40597 #define $ac_func innocuous_$ac_func
40598
40599 /* System header to define __stub macros and hopefully few prototypes,
40600     which can conflict with char $ac_func (); below.
40601     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40602     <limits.h> exists even on freestanding compilers.  */
40603
40604 #ifdef __STDC__
40605 # include <limits.h>
40606 #else
40607 # include <assert.h>
40608 #endif
40609
40610 #undef $ac_func
40611
40612 /* Override any gcc2 internal prototype to avoid an error.  */
40613 #ifdef __cplusplus
40614 extern "C"
40615 {
40616 #endif
40617 /* We use char because int might match the return type of a gcc2
40618    builtin and then its argument prototype would still apply.  */
40619 char $ac_func ();
40620 /* The GNU C library defines this for functions which it implements
40621     to always fail with ENOSYS.  Some functions are actually named
40622     something starting with __ and the normal name is an alias.  */
40623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40624 choke me
40625 #else
40626 char (*f) () = $ac_func;
40627 #endif
40628 #ifdef __cplusplus
40629 }
40630 #endif
40631
40632 int
40633 main ()
40634 {
40635 return f != $ac_func;
40636   ;
40637   return 0;
40638 }
40639 _ACEOF
40640 rm -f conftest.$ac_objext conftest$ac_exeext
40641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40642   (eval $ac_link) 2>conftest.er1
40643   ac_status=$?
40644   grep -v '^ *+' conftest.er1 >conftest.err
40645   rm -f conftest.er1
40646   cat conftest.err >&5
40647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40648   (exit $ac_status); } &&
40649          { ac_try='test -z "$ac_c_werror_flag"
40650                          || test ! -s conftest.err'
40651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40652   (eval $ac_try) 2>&5
40653   ac_status=$?
40654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40655   (exit $ac_status); }; } &&
40656          { ac_try='test -s conftest$ac_exeext'
40657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40658   (eval $ac_try) 2>&5
40659   ac_status=$?
40660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40661   (exit $ac_status); }; }; then
40662   eval "$as_ac_var=yes"
40663 else
40664   echo "$as_me: failed program was:" >&5
40665 sed 's/^/| /' conftest.$ac_ext >&5
40666
40667 eval "$as_ac_var=no"
40668 fi
40669 rm -f conftest.err conftest.$ac_objext \
40670       conftest$ac_exeext conftest.$ac_ext
40671 fi
40672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40674 if test `eval echo '${'$as_ac_var'}'` = yes; then
40675   cat >>confdefs.h <<_ACEOF
40676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40677 _ACEOF
40678
40679 fi
40680 done
40681
40682   else
40683
40684   echo "$as_me:$LINENO: checking for _modff declaration" >&5
40685 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
40686   if test x${glibcxx_cv_func__modff_use+set} != xset; then
40687     if test "${glibcxx_cv_func__modff_use+set}" = set; then
40688   echo $ECHO_N "(cached) $ECHO_C" >&6
40689 else
40690
40691
40692
40693       ac_ext=cc
40694 ac_cpp='$CXXCPP $CPPFLAGS'
40695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40698
40699       cat >conftest.$ac_ext <<_ACEOF
40700 /* confdefs.h.  */
40701 _ACEOF
40702 cat confdefs.h >>conftest.$ac_ext
40703 cat >>conftest.$ac_ext <<_ACEOF
40704 /* end confdefs.h.  */
40705 #include <math.h>
40706 int
40707 main ()
40708 {
40709  _modff(0, 0);
40710   ;
40711   return 0;
40712 }
40713 _ACEOF
40714 rm -f conftest.$ac_objext
40715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40716   (eval $ac_compile) 2>conftest.er1
40717   ac_status=$?
40718   grep -v '^ *+' conftest.er1 >conftest.err
40719   rm -f conftest.er1
40720   cat conftest.err >&5
40721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40722   (exit $ac_status); } &&
40723          { ac_try='test -z "$ac_cxx_werror_flag"
40724                          || test ! -s conftest.err'
40725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40726   (eval $ac_try) 2>&5
40727   ac_status=$?
40728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40729   (exit $ac_status); }; } &&
40730          { ac_try='test -s conftest.$ac_objext'
40731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40732   (eval $ac_try) 2>&5
40733   ac_status=$?
40734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40735   (exit $ac_status); }; }; then
40736   glibcxx_cv_func__modff_use=yes
40737 else
40738   echo "$as_me: failed program was:" >&5
40739 sed 's/^/| /' conftest.$ac_ext >&5
40740
40741 glibcxx_cv_func__modff_use=no
40742 fi
40743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40744       ac_ext=c
40745 ac_cpp='$CPP $CPPFLAGS'
40746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40749
40750
40751 fi
40752
40753   fi
40754   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
40755 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
40756
40757     if test x$glibcxx_cv_func__modff_use = x"yes"; then
40758
40759 for ac_func in _modff
40760 do
40761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40762 echo "$as_me:$LINENO: checking for $ac_func" >&5
40763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40764 if eval "test \"\${$as_ac_var+set}\" = set"; then
40765   echo $ECHO_N "(cached) $ECHO_C" >&6
40766 else
40767   if test x$gcc_no_link = xyes; then
40768   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40770    { (exit 1); exit 1; }; }
40771 fi
40772 cat >conftest.$ac_ext <<_ACEOF
40773 /* confdefs.h.  */
40774 _ACEOF
40775 cat confdefs.h >>conftest.$ac_ext
40776 cat >>conftest.$ac_ext <<_ACEOF
40777 /* end confdefs.h.  */
40778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40779    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40780 #define $ac_func innocuous_$ac_func
40781
40782 /* System header to define __stub macros and hopefully few prototypes,
40783     which can conflict with char $ac_func (); below.
40784     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40785     <limits.h> exists even on freestanding compilers.  */
40786
40787 #ifdef __STDC__
40788 # include <limits.h>
40789 #else
40790 # include <assert.h>
40791 #endif
40792
40793 #undef $ac_func
40794
40795 /* Override any gcc2 internal prototype to avoid an error.  */
40796 #ifdef __cplusplus
40797 extern "C"
40798 {
40799 #endif
40800 /* We use char because int might match the return type of a gcc2
40801    builtin and then its argument prototype would still apply.  */
40802 char $ac_func ();
40803 /* The GNU C library defines this for functions which it implements
40804     to always fail with ENOSYS.  Some functions are actually named
40805     something starting with __ and the normal name is an alias.  */
40806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40807 choke me
40808 #else
40809 char (*f) () = $ac_func;
40810 #endif
40811 #ifdef __cplusplus
40812 }
40813 #endif
40814
40815 int
40816 main ()
40817 {
40818 return f != $ac_func;
40819   ;
40820   return 0;
40821 }
40822 _ACEOF
40823 rm -f conftest.$ac_objext conftest$ac_exeext
40824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40825   (eval $ac_link) 2>conftest.er1
40826   ac_status=$?
40827   grep -v '^ *+' conftest.er1 >conftest.err
40828   rm -f conftest.er1
40829   cat conftest.err >&5
40830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40831   (exit $ac_status); } &&
40832          { ac_try='test -z "$ac_c_werror_flag"
40833                          || test ! -s conftest.err'
40834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40835   (eval $ac_try) 2>&5
40836   ac_status=$?
40837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40838   (exit $ac_status); }; } &&
40839          { ac_try='test -s conftest$ac_exeext'
40840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40841   (eval $ac_try) 2>&5
40842   ac_status=$?
40843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40844   (exit $ac_status); }; }; then
40845   eval "$as_ac_var=yes"
40846 else
40847   echo "$as_me: failed program was:" >&5
40848 sed 's/^/| /' conftest.$ac_ext >&5
40849
40850 eval "$as_ac_var=no"
40851 fi
40852 rm -f conftest.err conftest.$ac_objext \
40853       conftest$ac_exeext conftest.$ac_ext
40854 fi
40855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40857 if test `eval echo '${'$as_ac_var'}'` = yes; then
40858   cat >>confdefs.h <<_ACEOF
40859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40860 _ACEOF
40861
40862 fi
40863 done
40864
40865     fi
40866   fi
40867
40868
40869
40870
40871
40872
40873   echo "$as_me:$LINENO: checking for modf declaration" >&5
40874 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
40875   if test x${glibcxx_cv_func_modf_use+set} != xset; then
40876     if test "${glibcxx_cv_func_modf_use+set}" = set; then
40877   echo $ECHO_N "(cached) $ECHO_C" >&6
40878 else
40879
40880
40881
40882       ac_ext=cc
40883 ac_cpp='$CXXCPP $CPPFLAGS'
40884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40887
40888       cat >conftest.$ac_ext <<_ACEOF
40889 /* confdefs.h.  */
40890 _ACEOF
40891 cat confdefs.h >>conftest.$ac_ext
40892 cat >>conftest.$ac_ext <<_ACEOF
40893 /* end confdefs.h.  */
40894 #include <math.h>
40895 int
40896 main ()
40897 {
40898  modf(0, 0);
40899   ;
40900   return 0;
40901 }
40902 _ACEOF
40903 rm -f conftest.$ac_objext
40904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40905   (eval $ac_compile) 2>conftest.er1
40906   ac_status=$?
40907   grep -v '^ *+' conftest.er1 >conftest.err
40908   rm -f conftest.er1
40909   cat conftest.err >&5
40910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40911   (exit $ac_status); } &&
40912          { ac_try='test -z "$ac_cxx_werror_flag"
40913                          || test ! -s conftest.err'
40914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40915   (eval $ac_try) 2>&5
40916   ac_status=$?
40917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40918   (exit $ac_status); }; } &&
40919          { ac_try='test -s conftest.$ac_objext'
40920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40921   (eval $ac_try) 2>&5
40922   ac_status=$?
40923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40924   (exit $ac_status); }; }; then
40925   glibcxx_cv_func_modf_use=yes
40926 else
40927   echo "$as_me: failed program was:" >&5
40928 sed 's/^/| /' conftest.$ac_ext >&5
40929
40930 glibcxx_cv_func_modf_use=no
40931 fi
40932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40933       ac_ext=c
40934 ac_cpp='$CPP $CPPFLAGS'
40935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40938
40939
40940 fi
40941
40942   fi
40943   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
40944 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
40945
40946   if test x$glibcxx_cv_func_modf_use = x"yes"; then
40947
40948 for ac_func in modf
40949 do
40950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40951 echo "$as_me:$LINENO: checking for $ac_func" >&5
40952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40953 if eval "test \"\${$as_ac_var+set}\" = set"; then
40954   echo $ECHO_N "(cached) $ECHO_C" >&6
40955 else
40956   if test x$gcc_no_link = xyes; then
40957   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40959    { (exit 1); exit 1; }; }
40960 fi
40961 cat >conftest.$ac_ext <<_ACEOF
40962 /* confdefs.h.  */
40963 _ACEOF
40964 cat confdefs.h >>conftest.$ac_ext
40965 cat >>conftest.$ac_ext <<_ACEOF
40966 /* end confdefs.h.  */
40967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40968    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40969 #define $ac_func innocuous_$ac_func
40970
40971 /* System header to define __stub macros and hopefully few prototypes,
40972     which can conflict with char $ac_func (); below.
40973     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40974     <limits.h> exists even on freestanding compilers.  */
40975
40976 #ifdef __STDC__
40977 # include <limits.h>
40978 #else
40979 # include <assert.h>
40980 #endif
40981
40982 #undef $ac_func
40983
40984 /* Override any gcc2 internal prototype to avoid an error.  */
40985 #ifdef __cplusplus
40986 extern "C"
40987 {
40988 #endif
40989 /* We use char because int might match the return type of a gcc2
40990    builtin and then its argument prototype would still apply.  */
40991 char $ac_func ();
40992 /* The GNU C library defines this for functions which it implements
40993     to always fail with ENOSYS.  Some functions are actually named
40994     something starting with __ and the normal name is an alias.  */
40995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40996 choke me
40997 #else
40998 char (*f) () = $ac_func;
40999 #endif
41000 #ifdef __cplusplus
41001 }
41002 #endif
41003
41004 int
41005 main ()
41006 {
41007 return f != $ac_func;
41008   ;
41009   return 0;
41010 }
41011 _ACEOF
41012 rm -f conftest.$ac_objext conftest$ac_exeext
41013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41014   (eval $ac_link) 2>conftest.er1
41015   ac_status=$?
41016   grep -v '^ *+' conftest.er1 >conftest.err
41017   rm -f conftest.er1
41018   cat conftest.err >&5
41019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41020   (exit $ac_status); } &&
41021          { ac_try='test -z "$ac_c_werror_flag"
41022                          || test ! -s conftest.err'
41023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41024   (eval $ac_try) 2>&5
41025   ac_status=$?
41026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41027   (exit $ac_status); }; } &&
41028          { ac_try='test -s conftest$ac_exeext'
41029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41030   (eval $ac_try) 2>&5
41031   ac_status=$?
41032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41033   (exit $ac_status); }; }; then
41034   eval "$as_ac_var=yes"
41035 else
41036   echo "$as_me: failed program was:" >&5
41037 sed 's/^/| /' conftest.$ac_ext >&5
41038
41039 eval "$as_ac_var=no"
41040 fi
41041 rm -f conftest.err conftest.$ac_objext \
41042       conftest$ac_exeext conftest.$ac_ext
41043 fi
41044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41046 if test `eval echo '${'$as_ac_var'}'` = yes; then
41047   cat >>confdefs.h <<_ACEOF
41048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41049 _ACEOF
41050
41051 fi
41052 done
41053
41054   else
41055
41056   echo "$as_me:$LINENO: checking for _modf declaration" >&5
41057 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
41058   if test x${glibcxx_cv_func__modf_use+set} != xset; then
41059     if test "${glibcxx_cv_func__modf_use+set}" = set; then
41060   echo $ECHO_N "(cached) $ECHO_C" >&6
41061 else
41062
41063
41064
41065       ac_ext=cc
41066 ac_cpp='$CXXCPP $CPPFLAGS'
41067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41070
41071       cat >conftest.$ac_ext <<_ACEOF
41072 /* confdefs.h.  */
41073 _ACEOF
41074 cat confdefs.h >>conftest.$ac_ext
41075 cat >>conftest.$ac_ext <<_ACEOF
41076 /* end confdefs.h.  */
41077 #include <math.h>
41078 int
41079 main ()
41080 {
41081  _modf(0, 0);
41082   ;
41083   return 0;
41084 }
41085 _ACEOF
41086 rm -f conftest.$ac_objext
41087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41088   (eval $ac_compile) 2>conftest.er1
41089   ac_status=$?
41090   grep -v '^ *+' conftest.er1 >conftest.err
41091   rm -f conftest.er1
41092   cat conftest.err >&5
41093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41094   (exit $ac_status); } &&
41095          { ac_try='test -z "$ac_cxx_werror_flag"
41096                          || test ! -s conftest.err'
41097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41098   (eval $ac_try) 2>&5
41099   ac_status=$?
41100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41101   (exit $ac_status); }; } &&
41102          { ac_try='test -s conftest.$ac_objext'
41103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41104   (eval $ac_try) 2>&5
41105   ac_status=$?
41106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41107   (exit $ac_status); }; }; then
41108   glibcxx_cv_func__modf_use=yes
41109 else
41110   echo "$as_me: failed program was:" >&5
41111 sed 's/^/| /' conftest.$ac_ext >&5
41112
41113 glibcxx_cv_func__modf_use=no
41114 fi
41115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41116       ac_ext=c
41117 ac_cpp='$CPP $CPPFLAGS'
41118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41121
41122
41123 fi
41124
41125   fi
41126   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
41127 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
41128
41129     if test x$glibcxx_cv_func__modf_use = x"yes"; then
41130
41131 for ac_func in _modf
41132 do
41133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41134 echo "$as_me:$LINENO: checking for $ac_func" >&5
41135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41136 if eval "test \"\${$as_ac_var+set}\" = set"; then
41137   echo $ECHO_N "(cached) $ECHO_C" >&6
41138 else
41139   if test x$gcc_no_link = xyes; then
41140   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41142    { (exit 1); exit 1; }; }
41143 fi
41144 cat >conftest.$ac_ext <<_ACEOF
41145 /* confdefs.h.  */
41146 _ACEOF
41147 cat confdefs.h >>conftest.$ac_ext
41148 cat >>conftest.$ac_ext <<_ACEOF
41149 /* end confdefs.h.  */
41150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41151    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41152 #define $ac_func innocuous_$ac_func
41153
41154 /* System header to define __stub macros and hopefully few prototypes,
41155     which can conflict with char $ac_func (); below.
41156     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41157     <limits.h> exists even on freestanding compilers.  */
41158
41159 #ifdef __STDC__
41160 # include <limits.h>
41161 #else
41162 # include <assert.h>
41163 #endif
41164
41165 #undef $ac_func
41166
41167 /* Override any gcc2 internal prototype to avoid an error.  */
41168 #ifdef __cplusplus
41169 extern "C"
41170 {
41171 #endif
41172 /* We use char because int might match the return type of a gcc2
41173    builtin and then its argument prototype would still apply.  */
41174 char $ac_func ();
41175 /* The GNU C library defines this for functions which it implements
41176     to always fail with ENOSYS.  Some functions are actually named
41177     something starting with __ and the normal name is an alias.  */
41178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41179 choke me
41180 #else
41181 char (*f) () = $ac_func;
41182 #endif
41183 #ifdef __cplusplus
41184 }
41185 #endif
41186
41187 int
41188 main ()
41189 {
41190 return f != $ac_func;
41191   ;
41192   return 0;
41193 }
41194 _ACEOF
41195 rm -f conftest.$ac_objext conftest$ac_exeext
41196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41197   (eval $ac_link) 2>conftest.er1
41198   ac_status=$?
41199   grep -v '^ *+' conftest.er1 >conftest.err
41200   rm -f conftest.er1
41201   cat conftest.err >&5
41202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41203   (exit $ac_status); } &&
41204          { ac_try='test -z "$ac_c_werror_flag"
41205                          || test ! -s conftest.err'
41206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41207   (eval $ac_try) 2>&5
41208   ac_status=$?
41209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41210   (exit $ac_status); }; } &&
41211          { ac_try='test -s conftest$ac_exeext'
41212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41213   (eval $ac_try) 2>&5
41214   ac_status=$?
41215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41216   (exit $ac_status); }; }; then
41217   eval "$as_ac_var=yes"
41218 else
41219   echo "$as_me: failed program was:" >&5
41220 sed 's/^/| /' conftest.$ac_ext >&5
41221
41222 eval "$as_ac_var=no"
41223 fi
41224 rm -f conftest.err conftest.$ac_objext \
41225       conftest$ac_exeext conftest.$ac_ext
41226 fi
41227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41229 if test `eval echo '${'$as_ac_var'}'` = yes; then
41230   cat >>confdefs.h <<_ACEOF
41231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41232 _ACEOF
41233
41234 fi
41235 done
41236
41237     fi
41238   fi
41239
41240
41241
41242
41243
41244
41245   echo "$as_me:$LINENO: checking for powf declaration" >&5
41246 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
41247   if test x${glibcxx_cv_func_powf_use+set} != xset; then
41248     if test "${glibcxx_cv_func_powf_use+set}" = set; then
41249   echo $ECHO_N "(cached) $ECHO_C" >&6
41250 else
41251
41252
41253
41254       ac_ext=cc
41255 ac_cpp='$CXXCPP $CPPFLAGS'
41256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41259
41260       cat >conftest.$ac_ext <<_ACEOF
41261 /* confdefs.h.  */
41262 _ACEOF
41263 cat confdefs.h >>conftest.$ac_ext
41264 cat >>conftest.$ac_ext <<_ACEOF
41265 /* end confdefs.h.  */
41266 #include <math.h>
41267 int
41268 main ()
41269 {
41270  powf(0, 0);
41271   ;
41272   return 0;
41273 }
41274 _ACEOF
41275 rm -f conftest.$ac_objext
41276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41277   (eval $ac_compile) 2>conftest.er1
41278   ac_status=$?
41279   grep -v '^ *+' conftest.er1 >conftest.err
41280   rm -f conftest.er1
41281   cat conftest.err >&5
41282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41283   (exit $ac_status); } &&
41284          { ac_try='test -z "$ac_cxx_werror_flag"
41285                          || test ! -s conftest.err'
41286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41287   (eval $ac_try) 2>&5
41288   ac_status=$?
41289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41290   (exit $ac_status); }; } &&
41291          { ac_try='test -s conftest.$ac_objext'
41292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41293   (eval $ac_try) 2>&5
41294   ac_status=$?
41295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41296   (exit $ac_status); }; }; then
41297   glibcxx_cv_func_powf_use=yes
41298 else
41299   echo "$as_me: failed program was:" >&5
41300 sed 's/^/| /' conftest.$ac_ext >&5
41301
41302 glibcxx_cv_func_powf_use=no
41303 fi
41304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41305       ac_ext=c
41306 ac_cpp='$CPP $CPPFLAGS'
41307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41310
41311
41312 fi
41313
41314   fi
41315   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
41316 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
41317
41318   if test x$glibcxx_cv_func_powf_use = x"yes"; then
41319
41320 for ac_func in powf
41321 do
41322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41323 echo "$as_me:$LINENO: checking for $ac_func" >&5
41324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41325 if eval "test \"\${$as_ac_var+set}\" = set"; then
41326   echo $ECHO_N "(cached) $ECHO_C" >&6
41327 else
41328   if test x$gcc_no_link = xyes; then
41329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41331    { (exit 1); exit 1; }; }
41332 fi
41333 cat >conftest.$ac_ext <<_ACEOF
41334 /* confdefs.h.  */
41335 _ACEOF
41336 cat confdefs.h >>conftest.$ac_ext
41337 cat >>conftest.$ac_ext <<_ACEOF
41338 /* end confdefs.h.  */
41339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41340    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41341 #define $ac_func innocuous_$ac_func
41342
41343 /* System header to define __stub macros and hopefully few prototypes,
41344     which can conflict with char $ac_func (); below.
41345     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41346     <limits.h> exists even on freestanding compilers.  */
41347
41348 #ifdef __STDC__
41349 # include <limits.h>
41350 #else
41351 # include <assert.h>
41352 #endif
41353
41354 #undef $ac_func
41355
41356 /* Override any gcc2 internal prototype to avoid an error.  */
41357 #ifdef __cplusplus
41358 extern "C"
41359 {
41360 #endif
41361 /* We use char because int might match the return type of a gcc2
41362    builtin and then its argument prototype would still apply.  */
41363 char $ac_func ();
41364 /* The GNU C library defines this for functions which it implements
41365     to always fail with ENOSYS.  Some functions are actually named
41366     something starting with __ and the normal name is an alias.  */
41367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41368 choke me
41369 #else
41370 char (*f) () = $ac_func;
41371 #endif
41372 #ifdef __cplusplus
41373 }
41374 #endif
41375
41376 int
41377 main ()
41378 {
41379 return f != $ac_func;
41380   ;
41381   return 0;
41382 }
41383 _ACEOF
41384 rm -f conftest.$ac_objext conftest$ac_exeext
41385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41386   (eval $ac_link) 2>conftest.er1
41387   ac_status=$?
41388   grep -v '^ *+' conftest.er1 >conftest.err
41389   rm -f conftest.er1
41390   cat conftest.err >&5
41391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41392   (exit $ac_status); } &&
41393          { ac_try='test -z "$ac_c_werror_flag"
41394                          || test ! -s conftest.err'
41395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41396   (eval $ac_try) 2>&5
41397   ac_status=$?
41398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41399   (exit $ac_status); }; } &&
41400          { ac_try='test -s conftest$ac_exeext'
41401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41402   (eval $ac_try) 2>&5
41403   ac_status=$?
41404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41405   (exit $ac_status); }; }; then
41406   eval "$as_ac_var=yes"
41407 else
41408   echo "$as_me: failed program was:" >&5
41409 sed 's/^/| /' conftest.$ac_ext >&5
41410
41411 eval "$as_ac_var=no"
41412 fi
41413 rm -f conftest.err conftest.$ac_objext \
41414       conftest$ac_exeext conftest.$ac_ext
41415 fi
41416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41418 if test `eval echo '${'$as_ac_var'}'` = yes; then
41419   cat >>confdefs.h <<_ACEOF
41420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41421 _ACEOF
41422
41423 fi
41424 done
41425
41426   else
41427
41428   echo "$as_me:$LINENO: checking for _powf declaration" >&5
41429 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
41430   if test x${glibcxx_cv_func__powf_use+set} != xset; then
41431     if test "${glibcxx_cv_func__powf_use+set}" = set; then
41432   echo $ECHO_N "(cached) $ECHO_C" >&6
41433 else
41434
41435
41436
41437       ac_ext=cc
41438 ac_cpp='$CXXCPP $CPPFLAGS'
41439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41442
41443       cat >conftest.$ac_ext <<_ACEOF
41444 /* confdefs.h.  */
41445 _ACEOF
41446 cat confdefs.h >>conftest.$ac_ext
41447 cat >>conftest.$ac_ext <<_ACEOF
41448 /* end confdefs.h.  */
41449 #include <math.h>
41450 int
41451 main ()
41452 {
41453  _powf(0, 0);
41454   ;
41455   return 0;
41456 }
41457 _ACEOF
41458 rm -f conftest.$ac_objext
41459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41460   (eval $ac_compile) 2>conftest.er1
41461   ac_status=$?
41462   grep -v '^ *+' conftest.er1 >conftest.err
41463   rm -f conftest.er1
41464   cat conftest.err >&5
41465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41466   (exit $ac_status); } &&
41467          { ac_try='test -z "$ac_cxx_werror_flag"
41468                          || test ! -s conftest.err'
41469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41470   (eval $ac_try) 2>&5
41471   ac_status=$?
41472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41473   (exit $ac_status); }; } &&
41474          { ac_try='test -s conftest.$ac_objext'
41475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41476   (eval $ac_try) 2>&5
41477   ac_status=$?
41478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41479   (exit $ac_status); }; }; then
41480   glibcxx_cv_func__powf_use=yes
41481 else
41482   echo "$as_me: failed program was:" >&5
41483 sed 's/^/| /' conftest.$ac_ext >&5
41484
41485 glibcxx_cv_func__powf_use=no
41486 fi
41487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41488       ac_ext=c
41489 ac_cpp='$CPP $CPPFLAGS'
41490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41493
41494
41495 fi
41496
41497   fi
41498   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
41499 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
41500
41501     if test x$glibcxx_cv_func__powf_use = x"yes"; then
41502
41503 for ac_func in _powf
41504 do
41505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41506 echo "$as_me:$LINENO: checking for $ac_func" >&5
41507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41508 if eval "test \"\${$as_ac_var+set}\" = set"; then
41509   echo $ECHO_N "(cached) $ECHO_C" >&6
41510 else
41511   if test x$gcc_no_link = xyes; then
41512   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41514    { (exit 1); exit 1; }; }
41515 fi
41516 cat >conftest.$ac_ext <<_ACEOF
41517 /* confdefs.h.  */
41518 _ACEOF
41519 cat confdefs.h >>conftest.$ac_ext
41520 cat >>conftest.$ac_ext <<_ACEOF
41521 /* end confdefs.h.  */
41522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41523    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41524 #define $ac_func innocuous_$ac_func
41525
41526 /* System header to define __stub macros and hopefully few prototypes,
41527     which can conflict with char $ac_func (); below.
41528     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41529     <limits.h> exists even on freestanding compilers.  */
41530
41531 #ifdef __STDC__
41532 # include <limits.h>
41533 #else
41534 # include <assert.h>
41535 #endif
41536
41537 #undef $ac_func
41538
41539 /* Override any gcc2 internal prototype to avoid an error.  */
41540 #ifdef __cplusplus
41541 extern "C"
41542 {
41543 #endif
41544 /* We use char because int might match the return type of a gcc2
41545    builtin and then its argument prototype would still apply.  */
41546 char $ac_func ();
41547 /* The GNU C library defines this for functions which it implements
41548     to always fail with ENOSYS.  Some functions are actually named
41549     something starting with __ and the normal name is an alias.  */
41550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41551 choke me
41552 #else
41553 char (*f) () = $ac_func;
41554 #endif
41555 #ifdef __cplusplus
41556 }
41557 #endif
41558
41559 int
41560 main ()
41561 {
41562 return f != $ac_func;
41563   ;
41564   return 0;
41565 }
41566 _ACEOF
41567 rm -f conftest.$ac_objext conftest$ac_exeext
41568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41569   (eval $ac_link) 2>conftest.er1
41570   ac_status=$?
41571   grep -v '^ *+' conftest.er1 >conftest.err
41572   rm -f conftest.er1
41573   cat conftest.err >&5
41574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41575   (exit $ac_status); } &&
41576          { ac_try='test -z "$ac_c_werror_flag"
41577                          || test ! -s conftest.err'
41578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41579   (eval $ac_try) 2>&5
41580   ac_status=$?
41581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41582   (exit $ac_status); }; } &&
41583          { ac_try='test -s conftest$ac_exeext'
41584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41585   (eval $ac_try) 2>&5
41586   ac_status=$?
41587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41588   (exit $ac_status); }; }; then
41589   eval "$as_ac_var=yes"
41590 else
41591   echo "$as_me: failed program was:" >&5
41592 sed 's/^/| /' conftest.$ac_ext >&5
41593
41594 eval "$as_ac_var=no"
41595 fi
41596 rm -f conftest.err conftest.$ac_objext \
41597       conftest$ac_exeext conftest.$ac_ext
41598 fi
41599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41601 if test `eval echo '${'$as_ac_var'}'` = yes; then
41602   cat >>confdefs.h <<_ACEOF
41603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41604 _ACEOF
41605
41606 fi
41607 done
41608
41609     fi
41610   fi
41611
41612
41613
41614
41615
41616
41617   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
41618 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
41619   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41620     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
41621   echo $ECHO_N "(cached) $ECHO_C" >&6
41622 else
41623
41624
41625
41626       ac_ext=cc
41627 ac_cpp='$CXXCPP $CPPFLAGS'
41628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41631
41632       cat >conftest.$ac_ext <<_ACEOF
41633 /* confdefs.h.  */
41634 _ACEOF
41635 cat confdefs.h >>conftest.$ac_ext
41636 cat >>conftest.$ac_ext <<_ACEOF
41637 /* end confdefs.h.  */
41638 #include <math.h>
41639                       #ifdef HAVE_IEEEFP_H
41640                       #include <ieeefp.h>
41641                       #endif
41642
41643 int
41644 main ()
41645 {
41646  sqrtf(0);
41647   ;
41648   return 0;
41649 }
41650 _ACEOF
41651 rm -f conftest.$ac_objext
41652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41653   (eval $ac_compile) 2>conftest.er1
41654   ac_status=$?
41655   grep -v '^ *+' conftest.er1 >conftest.err
41656   rm -f conftest.er1
41657   cat conftest.err >&5
41658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41659   (exit $ac_status); } &&
41660          { ac_try='test -z "$ac_cxx_werror_flag"
41661                          || test ! -s conftest.err'
41662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41663   (eval $ac_try) 2>&5
41664   ac_status=$?
41665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41666   (exit $ac_status); }; } &&
41667          { ac_try='test -s conftest.$ac_objext'
41668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41669   (eval $ac_try) 2>&5
41670   ac_status=$?
41671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41672   (exit $ac_status); }; }; then
41673   glibcxx_cv_func_sqrtf_use=yes
41674 else
41675   echo "$as_me: failed program was:" >&5
41676 sed 's/^/| /' conftest.$ac_ext >&5
41677
41678 glibcxx_cv_func_sqrtf_use=no
41679 fi
41680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41681       ac_ext=c
41682 ac_cpp='$CPP $CPPFLAGS'
41683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41686
41687
41688 fi
41689
41690   fi
41691   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
41692 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
41693
41694   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41695
41696 for ac_func in sqrtf
41697 do
41698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41699 echo "$as_me:$LINENO: checking for $ac_func" >&5
41700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41701 if eval "test \"\${$as_ac_var+set}\" = set"; then
41702   echo $ECHO_N "(cached) $ECHO_C" >&6
41703 else
41704   if test x$gcc_no_link = xyes; then
41705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41707    { (exit 1); exit 1; }; }
41708 fi
41709 cat >conftest.$ac_ext <<_ACEOF
41710 /* confdefs.h.  */
41711 _ACEOF
41712 cat confdefs.h >>conftest.$ac_ext
41713 cat >>conftest.$ac_ext <<_ACEOF
41714 /* end confdefs.h.  */
41715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41716    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41717 #define $ac_func innocuous_$ac_func
41718
41719 /* System header to define __stub macros and hopefully few prototypes,
41720     which can conflict with char $ac_func (); below.
41721     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41722     <limits.h> exists even on freestanding compilers.  */
41723
41724 #ifdef __STDC__
41725 # include <limits.h>
41726 #else
41727 # include <assert.h>
41728 #endif
41729
41730 #undef $ac_func
41731
41732 /* Override any gcc2 internal prototype to avoid an error.  */
41733 #ifdef __cplusplus
41734 extern "C"
41735 {
41736 #endif
41737 /* We use char because int might match the return type of a gcc2
41738    builtin and then its argument prototype would still apply.  */
41739 char $ac_func ();
41740 /* The GNU C library defines this for functions which it implements
41741     to always fail with ENOSYS.  Some functions are actually named
41742     something starting with __ and the normal name is an alias.  */
41743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41744 choke me
41745 #else
41746 char (*f) () = $ac_func;
41747 #endif
41748 #ifdef __cplusplus
41749 }
41750 #endif
41751
41752 int
41753 main ()
41754 {
41755 return f != $ac_func;
41756   ;
41757   return 0;
41758 }
41759 _ACEOF
41760 rm -f conftest.$ac_objext conftest$ac_exeext
41761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41762   (eval $ac_link) 2>conftest.er1
41763   ac_status=$?
41764   grep -v '^ *+' conftest.er1 >conftest.err
41765   rm -f conftest.er1
41766   cat conftest.err >&5
41767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41768   (exit $ac_status); } &&
41769          { ac_try='test -z "$ac_c_werror_flag"
41770                          || test ! -s conftest.err'
41771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41772   (eval $ac_try) 2>&5
41773   ac_status=$?
41774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41775   (exit $ac_status); }; } &&
41776          { ac_try='test -s conftest$ac_exeext'
41777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41778   (eval $ac_try) 2>&5
41779   ac_status=$?
41780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41781   (exit $ac_status); }; }; then
41782   eval "$as_ac_var=yes"
41783 else
41784   echo "$as_me: failed program was:" >&5
41785 sed 's/^/| /' conftest.$ac_ext >&5
41786
41787 eval "$as_ac_var=no"
41788 fi
41789 rm -f conftest.err conftest.$ac_objext \
41790       conftest$ac_exeext conftest.$ac_ext
41791 fi
41792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41794 if test `eval echo '${'$as_ac_var'}'` = yes; then
41795   cat >>confdefs.h <<_ACEOF
41796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41797 _ACEOF
41798
41799 fi
41800 done
41801
41802   else
41803
41804   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
41805 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
41806   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41807     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
41808   echo $ECHO_N "(cached) $ECHO_C" >&6
41809 else
41810
41811
41812
41813       ac_ext=cc
41814 ac_cpp='$CXXCPP $CPPFLAGS'
41815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41818
41819       cat >conftest.$ac_ext <<_ACEOF
41820 /* confdefs.h.  */
41821 _ACEOF
41822 cat confdefs.h >>conftest.$ac_ext
41823 cat >>conftest.$ac_ext <<_ACEOF
41824 /* end confdefs.h.  */
41825 #include <math.h>
41826                       #ifdef HAVE_IEEEFP_H
41827                       #include <ieeefp.h>
41828                       #endif
41829
41830 int
41831 main ()
41832 {
41833  _sqrtf(0);
41834   ;
41835   return 0;
41836 }
41837 _ACEOF
41838 rm -f conftest.$ac_objext
41839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41840   (eval $ac_compile) 2>conftest.er1
41841   ac_status=$?
41842   grep -v '^ *+' conftest.er1 >conftest.err
41843   rm -f conftest.er1
41844   cat conftest.err >&5
41845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41846   (exit $ac_status); } &&
41847          { ac_try='test -z "$ac_cxx_werror_flag"
41848                          || test ! -s conftest.err'
41849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41850   (eval $ac_try) 2>&5
41851   ac_status=$?
41852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41853   (exit $ac_status); }; } &&
41854          { ac_try='test -s conftest.$ac_objext'
41855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41856   (eval $ac_try) 2>&5
41857   ac_status=$?
41858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41859   (exit $ac_status); }; }; then
41860   glibcxx_cv_func__sqrtf_use=yes
41861 else
41862   echo "$as_me: failed program was:" >&5
41863 sed 's/^/| /' conftest.$ac_ext >&5
41864
41865 glibcxx_cv_func__sqrtf_use=no
41866 fi
41867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41868       ac_ext=c
41869 ac_cpp='$CPP $CPPFLAGS'
41870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41873
41874
41875 fi
41876
41877   fi
41878   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
41879 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
41880
41881     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41882
41883 for ac_func in _sqrtf
41884 do
41885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41886 echo "$as_me:$LINENO: checking for $ac_func" >&5
41887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41888 if eval "test \"\${$as_ac_var+set}\" = set"; then
41889   echo $ECHO_N "(cached) $ECHO_C" >&6
41890 else
41891   if test x$gcc_no_link = xyes; then
41892   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41894    { (exit 1); exit 1; }; }
41895 fi
41896 cat >conftest.$ac_ext <<_ACEOF
41897 /* confdefs.h.  */
41898 _ACEOF
41899 cat confdefs.h >>conftest.$ac_ext
41900 cat >>conftest.$ac_ext <<_ACEOF
41901 /* end confdefs.h.  */
41902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41903    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41904 #define $ac_func innocuous_$ac_func
41905
41906 /* System header to define __stub macros and hopefully few prototypes,
41907     which can conflict with char $ac_func (); below.
41908     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41909     <limits.h> exists even on freestanding compilers.  */
41910
41911 #ifdef __STDC__
41912 # include <limits.h>
41913 #else
41914 # include <assert.h>
41915 #endif
41916
41917 #undef $ac_func
41918
41919 /* Override any gcc2 internal prototype to avoid an error.  */
41920 #ifdef __cplusplus
41921 extern "C"
41922 {
41923 #endif
41924 /* We use char because int might match the return type of a gcc2
41925    builtin and then its argument prototype would still apply.  */
41926 char $ac_func ();
41927 /* The GNU C library defines this for functions which it implements
41928     to always fail with ENOSYS.  Some functions are actually named
41929     something starting with __ and the normal name is an alias.  */
41930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41931 choke me
41932 #else
41933 char (*f) () = $ac_func;
41934 #endif
41935 #ifdef __cplusplus
41936 }
41937 #endif
41938
41939 int
41940 main ()
41941 {
41942 return f != $ac_func;
41943   ;
41944   return 0;
41945 }
41946 _ACEOF
41947 rm -f conftest.$ac_objext conftest$ac_exeext
41948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41949   (eval $ac_link) 2>conftest.er1
41950   ac_status=$?
41951   grep -v '^ *+' conftest.er1 >conftest.err
41952   rm -f conftest.er1
41953   cat conftest.err >&5
41954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41955   (exit $ac_status); } &&
41956          { ac_try='test -z "$ac_c_werror_flag"
41957                          || test ! -s conftest.err'
41958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41959   (eval $ac_try) 2>&5
41960   ac_status=$?
41961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41962   (exit $ac_status); }; } &&
41963          { ac_try='test -s conftest$ac_exeext'
41964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41965   (eval $ac_try) 2>&5
41966   ac_status=$?
41967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41968   (exit $ac_status); }; }; then
41969   eval "$as_ac_var=yes"
41970 else
41971   echo "$as_me: failed program was:" >&5
41972 sed 's/^/| /' conftest.$ac_ext >&5
41973
41974 eval "$as_ac_var=no"
41975 fi
41976 rm -f conftest.err conftest.$ac_objext \
41977       conftest$ac_exeext conftest.$ac_ext
41978 fi
41979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41981 if test `eval echo '${'$as_ac_var'}'` = yes; then
41982   cat >>confdefs.h <<_ACEOF
41983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41984 _ACEOF
41985
41986 fi
41987 done
41988
41989     fi
41990   fi
41991
41992
41993
41994
41995
41996
41997   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
41998 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
41999   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42000     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
42001   echo $ECHO_N "(cached) $ECHO_C" >&6
42002 else
42003
42004
42005
42006       ac_ext=cc
42007 ac_cpp='$CXXCPP $CPPFLAGS'
42008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42011
42012       cat >conftest.$ac_ext <<_ACEOF
42013 /* confdefs.h.  */
42014 _ACEOF
42015 cat confdefs.h >>conftest.$ac_ext
42016 cat >>conftest.$ac_ext <<_ACEOF
42017 /* end confdefs.h.  */
42018 #include <math.h>
42019 int
42020 main ()
42021 {
42022  sincosf(0, 0, 0);
42023   ;
42024   return 0;
42025 }
42026 _ACEOF
42027 rm -f conftest.$ac_objext
42028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42029   (eval $ac_compile) 2>conftest.er1
42030   ac_status=$?
42031   grep -v '^ *+' conftest.er1 >conftest.err
42032   rm -f conftest.er1
42033   cat conftest.err >&5
42034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42035   (exit $ac_status); } &&
42036          { ac_try='test -z "$ac_cxx_werror_flag"
42037                          || test ! -s conftest.err'
42038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42039   (eval $ac_try) 2>&5
42040   ac_status=$?
42041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42042   (exit $ac_status); }; } &&
42043          { ac_try='test -s conftest.$ac_objext'
42044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42045   (eval $ac_try) 2>&5
42046   ac_status=$?
42047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42048   (exit $ac_status); }; }; then
42049   glibcxx_cv_func_sincosf_use=yes
42050 else
42051   echo "$as_me: failed program was:" >&5
42052 sed 's/^/| /' conftest.$ac_ext >&5
42053
42054 glibcxx_cv_func_sincosf_use=no
42055 fi
42056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42057       ac_ext=c
42058 ac_cpp='$CPP $CPPFLAGS'
42059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42062
42063
42064 fi
42065
42066   fi
42067   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
42068 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
42069
42070   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42071
42072 for ac_func in sincosf
42073 do
42074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42075 echo "$as_me:$LINENO: checking for $ac_func" >&5
42076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42077 if eval "test \"\${$as_ac_var+set}\" = set"; then
42078   echo $ECHO_N "(cached) $ECHO_C" >&6
42079 else
42080   if test x$gcc_no_link = xyes; then
42081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42083    { (exit 1); exit 1; }; }
42084 fi
42085 cat >conftest.$ac_ext <<_ACEOF
42086 /* confdefs.h.  */
42087 _ACEOF
42088 cat confdefs.h >>conftest.$ac_ext
42089 cat >>conftest.$ac_ext <<_ACEOF
42090 /* end confdefs.h.  */
42091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42092    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42093 #define $ac_func innocuous_$ac_func
42094
42095 /* System header to define __stub macros and hopefully few prototypes,
42096     which can conflict with char $ac_func (); below.
42097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42098     <limits.h> exists even on freestanding compilers.  */
42099
42100 #ifdef __STDC__
42101 # include <limits.h>
42102 #else
42103 # include <assert.h>
42104 #endif
42105
42106 #undef $ac_func
42107
42108 /* Override any gcc2 internal prototype to avoid an error.  */
42109 #ifdef __cplusplus
42110 extern "C"
42111 {
42112 #endif
42113 /* We use char because int might match the return type of a gcc2
42114    builtin and then its argument prototype would still apply.  */
42115 char $ac_func ();
42116 /* The GNU C library defines this for functions which it implements
42117     to always fail with ENOSYS.  Some functions are actually named
42118     something starting with __ and the normal name is an alias.  */
42119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42120 choke me
42121 #else
42122 char (*f) () = $ac_func;
42123 #endif
42124 #ifdef __cplusplus
42125 }
42126 #endif
42127
42128 int
42129 main ()
42130 {
42131 return f != $ac_func;
42132   ;
42133   return 0;
42134 }
42135 _ACEOF
42136 rm -f conftest.$ac_objext conftest$ac_exeext
42137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42138   (eval $ac_link) 2>conftest.er1
42139   ac_status=$?
42140   grep -v '^ *+' conftest.er1 >conftest.err
42141   rm -f conftest.er1
42142   cat conftest.err >&5
42143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42144   (exit $ac_status); } &&
42145          { ac_try='test -z "$ac_c_werror_flag"
42146                          || test ! -s conftest.err'
42147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42148   (eval $ac_try) 2>&5
42149   ac_status=$?
42150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42151   (exit $ac_status); }; } &&
42152          { ac_try='test -s conftest$ac_exeext'
42153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42154   (eval $ac_try) 2>&5
42155   ac_status=$?
42156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42157   (exit $ac_status); }; }; then
42158   eval "$as_ac_var=yes"
42159 else
42160   echo "$as_me: failed program was:" >&5
42161 sed 's/^/| /' conftest.$ac_ext >&5
42162
42163 eval "$as_ac_var=no"
42164 fi
42165 rm -f conftest.err conftest.$ac_objext \
42166       conftest$ac_exeext conftest.$ac_ext
42167 fi
42168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42170 if test `eval echo '${'$as_ac_var'}'` = yes; then
42171   cat >>confdefs.h <<_ACEOF
42172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42173 _ACEOF
42174
42175 fi
42176 done
42177
42178   else
42179
42180   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
42181 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
42182   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42183     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
42184   echo $ECHO_N "(cached) $ECHO_C" >&6
42185 else
42186
42187
42188
42189       ac_ext=cc
42190 ac_cpp='$CXXCPP $CPPFLAGS'
42191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42194
42195       cat >conftest.$ac_ext <<_ACEOF
42196 /* confdefs.h.  */
42197 _ACEOF
42198 cat confdefs.h >>conftest.$ac_ext
42199 cat >>conftest.$ac_ext <<_ACEOF
42200 /* end confdefs.h.  */
42201 #include <math.h>
42202 int
42203 main ()
42204 {
42205  _sincosf(0, 0, 0);
42206   ;
42207   return 0;
42208 }
42209 _ACEOF
42210 rm -f conftest.$ac_objext
42211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42212   (eval $ac_compile) 2>conftest.er1
42213   ac_status=$?
42214   grep -v '^ *+' conftest.er1 >conftest.err
42215   rm -f conftest.er1
42216   cat conftest.err >&5
42217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42218   (exit $ac_status); } &&
42219          { ac_try='test -z "$ac_cxx_werror_flag"
42220                          || test ! -s conftest.err'
42221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42222   (eval $ac_try) 2>&5
42223   ac_status=$?
42224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42225   (exit $ac_status); }; } &&
42226          { ac_try='test -s conftest.$ac_objext'
42227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42228   (eval $ac_try) 2>&5
42229   ac_status=$?
42230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42231   (exit $ac_status); }; }; then
42232   glibcxx_cv_func__sincosf_use=yes
42233 else
42234   echo "$as_me: failed program was:" >&5
42235 sed 's/^/| /' conftest.$ac_ext >&5
42236
42237 glibcxx_cv_func__sincosf_use=no
42238 fi
42239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42240       ac_ext=c
42241 ac_cpp='$CPP $CPPFLAGS'
42242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42245
42246
42247 fi
42248
42249   fi
42250   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
42251 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
42252
42253     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42254
42255 for ac_func in _sincosf
42256 do
42257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42258 echo "$as_me:$LINENO: checking for $ac_func" >&5
42259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42260 if eval "test \"\${$as_ac_var+set}\" = set"; then
42261   echo $ECHO_N "(cached) $ECHO_C" >&6
42262 else
42263   if test x$gcc_no_link = xyes; then
42264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42266    { (exit 1); exit 1; }; }
42267 fi
42268 cat >conftest.$ac_ext <<_ACEOF
42269 /* confdefs.h.  */
42270 _ACEOF
42271 cat confdefs.h >>conftest.$ac_ext
42272 cat >>conftest.$ac_ext <<_ACEOF
42273 /* end confdefs.h.  */
42274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42275    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42276 #define $ac_func innocuous_$ac_func
42277
42278 /* System header to define __stub macros and hopefully few prototypes,
42279     which can conflict with char $ac_func (); below.
42280     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42281     <limits.h> exists even on freestanding compilers.  */
42282
42283 #ifdef __STDC__
42284 # include <limits.h>
42285 #else
42286 # include <assert.h>
42287 #endif
42288
42289 #undef $ac_func
42290
42291 /* Override any gcc2 internal prototype to avoid an error.  */
42292 #ifdef __cplusplus
42293 extern "C"
42294 {
42295 #endif
42296 /* We use char because int might match the return type of a gcc2
42297    builtin and then its argument prototype would still apply.  */
42298 char $ac_func ();
42299 /* The GNU C library defines this for functions which it implements
42300     to always fail with ENOSYS.  Some functions are actually named
42301     something starting with __ and the normal name is an alias.  */
42302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42303 choke me
42304 #else
42305 char (*f) () = $ac_func;
42306 #endif
42307 #ifdef __cplusplus
42308 }
42309 #endif
42310
42311 int
42312 main ()
42313 {
42314 return f != $ac_func;
42315   ;
42316   return 0;
42317 }
42318 _ACEOF
42319 rm -f conftest.$ac_objext conftest$ac_exeext
42320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42321   (eval $ac_link) 2>conftest.er1
42322   ac_status=$?
42323   grep -v '^ *+' conftest.er1 >conftest.err
42324   rm -f conftest.er1
42325   cat conftest.err >&5
42326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42327   (exit $ac_status); } &&
42328          { ac_try='test -z "$ac_c_werror_flag"
42329                          || test ! -s conftest.err'
42330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42331   (eval $ac_try) 2>&5
42332   ac_status=$?
42333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42334   (exit $ac_status); }; } &&
42335          { ac_try='test -s conftest$ac_exeext'
42336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42337   (eval $ac_try) 2>&5
42338   ac_status=$?
42339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42340   (exit $ac_status); }; }; then
42341   eval "$as_ac_var=yes"
42342 else
42343   echo "$as_me: failed program was:" >&5
42344 sed 's/^/| /' conftest.$ac_ext >&5
42345
42346 eval "$as_ac_var=no"
42347 fi
42348 rm -f conftest.err conftest.$ac_objext \
42349       conftest$ac_exeext conftest.$ac_ext
42350 fi
42351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42353 if test `eval echo '${'$as_ac_var'}'` = yes; then
42354   cat >>confdefs.h <<_ACEOF
42355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42356 _ACEOF
42357
42358 fi
42359 done
42360
42361     fi
42362   fi
42363
42364
42365
42366
42367
42368
42369   echo "$as_me:$LINENO: checking for finitef declaration" >&5
42370 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
42371   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42372     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
42373   echo $ECHO_N "(cached) $ECHO_C" >&6
42374 else
42375
42376
42377
42378       ac_ext=cc
42379 ac_cpp='$CXXCPP $CPPFLAGS'
42380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42383
42384       cat >conftest.$ac_ext <<_ACEOF
42385 /* confdefs.h.  */
42386 _ACEOF
42387 cat confdefs.h >>conftest.$ac_ext
42388 cat >>conftest.$ac_ext <<_ACEOF
42389 /* end confdefs.h.  */
42390 #include <math.h>
42391                       #ifdef HAVE_IEEEFP_H
42392                       #include <ieeefp.h>
42393                       #endif
42394
42395 int
42396 main ()
42397 {
42398  finitef(0);
42399   ;
42400   return 0;
42401 }
42402 _ACEOF
42403 rm -f conftest.$ac_objext
42404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42405   (eval $ac_compile) 2>conftest.er1
42406   ac_status=$?
42407   grep -v '^ *+' conftest.er1 >conftest.err
42408   rm -f conftest.er1
42409   cat conftest.err >&5
42410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42411   (exit $ac_status); } &&
42412          { ac_try='test -z "$ac_cxx_werror_flag"
42413                          || test ! -s conftest.err'
42414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42415   (eval $ac_try) 2>&5
42416   ac_status=$?
42417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42418   (exit $ac_status); }; } &&
42419          { ac_try='test -s conftest.$ac_objext'
42420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42421   (eval $ac_try) 2>&5
42422   ac_status=$?
42423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42424   (exit $ac_status); }; }; then
42425   glibcxx_cv_func_finitef_use=yes
42426 else
42427   echo "$as_me: failed program was:" >&5
42428 sed 's/^/| /' conftest.$ac_ext >&5
42429
42430 glibcxx_cv_func_finitef_use=no
42431 fi
42432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42433       ac_ext=c
42434 ac_cpp='$CPP $CPPFLAGS'
42435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42438
42439
42440 fi
42441
42442   fi
42443   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
42444 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
42445
42446   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42447
42448 for ac_func in finitef
42449 do
42450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42451 echo "$as_me:$LINENO: checking for $ac_func" >&5
42452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42453 if eval "test \"\${$as_ac_var+set}\" = set"; then
42454   echo $ECHO_N "(cached) $ECHO_C" >&6
42455 else
42456   if test x$gcc_no_link = xyes; then
42457   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42459    { (exit 1); exit 1; }; }
42460 fi
42461 cat >conftest.$ac_ext <<_ACEOF
42462 /* confdefs.h.  */
42463 _ACEOF
42464 cat confdefs.h >>conftest.$ac_ext
42465 cat >>conftest.$ac_ext <<_ACEOF
42466 /* end confdefs.h.  */
42467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42468    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42469 #define $ac_func innocuous_$ac_func
42470
42471 /* System header to define __stub macros and hopefully few prototypes,
42472     which can conflict with char $ac_func (); below.
42473     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42474     <limits.h> exists even on freestanding compilers.  */
42475
42476 #ifdef __STDC__
42477 # include <limits.h>
42478 #else
42479 # include <assert.h>
42480 #endif
42481
42482 #undef $ac_func
42483
42484 /* Override any gcc2 internal prototype to avoid an error.  */
42485 #ifdef __cplusplus
42486 extern "C"
42487 {
42488 #endif
42489 /* We use char because int might match the return type of a gcc2
42490    builtin and then its argument prototype would still apply.  */
42491 char $ac_func ();
42492 /* The GNU C library defines this for functions which it implements
42493     to always fail with ENOSYS.  Some functions are actually named
42494     something starting with __ and the normal name is an alias.  */
42495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42496 choke me
42497 #else
42498 char (*f) () = $ac_func;
42499 #endif
42500 #ifdef __cplusplus
42501 }
42502 #endif
42503
42504 int
42505 main ()
42506 {
42507 return f != $ac_func;
42508   ;
42509   return 0;
42510 }
42511 _ACEOF
42512 rm -f conftest.$ac_objext conftest$ac_exeext
42513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42514   (eval $ac_link) 2>conftest.er1
42515   ac_status=$?
42516   grep -v '^ *+' conftest.er1 >conftest.err
42517   rm -f conftest.er1
42518   cat conftest.err >&5
42519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42520   (exit $ac_status); } &&
42521          { ac_try='test -z "$ac_c_werror_flag"
42522                          || test ! -s conftest.err'
42523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42524   (eval $ac_try) 2>&5
42525   ac_status=$?
42526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42527   (exit $ac_status); }; } &&
42528          { ac_try='test -s conftest$ac_exeext'
42529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42530   (eval $ac_try) 2>&5
42531   ac_status=$?
42532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42533   (exit $ac_status); }; }; then
42534   eval "$as_ac_var=yes"
42535 else
42536   echo "$as_me: failed program was:" >&5
42537 sed 's/^/| /' conftest.$ac_ext >&5
42538
42539 eval "$as_ac_var=no"
42540 fi
42541 rm -f conftest.err conftest.$ac_objext \
42542       conftest$ac_exeext conftest.$ac_ext
42543 fi
42544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42546 if test `eval echo '${'$as_ac_var'}'` = yes; then
42547   cat >>confdefs.h <<_ACEOF
42548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42549 _ACEOF
42550
42551 fi
42552 done
42553
42554   else
42555
42556   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
42557 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
42558   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42559     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
42560   echo $ECHO_N "(cached) $ECHO_C" >&6
42561 else
42562
42563
42564
42565       ac_ext=cc
42566 ac_cpp='$CXXCPP $CPPFLAGS'
42567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42570
42571       cat >conftest.$ac_ext <<_ACEOF
42572 /* confdefs.h.  */
42573 _ACEOF
42574 cat confdefs.h >>conftest.$ac_ext
42575 cat >>conftest.$ac_ext <<_ACEOF
42576 /* end confdefs.h.  */
42577 #include <math.h>
42578                       #ifdef HAVE_IEEEFP_H
42579                       #include <ieeefp.h>
42580                       #endif
42581
42582 int
42583 main ()
42584 {
42585  _finitef(0);
42586   ;
42587   return 0;
42588 }
42589 _ACEOF
42590 rm -f conftest.$ac_objext
42591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42592   (eval $ac_compile) 2>conftest.er1
42593   ac_status=$?
42594   grep -v '^ *+' conftest.er1 >conftest.err
42595   rm -f conftest.er1
42596   cat conftest.err >&5
42597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42598   (exit $ac_status); } &&
42599          { ac_try='test -z "$ac_cxx_werror_flag"
42600                          || test ! -s conftest.err'
42601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42602   (eval $ac_try) 2>&5
42603   ac_status=$?
42604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42605   (exit $ac_status); }; } &&
42606          { ac_try='test -s conftest.$ac_objext'
42607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42608   (eval $ac_try) 2>&5
42609   ac_status=$?
42610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42611   (exit $ac_status); }; }; then
42612   glibcxx_cv_func__finitef_use=yes
42613 else
42614   echo "$as_me: failed program was:" >&5
42615 sed 's/^/| /' conftest.$ac_ext >&5
42616
42617 glibcxx_cv_func__finitef_use=no
42618 fi
42619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42620       ac_ext=c
42621 ac_cpp='$CPP $CPPFLAGS'
42622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42625
42626
42627 fi
42628
42629   fi
42630   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
42631 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
42632
42633     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42634
42635 for ac_func in _finitef
42636 do
42637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42638 echo "$as_me:$LINENO: checking for $ac_func" >&5
42639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42640 if eval "test \"\${$as_ac_var+set}\" = set"; then
42641   echo $ECHO_N "(cached) $ECHO_C" >&6
42642 else
42643   if test x$gcc_no_link = xyes; then
42644   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42646    { (exit 1); exit 1; }; }
42647 fi
42648 cat >conftest.$ac_ext <<_ACEOF
42649 /* confdefs.h.  */
42650 _ACEOF
42651 cat confdefs.h >>conftest.$ac_ext
42652 cat >>conftest.$ac_ext <<_ACEOF
42653 /* end confdefs.h.  */
42654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42655    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42656 #define $ac_func innocuous_$ac_func
42657
42658 /* System header to define __stub macros and hopefully few prototypes,
42659     which can conflict with char $ac_func (); below.
42660     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42661     <limits.h> exists even on freestanding compilers.  */
42662
42663 #ifdef __STDC__
42664 # include <limits.h>
42665 #else
42666 # include <assert.h>
42667 #endif
42668
42669 #undef $ac_func
42670
42671 /* Override any gcc2 internal prototype to avoid an error.  */
42672 #ifdef __cplusplus
42673 extern "C"
42674 {
42675 #endif
42676 /* We use char because int might match the return type of a gcc2
42677    builtin and then its argument prototype would still apply.  */
42678 char $ac_func ();
42679 /* The GNU C library defines this for functions which it implements
42680     to always fail with ENOSYS.  Some functions are actually named
42681     something starting with __ and the normal name is an alias.  */
42682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42683 choke me
42684 #else
42685 char (*f) () = $ac_func;
42686 #endif
42687 #ifdef __cplusplus
42688 }
42689 #endif
42690
42691 int
42692 main ()
42693 {
42694 return f != $ac_func;
42695   ;
42696   return 0;
42697 }
42698 _ACEOF
42699 rm -f conftest.$ac_objext conftest$ac_exeext
42700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42701   (eval $ac_link) 2>conftest.er1
42702   ac_status=$?
42703   grep -v '^ *+' conftest.er1 >conftest.err
42704   rm -f conftest.er1
42705   cat conftest.err >&5
42706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42707   (exit $ac_status); } &&
42708          { ac_try='test -z "$ac_c_werror_flag"
42709                          || test ! -s conftest.err'
42710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42711   (eval $ac_try) 2>&5
42712   ac_status=$?
42713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42714   (exit $ac_status); }; } &&
42715          { ac_try='test -s conftest$ac_exeext'
42716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42717   (eval $ac_try) 2>&5
42718   ac_status=$?
42719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42720   (exit $ac_status); }; }; then
42721   eval "$as_ac_var=yes"
42722 else
42723   echo "$as_me: failed program was:" >&5
42724 sed 's/^/| /' conftest.$ac_ext >&5
42725
42726 eval "$as_ac_var=no"
42727 fi
42728 rm -f conftest.err conftest.$ac_objext \
42729       conftest$ac_exeext conftest.$ac_ext
42730 fi
42731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42733 if test `eval echo '${'$as_ac_var'}'` = yes; then
42734   cat >>confdefs.h <<_ACEOF
42735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42736 _ACEOF
42737
42738 fi
42739 done
42740
42741     fi
42742   fi
42743
42744
42745
42746
42747
42748
42749     echo "$as_me:$LINENO: checking for long double trig functions" >&5
42750 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
42751   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
42752   echo $ECHO_N "(cached) $ECHO_C" >&6
42753 else
42754
42755
42756
42757     ac_ext=cc
42758 ac_cpp='$CXXCPP $CPPFLAGS'
42759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42762
42763     cat >conftest.$ac_ext <<_ACEOF
42764 /* confdefs.h.  */
42765 _ACEOF
42766 cat confdefs.h >>conftest.$ac_ext
42767 cat >>conftest.$ac_ext <<_ACEOF
42768 /* end confdefs.h.  */
42769 #include <math.h>
42770 int
42771 main ()
42772 {
42773 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42774   ;
42775   return 0;
42776 }
42777 _ACEOF
42778 rm -f conftest.$ac_objext
42779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42780   (eval $ac_compile) 2>conftest.er1
42781   ac_status=$?
42782   grep -v '^ *+' conftest.er1 >conftest.err
42783   rm -f conftest.er1
42784   cat conftest.err >&5
42785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42786   (exit $ac_status); } &&
42787          { ac_try='test -z "$ac_cxx_werror_flag"
42788                          || test ! -s conftest.err'
42789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42790   (eval $ac_try) 2>&5
42791   ac_status=$?
42792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42793   (exit $ac_status); }; } &&
42794          { ac_try='test -s conftest.$ac_objext'
42795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42796   (eval $ac_try) 2>&5
42797   ac_status=$?
42798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42799   (exit $ac_status); }; }; then
42800   glibcxx_cv_func_long_double_trig_use=yes
42801 else
42802   echo "$as_me: failed program was:" >&5
42803 sed 's/^/| /' conftest.$ac_ext >&5
42804
42805 glibcxx_cv_func_long_double_trig_use=no
42806 fi
42807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42808     ac_ext=c
42809 ac_cpp='$CPP $CPPFLAGS'
42810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42813
42814 fi
42815
42816   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
42817 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
42818   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42819
42820
42821
42822
42823
42824
42825
42826
42827
42828 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42829 do
42830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42831 echo "$as_me:$LINENO: checking for $ac_func" >&5
42832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42833 if eval "test \"\${$as_ac_var+set}\" = set"; then
42834   echo $ECHO_N "(cached) $ECHO_C" >&6
42835 else
42836   if test x$gcc_no_link = xyes; then
42837   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42839    { (exit 1); exit 1; }; }
42840 fi
42841 cat >conftest.$ac_ext <<_ACEOF
42842 /* confdefs.h.  */
42843 _ACEOF
42844 cat confdefs.h >>conftest.$ac_ext
42845 cat >>conftest.$ac_ext <<_ACEOF
42846 /* end confdefs.h.  */
42847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42848    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42849 #define $ac_func innocuous_$ac_func
42850
42851 /* System header to define __stub macros and hopefully few prototypes,
42852     which can conflict with char $ac_func (); below.
42853     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42854     <limits.h> exists even on freestanding compilers.  */
42855
42856 #ifdef __STDC__
42857 # include <limits.h>
42858 #else
42859 # include <assert.h>
42860 #endif
42861
42862 #undef $ac_func
42863
42864 /* Override any gcc2 internal prototype to avoid an error.  */
42865 #ifdef __cplusplus
42866 extern "C"
42867 {
42868 #endif
42869 /* We use char because int might match the return type of a gcc2
42870    builtin and then its argument prototype would still apply.  */
42871 char $ac_func ();
42872 /* The GNU C library defines this for functions which it implements
42873     to always fail with ENOSYS.  Some functions are actually named
42874     something starting with __ and the normal name is an alias.  */
42875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42876 choke me
42877 #else
42878 char (*f) () = $ac_func;
42879 #endif
42880 #ifdef __cplusplus
42881 }
42882 #endif
42883
42884 int
42885 main ()
42886 {
42887 return f != $ac_func;
42888   ;
42889   return 0;
42890 }
42891 _ACEOF
42892 rm -f conftest.$ac_objext conftest$ac_exeext
42893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42894   (eval $ac_link) 2>conftest.er1
42895   ac_status=$?
42896   grep -v '^ *+' conftest.er1 >conftest.err
42897   rm -f conftest.er1
42898   cat conftest.err >&5
42899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42900   (exit $ac_status); } &&
42901          { ac_try='test -z "$ac_c_werror_flag"
42902                          || test ! -s conftest.err'
42903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42904   (eval $ac_try) 2>&5
42905   ac_status=$?
42906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42907   (exit $ac_status); }; } &&
42908          { ac_try='test -s conftest$ac_exeext'
42909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42910   (eval $ac_try) 2>&5
42911   ac_status=$?
42912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42913   (exit $ac_status); }; }; then
42914   eval "$as_ac_var=yes"
42915 else
42916   echo "$as_me: failed program was:" >&5
42917 sed 's/^/| /' conftest.$ac_ext >&5
42918
42919 eval "$as_ac_var=no"
42920 fi
42921 rm -f conftest.err conftest.$ac_objext \
42922       conftest$ac_exeext conftest.$ac_ext
42923 fi
42924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42926 if test `eval echo '${'$as_ac_var'}'` = yes; then
42927   cat >>confdefs.h <<_ACEOF
42928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42929 _ACEOF
42930
42931 fi
42932 done
42933
42934   else
42935     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
42936 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
42937     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
42938   echo $ECHO_N "(cached) $ECHO_C" >&6
42939 else
42940
42941
42942
42943       ac_ext=cc
42944 ac_cpp='$CXXCPP $CPPFLAGS'
42945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42948
42949       cat >conftest.$ac_ext <<_ACEOF
42950 /* confdefs.h.  */
42951 _ACEOF
42952 cat confdefs.h >>conftest.$ac_ext
42953 cat >>conftest.$ac_ext <<_ACEOF
42954 /* end confdefs.h.  */
42955 #include <math.h>
42956 int
42957 main ()
42958 {
42959 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42960   ;
42961   return 0;
42962 }
42963 _ACEOF
42964 rm -f conftest.$ac_objext
42965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42966   (eval $ac_compile) 2>conftest.er1
42967   ac_status=$?
42968   grep -v '^ *+' conftest.er1 >conftest.err
42969   rm -f conftest.er1
42970   cat conftest.err >&5
42971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42972   (exit $ac_status); } &&
42973          { ac_try='test -z "$ac_cxx_werror_flag"
42974                          || test ! -s conftest.err'
42975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42976   (eval $ac_try) 2>&5
42977   ac_status=$?
42978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42979   (exit $ac_status); }; } &&
42980          { ac_try='test -s conftest.$ac_objext'
42981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42982   (eval $ac_try) 2>&5
42983   ac_status=$?
42984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42985   (exit $ac_status); }; }; then
42986   glibcxx_cv_func__long_double_trig_use=yes
42987 else
42988   echo "$as_me: failed program was:" >&5
42989 sed 's/^/| /' conftest.$ac_ext >&5
42990
42991 glibcxx_cv_func__long_double_trig_use=no
42992 fi
42993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42994       ac_ext=c
42995 ac_cpp='$CPP $CPPFLAGS'
42996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42999
43000 fi
43001
43002     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
43003 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
43004     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43005
43006
43007
43008
43009
43010
43011
43012
43013
43014 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43015 do
43016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43017 echo "$as_me:$LINENO: checking for $ac_func" >&5
43018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43019 if eval "test \"\${$as_ac_var+set}\" = set"; then
43020   echo $ECHO_N "(cached) $ECHO_C" >&6
43021 else
43022   if test x$gcc_no_link = xyes; then
43023   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43025    { (exit 1); exit 1; }; }
43026 fi
43027 cat >conftest.$ac_ext <<_ACEOF
43028 /* confdefs.h.  */
43029 _ACEOF
43030 cat confdefs.h >>conftest.$ac_ext
43031 cat >>conftest.$ac_ext <<_ACEOF
43032 /* end confdefs.h.  */
43033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43034    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43035 #define $ac_func innocuous_$ac_func
43036
43037 /* System header to define __stub macros and hopefully few prototypes,
43038     which can conflict with char $ac_func (); below.
43039     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43040     <limits.h> exists even on freestanding compilers.  */
43041
43042 #ifdef __STDC__
43043 # include <limits.h>
43044 #else
43045 # include <assert.h>
43046 #endif
43047
43048 #undef $ac_func
43049
43050 /* Override any gcc2 internal prototype to avoid an error.  */
43051 #ifdef __cplusplus
43052 extern "C"
43053 {
43054 #endif
43055 /* We use char because int might match the return type of a gcc2
43056    builtin and then its argument prototype would still apply.  */
43057 char $ac_func ();
43058 /* The GNU C library defines this for functions which it implements
43059     to always fail with ENOSYS.  Some functions are actually named
43060     something starting with __ and the normal name is an alias.  */
43061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43062 choke me
43063 #else
43064 char (*f) () = $ac_func;
43065 #endif
43066 #ifdef __cplusplus
43067 }
43068 #endif
43069
43070 int
43071 main ()
43072 {
43073 return f != $ac_func;
43074   ;
43075   return 0;
43076 }
43077 _ACEOF
43078 rm -f conftest.$ac_objext conftest$ac_exeext
43079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43080   (eval $ac_link) 2>conftest.er1
43081   ac_status=$?
43082   grep -v '^ *+' conftest.er1 >conftest.err
43083   rm -f conftest.er1
43084   cat conftest.err >&5
43085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43086   (exit $ac_status); } &&
43087          { ac_try='test -z "$ac_c_werror_flag"
43088                          || test ! -s conftest.err'
43089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43090   (eval $ac_try) 2>&5
43091   ac_status=$?
43092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43093   (exit $ac_status); }; } &&
43094          { ac_try='test -s conftest$ac_exeext'
43095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43096   (eval $ac_try) 2>&5
43097   ac_status=$?
43098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43099   (exit $ac_status); }; }; then
43100   eval "$as_ac_var=yes"
43101 else
43102   echo "$as_me: failed program was:" >&5
43103 sed 's/^/| /' conftest.$ac_ext >&5
43104
43105 eval "$as_ac_var=no"
43106 fi
43107 rm -f conftest.err conftest.$ac_objext \
43108       conftest$ac_exeext conftest.$ac_ext
43109 fi
43110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43112 if test `eval echo '${'$as_ac_var'}'` = yes; then
43113   cat >>confdefs.h <<_ACEOF
43114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43115 _ACEOF
43116
43117 fi
43118 done
43119
43120     fi
43121   fi
43122
43123
43124
43125
43126
43127
43128
43129
43130
43131
43132
43133
43134
43135
43136     echo "$as_me:$LINENO: checking for long double round functions" >&5
43137 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
43138   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
43139   echo $ECHO_N "(cached) $ECHO_C" >&6
43140 else
43141
43142
43143
43144     ac_ext=cc
43145 ac_cpp='$CXXCPP $CPPFLAGS'
43146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43149
43150     cat >conftest.$ac_ext <<_ACEOF
43151 /* confdefs.h.  */
43152 _ACEOF
43153 cat confdefs.h >>conftest.$ac_ext
43154 cat >>conftest.$ac_ext <<_ACEOF
43155 /* end confdefs.h.  */
43156 #include <math.h>
43157 int
43158 main ()
43159 {
43160 ceill (0); floorl (0);
43161   ;
43162   return 0;
43163 }
43164 _ACEOF
43165 rm -f conftest.$ac_objext
43166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43167   (eval $ac_compile) 2>conftest.er1
43168   ac_status=$?
43169   grep -v '^ *+' conftest.er1 >conftest.err
43170   rm -f conftest.er1
43171   cat conftest.err >&5
43172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43173   (exit $ac_status); } &&
43174          { ac_try='test -z "$ac_cxx_werror_flag"
43175                          || test ! -s conftest.err'
43176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43177   (eval $ac_try) 2>&5
43178   ac_status=$?
43179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43180   (exit $ac_status); }; } &&
43181          { ac_try='test -s conftest.$ac_objext'
43182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43183   (eval $ac_try) 2>&5
43184   ac_status=$?
43185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43186   (exit $ac_status); }; }; then
43187   glibcxx_cv_func_long_double_round_use=yes
43188 else
43189   echo "$as_me: failed program was:" >&5
43190 sed 's/^/| /' conftest.$ac_ext >&5
43191
43192 glibcxx_cv_func_long_double_round_use=no
43193 fi
43194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43195     ac_ext=c
43196 ac_cpp='$CPP $CPPFLAGS'
43197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43200
43201 fi
43202
43203   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
43204 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
43205   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43206
43207
43208 for ac_func in ceill floorl
43209 do
43210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43211 echo "$as_me:$LINENO: checking for $ac_func" >&5
43212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43213 if eval "test \"\${$as_ac_var+set}\" = set"; then
43214   echo $ECHO_N "(cached) $ECHO_C" >&6
43215 else
43216   if test x$gcc_no_link = xyes; then
43217   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43219    { (exit 1); exit 1; }; }
43220 fi
43221 cat >conftest.$ac_ext <<_ACEOF
43222 /* confdefs.h.  */
43223 _ACEOF
43224 cat confdefs.h >>conftest.$ac_ext
43225 cat >>conftest.$ac_ext <<_ACEOF
43226 /* end confdefs.h.  */
43227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43228    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43229 #define $ac_func innocuous_$ac_func
43230
43231 /* System header to define __stub macros and hopefully few prototypes,
43232     which can conflict with char $ac_func (); below.
43233     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43234     <limits.h> exists even on freestanding compilers.  */
43235
43236 #ifdef __STDC__
43237 # include <limits.h>
43238 #else
43239 # include <assert.h>
43240 #endif
43241
43242 #undef $ac_func
43243
43244 /* Override any gcc2 internal prototype to avoid an error.  */
43245 #ifdef __cplusplus
43246 extern "C"
43247 {
43248 #endif
43249 /* We use char because int might match the return type of a gcc2
43250    builtin and then its argument prototype would still apply.  */
43251 char $ac_func ();
43252 /* The GNU C library defines this for functions which it implements
43253     to always fail with ENOSYS.  Some functions are actually named
43254     something starting with __ and the normal name is an alias.  */
43255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43256 choke me
43257 #else
43258 char (*f) () = $ac_func;
43259 #endif
43260 #ifdef __cplusplus
43261 }
43262 #endif
43263
43264 int
43265 main ()
43266 {
43267 return f != $ac_func;
43268   ;
43269   return 0;
43270 }
43271 _ACEOF
43272 rm -f conftest.$ac_objext conftest$ac_exeext
43273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43274   (eval $ac_link) 2>conftest.er1
43275   ac_status=$?
43276   grep -v '^ *+' conftest.er1 >conftest.err
43277   rm -f conftest.er1
43278   cat conftest.err >&5
43279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43280   (exit $ac_status); } &&
43281          { ac_try='test -z "$ac_c_werror_flag"
43282                          || test ! -s conftest.err'
43283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43284   (eval $ac_try) 2>&5
43285   ac_status=$?
43286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43287   (exit $ac_status); }; } &&
43288          { ac_try='test -s conftest$ac_exeext'
43289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43290   (eval $ac_try) 2>&5
43291   ac_status=$?
43292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43293   (exit $ac_status); }; }; then
43294   eval "$as_ac_var=yes"
43295 else
43296   echo "$as_me: failed program was:" >&5
43297 sed 's/^/| /' conftest.$ac_ext >&5
43298
43299 eval "$as_ac_var=no"
43300 fi
43301 rm -f conftest.err conftest.$ac_objext \
43302       conftest$ac_exeext conftest.$ac_ext
43303 fi
43304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43306 if test `eval echo '${'$as_ac_var'}'` = yes; then
43307   cat >>confdefs.h <<_ACEOF
43308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43309 _ACEOF
43310
43311 fi
43312 done
43313
43314   else
43315     echo "$as_me:$LINENO: checking for _long double round functions" >&5
43316 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
43317     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
43318   echo $ECHO_N "(cached) $ECHO_C" >&6
43319 else
43320
43321
43322
43323       ac_ext=cc
43324 ac_cpp='$CXXCPP $CPPFLAGS'
43325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43328
43329       cat >conftest.$ac_ext <<_ACEOF
43330 /* confdefs.h.  */
43331 _ACEOF
43332 cat confdefs.h >>conftest.$ac_ext
43333 cat >>conftest.$ac_ext <<_ACEOF
43334 /* end confdefs.h.  */
43335 #include <math.h>
43336 int
43337 main ()
43338 {
43339 _ceill (0); _floorl (0);
43340   ;
43341   return 0;
43342 }
43343 _ACEOF
43344 rm -f conftest.$ac_objext
43345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43346   (eval $ac_compile) 2>conftest.er1
43347   ac_status=$?
43348   grep -v '^ *+' conftest.er1 >conftest.err
43349   rm -f conftest.er1
43350   cat conftest.err >&5
43351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43352   (exit $ac_status); } &&
43353          { ac_try='test -z "$ac_cxx_werror_flag"
43354                          || test ! -s conftest.err'
43355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43356   (eval $ac_try) 2>&5
43357   ac_status=$?
43358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43359   (exit $ac_status); }; } &&
43360          { ac_try='test -s conftest.$ac_objext'
43361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43362   (eval $ac_try) 2>&5
43363   ac_status=$?
43364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43365   (exit $ac_status); }; }; then
43366   glibcxx_cv_func__long_double_round_use=yes
43367 else
43368   echo "$as_me: failed program was:" >&5
43369 sed 's/^/| /' conftest.$ac_ext >&5
43370
43371 glibcxx_cv_func__long_double_round_use=no
43372 fi
43373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43374       ac_ext=c
43375 ac_cpp='$CPP $CPPFLAGS'
43376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43379
43380 fi
43381
43382     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
43383 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
43384     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43385
43386
43387 for ac_func in _ceill _floorl
43388 do
43389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43390 echo "$as_me:$LINENO: checking for $ac_func" >&5
43391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43392 if eval "test \"\${$as_ac_var+set}\" = set"; then
43393   echo $ECHO_N "(cached) $ECHO_C" >&6
43394 else
43395   if test x$gcc_no_link = xyes; then
43396   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43398    { (exit 1); exit 1; }; }
43399 fi
43400 cat >conftest.$ac_ext <<_ACEOF
43401 /* confdefs.h.  */
43402 _ACEOF
43403 cat confdefs.h >>conftest.$ac_ext
43404 cat >>conftest.$ac_ext <<_ACEOF
43405 /* end confdefs.h.  */
43406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43407    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43408 #define $ac_func innocuous_$ac_func
43409
43410 /* System header to define __stub macros and hopefully few prototypes,
43411     which can conflict with char $ac_func (); below.
43412     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43413     <limits.h> exists even on freestanding compilers.  */
43414
43415 #ifdef __STDC__
43416 # include <limits.h>
43417 #else
43418 # include <assert.h>
43419 #endif
43420
43421 #undef $ac_func
43422
43423 /* Override any gcc2 internal prototype to avoid an error.  */
43424 #ifdef __cplusplus
43425 extern "C"
43426 {
43427 #endif
43428 /* We use char because int might match the return type of a gcc2
43429    builtin and then its argument prototype would still apply.  */
43430 char $ac_func ();
43431 /* The GNU C library defines this for functions which it implements
43432     to always fail with ENOSYS.  Some functions are actually named
43433     something starting with __ and the normal name is an alias.  */
43434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43435 choke me
43436 #else
43437 char (*f) () = $ac_func;
43438 #endif
43439 #ifdef __cplusplus
43440 }
43441 #endif
43442
43443 int
43444 main ()
43445 {
43446 return f != $ac_func;
43447   ;
43448   return 0;
43449 }
43450 _ACEOF
43451 rm -f conftest.$ac_objext conftest$ac_exeext
43452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43453   (eval $ac_link) 2>conftest.er1
43454   ac_status=$?
43455   grep -v '^ *+' conftest.er1 >conftest.err
43456   rm -f conftest.er1
43457   cat conftest.err >&5
43458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43459   (exit $ac_status); } &&
43460          { ac_try='test -z "$ac_c_werror_flag"
43461                          || test ! -s conftest.err'
43462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43463   (eval $ac_try) 2>&5
43464   ac_status=$?
43465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43466   (exit $ac_status); }; } &&
43467          { ac_try='test -s conftest$ac_exeext'
43468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43469   (eval $ac_try) 2>&5
43470   ac_status=$?
43471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43472   (exit $ac_status); }; }; then
43473   eval "$as_ac_var=yes"
43474 else
43475   echo "$as_me: failed program was:" >&5
43476 sed 's/^/| /' conftest.$ac_ext >&5
43477
43478 eval "$as_ac_var=no"
43479 fi
43480 rm -f conftest.err conftest.$ac_objext \
43481       conftest$ac_exeext conftest.$ac_ext
43482 fi
43483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43485 if test `eval echo '${'$as_ac_var'}'` = yes; then
43486   cat >>confdefs.h <<_ACEOF
43487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43488 _ACEOF
43489
43490 fi
43491 done
43492
43493     fi
43494   fi
43495
43496
43497
43498
43499
43500
43501
43502
43503   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
43504 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
43505   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43506     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
43507   echo $ECHO_N "(cached) $ECHO_C" >&6
43508 else
43509
43510
43511
43512       ac_ext=cc
43513 ac_cpp='$CXXCPP $CPPFLAGS'
43514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43517
43518       cat >conftest.$ac_ext <<_ACEOF
43519 /* confdefs.h.  */
43520 _ACEOF
43521 cat confdefs.h >>conftest.$ac_ext
43522 cat >>conftest.$ac_ext <<_ACEOF
43523 /* end confdefs.h.  */
43524 #include <math.h>
43525                       #ifdef HAVE_IEEEFP_H
43526                       #include <ieeefp.h>
43527                       #endif
43528
43529 int
43530 main ()
43531 {
43532  isnanl(0);
43533   ;
43534   return 0;
43535 }
43536 _ACEOF
43537 rm -f conftest.$ac_objext
43538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43539   (eval $ac_compile) 2>conftest.er1
43540   ac_status=$?
43541   grep -v '^ *+' conftest.er1 >conftest.err
43542   rm -f conftest.er1
43543   cat conftest.err >&5
43544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43545   (exit $ac_status); } &&
43546          { ac_try='test -z "$ac_cxx_werror_flag"
43547                          || test ! -s conftest.err'
43548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43549   (eval $ac_try) 2>&5
43550   ac_status=$?
43551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43552   (exit $ac_status); }; } &&
43553          { ac_try='test -s conftest.$ac_objext'
43554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43555   (eval $ac_try) 2>&5
43556   ac_status=$?
43557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43558   (exit $ac_status); }; }; then
43559   glibcxx_cv_func_isnanl_use=yes
43560 else
43561   echo "$as_me: failed program was:" >&5
43562 sed 's/^/| /' conftest.$ac_ext >&5
43563
43564 glibcxx_cv_func_isnanl_use=no
43565 fi
43566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43567       ac_ext=c
43568 ac_cpp='$CPP $CPPFLAGS'
43569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43572
43573
43574 fi
43575
43576   fi
43577   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
43578 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
43579
43580   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43581
43582 for ac_func in isnanl
43583 do
43584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43585 echo "$as_me:$LINENO: checking for $ac_func" >&5
43586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43587 if eval "test \"\${$as_ac_var+set}\" = set"; then
43588   echo $ECHO_N "(cached) $ECHO_C" >&6
43589 else
43590   if test x$gcc_no_link = xyes; then
43591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43593    { (exit 1); exit 1; }; }
43594 fi
43595 cat >conftest.$ac_ext <<_ACEOF
43596 /* confdefs.h.  */
43597 _ACEOF
43598 cat confdefs.h >>conftest.$ac_ext
43599 cat >>conftest.$ac_ext <<_ACEOF
43600 /* end confdefs.h.  */
43601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43602    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43603 #define $ac_func innocuous_$ac_func
43604
43605 /* System header to define __stub macros and hopefully few prototypes,
43606     which can conflict with char $ac_func (); below.
43607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43608     <limits.h> exists even on freestanding compilers.  */
43609
43610 #ifdef __STDC__
43611 # include <limits.h>
43612 #else
43613 # include <assert.h>
43614 #endif
43615
43616 #undef $ac_func
43617
43618 /* Override any gcc2 internal prototype to avoid an error.  */
43619 #ifdef __cplusplus
43620 extern "C"
43621 {
43622 #endif
43623 /* We use char because int might match the return type of a gcc2
43624    builtin and then its argument prototype would still apply.  */
43625 char $ac_func ();
43626 /* The GNU C library defines this for functions which it implements
43627     to always fail with ENOSYS.  Some functions are actually named
43628     something starting with __ and the normal name is an alias.  */
43629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43630 choke me
43631 #else
43632 char (*f) () = $ac_func;
43633 #endif
43634 #ifdef __cplusplus
43635 }
43636 #endif
43637
43638 int
43639 main ()
43640 {
43641 return f != $ac_func;
43642   ;
43643   return 0;
43644 }
43645 _ACEOF
43646 rm -f conftest.$ac_objext conftest$ac_exeext
43647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43648   (eval $ac_link) 2>conftest.er1
43649   ac_status=$?
43650   grep -v '^ *+' conftest.er1 >conftest.err
43651   rm -f conftest.er1
43652   cat conftest.err >&5
43653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43654   (exit $ac_status); } &&
43655          { ac_try='test -z "$ac_c_werror_flag"
43656                          || test ! -s conftest.err'
43657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43658   (eval $ac_try) 2>&5
43659   ac_status=$?
43660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43661   (exit $ac_status); }; } &&
43662          { ac_try='test -s conftest$ac_exeext'
43663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43664   (eval $ac_try) 2>&5
43665   ac_status=$?
43666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43667   (exit $ac_status); }; }; then
43668   eval "$as_ac_var=yes"
43669 else
43670   echo "$as_me: failed program was:" >&5
43671 sed 's/^/| /' conftest.$ac_ext >&5
43672
43673 eval "$as_ac_var=no"
43674 fi
43675 rm -f conftest.err conftest.$ac_objext \
43676       conftest$ac_exeext conftest.$ac_ext
43677 fi
43678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43680 if test `eval echo '${'$as_ac_var'}'` = yes; then
43681   cat >>confdefs.h <<_ACEOF
43682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43683 _ACEOF
43684
43685 fi
43686 done
43687
43688   else
43689
43690   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
43691 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
43692   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43693     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
43694   echo $ECHO_N "(cached) $ECHO_C" >&6
43695 else
43696
43697
43698
43699       ac_ext=cc
43700 ac_cpp='$CXXCPP $CPPFLAGS'
43701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43704
43705       cat >conftest.$ac_ext <<_ACEOF
43706 /* confdefs.h.  */
43707 _ACEOF
43708 cat confdefs.h >>conftest.$ac_ext
43709 cat >>conftest.$ac_ext <<_ACEOF
43710 /* end confdefs.h.  */
43711 #include <math.h>
43712                       #ifdef HAVE_IEEEFP_H
43713                       #include <ieeefp.h>
43714                       #endif
43715
43716 int
43717 main ()
43718 {
43719  _isnanl(0);
43720   ;
43721   return 0;
43722 }
43723 _ACEOF
43724 rm -f conftest.$ac_objext
43725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43726   (eval $ac_compile) 2>conftest.er1
43727   ac_status=$?
43728   grep -v '^ *+' conftest.er1 >conftest.err
43729   rm -f conftest.er1
43730   cat conftest.err >&5
43731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43732   (exit $ac_status); } &&
43733          { ac_try='test -z "$ac_cxx_werror_flag"
43734                          || test ! -s conftest.err'
43735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43736   (eval $ac_try) 2>&5
43737   ac_status=$?
43738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43739   (exit $ac_status); }; } &&
43740          { ac_try='test -s conftest.$ac_objext'
43741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43742   (eval $ac_try) 2>&5
43743   ac_status=$?
43744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43745   (exit $ac_status); }; }; then
43746   glibcxx_cv_func__isnanl_use=yes
43747 else
43748   echo "$as_me: failed program was:" >&5
43749 sed 's/^/| /' conftest.$ac_ext >&5
43750
43751 glibcxx_cv_func__isnanl_use=no
43752 fi
43753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43754       ac_ext=c
43755 ac_cpp='$CPP $CPPFLAGS'
43756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43759
43760
43761 fi
43762
43763   fi
43764   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
43765 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
43766
43767     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43768
43769 for ac_func in _isnanl
43770 do
43771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43772 echo "$as_me:$LINENO: checking for $ac_func" >&5
43773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43774 if eval "test \"\${$as_ac_var+set}\" = set"; then
43775   echo $ECHO_N "(cached) $ECHO_C" >&6
43776 else
43777   if test x$gcc_no_link = xyes; then
43778   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43780    { (exit 1); exit 1; }; }
43781 fi
43782 cat >conftest.$ac_ext <<_ACEOF
43783 /* confdefs.h.  */
43784 _ACEOF
43785 cat confdefs.h >>conftest.$ac_ext
43786 cat >>conftest.$ac_ext <<_ACEOF
43787 /* end confdefs.h.  */
43788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43789    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43790 #define $ac_func innocuous_$ac_func
43791
43792 /* System header to define __stub macros and hopefully few prototypes,
43793     which can conflict with char $ac_func (); below.
43794     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43795     <limits.h> exists even on freestanding compilers.  */
43796
43797 #ifdef __STDC__
43798 # include <limits.h>
43799 #else
43800 # include <assert.h>
43801 #endif
43802
43803 #undef $ac_func
43804
43805 /* Override any gcc2 internal prototype to avoid an error.  */
43806 #ifdef __cplusplus
43807 extern "C"
43808 {
43809 #endif
43810 /* We use char because int might match the return type of a gcc2
43811    builtin and then its argument prototype would still apply.  */
43812 char $ac_func ();
43813 /* The GNU C library defines this for functions which it implements
43814     to always fail with ENOSYS.  Some functions are actually named
43815     something starting with __ and the normal name is an alias.  */
43816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43817 choke me
43818 #else
43819 char (*f) () = $ac_func;
43820 #endif
43821 #ifdef __cplusplus
43822 }
43823 #endif
43824
43825 int
43826 main ()
43827 {
43828 return f != $ac_func;
43829   ;
43830   return 0;
43831 }
43832 _ACEOF
43833 rm -f conftest.$ac_objext conftest$ac_exeext
43834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43835   (eval $ac_link) 2>conftest.er1
43836   ac_status=$?
43837   grep -v '^ *+' conftest.er1 >conftest.err
43838   rm -f conftest.er1
43839   cat conftest.err >&5
43840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43841   (exit $ac_status); } &&
43842          { ac_try='test -z "$ac_c_werror_flag"
43843                          || test ! -s conftest.err'
43844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43845   (eval $ac_try) 2>&5
43846   ac_status=$?
43847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43848   (exit $ac_status); }; } &&
43849          { ac_try='test -s conftest$ac_exeext'
43850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43851   (eval $ac_try) 2>&5
43852   ac_status=$?
43853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43854   (exit $ac_status); }; }; then
43855   eval "$as_ac_var=yes"
43856 else
43857   echo "$as_me: failed program was:" >&5
43858 sed 's/^/| /' conftest.$ac_ext >&5
43859
43860 eval "$as_ac_var=no"
43861 fi
43862 rm -f conftest.err conftest.$ac_objext \
43863       conftest$ac_exeext conftest.$ac_ext
43864 fi
43865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43867 if test `eval echo '${'$as_ac_var'}'` = yes; then
43868   cat >>confdefs.h <<_ACEOF
43869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43870 _ACEOF
43871
43872 fi
43873 done
43874
43875     fi
43876   fi
43877
43878
43879
43880
43881
43882
43883   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
43884 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
43885   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43886     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
43887   echo $ECHO_N "(cached) $ECHO_C" >&6
43888 else
43889
43890
43891
43892       ac_ext=cc
43893 ac_cpp='$CXXCPP $CPPFLAGS'
43894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43897
43898       cat >conftest.$ac_ext <<_ACEOF
43899 /* confdefs.h.  */
43900 _ACEOF
43901 cat confdefs.h >>conftest.$ac_ext
43902 cat >>conftest.$ac_ext <<_ACEOF
43903 /* end confdefs.h.  */
43904 #include <math.h>
43905                       #ifdef HAVE_IEEEFP_H
43906                       #include <ieeefp.h>
43907                       #endif
43908
43909 int
43910 main ()
43911 {
43912  isinfl(0);
43913   ;
43914   return 0;
43915 }
43916 _ACEOF
43917 rm -f conftest.$ac_objext
43918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43919   (eval $ac_compile) 2>conftest.er1
43920   ac_status=$?
43921   grep -v '^ *+' conftest.er1 >conftest.err
43922   rm -f conftest.er1
43923   cat conftest.err >&5
43924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43925   (exit $ac_status); } &&
43926          { ac_try='test -z "$ac_cxx_werror_flag"
43927                          || test ! -s conftest.err'
43928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43929   (eval $ac_try) 2>&5
43930   ac_status=$?
43931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43932   (exit $ac_status); }; } &&
43933          { ac_try='test -s conftest.$ac_objext'
43934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43935   (eval $ac_try) 2>&5
43936   ac_status=$?
43937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43938   (exit $ac_status); }; }; then
43939   glibcxx_cv_func_isinfl_use=yes
43940 else
43941   echo "$as_me: failed program was:" >&5
43942 sed 's/^/| /' conftest.$ac_ext >&5
43943
43944 glibcxx_cv_func_isinfl_use=no
43945 fi
43946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43947       ac_ext=c
43948 ac_cpp='$CPP $CPPFLAGS'
43949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43952
43953
43954 fi
43955
43956   fi
43957   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
43958 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
43959
43960   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43961
43962 for ac_func in isinfl
43963 do
43964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43965 echo "$as_me:$LINENO: checking for $ac_func" >&5
43966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43967 if eval "test \"\${$as_ac_var+set}\" = set"; then
43968   echo $ECHO_N "(cached) $ECHO_C" >&6
43969 else
43970   if test x$gcc_no_link = xyes; then
43971   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43973    { (exit 1); exit 1; }; }
43974 fi
43975 cat >conftest.$ac_ext <<_ACEOF
43976 /* confdefs.h.  */
43977 _ACEOF
43978 cat confdefs.h >>conftest.$ac_ext
43979 cat >>conftest.$ac_ext <<_ACEOF
43980 /* end confdefs.h.  */
43981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43982    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43983 #define $ac_func innocuous_$ac_func
43984
43985 /* System header to define __stub macros and hopefully few prototypes,
43986     which can conflict with char $ac_func (); below.
43987     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43988     <limits.h> exists even on freestanding compilers.  */
43989
43990 #ifdef __STDC__
43991 # include <limits.h>
43992 #else
43993 # include <assert.h>
43994 #endif
43995
43996 #undef $ac_func
43997
43998 /* Override any gcc2 internal prototype to avoid an error.  */
43999 #ifdef __cplusplus
44000 extern "C"
44001 {
44002 #endif
44003 /* We use char because int might match the return type of a gcc2
44004    builtin and then its argument prototype would still apply.  */
44005 char $ac_func ();
44006 /* The GNU C library defines this for functions which it implements
44007     to always fail with ENOSYS.  Some functions are actually named
44008     something starting with __ and the normal name is an alias.  */
44009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44010 choke me
44011 #else
44012 char (*f) () = $ac_func;
44013 #endif
44014 #ifdef __cplusplus
44015 }
44016 #endif
44017
44018 int
44019 main ()
44020 {
44021 return f != $ac_func;
44022   ;
44023   return 0;
44024 }
44025 _ACEOF
44026 rm -f conftest.$ac_objext conftest$ac_exeext
44027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44028   (eval $ac_link) 2>conftest.er1
44029   ac_status=$?
44030   grep -v '^ *+' conftest.er1 >conftest.err
44031   rm -f conftest.er1
44032   cat conftest.err >&5
44033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44034   (exit $ac_status); } &&
44035          { ac_try='test -z "$ac_c_werror_flag"
44036                          || test ! -s conftest.err'
44037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44038   (eval $ac_try) 2>&5
44039   ac_status=$?
44040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44041   (exit $ac_status); }; } &&
44042          { ac_try='test -s conftest$ac_exeext'
44043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44044   (eval $ac_try) 2>&5
44045   ac_status=$?
44046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44047   (exit $ac_status); }; }; then
44048   eval "$as_ac_var=yes"
44049 else
44050   echo "$as_me: failed program was:" >&5
44051 sed 's/^/| /' conftest.$ac_ext >&5
44052
44053 eval "$as_ac_var=no"
44054 fi
44055 rm -f conftest.err conftest.$ac_objext \
44056       conftest$ac_exeext conftest.$ac_ext
44057 fi
44058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44060 if test `eval echo '${'$as_ac_var'}'` = yes; then
44061   cat >>confdefs.h <<_ACEOF
44062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44063 _ACEOF
44064
44065 fi
44066 done
44067
44068   else
44069
44070   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
44071 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
44072   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44073     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
44074   echo $ECHO_N "(cached) $ECHO_C" >&6
44075 else
44076
44077
44078
44079       ac_ext=cc
44080 ac_cpp='$CXXCPP $CPPFLAGS'
44081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44084
44085       cat >conftest.$ac_ext <<_ACEOF
44086 /* confdefs.h.  */
44087 _ACEOF
44088 cat confdefs.h >>conftest.$ac_ext
44089 cat >>conftest.$ac_ext <<_ACEOF
44090 /* end confdefs.h.  */
44091 #include <math.h>
44092                       #ifdef HAVE_IEEEFP_H
44093                       #include <ieeefp.h>
44094                       #endif
44095
44096 int
44097 main ()
44098 {
44099  _isinfl(0);
44100   ;
44101   return 0;
44102 }
44103 _ACEOF
44104 rm -f conftest.$ac_objext
44105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44106   (eval $ac_compile) 2>conftest.er1
44107   ac_status=$?
44108   grep -v '^ *+' conftest.er1 >conftest.err
44109   rm -f conftest.er1
44110   cat conftest.err >&5
44111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44112   (exit $ac_status); } &&
44113          { ac_try='test -z "$ac_cxx_werror_flag"
44114                          || test ! -s conftest.err'
44115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44116   (eval $ac_try) 2>&5
44117   ac_status=$?
44118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44119   (exit $ac_status); }; } &&
44120          { ac_try='test -s conftest.$ac_objext'
44121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44122   (eval $ac_try) 2>&5
44123   ac_status=$?
44124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44125   (exit $ac_status); }; }; then
44126   glibcxx_cv_func__isinfl_use=yes
44127 else
44128   echo "$as_me: failed program was:" >&5
44129 sed 's/^/| /' conftest.$ac_ext >&5
44130
44131 glibcxx_cv_func__isinfl_use=no
44132 fi
44133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44134       ac_ext=c
44135 ac_cpp='$CPP $CPPFLAGS'
44136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44139
44140
44141 fi
44142
44143   fi
44144   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
44145 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
44146
44147     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44148
44149 for ac_func in _isinfl
44150 do
44151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44152 echo "$as_me:$LINENO: checking for $ac_func" >&5
44153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44154 if eval "test \"\${$as_ac_var+set}\" = set"; then
44155   echo $ECHO_N "(cached) $ECHO_C" >&6
44156 else
44157   if test x$gcc_no_link = xyes; then
44158   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44160    { (exit 1); exit 1; }; }
44161 fi
44162 cat >conftest.$ac_ext <<_ACEOF
44163 /* confdefs.h.  */
44164 _ACEOF
44165 cat confdefs.h >>conftest.$ac_ext
44166 cat >>conftest.$ac_ext <<_ACEOF
44167 /* end confdefs.h.  */
44168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44169    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44170 #define $ac_func innocuous_$ac_func
44171
44172 /* System header to define __stub macros and hopefully few prototypes,
44173     which can conflict with char $ac_func (); below.
44174     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44175     <limits.h> exists even on freestanding compilers.  */
44176
44177 #ifdef __STDC__
44178 # include <limits.h>
44179 #else
44180 # include <assert.h>
44181 #endif
44182
44183 #undef $ac_func
44184
44185 /* Override any gcc2 internal prototype to avoid an error.  */
44186 #ifdef __cplusplus
44187 extern "C"
44188 {
44189 #endif
44190 /* We use char because int might match the return type of a gcc2
44191    builtin and then its argument prototype would still apply.  */
44192 char $ac_func ();
44193 /* The GNU C library defines this for functions which it implements
44194     to always fail with ENOSYS.  Some functions are actually named
44195     something starting with __ and the normal name is an alias.  */
44196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44197 choke me
44198 #else
44199 char (*f) () = $ac_func;
44200 #endif
44201 #ifdef __cplusplus
44202 }
44203 #endif
44204
44205 int
44206 main ()
44207 {
44208 return f != $ac_func;
44209   ;
44210   return 0;
44211 }
44212 _ACEOF
44213 rm -f conftest.$ac_objext conftest$ac_exeext
44214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44215   (eval $ac_link) 2>conftest.er1
44216   ac_status=$?
44217   grep -v '^ *+' conftest.er1 >conftest.err
44218   rm -f conftest.er1
44219   cat conftest.err >&5
44220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44221   (exit $ac_status); } &&
44222          { ac_try='test -z "$ac_c_werror_flag"
44223                          || test ! -s conftest.err'
44224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44225   (eval $ac_try) 2>&5
44226   ac_status=$?
44227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44228   (exit $ac_status); }; } &&
44229          { ac_try='test -s conftest$ac_exeext'
44230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44231   (eval $ac_try) 2>&5
44232   ac_status=$?
44233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44234   (exit $ac_status); }; }; then
44235   eval "$as_ac_var=yes"
44236 else
44237   echo "$as_me: failed program was:" >&5
44238 sed 's/^/| /' conftest.$ac_ext >&5
44239
44240 eval "$as_ac_var=no"
44241 fi
44242 rm -f conftest.err conftest.$ac_objext \
44243       conftest$ac_exeext conftest.$ac_ext
44244 fi
44245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44247 if test `eval echo '${'$as_ac_var'}'` = yes; then
44248   cat >>confdefs.h <<_ACEOF
44249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44250 _ACEOF
44251
44252 fi
44253 done
44254
44255     fi
44256   fi
44257
44258
44259
44260
44261
44262
44263   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
44264 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
44265   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
44266     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
44267   echo $ECHO_N "(cached) $ECHO_C" >&6
44268 else
44269
44270
44271
44272       ac_ext=cc
44273 ac_cpp='$CXXCPP $CPPFLAGS'
44274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44277
44278       cat >conftest.$ac_ext <<_ACEOF
44279 /* confdefs.h.  */
44280 _ACEOF
44281 cat confdefs.h >>conftest.$ac_ext
44282 cat >>conftest.$ac_ext <<_ACEOF
44283 /* end confdefs.h.  */
44284 #include <math.h>
44285 int
44286 main ()
44287 {
44288  copysignl(0, 0);
44289   ;
44290   return 0;
44291 }
44292 _ACEOF
44293 rm -f conftest.$ac_objext
44294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44295   (eval $ac_compile) 2>conftest.er1
44296   ac_status=$?
44297   grep -v '^ *+' conftest.er1 >conftest.err
44298   rm -f conftest.er1
44299   cat conftest.err >&5
44300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44301   (exit $ac_status); } &&
44302          { ac_try='test -z "$ac_cxx_werror_flag"
44303                          || test ! -s conftest.err'
44304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44305   (eval $ac_try) 2>&5
44306   ac_status=$?
44307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44308   (exit $ac_status); }; } &&
44309          { ac_try='test -s conftest.$ac_objext'
44310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44311   (eval $ac_try) 2>&5
44312   ac_status=$?
44313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44314   (exit $ac_status); }; }; then
44315   glibcxx_cv_func_copysignl_use=yes
44316 else
44317   echo "$as_me: failed program was:" >&5
44318 sed 's/^/| /' conftest.$ac_ext >&5
44319
44320 glibcxx_cv_func_copysignl_use=no
44321 fi
44322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44323       ac_ext=c
44324 ac_cpp='$CPP $CPPFLAGS'
44325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44328
44329
44330 fi
44331
44332   fi
44333   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
44334 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
44335
44336   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
44337
44338 for ac_func in copysignl
44339 do
44340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44341 echo "$as_me:$LINENO: checking for $ac_func" >&5
44342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44343 if eval "test \"\${$as_ac_var+set}\" = set"; then
44344   echo $ECHO_N "(cached) $ECHO_C" >&6
44345 else
44346   if test x$gcc_no_link = xyes; then
44347   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44349    { (exit 1); exit 1; }; }
44350 fi
44351 cat >conftest.$ac_ext <<_ACEOF
44352 /* confdefs.h.  */
44353 _ACEOF
44354 cat confdefs.h >>conftest.$ac_ext
44355 cat >>conftest.$ac_ext <<_ACEOF
44356 /* end confdefs.h.  */
44357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44358    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44359 #define $ac_func innocuous_$ac_func
44360
44361 /* System header to define __stub macros and hopefully few prototypes,
44362     which can conflict with char $ac_func (); below.
44363     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44364     <limits.h> exists even on freestanding compilers.  */
44365
44366 #ifdef __STDC__
44367 # include <limits.h>
44368 #else
44369 # include <assert.h>
44370 #endif
44371
44372 #undef $ac_func
44373
44374 /* Override any gcc2 internal prototype to avoid an error.  */
44375 #ifdef __cplusplus
44376 extern "C"
44377 {
44378 #endif
44379 /* We use char because int might match the return type of a gcc2
44380    builtin and then its argument prototype would still apply.  */
44381 char $ac_func ();
44382 /* The GNU C library defines this for functions which it implements
44383     to always fail with ENOSYS.  Some functions are actually named
44384     something starting with __ and the normal name is an alias.  */
44385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44386 choke me
44387 #else
44388 char (*f) () = $ac_func;
44389 #endif
44390 #ifdef __cplusplus
44391 }
44392 #endif
44393
44394 int
44395 main ()
44396 {
44397 return f != $ac_func;
44398   ;
44399   return 0;
44400 }
44401 _ACEOF
44402 rm -f conftest.$ac_objext conftest$ac_exeext
44403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44404   (eval $ac_link) 2>conftest.er1
44405   ac_status=$?
44406   grep -v '^ *+' conftest.er1 >conftest.err
44407   rm -f conftest.er1
44408   cat conftest.err >&5
44409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44410   (exit $ac_status); } &&
44411          { ac_try='test -z "$ac_c_werror_flag"
44412                          || test ! -s conftest.err'
44413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44414   (eval $ac_try) 2>&5
44415   ac_status=$?
44416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44417   (exit $ac_status); }; } &&
44418          { ac_try='test -s conftest$ac_exeext'
44419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44420   (eval $ac_try) 2>&5
44421   ac_status=$?
44422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44423   (exit $ac_status); }; }; then
44424   eval "$as_ac_var=yes"
44425 else
44426   echo "$as_me: failed program was:" >&5
44427 sed 's/^/| /' conftest.$ac_ext >&5
44428
44429 eval "$as_ac_var=no"
44430 fi
44431 rm -f conftest.err conftest.$ac_objext \
44432       conftest$ac_exeext conftest.$ac_ext
44433 fi
44434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44436 if test `eval echo '${'$as_ac_var'}'` = yes; then
44437   cat >>confdefs.h <<_ACEOF
44438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44439 _ACEOF
44440
44441 fi
44442 done
44443
44444   else
44445
44446   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
44447 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
44448   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
44449     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
44450   echo $ECHO_N "(cached) $ECHO_C" >&6
44451 else
44452
44453
44454
44455       ac_ext=cc
44456 ac_cpp='$CXXCPP $CPPFLAGS'
44457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44460
44461       cat >conftest.$ac_ext <<_ACEOF
44462 /* confdefs.h.  */
44463 _ACEOF
44464 cat confdefs.h >>conftest.$ac_ext
44465 cat >>conftest.$ac_ext <<_ACEOF
44466 /* end confdefs.h.  */
44467 #include <math.h>
44468 int
44469 main ()
44470 {
44471  _copysignl(0, 0);
44472   ;
44473   return 0;
44474 }
44475 _ACEOF
44476 rm -f conftest.$ac_objext
44477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44478   (eval $ac_compile) 2>conftest.er1
44479   ac_status=$?
44480   grep -v '^ *+' conftest.er1 >conftest.err
44481   rm -f conftest.er1
44482   cat conftest.err >&5
44483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44484   (exit $ac_status); } &&
44485          { ac_try='test -z "$ac_cxx_werror_flag"
44486                          || test ! -s conftest.err'
44487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44488   (eval $ac_try) 2>&5
44489   ac_status=$?
44490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44491   (exit $ac_status); }; } &&
44492          { ac_try='test -s conftest.$ac_objext'
44493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44494   (eval $ac_try) 2>&5
44495   ac_status=$?
44496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44497   (exit $ac_status); }; }; then
44498   glibcxx_cv_func__copysignl_use=yes
44499 else
44500   echo "$as_me: failed program was:" >&5
44501 sed 's/^/| /' conftest.$ac_ext >&5
44502
44503 glibcxx_cv_func__copysignl_use=no
44504 fi
44505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44506       ac_ext=c
44507 ac_cpp='$CPP $CPPFLAGS'
44508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44511
44512
44513 fi
44514
44515   fi
44516   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
44517 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
44518
44519     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
44520
44521 for ac_func in _copysignl
44522 do
44523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44524 echo "$as_me:$LINENO: checking for $ac_func" >&5
44525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44526 if eval "test \"\${$as_ac_var+set}\" = set"; then
44527   echo $ECHO_N "(cached) $ECHO_C" >&6
44528 else
44529   if test x$gcc_no_link = xyes; then
44530   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44532    { (exit 1); exit 1; }; }
44533 fi
44534 cat >conftest.$ac_ext <<_ACEOF
44535 /* confdefs.h.  */
44536 _ACEOF
44537 cat confdefs.h >>conftest.$ac_ext
44538 cat >>conftest.$ac_ext <<_ACEOF
44539 /* end confdefs.h.  */
44540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44541    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44542 #define $ac_func innocuous_$ac_func
44543
44544 /* System header to define __stub macros and hopefully few prototypes,
44545     which can conflict with char $ac_func (); below.
44546     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44547     <limits.h> exists even on freestanding compilers.  */
44548
44549 #ifdef __STDC__
44550 # include <limits.h>
44551 #else
44552 # include <assert.h>
44553 #endif
44554
44555 #undef $ac_func
44556
44557 /* Override any gcc2 internal prototype to avoid an error.  */
44558 #ifdef __cplusplus
44559 extern "C"
44560 {
44561 #endif
44562 /* We use char because int might match the return type of a gcc2
44563    builtin and then its argument prototype would still apply.  */
44564 char $ac_func ();
44565 /* The GNU C library defines this for functions which it implements
44566     to always fail with ENOSYS.  Some functions are actually named
44567     something starting with __ and the normal name is an alias.  */
44568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44569 choke me
44570 #else
44571 char (*f) () = $ac_func;
44572 #endif
44573 #ifdef __cplusplus
44574 }
44575 #endif
44576
44577 int
44578 main ()
44579 {
44580 return f != $ac_func;
44581   ;
44582   return 0;
44583 }
44584 _ACEOF
44585 rm -f conftest.$ac_objext conftest$ac_exeext
44586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44587   (eval $ac_link) 2>conftest.er1
44588   ac_status=$?
44589   grep -v '^ *+' conftest.er1 >conftest.err
44590   rm -f conftest.er1
44591   cat conftest.err >&5
44592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44593   (exit $ac_status); } &&
44594          { ac_try='test -z "$ac_c_werror_flag"
44595                          || test ! -s conftest.err'
44596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44597   (eval $ac_try) 2>&5
44598   ac_status=$?
44599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44600   (exit $ac_status); }; } &&
44601          { ac_try='test -s conftest$ac_exeext'
44602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44603   (eval $ac_try) 2>&5
44604   ac_status=$?
44605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44606   (exit $ac_status); }; }; then
44607   eval "$as_ac_var=yes"
44608 else
44609   echo "$as_me: failed program was:" >&5
44610 sed 's/^/| /' conftest.$ac_ext >&5
44611
44612 eval "$as_ac_var=no"
44613 fi
44614 rm -f conftest.err conftest.$ac_objext \
44615       conftest$ac_exeext conftest.$ac_ext
44616 fi
44617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44619 if test `eval echo '${'$as_ac_var'}'` = yes; then
44620   cat >>confdefs.h <<_ACEOF
44621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44622 _ACEOF
44623
44624 fi
44625 done
44626
44627     fi
44628   fi
44629
44630
44631
44632
44633
44634
44635   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
44636 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
44637   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44638     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
44639   echo $ECHO_N "(cached) $ECHO_C" >&6
44640 else
44641
44642
44643
44644       ac_ext=cc
44645 ac_cpp='$CXXCPP $CPPFLAGS'
44646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44649
44650       cat >conftest.$ac_ext <<_ACEOF
44651 /* confdefs.h.  */
44652 _ACEOF
44653 cat confdefs.h >>conftest.$ac_ext
44654 cat >>conftest.$ac_ext <<_ACEOF
44655 /* end confdefs.h.  */
44656 #include <math.h>
44657 int
44658 main ()
44659 {
44660  atan2l(0, 0);
44661   ;
44662   return 0;
44663 }
44664 _ACEOF
44665 rm -f conftest.$ac_objext
44666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44667   (eval $ac_compile) 2>conftest.er1
44668   ac_status=$?
44669   grep -v '^ *+' conftest.er1 >conftest.err
44670   rm -f conftest.er1
44671   cat conftest.err >&5
44672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44673   (exit $ac_status); } &&
44674          { ac_try='test -z "$ac_cxx_werror_flag"
44675                          || test ! -s conftest.err'
44676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44677   (eval $ac_try) 2>&5
44678   ac_status=$?
44679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44680   (exit $ac_status); }; } &&
44681          { ac_try='test -s conftest.$ac_objext'
44682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44683   (eval $ac_try) 2>&5
44684   ac_status=$?
44685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44686   (exit $ac_status); }; }; then
44687   glibcxx_cv_func_atan2l_use=yes
44688 else
44689   echo "$as_me: failed program was:" >&5
44690 sed 's/^/| /' conftest.$ac_ext >&5
44691
44692 glibcxx_cv_func_atan2l_use=no
44693 fi
44694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44695       ac_ext=c
44696 ac_cpp='$CPP $CPPFLAGS'
44697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44700
44701
44702 fi
44703
44704   fi
44705   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
44706 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
44707
44708   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44709
44710 for ac_func in atan2l
44711 do
44712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44713 echo "$as_me:$LINENO: checking for $ac_func" >&5
44714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44715 if eval "test \"\${$as_ac_var+set}\" = set"; then
44716   echo $ECHO_N "(cached) $ECHO_C" >&6
44717 else
44718   if test x$gcc_no_link = xyes; then
44719   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44721    { (exit 1); exit 1; }; }
44722 fi
44723 cat >conftest.$ac_ext <<_ACEOF
44724 /* confdefs.h.  */
44725 _ACEOF
44726 cat confdefs.h >>conftest.$ac_ext
44727 cat >>conftest.$ac_ext <<_ACEOF
44728 /* end confdefs.h.  */
44729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44730    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44731 #define $ac_func innocuous_$ac_func
44732
44733 /* System header to define __stub macros and hopefully few prototypes,
44734     which can conflict with char $ac_func (); below.
44735     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44736     <limits.h> exists even on freestanding compilers.  */
44737
44738 #ifdef __STDC__
44739 # include <limits.h>
44740 #else
44741 # include <assert.h>
44742 #endif
44743
44744 #undef $ac_func
44745
44746 /* Override any gcc2 internal prototype to avoid an error.  */
44747 #ifdef __cplusplus
44748 extern "C"
44749 {
44750 #endif
44751 /* We use char because int might match the return type of a gcc2
44752    builtin and then its argument prototype would still apply.  */
44753 char $ac_func ();
44754 /* The GNU C library defines this for functions which it implements
44755     to always fail with ENOSYS.  Some functions are actually named
44756     something starting with __ and the normal name is an alias.  */
44757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44758 choke me
44759 #else
44760 char (*f) () = $ac_func;
44761 #endif
44762 #ifdef __cplusplus
44763 }
44764 #endif
44765
44766 int
44767 main ()
44768 {
44769 return f != $ac_func;
44770   ;
44771   return 0;
44772 }
44773 _ACEOF
44774 rm -f conftest.$ac_objext conftest$ac_exeext
44775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44776   (eval $ac_link) 2>conftest.er1
44777   ac_status=$?
44778   grep -v '^ *+' conftest.er1 >conftest.err
44779   rm -f conftest.er1
44780   cat conftest.err >&5
44781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44782   (exit $ac_status); } &&
44783          { ac_try='test -z "$ac_c_werror_flag"
44784                          || test ! -s conftest.err'
44785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44786   (eval $ac_try) 2>&5
44787   ac_status=$?
44788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44789   (exit $ac_status); }; } &&
44790          { ac_try='test -s conftest$ac_exeext'
44791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44792   (eval $ac_try) 2>&5
44793   ac_status=$?
44794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44795   (exit $ac_status); }; }; then
44796   eval "$as_ac_var=yes"
44797 else
44798   echo "$as_me: failed program was:" >&5
44799 sed 's/^/| /' conftest.$ac_ext >&5
44800
44801 eval "$as_ac_var=no"
44802 fi
44803 rm -f conftest.err conftest.$ac_objext \
44804       conftest$ac_exeext conftest.$ac_ext
44805 fi
44806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44808 if test `eval echo '${'$as_ac_var'}'` = yes; then
44809   cat >>confdefs.h <<_ACEOF
44810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44811 _ACEOF
44812
44813 fi
44814 done
44815
44816   else
44817
44818   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
44819 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
44820   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44821     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
44822   echo $ECHO_N "(cached) $ECHO_C" >&6
44823 else
44824
44825
44826
44827       ac_ext=cc
44828 ac_cpp='$CXXCPP $CPPFLAGS'
44829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44832
44833       cat >conftest.$ac_ext <<_ACEOF
44834 /* confdefs.h.  */
44835 _ACEOF
44836 cat confdefs.h >>conftest.$ac_ext
44837 cat >>conftest.$ac_ext <<_ACEOF
44838 /* end confdefs.h.  */
44839 #include <math.h>
44840 int
44841 main ()
44842 {
44843  _atan2l(0, 0);
44844   ;
44845   return 0;
44846 }
44847 _ACEOF
44848 rm -f conftest.$ac_objext
44849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44850   (eval $ac_compile) 2>conftest.er1
44851   ac_status=$?
44852   grep -v '^ *+' conftest.er1 >conftest.err
44853   rm -f conftest.er1
44854   cat conftest.err >&5
44855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44856   (exit $ac_status); } &&
44857          { ac_try='test -z "$ac_cxx_werror_flag"
44858                          || test ! -s conftest.err'
44859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44860   (eval $ac_try) 2>&5
44861   ac_status=$?
44862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44863   (exit $ac_status); }; } &&
44864          { ac_try='test -s conftest.$ac_objext'
44865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44866   (eval $ac_try) 2>&5
44867   ac_status=$?
44868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44869   (exit $ac_status); }; }; then
44870   glibcxx_cv_func__atan2l_use=yes
44871 else
44872   echo "$as_me: failed program was:" >&5
44873 sed 's/^/| /' conftest.$ac_ext >&5
44874
44875 glibcxx_cv_func__atan2l_use=no
44876 fi
44877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44878       ac_ext=c
44879 ac_cpp='$CPP $CPPFLAGS'
44880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44883
44884
44885 fi
44886
44887   fi
44888   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
44889 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
44890
44891     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44892
44893 for ac_func in _atan2l
44894 do
44895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44896 echo "$as_me:$LINENO: checking for $ac_func" >&5
44897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44898 if eval "test \"\${$as_ac_var+set}\" = set"; then
44899   echo $ECHO_N "(cached) $ECHO_C" >&6
44900 else
44901   if test x$gcc_no_link = xyes; then
44902   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44904    { (exit 1); exit 1; }; }
44905 fi
44906 cat >conftest.$ac_ext <<_ACEOF
44907 /* confdefs.h.  */
44908 _ACEOF
44909 cat confdefs.h >>conftest.$ac_ext
44910 cat >>conftest.$ac_ext <<_ACEOF
44911 /* end confdefs.h.  */
44912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44913    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44914 #define $ac_func innocuous_$ac_func
44915
44916 /* System header to define __stub macros and hopefully few prototypes,
44917     which can conflict with char $ac_func (); below.
44918     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44919     <limits.h> exists even on freestanding compilers.  */
44920
44921 #ifdef __STDC__
44922 # include <limits.h>
44923 #else
44924 # include <assert.h>
44925 #endif
44926
44927 #undef $ac_func
44928
44929 /* Override any gcc2 internal prototype to avoid an error.  */
44930 #ifdef __cplusplus
44931 extern "C"
44932 {
44933 #endif
44934 /* We use char because int might match the return type of a gcc2
44935    builtin and then its argument prototype would still apply.  */
44936 char $ac_func ();
44937 /* The GNU C library defines this for functions which it implements
44938     to always fail with ENOSYS.  Some functions are actually named
44939     something starting with __ and the normal name is an alias.  */
44940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44941 choke me
44942 #else
44943 char (*f) () = $ac_func;
44944 #endif
44945 #ifdef __cplusplus
44946 }
44947 #endif
44948
44949 int
44950 main ()
44951 {
44952 return f != $ac_func;
44953   ;
44954   return 0;
44955 }
44956 _ACEOF
44957 rm -f conftest.$ac_objext conftest$ac_exeext
44958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44959   (eval $ac_link) 2>conftest.er1
44960   ac_status=$?
44961   grep -v '^ *+' conftest.er1 >conftest.err
44962   rm -f conftest.er1
44963   cat conftest.err >&5
44964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44965   (exit $ac_status); } &&
44966          { ac_try='test -z "$ac_c_werror_flag"
44967                          || test ! -s conftest.err'
44968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44969   (eval $ac_try) 2>&5
44970   ac_status=$?
44971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44972   (exit $ac_status); }; } &&
44973          { ac_try='test -s conftest$ac_exeext'
44974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44975   (eval $ac_try) 2>&5
44976   ac_status=$?
44977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44978   (exit $ac_status); }; }; then
44979   eval "$as_ac_var=yes"
44980 else
44981   echo "$as_me: failed program was:" >&5
44982 sed 's/^/| /' conftest.$ac_ext >&5
44983
44984 eval "$as_ac_var=no"
44985 fi
44986 rm -f conftest.err conftest.$ac_objext \
44987       conftest$ac_exeext conftest.$ac_ext
44988 fi
44989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44991 if test `eval echo '${'$as_ac_var'}'` = yes; then
44992   cat >>confdefs.h <<_ACEOF
44993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44994 _ACEOF
44995
44996 fi
44997 done
44998
44999     fi
45000   fi
45001
45002
45003
45004
45005
45006
45007   echo "$as_me:$LINENO: checking for expl declaration" >&5
45008 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
45009   if test x${glibcxx_cv_func_expl_use+set} != xset; then
45010     if test "${glibcxx_cv_func_expl_use+set}" = set; then
45011   echo $ECHO_N "(cached) $ECHO_C" >&6
45012 else
45013
45014
45015
45016       ac_ext=cc
45017 ac_cpp='$CXXCPP $CPPFLAGS'
45018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45021
45022       cat >conftest.$ac_ext <<_ACEOF
45023 /* confdefs.h.  */
45024 _ACEOF
45025 cat confdefs.h >>conftest.$ac_ext
45026 cat >>conftest.$ac_ext <<_ACEOF
45027 /* end confdefs.h.  */
45028 #include <math.h>
45029                       #ifdef HAVE_IEEEFP_H
45030                       #include <ieeefp.h>
45031                       #endif
45032
45033 int
45034 main ()
45035 {
45036  expl(0);
45037   ;
45038   return 0;
45039 }
45040 _ACEOF
45041 rm -f conftest.$ac_objext
45042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45043   (eval $ac_compile) 2>conftest.er1
45044   ac_status=$?
45045   grep -v '^ *+' conftest.er1 >conftest.err
45046   rm -f conftest.er1
45047   cat conftest.err >&5
45048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45049   (exit $ac_status); } &&
45050          { ac_try='test -z "$ac_cxx_werror_flag"
45051                          || test ! -s conftest.err'
45052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45053   (eval $ac_try) 2>&5
45054   ac_status=$?
45055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45056   (exit $ac_status); }; } &&
45057          { ac_try='test -s conftest.$ac_objext'
45058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45059   (eval $ac_try) 2>&5
45060   ac_status=$?
45061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45062   (exit $ac_status); }; }; then
45063   glibcxx_cv_func_expl_use=yes
45064 else
45065   echo "$as_me: failed program was:" >&5
45066 sed 's/^/| /' conftest.$ac_ext >&5
45067
45068 glibcxx_cv_func_expl_use=no
45069 fi
45070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45071       ac_ext=c
45072 ac_cpp='$CPP $CPPFLAGS'
45073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45076
45077
45078 fi
45079
45080   fi
45081   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
45082 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
45083
45084   if test x$glibcxx_cv_func_expl_use = x"yes"; then
45085
45086 for ac_func in expl
45087 do
45088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45089 echo "$as_me:$LINENO: checking for $ac_func" >&5
45090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45091 if eval "test \"\${$as_ac_var+set}\" = set"; then
45092   echo $ECHO_N "(cached) $ECHO_C" >&6
45093 else
45094   if test x$gcc_no_link = xyes; then
45095   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45097    { (exit 1); exit 1; }; }
45098 fi
45099 cat >conftest.$ac_ext <<_ACEOF
45100 /* confdefs.h.  */
45101 _ACEOF
45102 cat confdefs.h >>conftest.$ac_ext
45103 cat >>conftest.$ac_ext <<_ACEOF
45104 /* end confdefs.h.  */
45105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45106    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45107 #define $ac_func innocuous_$ac_func
45108
45109 /* System header to define __stub macros and hopefully few prototypes,
45110     which can conflict with char $ac_func (); below.
45111     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45112     <limits.h> exists even on freestanding compilers.  */
45113
45114 #ifdef __STDC__
45115 # include <limits.h>
45116 #else
45117 # include <assert.h>
45118 #endif
45119
45120 #undef $ac_func
45121
45122 /* Override any gcc2 internal prototype to avoid an error.  */
45123 #ifdef __cplusplus
45124 extern "C"
45125 {
45126 #endif
45127 /* We use char because int might match the return type of a gcc2
45128    builtin and then its argument prototype would still apply.  */
45129 char $ac_func ();
45130 /* The GNU C library defines this for functions which it implements
45131     to always fail with ENOSYS.  Some functions are actually named
45132     something starting with __ and the normal name is an alias.  */
45133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45134 choke me
45135 #else
45136 char (*f) () = $ac_func;
45137 #endif
45138 #ifdef __cplusplus
45139 }
45140 #endif
45141
45142 int
45143 main ()
45144 {
45145 return f != $ac_func;
45146   ;
45147   return 0;
45148 }
45149 _ACEOF
45150 rm -f conftest.$ac_objext conftest$ac_exeext
45151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45152   (eval $ac_link) 2>conftest.er1
45153   ac_status=$?
45154   grep -v '^ *+' conftest.er1 >conftest.err
45155   rm -f conftest.er1
45156   cat conftest.err >&5
45157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45158   (exit $ac_status); } &&
45159          { ac_try='test -z "$ac_c_werror_flag"
45160                          || test ! -s conftest.err'
45161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45162   (eval $ac_try) 2>&5
45163   ac_status=$?
45164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45165   (exit $ac_status); }; } &&
45166          { ac_try='test -s conftest$ac_exeext'
45167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45168   (eval $ac_try) 2>&5
45169   ac_status=$?
45170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45171   (exit $ac_status); }; }; then
45172   eval "$as_ac_var=yes"
45173 else
45174   echo "$as_me: failed program was:" >&5
45175 sed 's/^/| /' conftest.$ac_ext >&5
45176
45177 eval "$as_ac_var=no"
45178 fi
45179 rm -f conftest.err conftest.$ac_objext \
45180       conftest$ac_exeext conftest.$ac_ext
45181 fi
45182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45184 if test `eval echo '${'$as_ac_var'}'` = yes; then
45185   cat >>confdefs.h <<_ACEOF
45186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45187 _ACEOF
45188
45189 fi
45190 done
45191
45192   else
45193
45194   echo "$as_me:$LINENO: checking for _expl declaration" >&5
45195 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
45196   if test x${glibcxx_cv_func__expl_use+set} != xset; then
45197     if test "${glibcxx_cv_func__expl_use+set}" = set; then
45198   echo $ECHO_N "(cached) $ECHO_C" >&6
45199 else
45200
45201
45202
45203       ac_ext=cc
45204 ac_cpp='$CXXCPP $CPPFLAGS'
45205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45208
45209       cat >conftest.$ac_ext <<_ACEOF
45210 /* confdefs.h.  */
45211 _ACEOF
45212 cat confdefs.h >>conftest.$ac_ext
45213 cat >>conftest.$ac_ext <<_ACEOF
45214 /* end confdefs.h.  */
45215 #include <math.h>
45216                       #ifdef HAVE_IEEEFP_H
45217                       #include <ieeefp.h>
45218                       #endif
45219
45220 int
45221 main ()
45222 {
45223  _expl(0);
45224   ;
45225   return 0;
45226 }
45227 _ACEOF
45228 rm -f conftest.$ac_objext
45229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45230   (eval $ac_compile) 2>conftest.er1
45231   ac_status=$?
45232   grep -v '^ *+' conftest.er1 >conftest.err
45233   rm -f conftest.er1
45234   cat conftest.err >&5
45235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45236   (exit $ac_status); } &&
45237          { ac_try='test -z "$ac_cxx_werror_flag"
45238                          || test ! -s conftest.err'
45239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45240   (eval $ac_try) 2>&5
45241   ac_status=$?
45242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45243   (exit $ac_status); }; } &&
45244          { ac_try='test -s conftest.$ac_objext'
45245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45246   (eval $ac_try) 2>&5
45247   ac_status=$?
45248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45249   (exit $ac_status); }; }; then
45250   glibcxx_cv_func__expl_use=yes
45251 else
45252   echo "$as_me: failed program was:" >&5
45253 sed 's/^/| /' conftest.$ac_ext >&5
45254
45255 glibcxx_cv_func__expl_use=no
45256 fi
45257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45258       ac_ext=c
45259 ac_cpp='$CPP $CPPFLAGS'
45260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45263
45264
45265 fi
45266
45267   fi
45268   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
45269 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
45270
45271     if test x$glibcxx_cv_func__expl_use = x"yes"; then
45272
45273 for ac_func in _expl
45274 do
45275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45276 echo "$as_me:$LINENO: checking for $ac_func" >&5
45277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45278 if eval "test \"\${$as_ac_var+set}\" = set"; then
45279   echo $ECHO_N "(cached) $ECHO_C" >&6
45280 else
45281   if test x$gcc_no_link = xyes; then
45282   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45284    { (exit 1); exit 1; }; }
45285 fi
45286 cat >conftest.$ac_ext <<_ACEOF
45287 /* confdefs.h.  */
45288 _ACEOF
45289 cat confdefs.h >>conftest.$ac_ext
45290 cat >>conftest.$ac_ext <<_ACEOF
45291 /* end confdefs.h.  */
45292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45293    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45294 #define $ac_func innocuous_$ac_func
45295
45296 /* System header to define __stub macros and hopefully few prototypes,
45297     which can conflict with char $ac_func (); below.
45298     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45299     <limits.h> exists even on freestanding compilers.  */
45300
45301 #ifdef __STDC__
45302 # include <limits.h>
45303 #else
45304 # include <assert.h>
45305 #endif
45306
45307 #undef $ac_func
45308
45309 /* Override any gcc2 internal prototype to avoid an error.  */
45310 #ifdef __cplusplus
45311 extern "C"
45312 {
45313 #endif
45314 /* We use char because int might match the return type of a gcc2
45315    builtin and then its argument prototype would still apply.  */
45316 char $ac_func ();
45317 /* The GNU C library defines this for functions which it implements
45318     to always fail with ENOSYS.  Some functions are actually named
45319     something starting with __ and the normal name is an alias.  */
45320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45321 choke me
45322 #else
45323 char (*f) () = $ac_func;
45324 #endif
45325 #ifdef __cplusplus
45326 }
45327 #endif
45328
45329 int
45330 main ()
45331 {
45332 return f != $ac_func;
45333   ;
45334   return 0;
45335 }
45336 _ACEOF
45337 rm -f conftest.$ac_objext conftest$ac_exeext
45338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45339   (eval $ac_link) 2>conftest.er1
45340   ac_status=$?
45341   grep -v '^ *+' conftest.er1 >conftest.err
45342   rm -f conftest.er1
45343   cat conftest.err >&5
45344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45345   (exit $ac_status); } &&
45346          { ac_try='test -z "$ac_c_werror_flag"
45347                          || test ! -s conftest.err'
45348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45349   (eval $ac_try) 2>&5
45350   ac_status=$?
45351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45352   (exit $ac_status); }; } &&
45353          { ac_try='test -s conftest$ac_exeext'
45354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45355   (eval $ac_try) 2>&5
45356   ac_status=$?
45357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45358   (exit $ac_status); }; }; then
45359   eval "$as_ac_var=yes"
45360 else
45361   echo "$as_me: failed program was:" >&5
45362 sed 's/^/| /' conftest.$ac_ext >&5
45363
45364 eval "$as_ac_var=no"
45365 fi
45366 rm -f conftest.err conftest.$ac_objext \
45367       conftest$ac_exeext conftest.$ac_ext
45368 fi
45369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45371 if test `eval echo '${'$as_ac_var'}'` = yes; then
45372   cat >>confdefs.h <<_ACEOF
45373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45374 _ACEOF
45375
45376 fi
45377 done
45378
45379     fi
45380   fi
45381
45382
45383
45384
45385
45386
45387   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
45388 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
45389   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45390     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
45391   echo $ECHO_N "(cached) $ECHO_C" >&6
45392 else
45393
45394
45395
45396       ac_ext=cc
45397 ac_cpp='$CXXCPP $CPPFLAGS'
45398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45401
45402       cat >conftest.$ac_ext <<_ACEOF
45403 /* confdefs.h.  */
45404 _ACEOF
45405 cat confdefs.h >>conftest.$ac_ext
45406 cat >>conftest.$ac_ext <<_ACEOF
45407 /* end confdefs.h.  */
45408 #include <math.h>
45409                       #ifdef HAVE_IEEEFP_H
45410                       #include <ieeefp.h>
45411                       #endif
45412
45413 int
45414 main ()
45415 {
45416  fabsl(0);
45417   ;
45418   return 0;
45419 }
45420 _ACEOF
45421 rm -f conftest.$ac_objext
45422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45423   (eval $ac_compile) 2>conftest.er1
45424   ac_status=$?
45425   grep -v '^ *+' conftest.er1 >conftest.err
45426   rm -f conftest.er1
45427   cat conftest.err >&5
45428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45429   (exit $ac_status); } &&
45430          { ac_try='test -z "$ac_cxx_werror_flag"
45431                          || test ! -s conftest.err'
45432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45433   (eval $ac_try) 2>&5
45434   ac_status=$?
45435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45436   (exit $ac_status); }; } &&
45437          { ac_try='test -s conftest.$ac_objext'
45438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45439   (eval $ac_try) 2>&5
45440   ac_status=$?
45441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45442   (exit $ac_status); }; }; then
45443   glibcxx_cv_func_fabsl_use=yes
45444 else
45445   echo "$as_me: failed program was:" >&5
45446 sed 's/^/| /' conftest.$ac_ext >&5
45447
45448 glibcxx_cv_func_fabsl_use=no
45449 fi
45450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45451       ac_ext=c
45452 ac_cpp='$CPP $CPPFLAGS'
45453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45456
45457
45458 fi
45459
45460   fi
45461   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
45462 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
45463
45464   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45465
45466 for ac_func in fabsl
45467 do
45468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45469 echo "$as_me:$LINENO: checking for $ac_func" >&5
45470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45471 if eval "test \"\${$as_ac_var+set}\" = set"; then
45472   echo $ECHO_N "(cached) $ECHO_C" >&6
45473 else
45474   if test x$gcc_no_link = xyes; then
45475   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45477    { (exit 1); exit 1; }; }
45478 fi
45479 cat >conftest.$ac_ext <<_ACEOF
45480 /* confdefs.h.  */
45481 _ACEOF
45482 cat confdefs.h >>conftest.$ac_ext
45483 cat >>conftest.$ac_ext <<_ACEOF
45484 /* end confdefs.h.  */
45485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45486    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45487 #define $ac_func innocuous_$ac_func
45488
45489 /* System header to define __stub macros and hopefully few prototypes,
45490     which can conflict with char $ac_func (); below.
45491     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45492     <limits.h> exists even on freestanding compilers.  */
45493
45494 #ifdef __STDC__
45495 # include <limits.h>
45496 #else
45497 # include <assert.h>
45498 #endif
45499
45500 #undef $ac_func
45501
45502 /* Override any gcc2 internal prototype to avoid an error.  */
45503 #ifdef __cplusplus
45504 extern "C"
45505 {
45506 #endif
45507 /* We use char because int might match the return type of a gcc2
45508    builtin and then its argument prototype would still apply.  */
45509 char $ac_func ();
45510 /* The GNU C library defines this for functions which it implements
45511     to always fail with ENOSYS.  Some functions are actually named
45512     something starting with __ and the normal name is an alias.  */
45513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45514 choke me
45515 #else
45516 char (*f) () = $ac_func;
45517 #endif
45518 #ifdef __cplusplus
45519 }
45520 #endif
45521
45522 int
45523 main ()
45524 {
45525 return f != $ac_func;
45526   ;
45527   return 0;
45528 }
45529 _ACEOF
45530 rm -f conftest.$ac_objext conftest$ac_exeext
45531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45532   (eval $ac_link) 2>conftest.er1
45533   ac_status=$?
45534   grep -v '^ *+' conftest.er1 >conftest.err
45535   rm -f conftest.er1
45536   cat conftest.err >&5
45537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45538   (exit $ac_status); } &&
45539          { ac_try='test -z "$ac_c_werror_flag"
45540                          || test ! -s conftest.err'
45541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45542   (eval $ac_try) 2>&5
45543   ac_status=$?
45544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45545   (exit $ac_status); }; } &&
45546          { ac_try='test -s conftest$ac_exeext'
45547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45548   (eval $ac_try) 2>&5
45549   ac_status=$?
45550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45551   (exit $ac_status); }; }; then
45552   eval "$as_ac_var=yes"
45553 else
45554   echo "$as_me: failed program was:" >&5
45555 sed 's/^/| /' conftest.$ac_ext >&5
45556
45557 eval "$as_ac_var=no"
45558 fi
45559 rm -f conftest.err conftest.$ac_objext \
45560       conftest$ac_exeext conftest.$ac_ext
45561 fi
45562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45564 if test `eval echo '${'$as_ac_var'}'` = yes; then
45565   cat >>confdefs.h <<_ACEOF
45566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45567 _ACEOF
45568
45569 fi
45570 done
45571
45572   else
45573
45574   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
45575 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
45576   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45577     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
45578   echo $ECHO_N "(cached) $ECHO_C" >&6
45579 else
45580
45581
45582
45583       ac_ext=cc
45584 ac_cpp='$CXXCPP $CPPFLAGS'
45585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45588
45589       cat >conftest.$ac_ext <<_ACEOF
45590 /* confdefs.h.  */
45591 _ACEOF
45592 cat confdefs.h >>conftest.$ac_ext
45593 cat >>conftest.$ac_ext <<_ACEOF
45594 /* end confdefs.h.  */
45595 #include <math.h>
45596                       #ifdef HAVE_IEEEFP_H
45597                       #include <ieeefp.h>
45598                       #endif
45599
45600 int
45601 main ()
45602 {
45603  _fabsl(0);
45604   ;
45605   return 0;
45606 }
45607 _ACEOF
45608 rm -f conftest.$ac_objext
45609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45610   (eval $ac_compile) 2>conftest.er1
45611   ac_status=$?
45612   grep -v '^ *+' conftest.er1 >conftest.err
45613   rm -f conftest.er1
45614   cat conftest.err >&5
45615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45616   (exit $ac_status); } &&
45617          { ac_try='test -z "$ac_cxx_werror_flag"
45618                          || test ! -s conftest.err'
45619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45620   (eval $ac_try) 2>&5
45621   ac_status=$?
45622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45623   (exit $ac_status); }; } &&
45624          { ac_try='test -s conftest.$ac_objext'
45625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45626   (eval $ac_try) 2>&5
45627   ac_status=$?
45628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45629   (exit $ac_status); }; }; then
45630   glibcxx_cv_func__fabsl_use=yes
45631 else
45632   echo "$as_me: failed program was:" >&5
45633 sed 's/^/| /' conftest.$ac_ext >&5
45634
45635 glibcxx_cv_func__fabsl_use=no
45636 fi
45637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45638       ac_ext=c
45639 ac_cpp='$CPP $CPPFLAGS'
45640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45643
45644
45645 fi
45646
45647   fi
45648   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
45649 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
45650
45651     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45652
45653 for ac_func in _fabsl
45654 do
45655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45656 echo "$as_me:$LINENO: checking for $ac_func" >&5
45657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45658 if eval "test \"\${$as_ac_var+set}\" = set"; then
45659   echo $ECHO_N "(cached) $ECHO_C" >&6
45660 else
45661   if test x$gcc_no_link = xyes; then
45662   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45664    { (exit 1); exit 1; }; }
45665 fi
45666 cat >conftest.$ac_ext <<_ACEOF
45667 /* confdefs.h.  */
45668 _ACEOF
45669 cat confdefs.h >>conftest.$ac_ext
45670 cat >>conftest.$ac_ext <<_ACEOF
45671 /* end confdefs.h.  */
45672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45673    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45674 #define $ac_func innocuous_$ac_func
45675
45676 /* System header to define __stub macros and hopefully few prototypes,
45677     which can conflict with char $ac_func (); below.
45678     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45679     <limits.h> exists even on freestanding compilers.  */
45680
45681 #ifdef __STDC__
45682 # include <limits.h>
45683 #else
45684 # include <assert.h>
45685 #endif
45686
45687 #undef $ac_func
45688
45689 /* Override any gcc2 internal prototype to avoid an error.  */
45690 #ifdef __cplusplus
45691 extern "C"
45692 {
45693 #endif
45694 /* We use char because int might match the return type of a gcc2
45695    builtin and then its argument prototype would still apply.  */
45696 char $ac_func ();
45697 /* The GNU C library defines this for functions which it implements
45698     to always fail with ENOSYS.  Some functions are actually named
45699     something starting with __ and the normal name is an alias.  */
45700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45701 choke me
45702 #else
45703 char (*f) () = $ac_func;
45704 #endif
45705 #ifdef __cplusplus
45706 }
45707 #endif
45708
45709 int
45710 main ()
45711 {
45712 return f != $ac_func;
45713   ;
45714   return 0;
45715 }
45716 _ACEOF
45717 rm -f conftest.$ac_objext conftest$ac_exeext
45718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45719   (eval $ac_link) 2>conftest.er1
45720   ac_status=$?
45721   grep -v '^ *+' conftest.er1 >conftest.err
45722   rm -f conftest.er1
45723   cat conftest.err >&5
45724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45725   (exit $ac_status); } &&
45726          { ac_try='test -z "$ac_c_werror_flag"
45727                          || test ! -s conftest.err'
45728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45729   (eval $ac_try) 2>&5
45730   ac_status=$?
45731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45732   (exit $ac_status); }; } &&
45733          { ac_try='test -s conftest$ac_exeext'
45734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45735   (eval $ac_try) 2>&5
45736   ac_status=$?
45737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45738   (exit $ac_status); }; }; then
45739   eval "$as_ac_var=yes"
45740 else
45741   echo "$as_me: failed program was:" >&5
45742 sed 's/^/| /' conftest.$ac_ext >&5
45743
45744 eval "$as_ac_var=no"
45745 fi
45746 rm -f conftest.err conftest.$ac_objext \
45747       conftest$ac_exeext conftest.$ac_ext
45748 fi
45749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45751 if test `eval echo '${'$as_ac_var'}'` = yes; then
45752   cat >>confdefs.h <<_ACEOF
45753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45754 _ACEOF
45755
45756 fi
45757 done
45758
45759     fi
45760   fi
45761
45762
45763
45764
45765
45766
45767   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
45768 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
45769   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45770     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
45771   echo $ECHO_N "(cached) $ECHO_C" >&6
45772 else
45773
45774
45775
45776       ac_ext=cc
45777 ac_cpp='$CXXCPP $CPPFLAGS'
45778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45781
45782       cat >conftest.$ac_ext <<_ACEOF
45783 /* confdefs.h.  */
45784 _ACEOF
45785 cat confdefs.h >>conftest.$ac_ext
45786 cat >>conftest.$ac_ext <<_ACEOF
45787 /* end confdefs.h.  */
45788 #include <math.h>
45789 int
45790 main ()
45791 {
45792  fmodl(0, 0);
45793   ;
45794   return 0;
45795 }
45796 _ACEOF
45797 rm -f conftest.$ac_objext
45798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45799   (eval $ac_compile) 2>conftest.er1
45800   ac_status=$?
45801   grep -v '^ *+' conftest.er1 >conftest.err
45802   rm -f conftest.er1
45803   cat conftest.err >&5
45804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45805   (exit $ac_status); } &&
45806          { ac_try='test -z "$ac_cxx_werror_flag"
45807                          || test ! -s conftest.err'
45808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45809   (eval $ac_try) 2>&5
45810   ac_status=$?
45811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45812   (exit $ac_status); }; } &&
45813          { ac_try='test -s conftest.$ac_objext'
45814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45815   (eval $ac_try) 2>&5
45816   ac_status=$?
45817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45818   (exit $ac_status); }; }; then
45819   glibcxx_cv_func_fmodl_use=yes
45820 else
45821   echo "$as_me: failed program was:" >&5
45822 sed 's/^/| /' conftest.$ac_ext >&5
45823
45824 glibcxx_cv_func_fmodl_use=no
45825 fi
45826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45827       ac_ext=c
45828 ac_cpp='$CPP $CPPFLAGS'
45829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45832
45833
45834 fi
45835
45836   fi
45837   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
45838 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
45839
45840   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45841
45842 for ac_func in fmodl
45843 do
45844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45845 echo "$as_me:$LINENO: checking for $ac_func" >&5
45846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45847 if eval "test \"\${$as_ac_var+set}\" = set"; then
45848   echo $ECHO_N "(cached) $ECHO_C" >&6
45849 else
45850   if test x$gcc_no_link = xyes; then
45851   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45853    { (exit 1); exit 1; }; }
45854 fi
45855 cat >conftest.$ac_ext <<_ACEOF
45856 /* confdefs.h.  */
45857 _ACEOF
45858 cat confdefs.h >>conftest.$ac_ext
45859 cat >>conftest.$ac_ext <<_ACEOF
45860 /* end confdefs.h.  */
45861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45862    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45863 #define $ac_func innocuous_$ac_func
45864
45865 /* System header to define __stub macros and hopefully few prototypes,
45866     which can conflict with char $ac_func (); below.
45867     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45868     <limits.h> exists even on freestanding compilers.  */
45869
45870 #ifdef __STDC__
45871 # include <limits.h>
45872 #else
45873 # include <assert.h>
45874 #endif
45875
45876 #undef $ac_func
45877
45878 /* Override any gcc2 internal prototype to avoid an error.  */
45879 #ifdef __cplusplus
45880 extern "C"
45881 {
45882 #endif
45883 /* We use char because int might match the return type of a gcc2
45884    builtin and then its argument prototype would still apply.  */
45885 char $ac_func ();
45886 /* The GNU C library defines this for functions which it implements
45887     to always fail with ENOSYS.  Some functions are actually named
45888     something starting with __ and the normal name is an alias.  */
45889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45890 choke me
45891 #else
45892 char (*f) () = $ac_func;
45893 #endif
45894 #ifdef __cplusplus
45895 }
45896 #endif
45897
45898 int
45899 main ()
45900 {
45901 return f != $ac_func;
45902   ;
45903   return 0;
45904 }
45905 _ACEOF
45906 rm -f conftest.$ac_objext conftest$ac_exeext
45907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45908   (eval $ac_link) 2>conftest.er1
45909   ac_status=$?
45910   grep -v '^ *+' conftest.er1 >conftest.err
45911   rm -f conftest.er1
45912   cat conftest.err >&5
45913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45914   (exit $ac_status); } &&
45915          { ac_try='test -z "$ac_c_werror_flag"
45916                          || test ! -s conftest.err'
45917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45918   (eval $ac_try) 2>&5
45919   ac_status=$?
45920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45921   (exit $ac_status); }; } &&
45922          { ac_try='test -s conftest$ac_exeext'
45923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45924   (eval $ac_try) 2>&5
45925   ac_status=$?
45926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45927   (exit $ac_status); }; }; then
45928   eval "$as_ac_var=yes"
45929 else
45930   echo "$as_me: failed program was:" >&5
45931 sed 's/^/| /' conftest.$ac_ext >&5
45932
45933 eval "$as_ac_var=no"
45934 fi
45935 rm -f conftest.err conftest.$ac_objext \
45936       conftest$ac_exeext conftest.$ac_ext
45937 fi
45938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45940 if test `eval echo '${'$as_ac_var'}'` = yes; then
45941   cat >>confdefs.h <<_ACEOF
45942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45943 _ACEOF
45944
45945 fi
45946 done
45947
45948   else
45949
45950   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
45951 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
45952   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45953     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
45954   echo $ECHO_N "(cached) $ECHO_C" >&6
45955 else
45956
45957
45958
45959       ac_ext=cc
45960 ac_cpp='$CXXCPP $CPPFLAGS'
45961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45964
45965       cat >conftest.$ac_ext <<_ACEOF
45966 /* confdefs.h.  */
45967 _ACEOF
45968 cat confdefs.h >>conftest.$ac_ext
45969 cat >>conftest.$ac_ext <<_ACEOF
45970 /* end confdefs.h.  */
45971 #include <math.h>
45972 int
45973 main ()
45974 {
45975  _fmodl(0, 0);
45976   ;
45977   return 0;
45978 }
45979 _ACEOF
45980 rm -f conftest.$ac_objext
45981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45982   (eval $ac_compile) 2>conftest.er1
45983   ac_status=$?
45984   grep -v '^ *+' conftest.er1 >conftest.err
45985   rm -f conftest.er1
45986   cat conftest.err >&5
45987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45988   (exit $ac_status); } &&
45989          { ac_try='test -z "$ac_cxx_werror_flag"
45990                          || test ! -s conftest.err'
45991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45992   (eval $ac_try) 2>&5
45993   ac_status=$?
45994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45995   (exit $ac_status); }; } &&
45996          { ac_try='test -s conftest.$ac_objext'
45997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45998   (eval $ac_try) 2>&5
45999   ac_status=$?
46000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46001   (exit $ac_status); }; }; then
46002   glibcxx_cv_func__fmodl_use=yes
46003 else
46004   echo "$as_me: failed program was:" >&5
46005 sed 's/^/| /' conftest.$ac_ext >&5
46006
46007 glibcxx_cv_func__fmodl_use=no
46008 fi
46009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46010       ac_ext=c
46011 ac_cpp='$CPP $CPPFLAGS'
46012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46015
46016
46017 fi
46018
46019   fi
46020   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
46021 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
46022
46023     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
46024
46025 for ac_func in _fmodl
46026 do
46027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46028 echo "$as_me:$LINENO: checking for $ac_func" >&5
46029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46030 if eval "test \"\${$as_ac_var+set}\" = set"; then
46031   echo $ECHO_N "(cached) $ECHO_C" >&6
46032 else
46033   if test x$gcc_no_link = xyes; then
46034   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46036    { (exit 1); exit 1; }; }
46037 fi
46038 cat >conftest.$ac_ext <<_ACEOF
46039 /* confdefs.h.  */
46040 _ACEOF
46041 cat confdefs.h >>conftest.$ac_ext
46042 cat >>conftest.$ac_ext <<_ACEOF
46043 /* end confdefs.h.  */
46044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46045    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46046 #define $ac_func innocuous_$ac_func
46047
46048 /* System header to define __stub macros and hopefully few prototypes,
46049     which can conflict with char $ac_func (); below.
46050     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46051     <limits.h> exists even on freestanding compilers.  */
46052
46053 #ifdef __STDC__
46054 # include <limits.h>
46055 #else
46056 # include <assert.h>
46057 #endif
46058
46059 #undef $ac_func
46060
46061 /* Override any gcc2 internal prototype to avoid an error.  */
46062 #ifdef __cplusplus
46063 extern "C"
46064 {
46065 #endif
46066 /* We use char because int might match the return type of a gcc2
46067    builtin and then its argument prototype would still apply.  */
46068 char $ac_func ();
46069 /* The GNU C library defines this for functions which it implements
46070     to always fail with ENOSYS.  Some functions are actually named
46071     something starting with __ and the normal name is an alias.  */
46072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46073 choke me
46074 #else
46075 char (*f) () = $ac_func;
46076 #endif
46077 #ifdef __cplusplus
46078 }
46079 #endif
46080
46081 int
46082 main ()
46083 {
46084 return f != $ac_func;
46085   ;
46086   return 0;
46087 }
46088 _ACEOF
46089 rm -f conftest.$ac_objext conftest$ac_exeext
46090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46091   (eval $ac_link) 2>conftest.er1
46092   ac_status=$?
46093   grep -v '^ *+' conftest.er1 >conftest.err
46094   rm -f conftest.er1
46095   cat conftest.err >&5
46096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46097   (exit $ac_status); } &&
46098          { ac_try='test -z "$ac_c_werror_flag"
46099                          || test ! -s conftest.err'
46100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46101   (eval $ac_try) 2>&5
46102   ac_status=$?
46103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46104   (exit $ac_status); }; } &&
46105          { ac_try='test -s conftest$ac_exeext'
46106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46107   (eval $ac_try) 2>&5
46108   ac_status=$?
46109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46110   (exit $ac_status); }; }; then
46111   eval "$as_ac_var=yes"
46112 else
46113   echo "$as_me: failed program was:" >&5
46114 sed 's/^/| /' conftest.$ac_ext >&5
46115
46116 eval "$as_ac_var=no"
46117 fi
46118 rm -f conftest.err conftest.$ac_objext \
46119       conftest$ac_exeext conftest.$ac_ext
46120 fi
46121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46123 if test `eval echo '${'$as_ac_var'}'` = yes; then
46124   cat >>confdefs.h <<_ACEOF
46125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46126 _ACEOF
46127
46128 fi
46129 done
46130
46131     fi
46132   fi
46133
46134
46135
46136
46137
46138
46139   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
46140 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
46141   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46142     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
46143   echo $ECHO_N "(cached) $ECHO_C" >&6
46144 else
46145
46146
46147
46148       ac_ext=cc
46149 ac_cpp='$CXXCPP $CPPFLAGS'
46150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46153
46154       cat >conftest.$ac_ext <<_ACEOF
46155 /* confdefs.h.  */
46156 _ACEOF
46157 cat confdefs.h >>conftest.$ac_ext
46158 cat >>conftest.$ac_ext <<_ACEOF
46159 /* end confdefs.h.  */
46160 #include <math.h>
46161 int
46162 main ()
46163 {
46164  frexpl(0, 0);
46165   ;
46166   return 0;
46167 }
46168 _ACEOF
46169 rm -f conftest.$ac_objext
46170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46171   (eval $ac_compile) 2>conftest.er1
46172   ac_status=$?
46173   grep -v '^ *+' conftest.er1 >conftest.err
46174   rm -f conftest.er1
46175   cat conftest.err >&5
46176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46177   (exit $ac_status); } &&
46178          { ac_try='test -z "$ac_cxx_werror_flag"
46179                          || test ! -s conftest.err'
46180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46181   (eval $ac_try) 2>&5
46182   ac_status=$?
46183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46184   (exit $ac_status); }; } &&
46185          { ac_try='test -s conftest.$ac_objext'
46186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46187   (eval $ac_try) 2>&5
46188   ac_status=$?
46189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46190   (exit $ac_status); }; }; then
46191   glibcxx_cv_func_frexpl_use=yes
46192 else
46193   echo "$as_me: failed program was:" >&5
46194 sed 's/^/| /' conftest.$ac_ext >&5
46195
46196 glibcxx_cv_func_frexpl_use=no
46197 fi
46198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46199       ac_ext=c
46200 ac_cpp='$CPP $CPPFLAGS'
46201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46204
46205
46206 fi
46207
46208   fi
46209   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
46210 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
46211
46212   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46213
46214 for ac_func in frexpl
46215 do
46216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46217 echo "$as_me:$LINENO: checking for $ac_func" >&5
46218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46219 if eval "test \"\${$as_ac_var+set}\" = set"; then
46220   echo $ECHO_N "(cached) $ECHO_C" >&6
46221 else
46222   if test x$gcc_no_link = xyes; then
46223   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46225    { (exit 1); exit 1; }; }
46226 fi
46227 cat >conftest.$ac_ext <<_ACEOF
46228 /* confdefs.h.  */
46229 _ACEOF
46230 cat confdefs.h >>conftest.$ac_ext
46231 cat >>conftest.$ac_ext <<_ACEOF
46232 /* end confdefs.h.  */
46233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46234    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46235 #define $ac_func innocuous_$ac_func
46236
46237 /* System header to define __stub macros and hopefully few prototypes,
46238     which can conflict with char $ac_func (); below.
46239     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46240     <limits.h> exists even on freestanding compilers.  */
46241
46242 #ifdef __STDC__
46243 # include <limits.h>
46244 #else
46245 # include <assert.h>
46246 #endif
46247
46248 #undef $ac_func
46249
46250 /* Override any gcc2 internal prototype to avoid an error.  */
46251 #ifdef __cplusplus
46252 extern "C"
46253 {
46254 #endif
46255 /* We use char because int might match the return type of a gcc2
46256    builtin and then its argument prototype would still apply.  */
46257 char $ac_func ();
46258 /* The GNU C library defines this for functions which it implements
46259     to always fail with ENOSYS.  Some functions are actually named
46260     something starting with __ and the normal name is an alias.  */
46261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46262 choke me
46263 #else
46264 char (*f) () = $ac_func;
46265 #endif
46266 #ifdef __cplusplus
46267 }
46268 #endif
46269
46270 int
46271 main ()
46272 {
46273 return f != $ac_func;
46274   ;
46275   return 0;
46276 }
46277 _ACEOF
46278 rm -f conftest.$ac_objext conftest$ac_exeext
46279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46280   (eval $ac_link) 2>conftest.er1
46281   ac_status=$?
46282   grep -v '^ *+' conftest.er1 >conftest.err
46283   rm -f conftest.er1
46284   cat conftest.err >&5
46285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46286   (exit $ac_status); } &&
46287          { ac_try='test -z "$ac_c_werror_flag"
46288                          || test ! -s conftest.err'
46289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46290   (eval $ac_try) 2>&5
46291   ac_status=$?
46292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46293   (exit $ac_status); }; } &&
46294          { ac_try='test -s conftest$ac_exeext'
46295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46296   (eval $ac_try) 2>&5
46297   ac_status=$?
46298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46299   (exit $ac_status); }; }; then
46300   eval "$as_ac_var=yes"
46301 else
46302   echo "$as_me: failed program was:" >&5
46303 sed 's/^/| /' conftest.$ac_ext >&5
46304
46305 eval "$as_ac_var=no"
46306 fi
46307 rm -f conftest.err conftest.$ac_objext \
46308       conftest$ac_exeext conftest.$ac_ext
46309 fi
46310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46312 if test `eval echo '${'$as_ac_var'}'` = yes; then
46313   cat >>confdefs.h <<_ACEOF
46314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46315 _ACEOF
46316
46317 fi
46318 done
46319
46320   else
46321
46322   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
46323 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
46324   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46325     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
46326   echo $ECHO_N "(cached) $ECHO_C" >&6
46327 else
46328
46329
46330
46331       ac_ext=cc
46332 ac_cpp='$CXXCPP $CPPFLAGS'
46333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46336
46337       cat >conftest.$ac_ext <<_ACEOF
46338 /* confdefs.h.  */
46339 _ACEOF
46340 cat confdefs.h >>conftest.$ac_ext
46341 cat >>conftest.$ac_ext <<_ACEOF
46342 /* end confdefs.h.  */
46343 #include <math.h>
46344 int
46345 main ()
46346 {
46347  _frexpl(0, 0);
46348   ;
46349   return 0;
46350 }
46351 _ACEOF
46352 rm -f conftest.$ac_objext
46353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46354   (eval $ac_compile) 2>conftest.er1
46355   ac_status=$?
46356   grep -v '^ *+' conftest.er1 >conftest.err
46357   rm -f conftest.er1
46358   cat conftest.err >&5
46359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46360   (exit $ac_status); } &&
46361          { ac_try='test -z "$ac_cxx_werror_flag"
46362                          || test ! -s conftest.err'
46363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46364   (eval $ac_try) 2>&5
46365   ac_status=$?
46366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46367   (exit $ac_status); }; } &&
46368          { ac_try='test -s conftest.$ac_objext'
46369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46370   (eval $ac_try) 2>&5
46371   ac_status=$?
46372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46373   (exit $ac_status); }; }; then
46374   glibcxx_cv_func__frexpl_use=yes
46375 else
46376   echo "$as_me: failed program was:" >&5
46377 sed 's/^/| /' conftest.$ac_ext >&5
46378
46379 glibcxx_cv_func__frexpl_use=no
46380 fi
46381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46382       ac_ext=c
46383 ac_cpp='$CPP $CPPFLAGS'
46384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46387
46388
46389 fi
46390
46391   fi
46392   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
46393 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
46394
46395     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46396
46397 for ac_func in _frexpl
46398 do
46399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46400 echo "$as_me:$LINENO: checking for $ac_func" >&5
46401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46402 if eval "test \"\${$as_ac_var+set}\" = set"; then
46403   echo $ECHO_N "(cached) $ECHO_C" >&6
46404 else
46405   if test x$gcc_no_link = xyes; then
46406   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46408    { (exit 1); exit 1; }; }
46409 fi
46410 cat >conftest.$ac_ext <<_ACEOF
46411 /* confdefs.h.  */
46412 _ACEOF
46413 cat confdefs.h >>conftest.$ac_ext
46414 cat >>conftest.$ac_ext <<_ACEOF
46415 /* end confdefs.h.  */
46416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46417    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46418 #define $ac_func innocuous_$ac_func
46419
46420 /* System header to define __stub macros and hopefully few prototypes,
46421     which can conflict with char $ac_func (); below.
46422     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46423     <limits.h> exists even on freestanding compilers.  */
46424
46425 #ifdef __STDC__
46426 # include <limits.h>
46427 #else
46428 # include <assert.h>
46429 #endif
46430
46431 #undef $ac_func
46432
46433 /* Override any gcc2 internal prototype to avoid an error.  */
46434 #ifdef __cplusplus
46435 extern "C"
46436 {
46437 #endif
46438 /* We use char because int might match the return type of a gcc2
46439    builtin and then its argument prototype would still apply.  */
46440 char $ac_func ();
46441 /* The GNU C library defines this for functions which it implements
46442     to always fail with ENOSYS.  Some functions are actually named
46443     something starting with __ and the normal name is an alias.  */
46444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46445 choke me
46446 #else
46447 char (*f) () = $ac_func;
46448 #endif
46449 #ifdef __cplusplus
46450 }
46451 #endif
46452
46453 int
46454 main ()
46455 {
46456 return f != $ac_func;
46457   ;
46458   return 0;
46459 }
46460 _ACEOF
46461 rm -f conftest.$ac_objext conftest$ac_exeext
46462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46463   (eval $ac_link) 2>conftest.er1
46464   ac_status=$?
46465   grep -v '^ *+' conftest.er1 >conftest.err
46466   rm -f conftest.er1
46467   cat conftest.err >&5
46468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46469   (exit $ac_status); } &&
46470          { ac_try='test -z "$ac_c_werror_flag"
46471                          || test ! -s conftest.err'
46472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46473   (eval $ac_try) 2>&5
46474   ac_status=$?
46475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46476   (exit $ac_status); }; } &&
46477          { ac_try='test -s conftest$ac_exeext'
46478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46479   (eval $ac_try) 2>&5
46480   ac_status=$?
46481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46482   (exit $ac_status); }; }; then
46483   eval "$as_ac_var=yes"
46484 else
46485   echo "$as_me: failed program was:" >&5
46486 sed 's/^/| /' conftest.$ac_ext >&5
46487
46488 eval "$as_ac_var=no"
46489 fi
46490 rm -f conftest.err conftest.$ac_objext \
46491       conftest$ac_exeext conftest.$ac_ext
46492 fi
46493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46495 if test `eval echo '${'$as_ac_var'}'` = yes; then
46496   cat >>confdefs.h <<_ACEOF
46497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46498 _ACEOF
46499
46500 fi
46501 done
46502
46503     fi
46504   fi
46505
46506
46507
46508
46509
46510
46511   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
46512 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
46513   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46514     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
46515   echo $ECHO_N "(cached) $ECHO_C" >&6
46516 else
46517
46518
46519
46520       ac_ext=cc
46521 ac_cpp='$CXXCPP $CPPFLAGS'
46522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46525
46526       cat >conftest.$ac_ext <<_ACEOF
46527 /* confdefs.h.  */
46528 _ACEOF
46529 cat confdefs.h >>conftest.$ac_ext
46530 cat >>conftest.$ac_ext <<_ACEOF
46531 /* end confdefs.h.  */
46532 #include <math.h>
46533 int
46534 main ()
46535 {
46536  hypotl(0, 0);
46537   ;
46538   return 0;
46539 }
46540 _ACEOF
46541 rm -f conftest.$ac_objext
46542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46543   (eval $ac_compile) 2>conftest.er1
46544   ac_status=$?
46545   grep -v '^ *+' conftest.er1 >conftest.err
46546   rm -f conftest.er1
46547   cat conftest.err >&5
46548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46549   (exit $ac_status); } &&
46550          { ac_try='test -z "$ac_cxx_werror_flag"
46551                          || test ! -s conftest.err'
46552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46553   (eval $ac_try) 2>&5
46554   ac_status=$?
46555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46556   (exit $ac_status); }; } &&
46557          { ac_try='test -s conftest.$ac_objext'
46558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46559   (eval $ac_try) 2>&5
46560   ac_status=$?
46561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46562   (exit $ac_status); }; }; then
46563   glibcxx_cv_func_hypotl_use=yes
46564 else
46565   echo "$as_me: failed program was:" >&5
46566 sed 's/^/| /' conftest.$ac_ext >&5
46567
46568 glibcxx_cv_func_hypotl_use=no
46569 fi
46570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46571       ac_ext=c
46572 ac_cpp='$CPP $CPPFLAGS'
46573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46576
46577
46578 fi
46579
46580   fi
46581   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
46582 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
46583
46584   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46585
46586 for ac_func in hypotl
46587 do
46588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46589 echo "$as_me:$LINENO: checking for $ac_func" >&5
46590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46591 if eval "test \"\${$as_ac_var+set}\" = set"; then
46592   echo $ECHO_N "(cached) $ECHO_C" >&6
46593 else
46594   if test x$gcc_no_link = xyes; then
46595   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46597    { (exit 1); exit 1; }; }
46598 fi
46599 cat >conftest.$ac_ext <<_ACEOF
46600 /* confdefs.h.  */
46601 _ACEOF
46602 cat confdefs.h >>conftest.$ac_ext
46603 cat >>conftest.$ac_ext <<_ACEOF
46604 /* end confdefs.h.  */
46605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46606    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46607 #define $ac_func innocuous_$ac_func
46608
46609 /* System header to define __stub macros and hopefully few prototypes,
46610     which can conflict with char $ac_func (); below.
46611     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46612     <limits.h> exists even on freestanding compilers.  */
46613
46614 #ifdef __STDC__
46615 # include <limits.h>
46616 #else
46617 # include <assert.h>
46618 #endif
46619
46620 #undef $ac_func
46621
46622 /* Override any gcc2 internal prototype to avoid an error.  */
46623 #ifdef __cplusplus
46624 extern "C"
46625 {
46626 #endif
46627 /* We use char because int might match the return type of a gcc2
46628    builtin and then its argument prototype would still apply.  */
46629 char $ac_func ();
46630 /* The GNU C library defines this for functions which it implements
46631     to always fail with ENOSYS.  Some functions are actually named
46632     something starting with __ and the normal name is an alias.  */
46633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46634 choke me
46635 #else
46636 char (*f) () = $ac_func;
46637 #endif
46638 #ifdef __cplusplus
46639 }
46640 #endif
46641
46642 int
46643 main ()
46644 {
46645 return f != $ac_func;
46646   ;
46647   return 0;
46648 }
46649 _ACEOF
46650 rm -f conftest.$ac_objext conftest$ac_exeext
46651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46652   (eval $ac_link) 2>conftest.er1
46653   ac_status=$?
46654   grep -v '^ *+' conftest.er1 >conftest.err
46655   rm -f conftest.er1
46656   cat conftest.err >&5
46657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46658   (exit $ac_status); } &&
46659          { ac_try='test -z "$ac_c_werror_flag"
46660                          || test ! -s conftest.err'
46661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46662   (eval $ac_try) 2>&5
46663   ac_status=$?
46664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46665   (exit $ac_status); }; } &&
46666          { ac_try='test -s conftest$ac_exeext'
46667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46668   (eval $ac_try) 2>&5
46669   ac_status=$?
46670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46671   (exit $ac_status); }; }; then
46672   eval "$as_ac_var=yes"
46673 else
46674   echo "$as_me: failed program was:" >&5
46675 sed 's/^/| /' conftest.$ac_ext >&5
46676
46677 eval "$as_ac_var=no"
46678 fi
46679 rm -f conftest.err conftest.$ac_objext \
46680       conftest$ac_exeext conftest.$ac_ext
46681 fi
46682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46684 if test `eval echo '${'$as_ac_var'}'` = yes; then
46685   cat >>confdefs.h <<_ACEOF
46686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46687 _ACEOF
46688
46689 fi
46690 done
46691
46692   else
46693
46694   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
46695 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
46696   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46697     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
46698   echo $ECHO_N "(cached) $ECHO_C" >&6
46699 else
46700
46701
46702
46703       ac_ext=cc
46704 ac_cpp='$CXXCPP $CPPFLAGS'
46705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46708
46709       cat >conftest.$ac_ext <<_ACEOF
46710 /* confdefs.h.  */
46711 _ACEOF
46712 cat confdefs.h >>conftest.$ac_ext
46713 cat >>conftest.$ac_ext <<_ACEOF
46714 /* end confdefs.h.  */
46715 #include <math.h>
46716 int
46717 main ()
46718 {
46719  _hypotl(0, 0);
46720   ;
46721   return 0;
46722 }
46723 _ACEOF
46724 rm -f conftest.$ac_objext
46725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46726   (eval $ac_compile) 2>conftest.er1
46727   ac_status=$?
46728   grep -v '^ *+' conftest.er1 >conftest.err
46729   rm -f conftest.er1
46730   cat conftest.err >&5
46731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46732   (exit $ac_status); } &&
46733          { ac_try='test -z "$ac_cxx_werror_flag"
46734                          || test ! -s conftest.err'
46735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46736   (eval $ac_try) 2>&5
46737   ac_status=$?
46738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46739   (exit $ac_status); }; } &&
46740          { ac_try='test -s conftest.$ac_objext'
46741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46742   (eval $ac_try) 2>&5
46743   ac_status=$?
46744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46745   (exit $ac_status); }; }; then
46746   glibcxx_cv_func__hypotl_use=yes
46747 else
46748   echo "$as_me: failed program was:" >&5
46749 sed 's/^/| /' conftest.$ac_ext >&5
46750
46751 glibcxx_cv_func__hypotl_use=no
46752 fi
46753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46754       ac_ext=c
46755 ac_cpp='$CPP $CPPFLAGS'
46756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46759
46760
46761 fi
46762
46763   fi
46764   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
46765 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
46766
46767     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46768
46769 for ac_func in _hypotl
46770 do
46771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46772 echo "$as_me:$LINENO: checking for $ac_func" >&5
46773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46774 if eval "test \"\${$as_ac_var+set}\" = set"; then
46775   echo $ECHO_N "(cached) $ECHO_C" >&6
46776 else
46777   if test x$gcc_no_link = xyes; then
46778   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46780    { (exit 1); exit 1; }; }
46781 fi
46782 cat >conftest.$ac_ext <<_ACEOF
46783 /* confdefs.h.  */
46784 _ACEOF
46785 cat confdefs.h >>conftest.$ac_ext
46786 cat >>conftest.$ac_ext <<_ACEOF
46787 /* end confdefs.h.  */
46788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46789    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46790 #define $ac_func innocuous_$ac_func
46791
46792 /* System header to define __stub macros and hopefully few prototypes,
46793     which can conflict with char $ac_func (); below.
46794     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46795     <limits.h> exists even on freestanding compilers.  */
46796
46797 #ifdef __STDC__
46798 # include <limits.h>
46799 #else
46800 # include <assert.h>
46801 #endif
46802
46803 #undef $ac_func
46804
46805 /* Override any gcc2 internal prototype to avoid an error.  */
46806 #ifdef __cplusplus
46807 extern "C"
46808 {
46809 #endif
46810 /* We use char because int might match the return type of a gcc2
46811    builtin and then its argument prototype would still apply.  */
46812 char $ac_func ();
46813 /* The GNU C library defines this for functions which it implements
46814     to always fail with ENOSYS.  Some functions are actually named
46815     something starting with __ and the normal name is an alias.  */
46816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46817 choke me
46818 #else
46819 char (*f) () = $ac_func;
46820 #endif
46821 #ifdef __cplusplus
46822 }
46823 #endif
46824
46825 int
46826 main ()
46827 {
46828 return f != $ac_func;
46829   ;
46830   return 0;
46831 }
46832 _ACEOF
46833 rm -f conftest.$ac_objext conftest$ac_exeext
46834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46835   (eval $ac_link) 2>conftest.er1
46836   ac_status=$?
46837   grep -v '^ *+' conftest.er1 >conftest.err
46838   rm -f conftest.er1
46839   cat conftest.err >&5
46840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46841   (exit $ac_status); } &&
46842          { ac_try='test -z "$ac_c_werror_flag"
46843                          || test ! -s conftest.err'
46844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46845   (eval $ac_try) 2>&5
46846   ac_status=$?
46847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46848   (exit $ac_status); }; } &&
46849          { ac_try='test -s conftest$ac_exeext'
46850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46851   (eval $ac_try) 2>&5
46852   ac_status=$?
46853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46854   (exit $ac_status); }; }; then
46855   eval "$as_ac_var=yes"
46856 else
46857   echo "$as_me: failed program was:" >&5
46858 sed 's/^/| /' conftest.$ac_ext >&5
46859
46860 eval "$as_ac_var=no"
46861 fi
46862 rm -f conftest.err conftest.$ac_objext \
46863       conftest$ac_exeext conftest.$ac_ext
46864 fi
46865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46867 if test `eval echo '${'$as_ac_var'}'` = yes; then
46868   cat >>confdefs.h <<_ACEOF
46869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46870 _ACEOF
46871
46872 fi
46873 done
46874
46875     fi
46876   fi
46877
46878
46879
46880
46881
46882
46883   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
46884 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
46885   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46886     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
46887   echo $ECHO_N "(cached) $ECHO_C" >&6
46888 else
46889
46890
46891
46892       ac_ext=cc
46893 ac_cpp='$CXXCPP $CPPFLAGS'
46894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46897
46898       cat >conftest.$ac_ext <<_ACEOF
46899 /* confdefs.h.  */
46900 _ACEOF
46901 cat confdefs.h >>conftest.$ac_ext
46902 cat >>conftest.$ac_ext <<_ACEOF
46903 /* end confdefs.h.  */
46904 #include <math.h>
46905 int
46906 main ()
46907 {
46908  ldexpl(0, 0);
46909   ;
46910   return 0;
46911 }
46912 _ACEOF
46913 rm -f conftest.$ac_objext
46914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46915   (eval $ac_compile) 2>conftest.er1
46916   ac_status=$?
46917   grep -v '^ *+' conftest.er1 >conftest.err
46918   rm -f conftest.er1
46919   cat conftest.err >&5
46920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46921   (exit $ac_status); } &&
46922          { ac_try='test -z "$ac_cxx_werror_flag"
46923                          || test ! -s conftest.err'
46924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46925   (eval $ac_try) 2>&5
46926   ac_status=$?
46927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46928   (exit $ac_status); }; } &&
46929          { ac_try='test -s conftest.$ac_objext'
46930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46931   (eval $ac_try) 2>&5
46932   ac_status=$?
46933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46934   (exit $ac_status); }; }; then
46935   glibcxx_cv_func_ldexpl_use=yes
46936 else
46937   echo "$as_me: failed program was:" >&5
46938 sed 's/^/| /' conftest.$ac_ext >&5
46939
46940 glibcxx_cv_func_ldexpl_use=no
46941 fi
46942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46943       ac_ext=c
46944 ac_cpp='$CPP $CPPFLAGS'
46945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46948
46949
46950 fi
46951
46952   fi
46953   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
46954 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
46955
46956   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46957
46958 for ac_func in ldexpl
46959 do
46960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46961 echo "$as_me:$LINENO: checking for $ac_func" >&5
46962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46963 if eval "test \"\${$as_ac_var+set}\" = set"; then
46964   echo $ECHO_N "(cached) $ECHO_C" >&6
46965 else
46966   if test x$gcc_no_link = xyes; then
46967   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46969    { (exit 1); exit 1; }; }
46970 fi
46971 cat >conftest.$ac_ext <<_ACEOF
46972 /* confdefs.h.  */
46973 _ACEOF
46974 cat confdefs.h >>conftest.$ac_ext
46975 cat >>conftest.$ac_ext <<_ACEOF
46976 /* end confdefs.h.  */
46977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46978    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46979 #define $ac_func innocuous_$ac_func
46980
46981 /* System header to define __stub macros and hopefully few prototypes,
46982     which can conflict with char $ac_func (); below.
46983     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46984     <limits.h> exists even on freestanding compilers.  */
46985
46986 #ifdef __STDC__
46987 # include <limits.h>
46988 #else
46989 # include <assert.h>
46990 #endif
46991
46992 #undef $ac_func
46993
46994 /* Override any gcc2 internal prototype to avoid an error.  */
46995 #ifdef __cplusplus
46996 extern "C"
46997 {
46998 #endif
46999 /* We use char because int might match the return type of a gcc2
47000    builtin and then its argument prototype would still apply.  */
47001 char $ac_func ();
47002 /* The GNU C library defines this for functions which it implements
47003     to always fail with ENOSYS.  Some functions are actually named
47004     something starting with __ and the normal name is an alias.  */
47005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47006 choke me
47007 #else
47008 char (*f) () = $ac_func;
47009 #endif
47010 #ifdef __cplusplus
47011 }
47012 #endif
47013
47014 int
47015 main ()
47016 {
47017 return f != $ac_func;
47018   ;
47019   return 0;
47020 }
47021 _ACEOF
47022 rm -f conftest.$ac_objext conftest$ac_exeext
47023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47024   (eval $ac_link) 2>conftest.er1
47025   ac_status=$?
47026   grep -v '^ *+' conftest.er1 >conftest.err
47027   rm -f conftest.er1
47028   cat conftest.err >&5
47029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47030   (exit $ac_status); } &&
47031          { ac_try='test -z "$ac_c_werror_flag"
47032                          || test ! -s conftest.err'
47033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47034   (eval $ac_try) 2>&5
47035   ac_status=$?
47036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47037   (exit $ac_status); }; } &&
47038          { ac_try='test -s conftest$ac_exeext'
47039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47040   (eval $ac_try) 2>&5
47041   ac_status=$?
47042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47043   (exit $ac_status); }; }; then
47044   eval "$as_ac_var=yes"
47045 else
47046   echo "$as_me: failed program was:" >&5
47047 sed 's/^/| /' conftest.$ac_ext >&5
47048
47049 eval "$as_ac_var=no"
47050 fi
47051 rm -f conftest.err conftest.$ac_objext \
47052       conftest$ac_exeext conftest.$ac_ext
47053 fi
47054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47056 if test `eval echo '${'$as_ac_var'}'` = yes; then
47057   cat >>confdefs.h <<_ACEOF
47058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47059 _ACEOF
47060
47061 fi
47062 done
47063
47064   else
47065
47066   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
47067 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
47068   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
47069     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
47070   echo $ECHO_N "(cached) $ECHO_C" >&6
47071 else
47072
47073
47074
47075       ac_ext=cc
47076 ac_cpp='$CXXCPP $CPPFLAGS'
47077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47080
47081       cat >conftest.$ac_ext <<_ACEOF
47082 /* confdefs.h.  */
47083 _ACEOF
47084 cat confdefs.h >>conftest.$ac_ext
47085 cat >>conftest.$ac_ext <<_ACEOF
47086 /* end confdefs.h.  */
47087 #include <math.h>
47088 int
47089 main ()
47090 {
47091  _ldexpl(0, 0);
47092   ;
47093   return 0;
47094 }
47095 _ACEOF
47096 rm -f conftest.$ac_objext
47097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47098   (eval $ac_compile) 2>conftest.er1
47099   ac_status=$?
47100   grep -v '^ *+' conftest.er1 >conftest.err
47101   rm -f conftest.er1
47102   cat conftest.err >&5
47103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47104   (exit $ac_status); } &&
47105          { ac_try='test -z "$ac_cxx_werror_flag"
47106                          || test ! -s conftest.err'
47107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47108   (eval $ac_try) 2>&5
47109   ac_status=$?
47110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47111   (exit $ac_status); }; } &&
47112          { ac_try='test -s conftest.$ac_objext'
47113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47114   (eval $ac_try) 2>&5
47115   ac_status=$?
47116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47117   (exit $ac_status); }; }; then
47118   glibcxx_cv_func__ldexpl_use=yes
47119 else
47120   echo "$as_me: failed program was:" >&5
47121 sed 's/^/| /' conftest.$ac_ext >&5
47122
47123 glibcxx_cv_func__ldexpl_use=no
47124 fi
47125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47126       ac_ext=c
47127 ac_cpp='$CPP $CPPFLAGS'
47128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47131
47132
47133 fi
47134
47135   fi
47136   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
47137 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
47138
47139     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
47140
47141 for ac_func in _ldexpl
47142 do
47143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47144 echo "$as_me:$LINENO: checking for $ac_func" >&5
47145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47146 if eval "test \"\${$as_ac_var+set}\" = set"; then
47147   echo $ECHO_N "(cached) $ECHO_C" >&6
47148 else
47149   if test x$gcc_no_link = xyes; then
47150   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47152    { (exit 1); exit 1; }; }
47153 fi
47154 cat >conftest.$ac_ext <<_ACEOF
47155 /* confdefs.h.  */
47156 _ACEOF
47157 cat confdefs.h >>conftest.$ac_ext
47158 cat >>conftest.$ac_ext <<_ACEOF
47159 /* end confdefs.h.  */
47160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47161    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47162 #define $ac_func innocuous_$ac_func
47163
47164 /* System header to define __stub macros and hopefully few prototypes,
47165     which can conflict with char $ac_func (); below.
47166     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47167     <limits.h> exists even on freestanding compilers.  */
47168
47169 #ifdef __STDC__
47170 # include <limits.h>
47171 #else
47172 # include <assert.h>
47173 #endif
47174
47175 #undef $ac_func
47176
47177 /* Override any gcc2 internal prototype to avoid an error.  */
47178 #ifdef __cplusplus
47179 extern "C"
47180 {
47181 #endif
47182 /* We use char because int might match the return type of a gcc2
47183    builtin and then its argument prototype would still apply.  */
47184 char $ac_func ();
47185 /* The GNU C library defines this for functions which it implements
47186     to always fail with ENOSYS.  Some functions are actually named
47187     something starting with __ and the normal name is an alias.  */
47188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47189 choke me
47190 #else
47191 char (*f) () = $ac_func;
47192 #endif
47193 #ifdef __cplusplus
47194 }
47195 #endif
47196
47197 int
47198 main ()
47199 {
47200 return f != $ac_func;
47201   ;
47202   return 0;
47203 }
47204 _ACEOF
47205 rm -f conftest.$ac_objext conftest$ac_exeext
47206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47207   (eval $ac_link) 2>conftest.er1
47208   ac_status=$?
47209   grep -v '^ *+' conftest.er1 >conftest.err
47210   rm -f conftest.er1
47211   cat conftest.err >&5
47212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47213   (exit $ac_status); } &&
47214          { ac_try='test -z "$ac_c_werror_flag"
47215                          || test ! -s conftest.err'
47216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47217   (eval $ac_try) 2>&5
47218   ac_status=$?
47219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47220   (exit $ac_status); }; } &&
47221          { ac_try='test -s conftest$ac_exeext'
47222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47223   (eval $ac_try) 2>&5
47224   ac_status=$?
47225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47226   (exit $ac_status); }; }; then
47227   eval "$as_ac_var=yes"
47228 else
47229   echo "$as_me: failed program was:" >&5
47230 sed 's/^/| /' conftest.$ac_ext >&5
47231
47232 eval "$as_ac_var=no"
47233 fi
47234 rm -f conftest.err conftest.$ac_objext \
47235       conftest$ac_exeext conftest.$ac_ext
47236 fi
47237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47239 if test `eval echo '${'$as_ac_var'}'` = yes; then
47240   cat >>confdefs.h <<_ACEOF
47241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47242 _ACEOF
47243
47244 fi
47245 done
47246
47247     fi
47248   fi
47249
47250
47251
47252
47253
47254
47255   echo "$as_me:$LINENO: checking for logl declaration" >&5
47256 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
47257   if test x${glibcxx_cv_func_logl_use+set} != xset; then
47258     if test "${glibcxx_cv_func_logl_use+set}" = set; then
47259   echo $ECHO_N "(cached) $ECHO_C" >&6
47260 else
47261
47262
47263
47264       ac_ext=cc
47265 ac_cpp='$CXXCPP $CPPFLAGS'
47266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47269
47270       cat >conftest.$ac_ext <<_ACEOF
47271 /* confdefs.h.  */
47272 _ACEOF
47273 cat confdefs.h >>conftest.$ac_ext
47274 cat >>conftest.$ac_ext <<_ACEOF
47275 /* end confdefs.h.  */
47276 #include <math.h>
47277                       #ifdef HAVE_IEEEFP_H
47278                       #include <ieeefp.h>
47279                       #endif
47280
47281 int
47282 main ()
47283 {
47284  logl(0);
47285   ;
47286   return 0;
47287 }
47288 _ACEOF
47289 rm -f conftest.$ac_objext
47290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47291   (eval $ac_compile) 2>conftest.er1
47292   ac_status=$?
47293   grep -v '^ *+' conftest.er1 >conftest.err
47294   rm -f conftest.er1
47295   cat conftest.err >&5
47296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47297   (exit $ac_status); } &&
47298          { ac_try='test -z "$ac_cxx_werror_flag"
47299                          || test ! -s conftest.err'
47300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47301   (eval $ac_try) 2>&5
47302   ac_status=$?
47303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47304   (exit $ac_status); }; } &&
47305          { ac_try='test -s conftest.$ac_objext'
47306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47307   (eval $ac_try) 2>&5
47308   ac_status=$?
47309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47310   (exit $ac_status); }; }; then
47311   glibcxx_cv_func_logl_use=yes
47312 else
47313   echo "$as_me: failed program was:" >&5
47314 sed 's/^/| /' conftest.$ac_ext >&5
47315
47316 glibcxx_cv_func_logl_use=no
47317 fi
47318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47319       ac_ext=c
47320 ac_cpp='$CPP $CPPFLAGS'
47321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47324
47325
47326 fi
47327
47328   fi
47329   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
47330 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
47331
47332   if test x$glibcxx_cv_func_logl_use = x"yes"; then
47333
47334 for ac_func in logl
47335 do
47336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47337 echo "$as_me:$LINENO: checking for $ac_func" >&5
47338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47339 if eval "test \"\${$as_ac_var+set}\" = set"; then
47340   echo $ECHO_N "(cached) $ECHO_C" >&6
47341 else
47342   if test x$gcc_no_link = xyes; then
47343   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47345    { (exit 1); exit 1; }; }
47346 fi
47347 cat >conftest.$ac_ext <<_ACEOF
47348 /* confdefs.h.  */
47349 _ACEOF
47350 cat confdefs.h >>conftest.$ac_ext
47351 cat >>conftest.$ac_ext <<_ACEOF
47352 /* end confdefs.h.  */
47353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47354    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47355 #define $ac_func innocuous_$ac_func
47356
47357 /* System header to define __stub macros and hopefully few prototypes,
47358     which can conflict with char $ac_func (); below.
47359     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47360     <limits.h> exists even on freestanding compilers.  */
47361
47362 #ifdef __STDC__
47363 # include <limits.h>
47364 #else
47365 # include <assert.h>
47366 #endif
47367
47368 #undef $ac_func
47369
47370 /* Override any gcc2 internal prototype to avoid an error.  */
47371 #ifdef __cplusplus
47372 extern "C"
47373 {
47374 #endif
47375 /* We use char because int might match the return type of a gcc2
47376    builtin and then its argument prototype would still apply.  */
47377 char $ac_func ();
47378 /* The GNU C library defines this for functions which it implements
47379     to always fail with ENOSYS.  Some functions are actually named
47380     something starting with __ and the normal name is an alias.  */
47381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47382 choke me
47383 #else
47384 char (*f) () = $ac_func;
47385 #endif
47386 #ifdef __cplusplus
47387 }
47388 #endif
47389
47390 int
47391 main ()
47392 {
47393 return f != $ac_func;
47394   ;
47395   return 0;
47396 }
47397 _ACEOF
47398 rm -f conftest.$ac_objext conftest$ac_exeext
47399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47400   (eval $ac_link) 2>conftest.er1
47401   ac_status=$?
47402   grep -v '^ *+' conftest.er1 >conftest.err
47403   rm -f conftest.er1
47404   cat conftest.err >&5
47405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47406   (exit $ac_status); } &&
47407          { ac_try='test -z "$ac_c_werror_flag"
47408                          || test ! -s conftest.err'
47409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47410   (eval $ac_try) 2>&5
47411   ac_status=$?
47412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47413   (exit $ac_status); }; } &&
47414          { ac_try='test -s conftest$ac_exeext'
47415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47416   (eval $ac_try) 2>&5
47417   ac_status=$?
47418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47419   (exit $ac_status); }; }; then
47420   eval "$as_ac_var=yes"
47421 else
47422   echo "$as_me: failed program was:" >&5
47423 sed 's/^/| /' conftest.$ac_ext >&5
47424
47425 eval "$as_ac_var=no"
47426 fi
47427 rm -f conftest.err conftest.$ac_objext \
47428       conftest$ac_exeext conftest.$ac_ext
47429 fi
47430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47432 if test `eval echo '${'$as_ac_var'}'` = yes; then
47433   cat >>confdefs.h <<_ACEOF
47434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47435 _ACEOF
47436
47437 fi
47438 done
47439
47440   else
47441
47442   echo "$as_me:$LINENO: checking for _logl declaration" >&5
47443 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
47444   if test x${glibcxx_cv_func__logl_use+set} != xset; then
47445     if test "${glibcxx_cv_func__logl_use+set}" = set; then
47446   echo $ECHO_N "(cached) $ECHO_C" >&6
47447 else
47448
47449
47450
47451       ac_ext=cc
47452 ac_cpp='$CXXCPP $CPPFLAGS'
47453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47456
47457       cat >conftest.$ac_ext <<_ACEOF
47458 /* confdefs.h.  */
47459 _ACEOF
47460 cat confdefs.h >>conftest.$ac_ext
47461 cat >>conftest.$ac_ext <<_ACEOF
47462 /* end confdefs.h.  */
47463 #include <math.h>
47464                       #ifdef HAVE_IEEEFP_H
47465                       #include <ieeefp.h>
47466                       #endif
47467
47468 int
47469 main ()
47470 {
47471  _logl(0);
47472   ;
47473   return 0;
47474 }
47475 _ACEOF
47476 rm -f conftest.$ac_objext
47477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47478   (eval $ac_compile) 2>conftest.er1
47479   ac_status=$?
47480   grep -v '^ *+' conftest.er1 >conftest.err
47481   rm -f conftest.er1
47482   cat conftest.err >&5
47483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47484   (exit $ac_status); } &&
47485          { ac_try='test -z "$ac_cxx_werror_flag"
47486                          || test ! -s conftest.err'
47487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47488   (eval $ac_try) 2>&5
47489   ac_status=$?
47490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47491   (exit $ac_status); }; } &&
47492          { ac_try='test -s conftest.$ac_objext'
47493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47494   (eval $ac_try) 2>&5
47495   ac_status=$?
47496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47497   (exit $ac_status); }; }; then
47498   glibcxx_cv_func__logl_use=yes
47499 else
47500   echo "$as_me: failed program was:" >&5
47501 sed 's/^/| /' conftest.$ac_ext >&5
47502
47503 glibcxx_cv_func__logl_use=no
47504 fi
47505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47506       ac_ext=c
47507 ac_cpp='$CPP $CPPFLAGS'
47508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47511
47512
47513 fi
47514
47515   fi
47516   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
47517 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
47518
47519     if test x$glibcxx_cv_func__logl_use = x"yes"; then
47520
47521 for ac_func in _logl
47522 do
47523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47524 echo "$as_me:$LINENO: checking for $ac_func" >&5
47525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47526 if eval "test \"\${$as_ac_var+set}\" = set"; then
47527   echo $ECHO_N "(cached) $ECHO_C" >&6
47528 else
47529   if test x$gcc_no_link = xyes; then
47530   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47532    { (exit 1); exit 1; }; }
47533 fi
47534 cat >conftest.$ac_ext <<_ACEOF
47535 /* confdefs.h.  */
47536 _ACEOF
47537 cat confdefs.h >>conftest.$ac_ext
47538 cat >>conftest.$ac_ext <<_ACEOF
47539 /* end confdefs.h.  */
47540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47541    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47542 #define $ac_func innocuous_$ac_func
47543
47544 /* System header to define __stub macros and hopefully few prototypes,
47545     which can conflict with char $ac_func (); below.
47546     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47547     <limits.h> exists even on freestanding compilers.  */
47548
47549 #ifdef __STDC__
47550 # include <limits.h>
47551 #else
47552 # include <assert.h>
47553 #endif
47554
47555 #undef $ac_func
47556
47557 /* Override any gcc2 internal prototype to avoid an error.  */
47558 #ifdef __cplusplus
47559 extern "C"
47560 {
47561 #endif
47562 /* We use char because int might match the return type of a gcc2
47563    builtin and then its argument prototype would still apply.  */
47564 char $ac_func ();
47565 /* The GNU C library defines this for functions which it implements
47566     to always fail with ENOSYS.  Some functions are actually named
47567     something starting with __ and the normal name is an alias.  */
47568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47569 choke me
47570 #else
47571 char (*f) () = $ac_func;
47572 #endif
47573 #ifdef __cplusplus
47574 }
47575 #endif
47576
47577 int
47578 main ()
47579 {
47580 return f != $ac_func;
47581   ;
47582   return 0;
47583 }
47584 _ACEOF
47585 rm -f conftest.$ac_objext conftest$ac_exeext
47586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47587   (eval $ac_link) 2>conftest.er1
47588   ac_status=$?
47589   grep -v '^ *+' conftest.er1 >conftest.err
47590   rm -f conftest.er1
47591   cat conftest.err >&5
47592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47593   (exit $ac_status); } &&
47594          { ac_try='test -z "$ac_c_werror_flag"
47595                          || test ! -s conftest.err'
47596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47597   (eval $ac_try) 2>&5
47598   ac_status=$?
47599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47600   (exit $ac_status); }; } &&
47601          { ac_try='test -s conftest$ac_exeext'
47602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47603   (eval $ac_try) 2>&5
47604   ac_status=$?
47605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47606   (exit $ac_status); }; }; then
47607   eval "$as_ac_var=yes"
47608 else
47609   echo "$as_me: failed program was:" >&5
47610 sed 's/^/| /' conftest.$ac_ext >&5
47611
47612 eval "$as_ac_var=no"
47613 fi
47614 rm -f conftest.err conftest.$ac_objext \
47615       conftest$ac_exeext conftest.$ac_ext
47616 fi
47617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47619 if test `eval echo '${'$as_ac_var'}'` = yes; then
47620   cat >>confdefs.h <<_ACEOF
47621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47622 _ACEOF
47623
47624 fi
47625 done
47626
47627     fi
47628   fi
47629
47630
47631
47632
47633
47634
47635   echo "$as_me:$LINENO: checking for log10l declaration" >&5
47636 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
47637   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
47638     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
47639   echo $ECHO_N "(cached) $ECHO_C" >&6
47640 else
47641
47642
47643
47644       ac_ext=cc
47645 ac_cpp='$CXXCPP $CPPFLAGS'
47646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47649
47650       cat >conftest.$ac_ext <<_ACEOF
47651 /* confdefs.h.  */
47652 _ACEOF
47653 cat confdefs.h >>conftest.$ac_ext
47654 cat >>conftest.$ac_ext <<_ACEOF
47655 /* end confdefs.h.  */
47656 #include <math.h>
47657                       #ifdef HAVE_IEEEFP_H
47658                       #include <ieeefp.h>
47659                       #endif
47660
47661 int
47662 main ()
47663 {
47664  log10l(0);
47665   ;
47666   return 0;
47667 }
47668 _ACEOF
47669 rm -f conftest.$ac_objext
47670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47671   (eval $ac_compile) 2>conftest.er1
47672   ac_status=$?
47673   grep -v '^ *+' conftest.er1 >conftest.err
47674   rm -f conftest.er1
47675   cat conftest.err >&5
47676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47677   (exit $ac_status); } &&
47678          { ac_try='test -z "$ac_cxx_werror_flag"
47679                          || test ! -s conftest.err'
47680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47681   (eval $ac_try) 2>&5
47682   ac_status=$?
47683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47684   (exit $ac_status); }; } &&
47685          { ac_try='test -s conftest.$ac_objext'
47686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47687   (eval $ac_try) 2>&5
47688   ac_status=$?
47689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47690   (exit $ac_status); }; }; then
47691   glibcxx_cv_func_log10l_use=yes
47692 else
47693   echo "$as_me: failed program was:" >&5
47694 sed 's/^/| /' conftest.$ac_ext >&5
47695
47696 glibcxx_cv_func_log10l_use=no
47697 fi
47698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47699       ac_ext=c
47700 ac_cpp='$CPP $CPPFLAGS'
47701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47704
47705
47706 fi
47707
47708   fi
47709   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
47710 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
47711
47712   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
47713
47714 for ac_func in log10l
47715 do
47716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47717 echo "$as_me:$LINENO: checking for $ac_func" >&5
47718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47719 if eval "test \"\${$as_ac_var+set}\" = set"; then
47720   echo $ECHO_N "(cached) $ECHO_C" >&6
47721 else
47722   if test x$gcc_no_link = xyes; then
47723   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47725    { (exit 1); exit 1; }; }
47726 fi
47727 cat >conftest.$ac_ext <<_ACEOF
47728 /* confdefs.h.  */
47729 _ACEOF
47730 cat confdefs.h >>conftest.$ac_ext
47731 cat >>conftest.$ac_ext <<_ACEOF
47732 /* end confdefs.h.  */
47733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47734    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47735 #define $ac_func innocuous_$ac_func
47736
47737 /* System header to define __stub macros and hopefully few prototypes,
47738     which can conflict with char $ac_func (); below.
47739     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47740     <limits.h> exists even on freestanding compilers.  */
47741
47742 #ifdef __STDC__
47743 # include <limits.h>
47744 #else
47745 # include <assert.h>
47746 #endif
47747
47748 #undef $ac_func
47749
47750 /* Override any gcc2 internal prototype to avoid an error.  */
47751 #ifdef __cplusplus
47752 extern "C"
47753 {
47754 #endif
47755 /* We use char because int might match the return type of a gcc2
47756    builtin and then its argument prototype would still apply.  */
47757 char $ac_func ();
47758 /* The GNU C library defines this for functions which it implements
47759     to always fail with ENOSYS.  Some functions are actually named
47760     something starting with __ and the normal name is an alias.  */
47761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47762 choke me
47763 #else
47764 char (*f) () = $ac_func;
47765 #endif
47766 #ifdef __cplusplus
47767 }
47768 #endif
47769
47770 int
47771 main ()
47772 {
47773 return f != $ac_func;
47774   ;
47775   return 0;
47776 }
47777 _ACEOF
47778 rm -f conftest.$ac_objext conftest$ac_exeext
47779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47780   (eval $ac_link) 2>conftest.er1
47781   ac_status=$?
47782   grep -v '^ *+' conftest.er1 >conftest.err
47783   rm -f conftest.er1
47784   cat conftest.err >&5
47785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47786   (exit $ac_status); } &&
47787          { ac_try='test -z "$ac_c_werror_flag"
47788                          || test ! -s conftest.err'
47789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47790   (eval $ac_try) 2>&5
47791   ac_status=$?
47792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47793   (exit $ac_status); }; } &&
47794          { ac_try='test -s conftest$ac_exeext'
47795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47796   (eval $ac_try) 2>&5
47797   ac_status=$?
47798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47799   (exit $ac_status); }; }; then
47800   eval "$as_ac_var=yes"
47801 else
47802   echo "$as_me: failed program was:" >&5
47803 sed 's/^/| /' conftest.$ac_ext >&5
47804
47805 eval "$as_ac_var=no"
47806 fi
47807 rm -f conftest.err conftest.$ac_objext \
47808       conftest$ac_exeext conftest.$ac_ext
47809 fi
47810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47812 if test `eval echo '${'$as_ac_var'}'` = yes; then
47813   cat >>confdefs.h <<_ACEOF
47814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47815 _ACEOF
47816
47817 fi
47818 done
47819
47820   else
47821
47822   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
47823 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
47824   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
47825     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
47826   echo $ECHO_N "(cached) $ECHO_C" >&6
47827 else
47828
47829
47830
47831       ac_ext=cc
47832 ac_cpp='$CXXCPP $CPPFLAGS'
47833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47836
47837       cat >conftest.$ac_ext <<_ACEOF
47838 /* confdefs.h.  */
47839 _ACEOF
47840 cat confdefs.h >>conftest.$ac_ext
47841 cat >>conftest.$ac_ext <<_ACEOF
47842 /* end confdefs.h.  */
47843 #include <math.h>
47844                       #ifdef HAVE_IEEEFP_H
47845                       #include <ieeefp.h>
47846                       #endif
47847
47848 int
47849 main ()
47850 {
47851  _log10l(0);
47852   ;
47853   return 0;
47854 }
47855 _ACEOF
47856 rm -f conftest.$ac_objext
47857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47858   (eval $ac_compile) 2>conftest.er1
47859   ac_status=$?
47860   grep -v '^ *+' conftest.er1 >conftest.err
47861   rm -f conftest.er1
47862   cat conftest.err >&5
47863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47864   (exit $ac_status); } &&
47865          { ac_try='test -z "$ac_cxx_werror_flag"
47866                          || test ! -s conftest.err'
47867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47868   (eval $ac_try) 2>&5
47869   ac_status=$?
47870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47871   (exit $ac_status); }; } &&
47872          { ac_try='test -s conftest.$ac_objext'
47873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47874   (eval $ac_try) 2>&5
47875   ac_status=$?
47876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47877   (exit $ac_status); }; }; then
47878   glibcxx_cv_func__log10l_use=yes
47879 else
47880   echo "$as_me: failed program was:" >&5
47881 sed 's/^/| /' conftest.$ac_ext >&5
47882
47883 glibcxx_cv_func__log10l_use=no
47884 fi
47885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47886       ac_ext=c
47887 ac_cpp='$CPP $CPPFLAGS'
47888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47891
47892
47893 fi
47894
47895   fi
47896   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
47897 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
47898
47899     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
47900
47901 for ac_func in _log10l
47902 do
47903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47904 echo "$as_me:$LINENO: checking for $ac_func" >&5
47905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47906 if eval "test \"\${$as_ac_var+set}\" = set"; then
47907   echo $ECHO_N "(cached) $ECHO_C" >&6
47908 else
47909   if test x$gcc_no_link = xyes; then
47910   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47912    { (exit 1); exit 1; }; }
47913 fi
47914 cat >conftest.$ac_ext <<_ACEOF
47915 /* confdefs.h.  */
47916 _ACEOF
47917 cat confdefs.h >>conftest.$ac_ext
47918 cat >>conftest.$ac_ext <<_ACEOF
47919 /* end confdefs.h.  */
47920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47921    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47922 #define $ac_func innocuous_$ac_func
47923
47924 /* System header to define __stub macros and hopefully few prototypes,
47925     which can conflict with char $ac_func (); below.
47926     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47927     <limits.h> exists even on freestanding compilers.  */
47928
47929 #ifdef __STDC__
47930 # include <limits.h>
47931 #else
47932 # include <assert.h>
47933 #endif
47934
47935 #undef $ac_func
47936
47937 /* Override any gcc2 internal prototype to avoid an error.  */
47938 #ifdef __cplusplus
47939 extern "C"
47940 {
47941 #endif
47942 /* We use char because int might match the return type of a gcc2
47943    builtin and then its argument prototype would still apply.  */
47944 char $ac_func ();
47945 /* The GNU C library defines this for functions which it implements
47946     to always fail with ENOSYS.  Some functions are actually named
47947     something starting with __ and the normal name is an alias.  */
47948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47949 choke me
47950 #else
47951 char (*f) () = $ac_func;
47952 #endif
47953 #ifdef __cplusplus
47954 }
47955 #endif
47956
47957 int
47958 main ()
47959 {
47960 return f != $ac_func;
47961   ;
47962   return 0;
47963 }
47964 _ACEOF
47965 rm -f conftest.$ac_objext conftest$ac_exeext
47966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47967   (eval $ac_link) 2>conftest.er1
47968   ac_status=$?
47969   grep -v '^ *+' conftest.er1 >conftest.err
47970   rm -f conftest.er1
47971   cat conftest.err >&5
47972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47973   (exit $ac_status); } &&
47974          { ac_try='test -z "$ac_c_werror_flag"
47975                          || test ! -s conftest.err'
47976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47977   (eval $ac_try) 2>&5
47978   ac_status=$?
47979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47980   (exit $ac_status); }; } &&
47981          { ac_try='test -s conftest$ac_exeext'
47982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47983   (eval $ac_try) 2>&5
47984   ac_status=$?
47985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47986   (exit $ac_status); }; }; then
47987   eval "$as_ac_var=yes"
47988 else
47989   echo "$as_me: failed program was:" >&5
47990 sed 's/^/| /' conftest.$ac_ext >&5
47991
47992 eval "$as_ac_var=no"
47993 fi
47994 rm -f conftest.err conftest.$ac_objext \
47995       conftest$ac_exeext conftest.$ac_ext
47996 fi
47997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47999 if test `eval echo '${'$as_ac_var'}'` = yes; then
48000   cat >>confdefs.h <<_ACEOF
48001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48002 _ACEOF
48003
48004 fi
48005 done
48006
48007     fi
48008   fi
48009
48010
48011
48012
48013
48014
48015   echo "$as_me:$LINENO: checking for modfl declaration" >&5
48016 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
48017   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
48018     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
48019   echo $ECHO_N "(cached) $ECHO_C" >&6
48020 else
48021
48022
48023
48024       ac_ext=cc
48025 ac_cpp='$CXXCPP $CPPFLAGS'
48026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48029
48030       cat >conftest.$ac_ext <<_ACEOF
48031 /* confdefs.h.  */
48032 _ACEOF
48033 cat confdefs.h >>conftest.$ac_ext
48034 cat >>conftest.$ac_ext <<_ACEOF
48035 /* end confdefs.h.  */
48036 #include <math.h>
48037 int
48038 main ()
48039 {
48040  modfl(0, 0);
48041   ;
48042   return 0;
48043 }
48044 _ACEOF
48045 rm -f conftest.$ac_objext
48046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48047   (eval $ac_compile) 2>conftest.er1
48048   ac_status=$?
48049   grep -v '^ *+' conftest.er1 >conftest.err
48050   rm -f conftest.er1
48051   cat conftest.err >&5
48052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48053   (exit $ac_status); } &&
48054          { ac_try='test -z "$ac_cxx_werror_flag"
48055                          || test ! -s conftest.err'
48056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48057   (eval $ac_try) 2>&5
48058   ac_status=$?
48059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48060   (exit $ac_status); }; } &&
48061          { ac_try='test -s conftest.$ac_objext'
48062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48063   (eval $ac_try) 2>&5
48064   ac_status=$?
48065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48066   (exit $ac_status); }; }; then
48067   glibcxx_cv_func_modfl_use=yes
48068 else
48069   echo "$as_me: failed program was:" >&5
48070 sed 's/^/| /' conftest.$ac_ext >&5
48071
48072 glibcxx_cv_func_modfl_use=no
48073 fi
48074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48075       ac_ext=c
48076 ac_cpp='$CPP $CPPFLAGS'
48077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48080
48081
48082 fi
48083
48084   fi
48085   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
48086 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
48087
48088   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
48089
48090 for ac_func in modfl
48091 do
48092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48093 echo "$as_me:$LINENO: checking for $ac_func" >&5
48094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48095 if eval "test \"\${$as_ac_var+set}\" = set"; then
48096   echo $ECHO_N "(cached) $ECHO_C" >&6
48097 else
48098   if test x$gcc_no_link = xyes; then
48099   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48101    { (exit 1); exit 1; }; }
48102 fi
48103 cat >conftest.$ac_ext <<_ACEOF
48104 /* confdefs.h.  */
48105 _ACEOF
48106 cat confdefs.h >>conftest.$ac_ext
48107 cat >>conftest.$ac_ext <<_ACEOF
48108 /* end confdefs.h.  */
48109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48110    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48111 #define $ac_func innocuous_$ac_func
48112
48113 /* System header to define __stub macros and hopefully few prototypes,
48114     which can conflict with char $ac_func (); below.
48115     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48116     <limits.h> exists even on freestanding compilers.  */
48117
48118 #ifdef __STDC__
48119 # include <limits.h>
48120 #else
48121 # include <assert.h>
48122 #endif
48123
48124 #undef $ac_func
48125
48126 /* Override any gcc2 internal prototype to avoid an error.  */
48127 #ifdef __cplusplus
48128 extern "C"
48129 {
48130 #endif
48131 /* We use char because int might match the return type of a gcc2
48132    builtin and then its argument prototype would still apply.  */
48133 char $ac_func ();
48134 /* The GNU C library defines this for functions which it implements
48135     to always fail with ENOSYS.  Some functions are actually named
48136     something starting with __ and the normal name is an alias.  */
48137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48138 choke me
48139 #else
48140 char (*f) () = $ac_func;
48141 #endif
48142 #ifdef __cplusplus
48143 }
48144 #endif
48145
48146 int
48147 main ()
48148 {
48149 return f != $ac_func;
48150   ;
48151   return 0;
48152 }
48153 _ACEOF
48154 rm -f conftest.$ac_objext conftest$ac_exeext
48155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48156   (eval $ac_link) 2>conftest.er1
48157   ac_status=$?
48158   grep -v '^ *+' conftest.er1 >conftest.err
48159   rm -f conftest.er1
48160   cat conftest.err >&5
48161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48162   (exit $ac_status); } &&
48163          { ac_try='test -z "$ac_c_werror_flag"
48164                          || test ! -s conftest.err'
48165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48166   (eval $ac_try) 2>&5
48167   ac_status=$?
48168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48169   (exit $ac_status); }; } &&
48170          { ac_try='test -s conftest$ac_exeext'
48171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48172   (eval $ac_try) 2>&5
48173   ac_status=$?
48174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48175   (exit $ac_status); }; }; then
48176   eval "$as_ac_var=yes"
48177 else
48178   echo "$as_me: failed program was:" >&5
48179 sed 's/^/| /' conftest.$ac_ext >&5
48180
48181 eval "$as_ac_var=no"
48182 fi
48183 rm -f conftest.err conftest.$ac_objext \
48184       conftest$ac_exeext conftest.$ac_ext
48185 fi
48186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48188 if test `eval echo '${'$as_ac_var'}'` = yes; then
48189   cat >>confdefs.h <<_ACEOF
48190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48191 _ACEOF
48192
48193 fi
48194 done
48195
48196   else
48197
48198   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
48199 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
48200   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
48201     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
48202   echo $ECHO_N "(cached) $ECHO_C" >&6
48203 else
48204
48205
48206
48207       ac_ext=cc
48208 ac_cpp='$CXXCPP $CPPFLAGS'
48209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48212
48213       cat >conftest.$ac_ext <<_ACEOF
48214 /* confdefs.h.  */
48215 _ACEOF
48216 cat confdefs.h >>conftest.$ac_ext
48217 cat >>conftest.$ac_ext <<_ACEOF
48218 /* end confdefs.h.  */
48219 #include <math.h>
48220 int
48221 main ()
48222 {
48223  _modfl(0, 0);
48224   ;
48225   return 0;
48226 }
48227 _ACEOF
48228 rm -f conftest.$ac_objext
48229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48230   (eval $ac_compile) 2>conftest.er1
48231   ac_status=$?
48232   grep -v '^ *+' conftest.er1 >conftest.err
48233   rm -f conftest.er1
48234   cat conftest.err >&5
48235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48236   (exit $ac_status); } &&
48237          { ac_try='test -z "$ac_cxx_werror_flag"
48238                          || test ! -s conftest.err'
48239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48240   (eval $ac_try) 2>&5
48241   ac_status=$?
48242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48243   (exit $ac_status); }; } &&
48244          { ac_try='test -s conftest.$ac_objext'
48245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48246   (eval $ac_try) 2>&5
48247   ac_status=$?
48248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48249   (exit $ac_status); }; }; then
48250   glibcxx_cv_func__modfl_use=yes
48251 else
48252   echo "$as_me: failed program was:" >&5
48253 sed 's/^/| /' conftest.$ac_ext >&5
48254
48255 glibcxx_cv_func__modfl_use=no
48256 fi
48257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48258       ac_ext=c
48259 ac_cpp='$CPP $CPPFLAGS'
48260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48263
48264
48265 fi
48266
48267   fi
48268   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
48269 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
48270
48271     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
48272
48273 for ac_func in _modfl
48274 do
48275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48276 echo "$as_me:$LINENO: checking for $ac_func" >&5
48277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48278 if eval "test \"\${$as_ac_var+set}\" = set"; then
48279   echo $ECHO_N "(cached) $ECHO_C" >&6
48280 else
48281   if test x$gcc_no_link = xyes; then
48282   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48284    { (exit 1); exit 1; }; }
48285 fi
48286 cat >conftest.$ac_ext <<_ACEOF
48287 /* confdefs.h.  */
48288 _ACEOF
48289 cat confdefs.h >>conftest.$ac_ext
48290 cat >>conftest.$ac_ext <<_ACEOF
48291 /* end confdefs.h.  */
48292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48293    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48294 #define $ac_func innocuous_$ac_func
48295
48296 /* System header to define __stub macros and hopefully few prototypes,
48297     which can conflict with char $ac_func (); below.
48298     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48299     <limits.h> exists even on freestanding compilers.  */
48300
48301 #ifdef __STDC__
48302 # include <limits.h>
48303 #else
48304 # include <assert.h>
48305 #endif
48306
48307 #undef $ac_func
48308
48309 /* Override any gcc2 internal prototype to avoid an error.  */
48310 #ifdef __cplusplus
48311 extern "C"
48312 {
48313 #endif
48314 /* We use char because int might match the return type of a gcc2
48315    builtin and then its argument prototype would still apply.  */
48316 char $ac_func ();
48317 /* The GNU C library defines this for functions which it implements
48318     to always fail with ENOSYS.  Some functions are actually named
48319     something starting with __ and the normal name is an alias.  */
48320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48321 choke me
48322 #else
48323 char (*f) () = $ac_func;
48324 #endif
48325 #ifdef __cplusplus
48326 }
48327 #endif
48328
48329 int
48330 main ()
48331 {
48332 return f != $ac_func;
48333   ;
48334   return 0;
48335 }
48336 _ACEOF
48337 rm -f conftest.$ac_objext conftest$ac_exeext
48338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48339   (eval $ac_link) 2>conftest.er1
48340   ac_status=$?
48341   grep -v '^ *+' conftest.er1 >conftest.err
48342   rm -f conftest.er1
48343   cat conftest.err >&5
48344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48345   (exit $ac_status); } &&
48346          { ac_try='test -z "$ac_c_werror_flag"
48347                          || test ! -s conftest.err'
48348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48349   (eval $ac_try) 2>&5
48350   ac_status=$?
48351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48352   (exit $ac_status); }; } &&
48353          { ac_try='test -s conftest$ac_exeext'
48354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48355   (eval $ac_try) 2>&5
48356   ac_status=$?
48357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48358   (exit $ac_status); }; }; then
48359   eval "$as_ac_var=yes"
48360 else
48361   echo "$as_me: failed program was:" >&5
48362 sed 's/^/| /' conftest.$ac_ext >&5
48363
48364 eval "$as_ac_var=no"
48365 fi
48366 rm -f conftest.err conftest.$ac_objext \
48367       conftest$ac_exeext conftest.$ac_ext
48368 fi
48369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48371 if test `eval echo '${'$as_ac_var'}'` = yes; then
48372   cat >>confdefs.h <<_ACEOF
48373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48374 _ACEOF
48375
48376 fi
48377 done
48378
48379     fi
48380   fi
48381
48382
48383
48384
48385
48386
48387   echo "$as_me:$LINENO: checking for powl declaration" >&5
48388 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
48389   if test x${glibcxx_cv_func_powl_use+set} != xset; then
48390     if test "${glibcxx_cv_func_powl_use+set}" = set; then
48391   echo $ECHO_N "(cached) $ECHO_C" >&6
48392 else
48393
48394
48395
48396       ac_ext=cc
48397 ac_cpp='$CXXCPP $CPPFLAGS'
48398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48401
48402       cat >conftest.$ac_ext <<_ACEOF
48403 /* confdefs.h.  */
48404 _ACEOF
48405 cat confdefs.h >>conftest.$ac_ext
48406 cat >>conftest.$ac_ext <<_ACEOF
48407 /* end confdefs.h.  */
48408 #include <math.h>
48409 int
48410 main ()
48411 {
48412  powl(0, 0);
48413   ;
48414   return 0;
48415 }
48416 _ACEOF
48417 rm -f conftest.$ac_objext
48418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48419   (eval $ac_compile) 2>conftest.er1
48420   ac_status=$?
48421   grep -v '^ *+' conftest.er1 >conftest.err
48422   rm -f conftest.er1
48423   cat conftest.err >&5
48424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48425   (exit $ac_status); } &&
48426          { ac_try='test -z "$ac_cxx_werror_flag"
48427                          || test ! -s conftest.err'
48428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48429   (eval $ac_try) 2>&5
48430   ac_status=$?
48431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48432   (exit $ac_status); }; } &&
48433          { ac_try='test -s conftest.$ac_objext'
48434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48435   (eval $ac_try) 2>&5
48436   ac_status=$?
48437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48438   (exit $ac_status); }; }; then
48439   glibcxx_cv_func_powl_use=yes
48440 else
48441   echo "$as_me: failed program was:" >&5
48442 sed 's/^/| /' conftest.$ac_ext >&5
48443
48444 glibcxx_cv_func_powl_use=no
48445 fi
48446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48447       ac_ext=c
48448 ac_cpp='$CPP $CPPFLAGS'
48449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48452
48453
48454 fi
48455
48456   fi
48457   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
48458 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
48459
48460   if test x$glibcxx_cv_func_powl_use = x"yes"; then
48461
48462 for ac_func in powl
48463 do
48464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48465 echo "$as_me:$LINENO: checking for $ac_func" >&5
48466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48467 if eval "test \"\${$as_ac_var+set}\" = set"; then
48468   echo $ECHO_N "(cached) $ECHO_C" >&6
48469 else
48470   if test x$gcc_no_link = xyes; then
48471   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48473    { (exit 1); exit 1; }; }
48474 fi
48475 cat >conftest.$ac_ext <<_ACEOF
48476 /* confdefs.h.  */
48477 _ACEOF
48478 cat confdefs.h >>conftest.$ac_ext
48479 cat >>conftest.$ac_ext <<_ACEOF
48480 /* end confdefs.h.  */
48481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48482    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48483 #define $ac_func innocuous_$ac_func
48484
48485 /* System header to define __stub macros and hopefully few prototypes,
48486     which can conflict with char $ac_func (); below.
48487     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48488     <limits.h> exists even on freestanding compilers.  */
48489
48490 #ifdef __STDC__
48491 # include <limits.h>
48492 #else
48493 # include <assert.h>
48494 #endif
48495
48496 #undef $ac_func
48497
48498 /* Override any gcc2 internal prototype to avoid an error.  */
48499 #ifdef __cplusplus
48500 extern "C"
48501 {
48502 #endif
48503 /* We use char because int might match the return type of a gcc2
48504    builtin and then its argument prototype would still apply.  */
48505 char $ac_func ();
48506 /* The GNU C library defines this for functions which it implements
48507     to always fail with ENOSYS.  Some functions are actually named
48508     something starting with __ and the normal name is an alias.  */
48509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48510 choke me
48511 #else
48512 char (*f) () = $ac_func;
48513 #endif
48514 #ifdef __cplusplus
48515 }
48516 #endif
48517
48518 int
48519 main ()
48520 {
48521 return f != $ac_func;
48522   ;
48523   return 0;
48524 }
48525 _ACEOF
48526 rm -f conftest.$ac_objext conftest$ac_exeext
48527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48528   (eval $ac_link) 2>conftest.er1
48529   ac_status=$?
48530   grep -v '^ *+' conftest.er1 >conftest.err
48531   rm -f conftest.er1
48532   cat conftest.err >&5
48533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48534   (exit $ac_status); } &&
48535          { ac_try='test -z "$ac_c_werror_flag"
48536                          || test ! -s conftest.err'
48537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48538   (eval $ac_try) 2>&5
48539   ac_status=$?
48540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48541   (exit $ac_status); }; } &&
48542          { ac_try='test -s conftest$ac_exeext'
48543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48544   (eval $ac_try) 2>&5
48545   ac_status=$?
48546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48547   (exit $ac_status); }; }; then
48548   eval "$as_ac_var=yes"
48549 else
48550   echo "$as_me: failed program was:" >&5
48551 sed 's/^/| /' conftest.$ac_ext >&5
48552
48553 eval "$as_ac_var=no"
48554 fi
48555 rm -f conftest.err conftest.$ac_objext \
48556       conftest$ac_exeext conftest.$ac_ext
48557 fi
48558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48560 if test `eval echo '${'$as_ac_var'}'` = yes; then
48561   cat >>confdefs.h <<_ACEOF
48562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48563 _ACEOF
48564
48565 fi
48566 done
48567
48568   else
48569
48570   echo "$as_me:$LINENO: checking for _powl declaration" >&5
48571 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
48572   if test x${glibcxx_cv_func__powl_use+set} != xset; then
48573     if test "${glibcxx_cv_func__powl_use+set}" = set; then
48574   echo $ECHO_N "(cached) $ECHO_C" >&6
48575 else
48576
48577
48578
48579       ac_ext=cc
48580 ac_cpp='$CXXCPP $CPPFLAGS'
48581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48584
48585       cat >conftest.$ac_ext <<_ACEOF
48586 /* confdefs.h.  */
48587 _ACEOF
48588 cat confdefs.h >>conftest.$ac_ext
48589 cat >>conftest.$ac_ext <<_ACEOF
48590 /* end confdefs.h.  */
48591 #include <math.h>
48592 int
48593 main ()
48594 {
48595  _powl(0, 0);
48596   ;
48597   return 0;
48598 }
48599 _ACEOF
48600 rm -f conftest.$ac_objext
48601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48602   (eval $ac_compile) 2>conftest.er1
48603   ac_status=$?
48604   grep -v '^ *+' conftest.er1 >conftest.err
48605   rm -f conftest.er1
48606   cat conftest.err >&5
48607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48608   (exit $ac_status); } &&
48609          { ac_try='test -z "$ac_cxx_werror_flag"
48610                          || test ! -s conftest.err'
48611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48612   (eval $ac_try) 2>&5
48613   ac_status=$?
48614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48615   (exit $ac_status); }; } &&
48616          { ac_try='test -s conftest.$ac_objext'
48617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48618   (eval $ac_try) 2>&5
48619   ac_status=$?
48620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48621   (exit $ac_status); }; }; then
48622   glibcxx_cv_func__powl_use=yes
48623 else
48624   echo "$as_me: failed program was:" >&5
48625 sed 's/^/| /' conftest.$ac_ext >&5
48626
48627 glibcxx_cv_func__powl_use=no
48628 fi
48629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48630       ac_ext=c
48631 ac_cpp='$CPP $CPPFLAGS'
48632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48635
48636
48637 fi
48638
48639   fi
48640   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
48641 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
48642
48643     if test x$glibcxx_cv_func__powl_use = x"yes"; then
48644
48645 for ac_func in _powl
48646 do
48647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48648 echo "$as_me:$LINENO: checking for $ac_func" >&5
48649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48650 if eval "test \"\${$as_ac_var+set}\" = set"; then
48651   echo $ECHO_N "(cached) $ECHO_C" >&6
48652 else
48653   if test x$gcc_no_link = xyes; then
48654   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48656    { (exit 1); exit 1; }; }
48657 fi
48658 cat >conftest.$ac_ext <<_ACEOF
48659 /* confdefs.h.  */
48660 _ACEOF
48661 cat confdefs.h >>conftest.$ac_ext
48662 cat >>conftest.$ac_ext <<_ACEOF
48663 /* end confdefs.h.  */
48664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48665    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48666 #define $ac_func innocuous_$ac_func
48667
48668 /* System header to define __stub macros and hopefully few prototypes,
48669     which can conflict with char $ac_func (); below.
48670     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48671     <limits.h> exists even on freestanding compilers.  */
48672
48673 #ifdef __STDC__
48674 # include <limits.h>
48675 #else
48676 # include <assert.h>
48677 #endif
48678
48679 #undef $ac_func
48680
48681 /* Override any gcc2 internal prototype to avoid an error.  */
48682 #ifdef __cplusplus
48683 extern "C"
48684 {
48685 #endif
48686 /* We use char because int might match the return type of a gcc2
48687    builtin and then its argument prototype would still apply.  */
48688 char $ac_func ();
48689 /* The GNU C library defines this for functions which it implements
48690     to always fail with ENOSYS.  Some functions are actually named
48691     something starting with __ and the normal name is an alias.  */
48692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48693 choke me
48694 #else
48695 char (*f) () = $ac_func;
48696 #endif
48697 #ifdef __cplusplus
48698 }
48699 #endif
48700
48701 int
48702 main ()
48703 {
48704 return f != $ac_func;
48705   ;
48706   return 0;
48707 }
48708 _ACEOF
48709 rm -f conftest.$ac_objext conftest$ac_exeext
48710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48711   (eval $ac_link) 2>conftest.er1
48712   ac_status=$?
48713   grep -v '^ *+' conftest.er1 >conftest.err
48714   rm -f conftest.er1
48715   cat conftest.err >&5
48716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48717   (exit $ac_status); } &&
48718          { ac_try='test -z "$ac_c_werror_flag"
48719                          || test ! -s conftest.err'
48720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48721   (eval $ac_try) 2>&5
48722   ac_status=$?
48723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48724   (exit $ac_status); }; } &&
48725          { ac_try='test -s conftest$ac_exeext'
48726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48727   (eval $ac_try) 2>&5
48728   ac_status=$?
48729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48730   (exit $ac_status); }; }; then
48731   eval "$as_ac_var=yes"
48732 else
48733   echo "$as_me: failed program was:" >&5
48734 sed 's/^/| /' conftest.$ac_ext >&5
48735
48736 eval "$as_ac_var=no"
48737 fi
48738 rm -f conftest.err conftest.$ac_objext \
48739       conftest$ac_exeext conftest.$ac_ext
48740 fi
48741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48743 if test `eval echo '${'$as_ac_var'}'` = yes; then
48744   cat >>confdefs.h <<_ACEOF
48745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48746 _ACEOF
48747
48748 fi
48749 done
48750
48751     fi
48752   fi
48753
48754
48755
48756
48757
48758
48759   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
48760 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
48761   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
48762     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
48763   echo $ECHO_N "(cached) $ECHO_C" >&6
48764 else
48765
48766
48767
48768       ac_ext=cc
48769 ac_cpp='$CXXCPP $CPPFLAGS'
48770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48773
48774       cat >conftest.$ac_ext <<_ACEOF
48775 /* confdefs.h.  */
48776 _ACEOF
48777 cat confdefs.h >>conftest.$ac_ext
48778 cat >>conftest.$ac_ext <<_ACEOF
48779 /* end confdefs.h.  */
48780 #include <math.h>
48781                       #ifdef HAVE_IEEEFP_H
48782                       #include <ieeefp.h>
48783                       #endif
48784
48785 int
48786 main ()
48787 {
48788  sqrtl(0);
48789   ;
48790   return 0;
48791 }
48792 _ACEOF
48793 rm -f conftest.$ac_objext
48794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48795   (eval $ac_compile) 2>conftest.er1
48796   ac_status=$?
48797   grep -v '^ *+' conftest.er1 >conftest.err
48798   rm -f conftest.er1
48799   cat conftest.err >&5
48800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48801   (exit $ac_status); } &&
48802          { ac_try='test -z "$ac_cxx_werror_flag"
48803                          || test ! -s conftest.err'
48804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48805   (eval $ac_try) 2>&5
48806   ac_status=$?
48807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48808   (exit $ac_status); }; } &&
48809          { ac_try='test -s conftest.$ac_objext'
48810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48811   (eval $ac_try) 2>&5
48812   ac_status=$?
48813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48814   (exit $ac_status); }; }; then
48815   glibcxx_cv_func_sqrtl_use=yes
48816 else
48817   echo "$as_me: failed program was:" >&5
48818 sed 's/^/| /' conftest.$ac_ext >&5
48819
48820 glibcxx_cv_func_sqrtl_use=no
48821 fi
48822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48823       ac_ext=c
48824 ac_cpp='$CPP $CPPFLAGS'
48825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48828
48829
48830 fi
48831
48832   fi
48833   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
48834 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
48835
48836   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
48837
48838 for ac_func in sqrtl
48839 do
48840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48841 echo "$as_me:$LINENO: checking for $ac_func" >&5
48842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48843 if eval "test \"\${$as_ac_var+set}\" = set"; then
48844   echo $ECHO_N "(cached) $ECHO_C" >&6
48845 else
48846   if test x$gcc_no_link = xyes; then
48847   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48849    { (exit 1); exit 1; }; }
48850 fi
48851 cat >conftest.$ac_ext <<_ACEOF
48852 /* confdefs.h.  */
48853 _ACEOF
48854 cat confdefs.h >>conftest.$ac_ext
48855 cat >>conftest.$ac_ext <<_ACEOF
48856 /* end confdefs.h.  */
48857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48858    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48859 #define $ac_func innocuous_$ac_func
48860
48861 /* System header to define __stub macros and hopefully few prototypes,
48862     which can conflict with char $ac_func (); below.
48863     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48864     <limits.h> exists even on freestanding compilers.  */
48865
48866 #ifdef __STDC__
48867 # include <limits.h>
48868 #else
48869 # include <assert.h>
48870 #endif
48871
48872 #undef $ac_func
48873
48874 /* Override any gcc2 internal prototype to avoid an error.  */
48875 #ifdef __cplusplus
48876 extern "C"
48877 {
48878 #endif
48879 /* We use char because int might match the return type of a gcc2
48880    builtin and then its argument prototype would still apply.  */
48881 char $ac_func ();
48882 /* The GNU C library defines this for functions which it implements
48883     to always fail with ENOSYS.  Some functions are actually named
48884     something starting with __ and the normal name is an alias.  */
48885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48886 choke me
48887 #else
48888 char (*f) () = $ac_func;
48889 #endif
48890 #ifdef __cplusplus
48891 }
48892 #endif
48893
48894 int
48895 main ()
48896 {
48897 return f != $ac_func;
48898   ;
48899   return 0;
48900 }
48901 _ACEOF
48902 rm -f conftest.$ac_objext conftest$ac_exeext
48903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48904   (eval $ac_link) 2>conftest.er1
48905   ac_status=$?
48906   grep -v '^ *+' conftest.er1 >conftest.err
48907   rm -f conftest.er1
48908   cat conftest.err >&5
48909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48910   (exit $ac_status); } &&
48911          { ac_try='test -z "$ac_c_werror_flag"
48912                          || test ! -s conftest.err'
48913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48914   (eval $ac_try) 2>&5
48915   ac_status=$?
48916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48917   (exit $ac_status); }; } &&
48918          { ac_try='test -s conftest$ac_exeext'
48919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48920   (eval $ac_try) 2>&5
48921   ac_status=$?
48922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48923   (exit $ac_status); }; }; then
48924   eval "$as_ac_var=yes"
48925 else
48926   echo "$as_me: failed program was:" >&5
48927 sed 's/^/| /' conftest.$ac_ext >&5
48928
48929 eval "$as_ac_var=no"
48930 fi
48931 rm -f conftest.err conftest.$ac_objext \
48932       conftest$ac_exeext conftest.$ac_ext
48933 fi
48934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48936 if test `eval echo '${'$as_ac_var'}'` = yes; then
48937   cat >>confdefs.h <<_ACEOF
48938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48939 _ACEOF
48940
48941 fi
48942 done
48943
48944   else
48945
48946   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
48947 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
48948   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
48949     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
48950   echo $ECHO_N "(cached) $ECHO_C" >&6
48951 else
48952
48953
48954
48955       ac_ext=cc
48956 ac_cpp='$CXXCPP $CPPFLAGS'
48957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48960
48961       cat >conftest.$ac_ext <<_ACEOF
48962 /* confdefs.h.  */
48963 _ACEOF
48964 cat confdefs.h >>conftest.$ac_ext
48965 cat >>conftest.$ac_ext <<_ACEOF
48966 /* end confdefs.h.  */
48967 #include <math.h>
48968                       #ifdef HAVE_IEEEFP_H
48969                       #include <ieeefp.h>
48970                       #endif
48971
48972 int
48973 main ()
48974 {
48975  _sqrtl(0);
48976   ;
48977   return 0;
48978 }
48979 _ACEOF
48980 rm -f conftest.$ac_objext
48981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48982   (eval $ac_compile) 2>conftest.er1
48983   ac_status=$?
48984   grep -v '^ *+' conftest.er1 >conftest.err
48985   rm -f conftest.er1
48986   cat conftest.err >&5
48987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48988   (exit $ac_status); } &&
48989          { ac_try='test -z "$ac_cxx_werror_flag"
48990                          || test ! -s conftest.err'
48991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48992   (eval $ac_try) 2>&5
48993   ac_status=$?
48994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48995   (exit $ac_status); }; } &&
48996          { ac_try='test -s conftest.$ac_objext'
48997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48998   (eval $ac_try) 2>&5
48999   ac_status=$?
49000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49001   (exit $ac_status); }; }; then
49002   glibcxx_cv_func__sqrtl_use=yes
49003 else
49004   echo "$as_me: failed program was:" >&5
49005 sed 's/^/| /' conftest.$ac_ext >&5
49006
49007 glibcxx_cv_func__sqrtl_use=no
49008 fi
49009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49010       ac_ext=c
49011 ac_cpp='$CPP $CPPFLAGS'
49012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49015
49016
49017 fi
49018
49019   fi
49020   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
49021 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
49022
49023     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
49024
49025 for ac_func in _sqrtl
49026 do
49027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49028 echo "$as_me:$LINENO: checking for $ac_func" >&5
49029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49030 if eval "test \"\${$as_ac_var+set}\" = set"; then
49031   echo $ECHO_N "(cached) $ECHO_C" >&6
49032 else
49033   if test x$gcc_no_link = xyes; then
49034   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49036    { (exit 1); exit 1; }; }
49037 fi
49038 cat >conftest.$ac_ext <<_ACEOF
49039 /* confdefs.h.  */
49040 _ACEOF
49041 cat confdefs.h >>conftest.$ac_ext
49042 cat >>conftest.$ac_ext <<_ACEOF
49043 /* end confdefs.h.  */
49044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49045    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49046 #define $ac_func innocuous_$ac_func
49047
49048 /* System header to define __stub macros and hopefully few prototypes,
49049     which can conflict with char $ac_func (); below.
49050     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49051     <limits.h> exists even on freestanding compilers.  */
49052
49053 #ifdef __STDC__
49054 # include <limits.h>
49055 #else
49056 # include <assert.h>
49057 #endif
49058
49059 #undef $ac_func
49060
49061 /* Override any gcc2 internal prototype to avoid an error.  */
49062 #ifdef __cplusplus
49063 extern "C"
49064 {
49065 #endif
49066 /* We use char because int might match the return type of a gcc2
49067    builtin and then its argument prototype would still apply.  */
49068 char $ac_func ();
49069 /* The GNU C library defines this for functions which it implements
49070     to always fail with ENOSYS.  Some functions are actually named
49071     something starting with __ and the normal name is an alias.  */
49072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49073 choke me
49074 #else
49075 char (*f) () = $ac_func;
49076 #endif
49077 #ifdef __cplusplus
49078 }
49079 #endif
49080
49081 int
49082 main ()
49083 {
49084 return f != $ac_func;
49085   ;
49086   return 0;
49087 }
49088 _ACEOF
49089 rm -f conftest.$ac_objext conftest$ac_exeext
49090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49091   (eval $ac_link) 2>conftest.er1
49092   ac_status=$?
49093   grep -v '^ *+' conftest.er1 >conftest.err
49094   rm -f conftest.er1
49095   cat conftest.err >&5
49096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49097   (exit $ac_status); } &&
49098          { ac_try='test -z "$ac_c_werror_flag"
49099                          || test ! -s conftest.err'
49100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49101   (eval $ac_try) 2>&5
49102   ac_status=$?
49103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49104   (exit $ac_status); }; } &&
49105          { ac_try='test -s conftest$ac_exeext'
49106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49107   (eval $ac_try) 2>&5
49108   ac_status=$?
49109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49110   (exit $ac_status); }; }; then
49111   eval "$as_ac_var=yes"
49112 else
49113   echo "$as_me: failed program was:" >&5
49114 sed 's/^/| /' conftest.$ac_ext >&5
49115
49116 eval "$as_ac_var=no"
49117 fi
49118 rm -f conftest.err conftest.$ac_objext \
49119       conftest$ac_exeext conftest.$ac_ext
49120 fi
49121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49123 if test `eval echo '${'$as_ac_var'}'` = yes; then
49124   cat >>confdefs.h <<_ACEOF
49125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49126 _ACEOF
49127
49128 fi
49129 done
49130
49131     fi
49132   fi
49133
49134
49135
49136
49137
49138
49139   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
49140 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
49141   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
49142     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
49143   echo $ECHO_N "(cached) $ECHO_C" >&6
49144 else
49145
49146
49147
49148       ac_ext=cc
49149 ac_cpp='$CXXCPP $CPPFLAGS'
49150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49153
49154       cat >conftest.$ac_ext <<_ACEOF
49155 /* confdefs.h.  */
49156 _ACEOF
49157 cat confdefs.h >>conftest.$ac_ext
49158 cat >>conftest.$ac_ext <<_ACEOF
49159 /* end confdefs.h.  */
49160 #include <math.h>
49161 int
49162 main ()
49163 {
49164  sincosl(0, 0, 0);
49165   ;
49166   return 0;
49167 }
49168 _ACEOF
49169 rm -f conftest.$ac_objext
49170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49171   (eval $ac_compile) 2>conftest.er1
49172   ac_status=$?
49173   grep -v '^ *+' conftest.er1 >conftest.err
49174   rm -f conftest.er1
49175   cat conftest.err >&5
49176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49177   (exit $ac_status); } &&
49178          { ac_try='test -z "$ac_cxx_werror_flag"
49179                          || test ! -s conftest.err'
49180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49181   (eval $ac_try) 2>&5
49182   ac_status=$?
49183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49184   (exit $ac_status); }; } &&
49185          { ac_try='test -s conftest.$ac_objext'
49186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49187   (eval $ac_try) 2>&5
49188   ac_status=$?
49189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49190   (exit $ac_status); }; }; then
49191   glibcxx_cv_func_sincosl_use=yes
49192 else
49193   echo "$as_me: failed program was:" >&5
49194 sed 's/^/| /' conftest.$ac_ext >&5
49195
49196 glibcxx_cv_func_sincosl_use=no
49197 fi
49198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49199       ac_ext=c
49200 ac_cpp='$CPP $CPPFLAGS'
49201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49204
49205
49206 fi
49207
49208   fi
49209   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
49210 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
49211
49212   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
49213
49214 for ac_func in sincosl
49215 do
49216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49217 echo "$as_me:$LINENO: checking for $ac_func" >&5
49218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49219 if eval "test \"\${$as_ac_var+set}\" = set"; then
49220   echo $ECHO_N "(cached) $ECHO_C" >&6
49221 else
49222   if test x$gcc_no_link = xyes; then
49223   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49225    { (exit 1); exit 1; }; }
49226 fi
49227 cat >conftest.$ac_ext <<_ACEOF
49228 /* confdefs.h.  */
49229 _ACEOF
49230 cat confdefs.h >>conftest.$ac_ext
49231 cat >>conftest.$ac_ext <<_ACEOF
49232 /* end confdefs.h.  */
49233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49234    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49235 #define $ac_func innocuous_$ac_func
49236
49237 /* System header to define __stub macros and hopefully few prototypes,
49238     which can conflict with char $ac_func (); below.
49239     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49240     <limits.h> exists even on freestanding compilers.  */
49241
49242 #ifdef __STDC__
49243 # include <limits.h>
49244 #else
49245 # include <assert.h>
49246 #endif
49247
49248 #undef $ac_func
49249
49250 /* Override any gcc2 internal prototype to avoid an error.  */
49251 #ifdef __cplusplus
49252 extern "C"
49253 {
49254 #endif
49255 /* We use char because int might match the return type of a gcc2
49256    builtin and then its argument prototype would still apply.  */
49257 char $ac_func ();
49258 /* The GNU C library defines this for functions which it implements
49259     to always fail with ENOSYS.  Some functions are actually named
49260     something starting with __ and the normal name is an alias.  */
49261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49262 choke me
49263 #else
49264 char (*f) () = $ac_func;
49265 #endif
49266 #ifdef __cplusplus
49267 }
49268 #endif
49269
49270 int
49271 main ()
49272 {
49273 return f != $ac_func;
49274   ;
49275   return 0;
49276 }
49277 _ACEOF
49278 rm -f conftest.$ac_objext conftest$ac_exeext
49279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49280   (eval $ac_link) 2>conftest.er1
49281   ac_status=$?
49282   grep -v '^ *+' conftest.er1 >conftest.err
49283   rm -f conftest.er1
49284   cat conftest.err >&5
49285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49286   (exit $ac_status); } &&
49287          { ac_try='test -z "$ac_c_werror_flag"
49288                          || test ! -s conftest.err'
49289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49290   (eval $ac_try) 2>&5
49291   ac_status=$?
49292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49293   (exit $ac_status); }; } &&
49294          { ac_try='test -s conftest$ac_exeext'
49295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49296   (eval $ac_try) 2>&5
49297   ac_status=$?
49298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49299   (exit $ac_status); }; }; then
49300   eval "$as_ac_var=yes"
49301 else
49302   echo "$as_me: failed program was:" >&5
49303 sed 's/^/| /' conftest.$ac_ext >&5
49304
49305 eval "$as_ac_var=no"
49306 fi
49307 rm -f conftest.err conftest.$ac_objext \
49308       conftest$ac_exeext conftest.$ac_ext
49309 fi
49310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49312 if test `eval echo '${'$as_ac_var'}'` = yes; then
49313   cat >>confdefs.h <<_ACEOF
49314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49315 _ACEOF
49316
49317 fi
49318 done
49319
49320   else
49321
49322   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
49323 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
49324   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
49325     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
49326   echo $ECHO_N "(cached) $ECHO_C" >&6
49327 else
49328
49329
49330
49331       ac_ext=cc
49332 ac_cpp='$CXXCPP $CPPFLAGS'
49333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49336
49337       cat >conftest.$ac_ext <<_ACEOF
49338 /* confdefs.h.  */
49339 _ACEOF
49340 cat confdefs.h >>conftest.$ac_ext
49341 cat >>conftest.$ac_ext <<_ACEOF
49342 /* end confdefs.h.  */
49343 #include <math.h>
49344 int
49345 main ()
49346 {
49347  _sincosl(0, 0, 0);
49348   ;
49349   return 0;
49350 }
49351 _ACEOF
49352 rm -f conftest.$ac_objext
49353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49354   (eval $ac_compile) 2>conftest.er1
49355   ac_status=$?
49356   grep -v '^ *+' conftest.er1 >conftest.err
49357   rm -f conftest.er1
49358   cat conftest.err >&5
49359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49360   (exit $ac_status); } &&
49361          { ac_try='test -z "$ac_cxx_werror_flag"
49362                          || test ! -s conftest.err'
49363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49364   (eval $ac_try) 2>&5
49365   ac_status=$?
49366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49367   (exit $ac_status); }; } &&
49368          { ac_try='test -s conftest.$ac_objext'
49369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49370   (eval $ac_try) 2>&5
49371   ac_status=$?
49372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49373   (exit $ac_status); }; }; then
49374   glibcxx_cv_func__sincosl_use=yes
49375 else
49376   echo "$as_me: failed program was:" >&5
49377 sed 's/^/| /' conftest.$ac_ext >&5
49378
49379 glibcxx_cv_func__sincosl_use=no
49380 fi
49381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49382       ac_ext=c
49383 ac_cpp='$CPP $CPPFLAGS'
49384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49387
49388
49389 fi
49390
49391   fi
49392   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
49393 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
49394
49395     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
49396
49397 for ac_func in _sincosl
49398 do
49399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49400 echo "$as_me:$LINENO: checking for $ac_func" >&5
49401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49402 if eval "test \"\${$as_ac_var+set}\" = set"; then
49403   echo $ECHO_N "(cached) $ECHO_C" >&6
49404 else
49405   if test x$gcc_no_link = xyes; then
49406   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49408    { (exit 1); exit 1; }; }
49409 fi
49410 cat >conftest.$ac_ext <<_ACEOF
49411 /* confdefs.h.  */
49412 _ACEOF
49413 cat confdefs.h >>conftest.$ac_ext
49414 cat >>conftest.$ac_ext <<_ACEOF
49415 /* end confdefs.h.  */
49416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49417    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49418 #define $ac_func innocuous_$ac_func
49419
49420 /* System header to define __stub macros and hopefully few prototypes,
49421     which can conflict with char $ac_func (); below.
49422     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49423     <limits.h> exists even on freestanding compilers.  */
49424
49425 #ifdef __STDC__
49426 # include <limits.h>
49427 #else
49428 # include <assert.h>
49429 #endif
49430
49431 #undef $ac_func
49432
49433 /* Override any gcc2 internal prototype to avoid an error.  */
49434 #ifdef __cplusplus
49435 extern "C"
49436 {
49437 #endif
49438 /* We use char because int might match the return type of a gcc2
49439    builtin and then its argument prototype would still apply.  */
49440 char $ac_func ();
49441 /* The GNU C library defines this for functions which it implements
49442     to always fail with ENOSYS.  Some functions are actually named
49443     something starting with __ and the normal name is an alias.  */
49444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49445 choke me
49446 #else
49447 char (*f) () = $ac_func;
49448 #endif
49449 #ifdef __cplusplus
49450 }
49451 #endif
49452
49453 int
49454 main ()
49455 {
49456 return f != $ac_func;
49457   ;
49458   return 0;
49459 }
49460 _ACEOF
49461 rm -f conftest.$ac_objext conftest$ac_exeext
49462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49463   (eval $ac_link) 2>conftest.er1
49464   ac_status=$?
49465   grep -v '^ *+' conftest.er1 >conftest.err
49466   rm -f conftest.er1
49467   cat conftest.err >&5
49468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49469   (exit $ac_status); } &&
49470          { ac_try='test -z "$ac_c_werror_flag"
49471                          || test ! -s conftest.err'
49472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49473   (eval $ac_try) 2>&5
49474   ac_status=$?
49475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49476   (exit $ac_status); }; } &&
49477          { ac_try='test -s conftest$ac_exeext'
49478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49479   (eval $ac_try) 2>&5
49480   ac_status=$?
49481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49482   (exit $ac_status); }; }; then
49483   eval "$as_ac_var=yes"
49484 else
49485   echo "$as_me: failed program was:" >&5
49486 sed 's/^/| /' conftest.$ac_ext >&5
49487
49488 eval "$as_ac_var=no"
49489 fi
49490 rm -f conftest.err conftest.$ac_objext \
49491       conftest$ac_exeext conftest.$ac_ext
49492 fi
49493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49495 if test `eval echo '${'$as_ac_var'}'` = yes; then
49496   cat >>confdefs.h <<_ACEOF
49497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49498 _ACEOF
49499
49500 fi
49501 done
49502
49503     fi
49504   fi
49505
49506
49507
49508
49509
49510
49511   echo "$as_me:$LINENO: checking for finitel declaration" >&5
49512 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
49513   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
49514     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
49515   echo $ECHO_N "(cached) $ECHO_C" >&6
49516 else
49517
49518
49519
49520       ac_ext=cc
49521 ac_cpp='$CXXCPP $CPPFLAGS'
49522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49525
49526       cat >conftest.$ac_ext <<_ACEOF
49527 /* confdefs.h.  */
49528 _ACEOF
49529 cat confdefs.h >>conftest.$ac_ext
49530 cat >>conftest.$ac_ext <<_ACEOF
49531 /* end confdefs.h.  */
49532 #include <math.h>
49533                       #ifdef HAVE_IEEEFP_H
49534                       #include <ieeefp.h>
49535                       #endif
49536
49537 int
49538 main ()
49539 {
49540  finitel(0);
49541   ;
49542   return 0;
49543 }
49544 _ACEOF
49545 rm -f conftest.$ac_objext
49546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49547   (eval $ac_compile) 2>conftest.er1
49548   ac_status=$?
49549   grep -v '^ *+' conftest.er1 >conftest.err
49550   rm -f conftest.er1
49551   cat conftest.err >&5
49552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49553   (exit $ac_status); } &&
49554          { ac_try='test -z "$ac_cxx_werror_flag"
49555                          || test ! -s conftest.err'
49556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49557   (eval $ac_try) 2>&5
49558   ac_status=$?
49559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49560   (exit $ac_status); }; } &&
49561          { ac_try='test -s conftest.$ac_objext'
49562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49563   (eval $ac_try) 2>&5
49564   ac_status=$?
49565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49566   (exit $ac_status); }; }; then
49567   glibcxx_cv_func_finitel_use=yes
49568 else
49569   echo "$as_me: failed program was:" >&5
49570 sed 's/^/| /' conftest.$ac_ext >&5
49571
49572 glibcxx_cv_func_finitel_use=no
49573 fi
49574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49575       ac_ext=c
49576 ac_cpp='$CPP $CPPFLAGS'
49577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49580
49581
49582 fi
49583
49584   fi
49585   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
49586 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
49587
49588   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
49589
49590 for ac_func in finitel
49591 do
49592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49593 echo "$as_me:$LINENO: checking for $ac_func" >&5
49594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49595 if eval "test \"\${$as_ac_var+set}\" = set"; then
49596   echo $ECHO_N "(cached) $ECHO_C" >&6
49597 else
49598   if test x$gcc_no_link = xyes; then
49599   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49601    { (exit 1); exit 1; }; }
49602 fi
49603 cat >conftest.$ac_ext <<_ACEOF
49604 /* confdefs.h.  */
49605 _ACEOF
49606 cat confdefs.h >>conftest.$ac_ext
49607 cat >>conftest.$ac_ext <<_ACEOF
49608 /* end confdefs.h.  */
49609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49610    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49611 #define $ac_func innocuous_$ac_func
49612
49613 /* System header to define __stub macros and hopefully few prototypes,
49614     which can conflict with char $ac_func (); below.
49615     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49616     <limits.h> exists even on freestanding compilers.  */
49617
49618 #ifdef __STDC__
49619 # include <limits.h>
49620 #else
49621 # include <assert.h>
49622 #endif
49623
49624 #undef $ac_func
49625
49626 /* Override any gcc2 internal prototype to avoid an error.  */
49627 #ifdef __cplusplus
49628 extern "C"
49629 {
49630 #endif
49631 /* We use char because int might match the return type of a gcc2
49632    builtin and then its argument prototype would still apply.  */
49633 char $ac_func ();
49634 /* The GNU C library defines this for functions which it implements
49635     to always fail with ENOSYS.  Some functions are actually named
49636     something starting with __ and the normal name is an alias.  */
49637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49638 choke me
49639 #else
49640 char (*f) () = $ac_func;
49641 #endif
49642 #ifdef __cplusplus
49643 }
49644 #endif
49645
49646 int
49647 main ()
49648 {
49649 return f != $ac_func;
49650   ;
49651   return 0;
49652 }
49653 _ACEOF
49654 rm -f conftest.$ac_objext conftest$ac_exeext
49655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49656   (eval $ac_link) 2>conftest.er1
49657   ac_status=$?
49658   grep -v '^ *+' conftest.er1 >conftest.err
49659   rm -f conftest.er1
49660   cat conftest.err >&5
49661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49662   (exit $ac_status); } &&
49663          { ac_try='test -z "$ac_c_werror_flag"
49664                          || test ! -s conftest.err'
49665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49666   (eval $ac_try) 2>&5
49667   ac_status=$?
49668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49669   (exit $ac_status); }; } &&
49670          { ac_try='test -s conftest$ac_exeext'
49671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49672   (eval $ac_try) 2>&5
49673   ac_status=$?
49674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49675   (exit $ac_status); }; }; then
49676   eval "$as_ac_var=yes"
49677 else
49678   echo "$as_me: failed program was:" >&5
49679 sed 's/^/| /' conftest.$ac_ext >&5
49680
49681 eval "$as_ac_var=no"
49682 fi
49683 rm -f conftest.err conftest.$ac_objext \
49684       conftest$ac_exeext conftest.$ac_ext
49685 fi
49686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49688 if test `eval echo '${'$as_ac_var'}'` = yes; then
49689   cat >>confdefs.h <<_ACEOF
49690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49691 _ACEOF
49692
49693 fi
49694 done
49695
49696   else
49697
49698   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
49699 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
49700   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
49701     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
49702   echo $ECHO_N "(cached) $ECHO_C" >&6
49703 else
49704
49705
49706
49707       ac_ext=cc
49708 ac_cpp='$CXXCPP $CPPFLAGS'
49709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49712
49713       cat >conftest.$ac_ext <<_ACEOF
49714 /* confdefs.h.  */
49715 _ACEOF
49716 cat confdefs.h >>conftest.$ac_ext
49717 cat >>conftest.$ac_ext <<_ACEOF
49718 /* end confdefs.h.  */
49719 #include <math.h>
49720                       #ifdef HAVE_IEEEFP_H
49721                       #include <ieeefp.h>
49722                       #endif
49723
49724 int
49725 main ()
49726 {
49727  _finitel(0);
49728   ;
49729   return 0;
49730 }
49731 _ACEOF
49732 rm -f conftest.$ac_objext
49733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49734   (eval $ac_compile) 2>conftest.er1
49735   ac_status=$?
49736   grep -v '^ *+' conftest.er1 >conftest.err
49737   rm -f conftest.er1
49738   cat conftest.err >&5
49739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49740   (exit $ac_status); } &&
49741          { ac_try='test -z "$ac_cxx_werror_flag"
49742                          || test ! -s conftest.err'
49743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49744   (eval $ac_try) 2>&5
49745   ac_status=$?
49746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49747   (exit $ac_status); }; } &&
49748          { ac_try='test -s conftest.$ac_objext'
49749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49750   (eval $ac_try) 2>&5
49751   ac_status=$?
49752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49753   (exit $ac_status); }; }; then
49754   glibcxx_cv_func__finitel_use=yes
49755 else
49756   echo "$as_me: failed program was:" >&5
49757 sed 's/^/| /' conftest.$ac_ext >&5
49758
49759 glibcxx_cv_func__finitel_use=no
49760 fi
49761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49762       ac_ext=c
49763 ac_cpp='$CPP $CPPFLAGS'
49764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49767
49768
49769 fi
49770
49771   fi
49772   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
49773 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
49774
49775     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
49776
49777 for ac_func in _finitel
49778 do
49779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49780 echo "$as_me:$LINENO: checking for $ac_func" >&5
49781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49782 if eval "test \"\${$as_ac_var+set}\" = set"; then
49783   echo $ECHO_N "(cached) $ECHO_C" >&6
49784 else
49785   if test x$gcc_no_link = xyes; then
49786   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49788    { (exit 1); exit 1; }; }
49789 fi
49790 cat >conftest.$ac_ext <<_ACEOF
49791 /* confdefs.h.  */
49792 _ACEOF
49793 cat confdefs.h >>conftest.$ac_ext
49794 cat >>conftest.$ac_ext <<_ACEOF
49795 /* end confdefs.h.  */
49796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49797    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49798 #define $ac_func innocuous_$ac_func
49799
49800 /* System header to define __stub macros and hopefully few prototypes,
49801     which can conflict with char $ac_func (); below.
49802     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49803     <limits.h> exists even on freestanding compilers.  */
49804
49805 #ifdef __STDC__
49806 # include <limits.h>
49807 #else
49808 # include <assert.h>
49809 #endif
49810
49811 #undef $ac_func
49812
49813 /* Override any gcc2 internal prototype to avoid an error.  */
49814 #ifdef __cplusplus
49815 extern "C"
49816 {
49817 #endif
49818 /* We use char because int might match the return type of a gcc2
49819    builtin and then its argument prototype would still apply.  */
49820 char $ac_func ();
49821 /* The GNU C library defines this for functions which it implements
49822     to always fail with ENOSYS.  Some functions are actually named
49823     something starting with __ and the normal name is an alias.  */
49824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49825 choke me
49826 #else
49827 char (*f) () = $ac_func;
49828 #endif
49829 #ifdef __cplusplus
49830 }
49831 #endif
49832
49833 int
49834 main ()
49835 {
49836 return f != $ac_func;
49837   ;
49838   return 0;
49839 }
49840 _ACEOF
49841 rm -f conftest.$ac_objext conftest$ac_exeext
49842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49843   (eval $ac_link) 2>conftest.er1
49844   ac_status=$?
49845   grep -v '^ *+' conftest.er1 >conftest.err
49846   rm -f conftest.er1
49847   cat conftest.err >&5
49848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49849   (exit $ac_status); } &&
49850          { ac_try='test -z "$ac_c_werror_flag"
49851                          || test ! -s conftest.err'
49852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49853   (eval $ac_try) 2>&5
49854   ac_status=$?
49855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49856   (exit $ac_status); }; } &&
49857          { ac_try='test -s conftest$ac_exeext'
49858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49859   (eval $ac_try) 2>&5
49860   ac_status=$?
49861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49862   (exit $ac_status); }; }; then
49863   eval "$as_ac_var=yes"
49864 else
49865   echo "$as_me: failed program was:" >&5
49866 sed 's/^/| /' conftest.$ac_ext >&5
49867
49868 eval "$as_ac_var=no"
49869 fi
49870 rm -f conftest.err conftest.$ac_objext \
49871       conftest$ac_exeext conftest.$ac_ext
49872 fi
49873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49875 if test `eval echo '${'$as_ac_var'}'` = yes; then
49876   cat >>confdefs.h <<_ACEOF
49877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49878 _ACEOF
49879
49880 fi
49881 done
49882
49883     fi
49884   fi
49885
49886
49887
49888
49889
49890   LIBS="$ac_save_LIBS"
49891   CXXFLAGS="$ac_save_CXXFLAGS"
49892
49893
49894
49895   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
49896 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
49897   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
49898     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
49899   echo $ECHO_N "(cached) $ECHO_C" >&6
49900 else
49901
49902
49903
49904       ac_ext=cc
49905 ac_cpp='$CXXCPP $CPPFLAGS'
49906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49909
49910       cat >conftest.$ac_ext <<_ACEOF
49911 /* confdefs.h.  */
49912 _ACEOF
49913 cat confdefs.h >>conftest.$ac_ext
49914 cat >>conftest.$ac_ext <<_ACEOF
49915 /* end confdefs.h.  */
49916 #include <math.h>
49917 int
49918 main ()
49919 {
49920  __builtin_abs(0);
49921   ;
49922   return 0;
49923 }
49924 _ACEOF
49925 rm -f conftest.$ac_objext
49926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49927   (eval $ac_compile) 2>conftest.er1
49928   ac_status=$?
49929   grep -v '^ *+' conftest.er1 >conftest.err
49930   rm -f conftest.er1
49931   cat conftest.err >&5
49932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49933   (exit $ac_status); } &&
49934          { ac_try='test -z "$ac_cxx_werror_flag"
49935                          || test ! -s conftest.err'
49936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49937   (eval $ac_try) 2>&5
49938   ac_status=$?
49939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49940   (exit $ac_status); }; } &&
49941          { ac_try='test -s conftest.$ac_objext'
49942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49943   (eval $ac_try) 2>&5
49944   ac_status=$?
49945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49946   (exit $ac_status); }; }; then
49947   glibcxx_cv_func___builtin_abs_use=yes
49948 else
49949   echo "$as_me: failed program was:" >&5
49950 sed 's/^/| /' conftest.$ac_ext >&5
49951
49952 glibcxx_cv_func___builtin_abs_use=no
49953 fi
49954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49955       ac_ext=c
49956 ac_cpp='$CPP $CPPFLAGS'
49957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49960
49961
49962 fi
49963
49964   fi
49965   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
49966 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
49967   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
49968     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
49969 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
49970     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
49971       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
49972   echo $ECHO_N "(cached) $ECHO_C" >&6
49973 else
49974
49975         if test x$gcc_no_link = xyes; then
49976   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49978    { (exit 1); exit 1; }; }
49979 fi
49980 cat >conftest.$ac_ext <<_ACEOF
49981 /* confdefs.h.  */
49982 _ACEOF
49983 cat confdefs.h >>conftest.$ac_ext
49984 cat >>conftest.$ac_ext <<_ACEOF
49985 /* end confdefs.h.  */
49986 #include <math.h>
49987 int
49988 main ()
49989 {
49990  __builtin_abs(0);
49991   ;
49992   return 0;
49993 }
49994 _ACEOF
49995 rm -f conftest.$ac_objext conftest$ac_exeext
49996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49997   (eval $ac_link) 2>conftest.er1
49998   ac_status=$?
49999   grep -v '^ *+' conftest.er1 >conftest.err
50000   rm -f conftest.er1
50001   cat conftest.err >&5
50002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50003   (exit $ac_status); } &&
50004          { ac_try='test -z "$ac_c_werror_flag"
50005                          || test ! -s conftest.err'
50006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50007   (eval $ac_try) 2>&5
50008   ac_status=$?
50009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50010   (exit $ac_status); }; } &&
50011          { ac_try='test -s conftest$ac_exeext'
50012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50013   (eval $ac_try) 2>&5
50014   ac_status=$?
50015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50016   (exit $ac_status); }; }; then
50017   glibcxx_cv_func___builtin_abs_link=yes
50018 else
50019   echo "$as_me: failed program was:" >&5
50020 sed 's/^/| /' conftest.$ac_ext >&5
50021
50022 glibcxx_cv_func___builtin_abs_link=no
50023 fi
50024 rm -f conftest.err conftest.$ac_objext \
50025       conftest$ac_exeext conftest.$ac_ext
50026
50027 fi
50028
50029     fi
50030     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
50031 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
50032
50033     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
50034
50035 cat >>confdefs.h <<\_ACEOF
50036 #define HAVE___BUILTIN_ABS 1
50037 _ACEOF
50038
50039     fi
50040
50041   fi
50042
50043
50044   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
50045 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
50046   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
50047     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
50048   echo $ECHO_N "(cached) $ECHO_C" >&6
50049 else
50050
50051
50052
50053       ac_ext=cc
50054 ac_cpp='$CXXCPP $CPPFLAGS'
50055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50058
50059       cat >conftest.$ac_ext <<_ACEOF
50060 /* confdefs.h.  */
50061 _ACEOF
50062 cat confdefs.h >>conftest.$ac_ext
50063 cat >>conftest.$ac_ext <<_ACEOF
50064 /* end confdefs.h.  */
50065 #include <math.h>
50066 int
50067 main ()
50068 {
50069  __builtin_fabsf(0);
50070   ;
50071   return 0;
50072 }
50073 _ACEOF
50074 rm -f conftest.$ac_objext
50075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50076   (eval $ac_compile) 2>conftest.er1
50077   ac_status=$?
50078   grep -v '^ *+' conftest.er1 >conftest.err
50079   rm -f conftest.er1
50080   cat conftest.err >&5
50081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50082   (exit $ac_status); } &&
50083          { ac_try='test -z "$ac_cxx_werror_flag"
50084                          || test ! -s conftest.err'
50085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50086   (eval $ac_try) 2>&5
50087   ac_status=$?
50088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50089   (exit $ac_status); }; } &&
50090          { ac_try='test -s conftest.$ac_objext'
50091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50092   (eval $ac_try) 2>&5
50093   ac_status=$?
50094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50095   (exit $ac_status); }; }; then
50096   glibcxx_cv_func___builtin_fabsf_use=yes
50097 else
50098   echo "$as_me: failed program was:" >&5
50099 sed 's/^/| /' conftest.$ac_ext >&5
50100
50101 glibcxx_cv_func___builtin_fabsf_use=no
50102 fi
50103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50104       ac_ext=c
50105 ac_cpp='$CPP $CPPFLAGS'
50106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50109
50110
50111 fi
50112
50113   fi
50114   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
50115 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
50116   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
50117     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
50118 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
50119     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
50120       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
50121   echo $ECHO_N "(cached) $ECHO_C" >&6
50122 else
50123
50124         if test x$gcc_no_link = xyes; then
50125   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50127    { (exit 1); exit 1; }; }
50128 fi
50129 cat >conftest.$ac_ext <<_ACEOF
50130 /* confdefs.h.  */
50131 _ACEOF
50132 cat confdefs.h >>conftest.$ac_ext
50133 cat >>conftest.$ac_ext <<_ACEOF
50134 /* end confdefs.h.  */
50135 #include <math.h>
50136 int
50137 main ()
50138 {
50139  __builtin_fabsf(0);
50140   ;
50141   return 0;
50142 }
50143 _ACEOF
50144 rm -f conftest.$ac_objext conftest$ac_exeext
50145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50146   (eval $ac_link) 2>conftest.er1
50147   ac_status=$?
50148   grep -v '^ *+' conftest.er1 >conftest.err
50149   rm -f conftest.er1
50150   cat conftest.err >&5
50151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50152   (exit $ac_status); } &&
50153          { ac_try='test -z "$ac_c_werror_flag"
50154                          || test ! -s conftest.err'
50155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50156   (eval $ac_try) 2>&5
50157   ac_status=$?
50158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50159   (exit $ac_status); }; } &&
50160          { ac_try='test -s conftest$ac_exeext'
50161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50162   (eval $ac_try) 2>&5
50163   ac_status=$?
50164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50165   (exit $ac_status); }; }; then
50166   glibcxx_cv_func___builtin_fabsf_link=yes
50167 else
50168   echo "$as_me: failed program was:" >&5
50169 sed 's/^/| /' conftest.$ac_ext >&5
50170
50171 glibcxx_cv_func___builtin_fabsf_link=no
50172 fi
50173 rm -f conftest.err conftest.$ac_objext \
50174       conftest$ac_exeext conftest.$ac_ext
50175
50176 fi
50177
50178     fi
50179     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
50180 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
50181
50182     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
50183
50184 cat >>confdefs.h <<\_ACEOF
50185 #define HAVE___BUILTIN_FABSF 1
50186 _ACEOF
50187
50188     fi
50189
50190   fi
50191
50192
50193   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
50194 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
50195   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
50196     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
50197   echo $ECHO_N "(cached) $ECHO_C" >&6
50198 else
50199
50200
50201
50202       ac_ext=cc
50203 ac_cpp='$CXXCPP $CPPFLAGS'
50204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50207
50208       cat >conftest.$ac_ext <<_ACEOF
50209 /* confdefs.h.  */
50210 _ACEOF
50211 cat confdefs.h >>conftest.$ac_ext
50212 cat >>conftest.$ac_ext <<_ACEOF
50213 /* end confdefs.h.  */
50214 #include <math.h>
50215 int
50216 main ()
50217 {
50218  __builtin_fabs(0);
50219   ;
50220   return 0;
50221 }
50222 _ACEOF
50223 rm -f conftest.$ac_objext
50224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50225   (eval $ac_compile) 2>conftest.er1
50226   ac_status=$?
50227   grep -v '^ *+' conftest.er1 >conftest.err
50228   rm -f conftest.er1
50229   cat conftest.err >&5
50230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50231   (exit $ac_status); } &&
50232          { ac_try='test -z "$ac_cxx_werror_flag"
50233                          || test ! -s conftest.err'
50234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50235   (eval $ac_try) 2>&5
50236   ac_status=$?
50237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50238   (exit $ac_status); }; } &&
50239          { ac_try='test -s conftest.$ac_objext'
50240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50241   (eval $ac_try) 2>&5
50242   ac_status=$?
50243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50244   (exit $ac_status); }; }; then
50245   glibcxx_cv_func___builtin_fabs_use=yes
50246 else
50247   echo "$as_me: failed program was:" >&5
50248 sed 's/^/| /' conftest.$ac_ext >&5
50249
50250 glibcxx_cv_func___builtin_fabs_use=no
50251 fi
50252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50253       ac_ext=c
50254 ac_cpp='$CPP $CPPFLAGS'
50255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50258
50259
50260 fi
50261
50262   fi
50263   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
50264 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
50265   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
50266     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
50267 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
50268     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
50269       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
50270   echo $ECHO_N "(cached) $ECHO_C" >&6
50271 else
50272
50273         if test x$gcc_no_link = xyes; then
50274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50276    { (exit 1); exit 1; }; }
50277 fi
50278 cat >conftest.$ac_ext <<_ACEOF
50279 /* confdefs.h.  */
50280 _ACEOF
50281 cat confdefs.h >>conftest.$ac_ext
50282 cat >>conftest.$ac_ext <<_ACEOF
50283 /* end confdefs.h.  */
50284 #include <math.h>
50285 int
50286 main ()
50287 {
50288  __builtin_fabs(0);
50289   ;
50290   return 0;
50291 }
50292 _ACEOF
50293 rm -f conftest.$ac_objext conftest$ac_exeext
50294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50295   (eval $ac_link) 2>conftest.er1
50296   ac_status=$?
50297   grep -v '^ *+' conftest.er1 >conftest.err
50298   rm -f conftest.er1
50299   cat conftest.err >&5
50300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50301   (exit $ac_status); } &&
50302          { ac_try='test -z "$ac_c_werror_flag"
50303                          || test ! -s conftest.err'
50304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50305   (eval $ac_try) 2>&5
50306   ac_status=$?
50307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50308   (exit $ac_status); }; } &&
50309          { ac_try='test -s conftest$ac_exeext'
50310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50311   (eval $ac_try) 2>&5
50312   ac_status=$?
50313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50314   (exit $ac_status); }; }; then
50315   glibcxx_cv_func___builtin_fabs_link=yes
50316 else
50317   echo "$as_me: failed program was:" >&5
50318 sed 's/^/| /' conftest.$ac_ext >&5
50319
50320 glibcxx_cv_func___builtin_fabs_link=no
50321 fi
50322 rm -f conftest.err conftest.$ac_objext \
50323       conftest$ac_exeext conftest.$ac_ext
50324
50325 fi
50326
50327     fi
50328     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
50329 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
50330
50331     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
50332
50333 cat >>confdefs.h <<\_ACEOF
50334 #define HAVE___BUILTIN_FABS 1
50335 _ACEOF
50336
50337     fi
50338
50339   fi
50340
50341
50342   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
50343 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
50344   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
50345     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
50346   echo $ECHO_N "(cached) $ECHO_C" >&6
50347 else
50348
50349
50350
50351       ac_ext=cc
50352 ac_cpp='$CXXCPP $CPPFLAGS'
50353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50356
50357       cat >conftest.$ac_ext <<_ACEOF
50358 /* confdefs.h.  */
50359 _ACEOF
50360 cat confdefs.h >>conftest.$ac_ext
50361 cat >>conftest.$ac_ext <<_ACEOF
50362 /* end confdefs.h.  */
50363 #include <math.h>
50364 int
50365 main ()
50366 {
50367  __builtin_fabsl(0);
50368   ;
50369   return 0;
50370 }
50371 _ACEOF
50372 rm -f conftest.$ac_objext
50373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50374   (eval $ac_compile) 2>conftest.er1
50375   ac_status=$?
50376   grep -v '^ *+' conftest.er1 >conftest.err
50377   rm -f conftest.er1
50378   cat conftest.err >&5
50379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50380   (exit $ac_status); } &&
50381          { ac_try='test -z "$ac_cxx_werror_flag"
50382                          || test ! -s conftest.err'
50383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50384   (eval $ac_try) 2>&5
50385   ac_status=$?
50386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50387   (exit $ac_status); }; } &&
50388          { ac_try='test -s conftest.$ac_objext'
50389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50390   (eval $ac_try) 2>&5
50391   ac_status=$?
50392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50393   (exit $ac_status); }; }; then
50394   glibcxx_cv_func___builtin_fabsl_use=yes
50395 else
50396   echo "$as_me: failed program was:" >&5
50397 sed 's/^/| /' conftest.$ac_ext >&5
50398
50399 glibcxx_cv_func___builtin_fabsl_use=no
50400 fi
50401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50402       ac_ext=c
50403 ac_cpp='$CPP $CPPFLAGS'
50404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50407
50408
50409 fi
50410
50411   fi
50412   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
50413 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
50414   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
50415     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
50416 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
50417     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
50418       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
50419   echo $ECHO_N "(cached) $ECHO_C" >&6
50420 else
50421
50422         if test x$gcc_no_link = xyes; then
50423   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50425    { (exit 1); exit 1; }; }
50426 fi
50427 cat >conftest.$ac_ext <<_ACEOF
50428 /* confdefs.h.  */
50429 _ACEOF
50430 cat confdefs.h >>conftest.$ac_ext
50431 cat >>conftest.$ac_ext <<_ACEOF
50432 /* end confdefs.h.  */
50433 #include <math.h>
50434 int
50435 main ()
50436 {
50437  __builtin_fabsl(0);
50438   ;
50439   return 0;
50440 }
50441 _ACEOF
50442 rm -f conftest.$ac_objext conftest$ac_exeext
50443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50444   (eval $ac_link) 2>conftest.er1
50445   ac_status=$?
50446   grep -v '^ *+' conftest.er1 >conftest.err
50447   rm -f conftest.er1
50448   cat conftest.err >&5
50449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50450   (exit $ac_status); } &&
50451          { ac_try='test -z "$ac_c_werror_flag"
50452                          || test ! -s conftest.err'
50453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50454   (eval $ac_try) 2>&5
50455   ac_status=$?
50456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50457   (exit $ac_status); }; } &&
50458          { ac_try='test -s conftest$ac_exeext'
50459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50460   (eval $ac_try) 2>&5
50461   ac_status=$?
50462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50463   (exit $ac_status); }; }; then
50464   glibcxx_cv_func___builtin_fabsl_link=yes
50465 else
50466   echo "$as_me: failed program was:" >&5
50467 sed 's/^/| /' conftest.$ac_ext >&5
50468
50469 glibcxx_cv_func___builtin_fabsl_link=no
50470 fi
50471 rm -f conftest.err conftest.$ac_objext \
50472       conftest$ac_exeext conftest.$ac_ext
50473
50474 fi
50475
50476     fi
50477     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
50478 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
50479
50480     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
50481
50482 cat >>confdefs.h <<\_ACEOF
50483 #define HAVE___BUILTIN_FABSL 1
50484 _ACEOF
50485
50486     fi
50487
50488   fi
50489
50490
50491   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
50492 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
50493   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
50494     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
50495   echo $ECHO_N "(cached) $ECHO_C" >&6
50496 else
50497
50498
50499
50500       ac_ext=cc
50501 ac_cpp='$CXXCPP $CPPFLAGS'
50502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50505
50506       cat >conftest.$ac_ext <<_ACEOF
50507 /* confdefs.h.  */
50508 _ACEOF
50509 cat confdefs.h >>conftest.$ac_ext
50510 cat >>conftest.$ac_ext <<_ACEOF
50511 /* end confdefs.h.  */
50512 #include <math.h>
50513 int
50514 main ()
50515 {
50516  __builtin_labs(0);
50517   ;
50518   return 0;
50519 }
50520 _ACEOF
50521 rm -f conftest.$ac_objext
50522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50523   (eval $ac_compile) 2>conftest.er1
50524   ac_status=$?
50525   grep -v '^ *+' conftest.er1 >conftest.err
50526   rm -f conftest.er1
50527   cat conftest.err >&5
50528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50529   (exit $ac_status); } &&
50530          { ac_try='test -z "$ac_cxx_werror_flag"
50531                          || test ! -s conftest.err'
50532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50533   (eval $ac_try) 2>&5
50534   ac_status=$?
50535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50536   (exit $ac_status); }; } &&
50537          { ac_try='test -s conftest.$ac_objext'
50538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50539   (eval $ac_try) 2>&5
50540   ac_status=$?
50541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50542   (exit $ac_status); }; }; then
50543   glibcxx_cv_func___builtin_labs_use=yes
50544 else
50545   echo "$as_me: failed program was:" >&5
50546 sed 's/^/| /' conftest.$ac_ext >&5
50547
50548 glibcxx_cv_func___builtin_labs_use=no
50549 fi
50550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50551       ac_ext=c
50552 ac_cpp='$CPP $CPPFLAGS'
50553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50556
50557
50558 fi
50559
50560   fi
50561   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
50562 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
50563   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
50564     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
50565 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
50566     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
50567       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
50568   echo $ECHO_N "(cached) $ECHO_C" >&6
50569 else
50570
50571         if test x$gcc_no_link = xyes; then
50572   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50574    { (exit 1); exit 1; }; }
50575 fi
50576 cat >conftest.$ac_ext <<_ACEOF
50577 /* confdefs.h.  */
50578 _ACEOF
50579 cat confdefs.h >>conftest.$ac_ext
50580 cat >>conftest.$ac_ext <<_ACEOF
50581 /* end confdefs.h.  */
50582 #include <math.h>
50583 int
50584 main ()
50585 {
50586  __builtin_labs(0);
50587   ;
50588   return 0;
50589 }
50590 _ACEOF
50591 rm -f conftest.$ac_objext conftest$ac_exeext
50592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50593   (eval $ac_link) 2>conftest.er1
50594   ac_status=$?
50595   grep -v '^ *+' conftest.er1 >conftest.err
50596   rm -f conftest.er1
50597   cat conftest.err >&5
50598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50599   (exit $ac_status); } &&
50600          { ac_try='test -z "$ac_c_werror_flag"
50601                          || test ! -s conftest.err'
50602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50603   (eval $ac_try) 2>&5
50604   ac_status=$?
50605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50606   (exit $ac_status); }; } &&
50607          { ac_try='test -s conftest$ac_exeext'
50608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50609   (eval $ac_try) 2>&5
50610   ac_status=$?
50611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50612   (exit $ac_status); }; }; then
50613   glibcxx_cv_func___builtin_labs_link=yes
50614 else
50615   echo "$as_me: failed program was:" >&5
50616 sed 's/^/| /' conftest.$ac_ext >&5
50617
50618 glibcxx_cv_func___builtin_labs_link=no
50619 fi
50620 rm -f conftest.err conftest.$ac_objext \
50621       conftest$ac_exeext conftest.$ac_ext
50622
50623 fi
50624
50625     fi
50626     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
50627 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
50628
50629     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
50630
50631 cat >>confdefs.h <<\_ACEOF
50632 #define HAVE___BUILTIN_LABS 1
50633 _ACEOF
50634
50635     fi
50636
50637   fi
50638
50639
50640
50641   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
50642 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
50643   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
50644     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
50645   echo $ECHO_N "(cached) $ECHO_C" >&6
50646 else
50647
50648
50649
50650       ac_ext=cc
50651 ac_cpp='$CXXCPP $CPPFLAGS'
50652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50655
50656       cat >conftest.$ac_ext <<_ACEOF
50657 /* confdefs.h.  */
50658 _ACEOF
50659 cat confdefs.h >>conftest.$ac_ext
50660 cat >>conftest.$ac_ext <<_ACEOF
50661 /* end confdefs.h.  */
50662 #include <math.h>
50663 int
50664 main ()
50665 {
50666  __builtin_sqrtf(0);
50667   ;
50668   return 0;
50669 }
50670 _ACEOF
50671 rm -f conftest.$ac_objext
50672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50673   (eval $ac_compile) 2>conftest.er1
50674   ac_status=$?
50675   grep -v '^ *+' conftest.er1 >conftest.err
50676   rm -f conftest.er1
50677   cat conftest.err >&5
50678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50679   (exit $ac_status); } &&
50680          { ac_try='test -z "$ac_cxx_werror_flag"
50681                          || test ! -s conftest.err'
50682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50683   (eval $ac_try) 2>&5
50684   ac_status=$?
50685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50686   (exit $ac_status); }; } &&
50687          { ac_try='test -s conftest.$ac_objext'
50688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50689   (eval $ac_try) 2>&5
50690   ac_status=$?
50691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50692   (exit $ac_status); }; }; then
50693   glibcxx_cv_func___builtin_sqrtf_use=yes
50694 else
50695   echo "$as_me: failed program was:" >&5
50696 sed 's/^/| /' conftest.$ac_ext >&5
50697
50698 glibcxx_cv_func___builtin_sqrtf_use=no
50699 fi
50700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50701       ac_ext=c
50702 ac_cpp='$CPP $CPPFLAGS'
50703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50706
50707
50708 fi
50709
50710   fi
50711   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
50712 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
50713   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
50714     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
50715 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
50716     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
50717       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
50718   echo $ECHO_N "(cached) $ECHO_C" >&6
50719 else
50720
50721         if test x$gcc_no_link = xyes; then
50722   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50724    { (exit 1); exit 1; }; }
50725 fi
50726 cat >conftest.$ac_ext <<_ACEOF
50727 /* confdefs.h.  */
50728 _ACEOF
50729 cat confdefs.h >>conftest.$ac_ext
50730 cat >>conftest.$ac_ext <<_ACEOF
50731 /* end confdefs.h.  */
50732 #include <math.h>
50733 int
50734 main ()
50735 {
50736  __builtin_sqrtf(0);
50737   ;
50738   return 0;
50739 }
50740 _ACEOF
50741 rm -f conftest.$ac_objext conftest$ac_exeext
50742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50743   (eval $ac_link) 2>conftest.er1
50744   ac_status=$?
50745   grep -v '^ *+' conftest.er1 >conftest.err
50746   rm -f conftest.er1
50747   cat conftest.err >&5
50748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50749   (exit $ac_status); } &&
50750          { ac_try='test -z "$ac_c_werror_flag"
50751                          || test ! -s conftest.err'
50752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50753   (eval $ac_try) 2>&5
50754   ac_status=$?
50755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50756   (exit $ac_status); }; } &&
50757          { ac_try='test -s conftest$ac_exeext'
50758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50759   (eval $ac_try) 2>&5
50760   ac_status=$?
50761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50762   (exit $ac_status); }; }; then
50763   glibcxx_cv_func___builtin_sqrtf_link=yes
50764 else
50765   echo "$as_me: failed program was:" >&5
50766 sed 's/^/| /' conftest.$ac_ext >&5
50767
50768 glibcxx_cv_func___builtin_sqrtf_link=no
50769 fi
50770 rm -f conftest.err conftest.$ac_objext \
50771       conftest$ac_exeext conftest.$ac_ext
50772
50773 fi
50774
50775     fi
50776     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
50777 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
50778
50779     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
50780
50781 cat >>confdefs.h <<\_ACEOF
50782 #define HAVE___BUILTIN_SQRTF 1
50783 _ACEOF
50784
50785     fi
50786
50787   fi
50788
50789
50790   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
50791 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
50792   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
50793     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
50794   echo $ECHO_N "(cached) $ECHO_C" >&6
50795 else
50796
50797
50798
50799       ac_ext=cc
50800 ac_cpp='$CXXCPP $CPPFLAGS'
50801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50804
50805       cat >conftest.$ac_ext <<_ACEOF
50806 /* confdefs.h.  */
50807 _ACEOF
50808 cat confdefs.h >>conftest.$ac_ext
50809 cat >>conftest.$ac_ext <<_ACEOF
50810 /* end confdefs.h.  */
50811 #include <math.h>
50812 int
50813 main ()
50814 {
50815  __builtin_sqrt(0);
50816   ;
50817   return 0;
50818 }
50819 _ACEOF
50820 rm -f conftest.$ac_objext
50821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50822   (eval $ac_compile) 2>conftest.er1
50823   ac_status=$?
50824   grep -v '^ *+' conftest.er1 >conftest.err
50825   rm -f conftest.er1
50826   cat conftest.err >&5
50827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50828   (exit $ac_status); } &&
50829          { ac_try='test -z "$ac_cxx_werror_flag"
50830                          || test ! -s conftest.err'
50831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50832   (eval $ac_try) 2>&5
50833   ac_status=$?
50834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50835   (exit $ac_status); }; } &&
50836          { ac_try='test -s conftest.$ac_objext'
50837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50838   (eval $ac_try) 2>&5
50839   ac_status=$?
50840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50841   (exit $ac_status); }; }; then
50842   glibcxx_cv_func___builtin_sqrt_use=yes
50843 else
50844   echo "$as_me: failed program was:" >&5
50845 sed 's/^/| /' conftest.$ac_ext >&5
50846
50847 glibcxx_cv_func___builtin_sqrt_use=no
50848 fi
50849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50850       ac_ext=c
50851 ac_cpp='$CPP $CPPFLAGS'
50852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50855
50856
50857 fi
50858
50859   fi
50860   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
50861 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
50862   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
50863     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
50864 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
50865     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
50866       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
50867   echo $ECHO_N "(cached) $ECHO_C" >&6
50868 else
50869
50870         if test x$gcc_no_link = xyes; then
50871   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50873    { (exit 1); exit 1; }; }
50874 fi
50875 cat >conftest.$ac_ext <<_ACEOF
50876 /* confdefs.h.  */
50877 _ACEOF
50878 cat confdefs.h >>conftest.$ac_ext
50879 cat >>conftest.$ac_ext <<_ACEOF
50880 /* end confdefs.h.  */
50881 #include <math.h>
50882 int
50883 main ()
50884 {
50885  __builtin_sqrt(0);
50886   ;
50887   return 0;
50888 }
50889 _ACEOF
50890 rm -f conftest.$ac_objext conftest$ac_exeext
50891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50892   (eval $ac_link) 2>conftest.er1
50893   ac_status=$?
50894   grep -v '^ *+' conftest.er1 >conftest.err
50895   rm -f conftest.er1
50896   cat conftest.err >&5
50897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50898   (exit $ac_status); } &&
50899          { ac_try='test -z "$ac_c_werror_flag"
50900                          || test ! -s conftest.err'
50901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50902   (eval $ac_try) 2>&5
50903   ac_status=$?
50904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50905   (exit $ac_status); }; } &&
50906          { ac_try='test -s conftest$ac_exeext'
50907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50908   (eval $ac_try) 2>&5
50909   ac_status=$?
50910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50911   (exit $ac_status); }; }; then
50912   glibcxx_cv_func___builtin_sqrt_link=yes
50913 else
50914   echo "$as_me: failed program was:" >&5
50915 sed 's/^/| /' conftest.$ac_ext >&5
50916
50917 glibcxx_cv_func___builtin_sqrt_link=no
50918 fi
50919 rm -f conftest.err conftest.$ac_objext \
50920       conftest$ac_exeext conftest.$ac_ext
50921
50922 fi
50923
50924     fi
50925     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
50926 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
50927
50928     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
50929
50930 cat >>confdefs.h <<\_ACEOF
50931 #define HAVE___BUILTIN_SQRT 1
50932 _ACEOF
50933
50934     fi
50935
50936   fi
50937
50938
50939   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
50940 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
50941   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
50942     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
50943   echo $ECHO_N "(cached) $ECHO_C" >&6
50944 else
50945
50946
50947
50948       ac_ext=cc
50949 ac_cpp='$CXXCPP $CPPFLAGS'
50950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50953
50954       cat >conftest.$ac_ext <<_ACEOF
50955 /* confdefs.h.  */
50956 _ACEOF
50957 cat confdefs.h >>conftest.$ac_ext
50958 cat >>conftest.$ac_ext <<_ACEOF
50959 /* end confdefs.h.  */
50960 #include <math.h>
50961 int
50962 main ()
50963 {
50964  __builtin_sqrtl(0);
50965   ;
50966   return 0;
50967 }
50968 _ACEOF
50969 rm -f conftest.$ac_objext
50970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50971   (eval $ac_compile) 2>conftest.er1
50972   ac_status=$?
50973   grep -v '^ *+' conftest.er1 >conftest.err
50974   rm -f conftest.er1
50975   cat conftest.err >&5
50976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50977   (exit $ac_status); } &&
50978          { ac_try='test -z "$ac_cxx_werror_flag"
50979                          || test ! -s conftest.err'
50980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50981   (eval $ac_try) 2>&5
50982   ac_status=$?
50983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50984   (exit $ac_status); }; } &&
50985          { ac_try='test -s conftest.$ac_objext'
50986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50987   (eval $ac_try) 2>&5
50988   ac_status=$?
50989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50990   (exit $ac_status); }; }; then
50991   glibcxx_cv_func___builtin_sqrtl_use=yes
50992 else
50993   echo "$as_me: failed program was:" >&5
50994 sed 's/^/| /' conftest.$ac_ext >&5
50995
50996 glibcxx_cv_func___builtin_sqrtl_use=no
50997 fi
50998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50999       ac_ext=c
51000 ac_cpp='$CPP $CPPFLAGS'
51001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51004
51005
51006 fi
51007
51008   fi
51009   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
51010 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
51011   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
51012     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
51013 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
51014     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
51015       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
51016   echo $ECHO_N "(cached) $ECHO_C" >&6
51017 else
51018
51019         if test x$gcc_no_link = xyes; then
51020   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51022    { (exit 1); exit 1; }; }
51023 fi
51024 cat >conftest.$ac_ext <<_ACEOF
51025 /* confdefs.h.  */
51026 _ACEOF
51027 cat confdefs.h >>conftest.$ac_ext
51028 cat >>conftest.$ac_ext <<_ACEOF
51029 /* end confdefs.h.  */
51030 #include <math.h>
51031 int
51032 main ()
51033 {
51034  __builtin_sqrtl(0);
51035   ;
51036   return 0;
51037 }
51038 _ACEOF
51039 rm -f conftest.$ac_objext conftest$ac_exeext
51040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51041   (eval $ac_link) 2>conftest.er1
51042   ac_status=$?
51043   grep -v '^ *+' conftest.er1 >conftest.err
51044   rm -f conftest.er1
51045   cat conftest.err >&5
51046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51047   (exit $ac_status); } &&
51048          { ac_try='test -z "$ac_c_werror_flag"
51049                          || test ! -s conftest.err'
51050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51051   (eval $ac_try) 2>&5
51052   ac_status=$?
51053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51054   (exit $ac_status); }; } &&
51055          { ac_try='test -s conftest$ac_exeext'
51056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51057   (eval $ac_try) 2>&5
51058   ac_status=$?
51059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51060   (exit $ac_status); }; }; then
51061   glibcxx_cv_func___builtin_sqrtl_link=yes
51062 else
51063   echo "$as_me: failed program was:" >&5
51064 sed 's/^/| /' conftest.$ac_ext >&5
51065
51066 glibcxx_cv_func___builtin_sqrtl_link=no
51067 fi
51068 rm -f conftest.err conftest.$ac_objext \
51069       conftest$ac_exeext conftest.$ac_ext
51070
51071 fi
51072
51073     fi
51074     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
51075 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
51076
51077     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
51078
51079 cat >>confdefs.h <<\_ACEOF
51080 #define HAVE___BUILTIN_SQRTL 1
51081 _ACEOF
51082
51083     fi
51084
51085   fi
51086
51087
51088
51089   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
51090 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
51091   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
51092     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
51093   echo $ECHO_N "(cached) $ECHO_C" >&6
51094 else
51095
51096
51097
51098       ac_ext=cc
51099 ac_cpp='$CXXCPP $CPPFLAGS'
51100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51103
51104       cat >conftest.$ac_ext <<_ACEOF
51105 /* confdefs.h.  */
51106 _ACEOF
51107 cat confdefs.h >>conftest.$ac_ext
51108 cat >>conftest.$ac_ext <<_ACEOF
51109 /* end confdefs.h.  */
51110 #include <math.h>
51111 int
51112 main ()
51113 {
51114  __builtin_sinf(0);
51115   ;
51116   return 0;
51117 }
51118 _ACEOF
51119 rm -f conftest.$ac_objext
51120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51121   (eval $ac_compile) 2>conftest.er1
51122   ac_status=$?
51123   grep -v '^ *+' conftest.er1 >conftest.err
51124   rm -f conftest.er1
51125   cat conftest.err >&5
51126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51127   (exit $ac_status); } &&
51128          { ac_try='test -z "$ac_cxx_werror_flag"
51129                          || test ! -s conftest.err'
51130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51131   (eval $ac_try) 2>&5
51132   ac_status=$?
51133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51134   (exit $ac_status); }; } &&
51135          { ac_try='test -s conftest.$ac_objext'
51136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51137   (eval $ac_try) 2>&5
51138   ac_status=$?
51139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51140   (exit $ac_status); }; }; then
51141   glibcxx_cv_func___builtin_sinf_use=yes
51142 else
51143   echo "$as_me: failed program was:" >&5
51144 sed 's/^/| /' conftest.$ac_ext >&5
51145
51146 glibcxx_cv_func___builtin_sinf_use=no
51147 fi
51148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51149       ac_ext=c
51150 ac_cpp='$CPP $CPPFLAGS'
51151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51154
51155
51156 fi
51157
51158   fi
51159   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
51160 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
51161   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
51162     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
51163 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
51164     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
51165       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
51166   echo $ECHO_N "(cached) $ECHO_C" >&6
51167 else
51168
51169         if test x$gcc_no_link = xyes; then
51170   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51172    { (exit 1); exit 1; }; }
51173 fi
51174 cat >conftest.$ac_ext <<_ACEOF
51175 /* confdefs.h.  */
51176 _ACEOF
51177 cat confdefs.h >>conftest.$ac_ext
51178 cat >>conftest.$ac_ext <<_ACEOF
51179 /* end confdefs.h.  */
51180 #include <math.h>
51181 int
51182 main ()
51183 {
51184  __builtin_sinf(0);
51185   ;
51186   return 0;
51187 }
51188 _ACEOF
51189 rm -f conftest.$ac_objext conftest$ac_exeext
51190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51191   (eval $ac_link) 2>conftest.er1
51192   ac_status=$?
51193   grep -v '^ *+' conftest.er1 >conftest.err
51194   rm -f conftest.er1
51195   cat conftest.err >&5
51196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51197   (exit $ac_status); } &&
51198          { ac_try='test -z "$ac_c_werror_flag"
51199                          || test ! -s conftest.err'
51200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51201   (eval $ac_try) 2>&5
51202   ac_status=$?
51203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51204   (exit $ac_status); }; } &&
51205          { ac_try='test -s conftest$ac_exeext'
51206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51207   (eval $ac_try) 2>&5
51208   ac_status=$?
51209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51210   (exit $ac_status); }; }; then
51211   glibcxx_cv_func___builtin_sinf_link=yes
51212 else
51213   echo "$as_me: failed program was:" >&5
51214 sed 's/^/| /' conftest.$ac_ext >&5
51215
51216 glibcxx_cv_func___builtin_sinf_link=no
51217 fi
51218 rm -f conftest.err conftest.$ac_objext \
51219       conftest$ac_exeext conftest.$ac_ext
51220
51221 fi
51222
51223     fi
51224     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
51225 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
51226
51227     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
51228
51229 cat >>confdefs.h <<\_ACEOF
51230 #define HAVE___BUILTIN_SINF 1
51231 _ACEOF
51232
51233     fi
51234
51235   fi
51236
51237
51238   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
51239 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
51240   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
51241     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
51242   echo $ECHO_N "(cached) $ECHO_C" >&6
51243 else
51244
51245
51246
51247       ac_ext=cc
51248 ac_cpp='$CXXCPP $CPPFLAGS'
51249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51252
51253       cat >conftest.$ac_ext <<_ACEOF
51254 /* confdefs.h.  */
51255 _ACEOF
51256 cat confdefs.h >>conftest.$ac_ext
51257 cat >>conftest.$ac_ext <<_ACEOF
51258 /* end confdefs.h.  */
51259 #include <math.h>
51260 int
51261 main ()
51262 {
51263  __builtin_sin(0);
51264   ;
51265   return 0;
51266 }
51267 _ACEOF
51268 rm -f conftest.$ac_objext
51269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51270   (eval $ac_compile) 2>conftest.er1
51271   ac_status=$?
51272   grep -v '^ *+' conftest.er1 >conftest.err
51273   rm -f conftest.er1
51274   cat conftest.err >&5
51275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51276   (exit $ac_status); } &&
51277          { ac_try='test -z "$ac_cxx_werror_flag"
51278                          || test ! -s conftest.err'
51279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51280   (eval $ac_try) 2>&5
51281   ac_status=$?
51282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51283   (exit $ac_status); }; } &&
51284          { ac_try='test -s conftest.$ac_objext'
51285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51286   (eval $ac_try) 2>&5
51287   ac_status=$?
51288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51289   (exit $ac_status); }; }; then
51290   glibcxx_cv_func___builtin_sin_use=yes
51291 else
51292   echo "$as_me: failed program was:" >&5
51293 sed 's/^/| /' conftest.$ac_ext >&5
51294
51295 glibcxx_cv_func___builtin_sin_use=no
51296 fi
51297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51298       ac_ext=c
51299 ac_cpp='$CPP $CPPFLAGS'
51300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51303
51304
51305 fi
51306
51307   fi
51308   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
51309 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
51310   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
51311     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
51312 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
51313     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
51314       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
51315   echo $ECHO_N "(cached) $ECHO_C" >&6
51316 else
51317
51318         if test x$gcc_no_link = xyes; then
51319   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51321    { (exit 1); exit 1; }; }
51322 fi
51323 cat >conftest.$ac_ext <<_ACEOF
51324 /* confdefs.h.  */
51325 _ACEOF
51326 cat confdefs.h >>conftest.$ac_ext
51327 cat >>conftest.$ac_ext <<_ACEOF
51328 /* end confdefs.h.  */
51329 #include <math.h>
51330 int
51331 main ()
51332 {
51333  __builtin_sin(0);
51334   ;
51335   return 0;
51336 }
51337 _ACEOF
51338 rm -f conftest.$ac_objext conftest$ac_exeext
51339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51340   (eval $ac_link) 2>conftest.er1
51341   ac_status=$?
51342   grep -v '^ *+' conftest.er1 >conftest.err
51343   rm -f conftest.er1
51344   cat conftest.err >&5
51345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51346   (exit $ac_status); } &&
51347          { ac_try='test -z "$ac_c_werror_flag"
51348                          || test ! -s conftest.err'
51349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51350   (eval $ac_try) 2>&5
51351   ac_status=$?
51352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51353   (exit $ac_status); }; } &&
51354          { ac_try='test -s conftest$ac_exeext'
51355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51356   (eval $ac_try) 2>&5
51357   ac_status=$?
51358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51359   (exit $ac_status); }; }; then
51360   glibcxx_cv_func___builtin_sin_link=yes
51361 else
51362   echo "$as_me: failed program was:" >&5
51363 sed 's/^/| /' conftest.$ac_ext >&5
51364
51365 glibcxx_cv_func___builtin_sin_link=no
51366 fi
51367 rm -f conftest.err conftest.$ac_objext \
51368       conftest$ac_exeext conftest.$ac_ext
51369
51370 fi
51371
51372     fi
51373     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
51374 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
51375
51376     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
51377
51378 cat >>confdefs.h <<\_ACEOF
51379 #define HAVE___BUILTIN_SIN 1
51380 _ACEOF
51381
51382     fi
51383
51384   fi
51385
51386
51387   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
51388 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
51389   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
51390     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
51391   echo $ECHO_N "(cached) $ECHO_C" >&6
51392 else
51393
51394
51395
51396       ac_ext=cc
51397 ac_cpp='$CXXCPP $CPPFLAGS'
51398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51401
51402       cat >conftest.$ac_ext <<_ACEOF
51403 /* confdefs.h.  */
51404 _ACEOF
51405 cat confdefs.h >>conftest.$ac_ext
51406 cat >>conftest.$ac_ext <<_ACEOF
51407 /* end confdefs.h.  */
51408 #include <math.h>
51409 int
51410 main ()
51411 {
51412  __builtin_sinl(0);
51413   ;
51414   return 0;
51415 }
51416 _ACEOF
51417 rm -f conftest.$ac_objext
51418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51419   (eval $ac_compile) 2>conftest.er1
51420   ac_status=$?
51421   grep -v '^ *+' conftest.er1 >conftest.err
51422   rm -f conftest.er1
51423   cat conftest.err >&5
51424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51425   (exit $ac_status); } &&
51426          { ac_try='test -z "$ac_cxx_werror_flag"
51427                          || test ! -s conftest.err'
51428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51429   (eval $ac_try) 2>&5
51430   ac_status=$?
51431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51432   (exit $ac_status); }; } &&
51433          { ac_try='test -s conftest.$ac_objext'
51434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51435   (eval $ac_try) 2>&5
51436   ac_status=$?
51437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51438   (exit $ac_status); }; }; then
51439   glibcxx_cv_func___builtin_sinl_use=yes
51440 else
51441   echo "$as_me: failed program was:" >&5
51442 sed 's/^/| /' conftest.$ac_ext >&5
51443
51444 glibcxx_cv_func___builtin_sinl_use=no
51445 fi
51446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51447       ac_ext=c
51448 ac_cpp='$CPP $CPPFLAGS'
51449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51452
51453
51454 fi
51455
51456   fi
51457   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
51458 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
51459   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
51460     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
51461 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
51462     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
51463       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
51464   echo $ECHO_N "(cached) $ECHO_C" >&6
51465 else
51466
51467         if test x$gcc_no_link = xyes; then
51468   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51470    { (exit 1); exit 1; }; }
51471 fi
51472 cat >conftest.$ac_ext <<_ACEOF
51473 /* confdefs.h.  */
51474 _ACEOF
51475 cat confdefs.h >>conftest.$ac_ext
51476 cat >>conftest.$ac_ext <<_ACEOF
51477 /* end confdefs.h.  */
51478 #include <math.h>
51479 int
51480 main ()
51481 {
51482  __builtin_sinl(0);
51483   ;
51484   return 0;
51485 }
51486 _ACEOF
51487 rm -f conftest.$ac_objext conftest$ac_exeext
51488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51489   (eval $ac_link) 2>conftest.er1
51490   ac_status=$?
51491   grep -v '^ *+' conftest.er1 >conftest.err
51492   rm -f conftest.er1
51493   cat conftest.err >&5
51494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51495   (exit $ac_status); } &&
51496          { ac_try='test -z "$ac_c_werror_flag"
51497                          || test ! -s conftest.err'
51498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51499   (eval $ac_try) 2>&5
51500   ac_status=$?
51501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51502   (exit $ac_status); }; } &&
51503          { ac_try='test -s conftest$ac_exeext'
51504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51505   (eval $ac_try) 2>&5
51506   ac_status=$?
51507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51508   (exit $ac_status); }; }; then
51509   glibcxx_cv_func___builtin_sinl_link=yes
51510 else
51511   echo "$as_me: failed program was:" >&5
51512 sed 's/^/| /' conftest.$ac_ext >&5
51513
51514 glibcxx_cv_func___builtin_sinl_link=no
51515 fi
51516 rm -f conftest.err conftest.$ac_objext \
51517       conftest$ac_exeext conftest.$ac_ext
51518
51519 fi
51520
51521     fi
51522     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
51523 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
51524
51525     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
51526
51527 cat >>confdefs.h <<\_ACEOF
51528 #define HAVE___BUILTIN_SINL 1
51529 _ACEOF
51530
51531     fi
51532
51533   fi
51534
51535
51536
51537   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
51538 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
51539   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
51540     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
51541   echo $ECHO_N "(cached) $ECHO_C" >&6
51542 else
51543
51544
51545
51546       ac_ext=cc
51547 ac_cpp='$CXXCPP $CPPFLAGS'
51548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51551
51552       cat >conftest.$ac_ext <<_ACEOF
51553 /* confdefs.h.  */
51554 _ACEOF
51555 cat confdefs.h >>conftest.$ac_ext
51556 cat >>conftest.$ac_ext <<_ACEOF
51557 /* end confdefs.h.  */
51558 #include <math.h>
51559 int
51560 main ()
51561 {
51562  __builtin_cosf(0);
51563   ;
51564   return 0;
51565 }
51566 _ACEOF
51567 rm -f conftest.$ac_objext
51568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51569   (eval $ac_compile) 2>conftest.er1
51570   ac_status=$?
51571   grep -v '^ *+' conftest.er1 >conftest.err
51572   rm -f conftest.er1
51573   cat conftest.err >&5
51574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51575   (exit $ac_status); } &&
51576          { ac_try='test -z "$ac_cxx_werror_flag"
51577                          || test ! -s conftest.err'
51578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51579   (eval $ac_try) 2>&5
51580   ac_status=$?
51581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51582   (exit $ac_status); }; } &&
51583          { ac_try='test -s conftest.$ac_objext'
51584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51585   (eval $ac_try) 2>&5
51586   ac_status=$?
51587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51588   (exit $ac_status); }; }; then
51589   glibcxx_cv_func___builtin_cosf_use=yes
51590 else
51591   echo "$as_me: failed program was:" >&5
51592 sed 's/^/| /' conftest.$ac_ext >&5
51593
51594 glibcxx_cv_func___builtin_cosf_use=no
51595 fi
51596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51597       ac_ext=c
51598 ac_cpp='$CPP $CPPFLAGS'
51599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51602
51603
51604 fi
51605
51606   fi
51607   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
51608 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
51609   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
51610     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
51611 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
51612     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
51613       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
51614   echo $ECHO_N "(cached) $ECHO_C" >&6
51615 else
51616
51617         if test x$gcc_no_link = xyes; then
51618   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51620    { (exit 1); exit 1; }; }
51621 fi
51622 cat >conftest.$ac_ext <<_ACEOF
51623 /* confdefs.h.  */
51624 _ACEOF
51625 cat confdefs.h >>conftest.$ac_ext
51626 cat >>conftest.$ac_ext <<_ACEOF
51627 /* end confdefs.h.  */
51628 #include <math.h>
51629 int
51630 main ()
51631 {
51632  __builtin_cosf(0);
51633   ;
51634   return 0;
51635 }
51636 _ACEOF
51637 rm -f conftest.$ac_objext conftest$ac_exeext
51638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51639   (eval $ac_link) 2>conftest.er1
51640   ac_status=$?
51641   grep -v '^ *+' conftest.er1 >conftest.err
51642   rm -f conftest.er1
51643   cat conftest.err >&5
51644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51645   (exit $ac_status); } &&
51646          { ac_try='test -z "$ac_c_werror_flag"
51647                          || test ! -s conftest.err'
51648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51649   (eval $ac_try) 2>&5
51650   ac_status=$?
51651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51652   (exit $ac_status); }; } &&
51653          { ac_try='test -s conftest$ac_exeext'
51654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51655   (eval $ac_try) 2>&5
51656   ac_status=$?
51657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51658   (exit $ac_status); }; }; then
51659   glibcxx_cv_func___builtin_cosf_link=yes
51660 else
51661   echo "$as_me: failed program was:" >&5
51662 sed 's/^/| /' conftest.$ac_ext >&5
51663
51664 glibcxx_cv_func___builtin_cosf_link=no
51665 fi
51666 rm -f conftest.err conftest.$ac_objext \
51667       conftest$ac_exeext conftest.$ac_ext
51668
51669 fi
51670
51671     fi
51672     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
51673 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
51674
51675     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
51676
51677 cat >>confdefs.h <<\_ACEOF
51678 #define HAVE___BUILTIN_COSF 1
51679 _ACEOF
51680
51681     fi
51682
51683   fi
51684
51685
51686   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
51687 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
51688   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
51689     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
51690   echo $ECHO_N "(cached) $ECHO_C" >&6
51691 else
51692
51693
51694
51695       ac_ext=cc
51696 ac_cpp='$CXXCPP $CPPFLAGS'
51697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51700
51701       cat >conftest.$ac_ext <<_ACEOF
51702 /* confdefs.h.  */
51703 _ACEOF
51704 cat confdefs.h >>conftest.$ac_ext
51705 cat >>conftest.$ac_ext <<_ACEOF
51706 /* end confdefs.h.  */
51707 #include <math.h>
51708 int
51709 main ()
51710 {
51711  __builtin_cos(0);
51712   ;
51713   return 0;
51714 }
51715 _ACEOF
51716 rm -f conftest.$ac_objext
51717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51718   (eval $ac_compile) 2>conftest.er1
51719   ac_status=$?
51720   grep -v '^ *+' conftest.er1 >conftest.err
51721   rm -f conftest.er1
51722   cat conftest.err >&5
51723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51724   (exit $ac_status); } &&
51725          { ac_try='test -z "$ac_cxx_werror_flag"
51726                          || test ! -s conftest.err'
51727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51728   (eval $ac_try) 2>&5
51729   ac_status=$?
51730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51731   (exit $ac_status); }; } &&
51732          { ac_try='test -s conftest.$ac_objext'
51733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51734   (eval $ac_try) 2>&5
51735   ac_status=$?
51736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51737   (exit $ac_status); }; }; then
51738   glibcxx_cv_func___builtin_cos_use=yes
51739 else
51740   echo "$as_me: failed program was:" >&5
51741 sed 's/^/| /' conftest.$ac_ext >&5
51742
51743 glibcxx_cv_func___builtin_cos_use=no
51744 fi
51745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51746       ac_ext=c
51747 ac_cpp='$CPP $CPPFLAGS'
51748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51751
51752
51753 fi
51754
51755   fi
51756   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
51757 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
51758   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
51759     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
51760 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
51761     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
51762       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
51763   echo $ECHO_N "(cached) $ECHO_C" >&6
51764 else
51765
51766         if test x$gcc_no_link = xyes; then
51767   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51769    { (exit 1); exit 1; }; }
51770 fi
51771 cat >conftest.$ac_ext <<_ACEOF
51772 /* confdefs.h.  */
51773 _ACEOF
51774 cat confdefs.h >>conftest.$ac_ext
51775 cat >>conftest.$ac_ext <<_ACEOF
51776 /* end confdefs.h.  */
51777 #include <math.h>
51778 int
51779 main ()
51780 {
51781  __builtin_cos(0);
51782   ;
51783   return 0;
51784 }
51785 _ACEOF
51786 rm -f conftest.$ac_objext conftest$ac_exeext
51787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51788   (eval $ac_link) 2>conftest.er1
51789   ac_status=$?
51790   grep -v '^ *+' conftest.er1 >conftest.err
51791   rm -f conftest.er1
51792   cat conftest.err >&5
51793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51794   (exit $ac_status); } &&
51795          { ac_try='test -z "$ac_c_werror_flag"
51796                          || test ! -s conftest.err'
51797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51798   (eval $ac_try) 2>&5
51799   ac_status=$?
51800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51801   (exit $ac_status); }; } &&
51802          { ac_try='test -s conftest$ac_exeext'
51803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51804   (eval $ac_try) 2>&5
51805   ac_status=$?
51806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51807   (exit $ac_status); }; }; then
51808   glibcxx_cv_func___builtin_cos_link=yes
51809 else
51810   echo "$as_me: failed program was:" >&5
51811 sed 's/^/| /' conftest.$ac_ext >&5
51812
51813 glibcxx_cv_func___builtin_cos_link=no
51814 fi
51815 rm -f conftest.err conftest.$ac_objext \
51816       conftest$ac_exeext conftest.$ac_ext
51817
51818 fi
51819
51820     fi
51821     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
51822 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
51823
51824     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
51825
51826 cat >>confdefs.h <<\_ACEOF
51827 #define HAVE___BUILTIN_COS 1
51828 _ACEOF
51829
51830     fi
51831
51832   fi
51833
51834
51835   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
51836 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
51837   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
51838     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
51839   echo $ECHO_N "(cached) $ECHO_C" >&6
51840 else
51841
51842
51843
51844       ac_ext=cc
51845 ac_cpp='$CXXCPP $CPPFLAGS'
51846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51849
51850       cat >conftest.$ac_ext <<_ACEOF
51851 /* confdefs.h.  */
51852 _ACEOF
51853 cat confdefs.h >>conftest.$ac_ext
51854 cat >>conftest.$ac_ext <<_ACEOF
51855 /* end confdefs.h.  */
51856 #include <math.h>
51857 int
51858 main ()
51859 {
51860  __builtin_cosl(0);
51861   ;
51862   return 0;
51863 }
51864 _ACEOF
51865 rm -f conftest.$ac_objext
51866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51867   (eval $ac_compile) 2>conftest.er1
51868   ac_status=$?
51869   grep -v '^ *+' conftest.er1 >conftest.err
51870   rm -f conftest.er1
51871   cat conftest.err >&5
51872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51873   (exit $ac_status); } &&
51874          { ac_try='test -z "$ac_cxx_werror_flag"
51875                          || test ! -s conftest.err'
51876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51877   (eval $ac_try) 2>&5
51878   ac_status=$?
51879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51880   (exit $ac_status); }; } &&
51881          { ac_try='test -s conftest.$ac_objext'
51882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51883   (eval $ac_try) 2>&5
51884   ac_status=$?
51885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51886   (exit $ac_status); }; }; then
51887   glibcxx_cv_func___builtin_cosl_use=yes
51888 else
51889   echo "$as_me: failed program was:" >&5
51890 sed 's/^/| /' conftest.$ac_ext >&5
51891
51892 glibcxx_cv_func___builtin_cosl_use=no
51893 fi
51894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51895       ac_ext=c
51896 ac_cpp='$CPP $CPPFLAGS'
51897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51900
51901
51902 fi
51903
51904   fi
51905   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
51906 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
51907   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
51908     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
51909 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
51910     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
51911       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
51912   echo $ECHO_N "(cached) $ECHO_C" >&6
51913 else
51914
51915         if test x$gcc_no_link = xyes; then
51916   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51918    { (exit 1); exit 1; }; }
51919 fi
51920 cat >conftest.$ac_ext <<_ACEOF
51921 /* confdefs.h.  */
51922 _ACEOF
51923 cat confdefs.h >>conftest.$ac_ext
51924 cat >>conftest.$ac_ext <<_ACEOF
51925 /* end confdefs.h.  */
51926 #include <math.h>
51927 int
51928 main ()
51929 {
51930  __builtin_cosl(0);
51931   ;
51932   return 0;
51933 }
51934 _ACEOF
51935 rm -f conftest.$ac_objext conftest$ac_exeext
51936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51937   (eval $ac_link) 2>conftest.er1
51938   ac_status=$?
51939   grep -v '^ *+' conftest.er1 >conftest.err
51940   rm -f conftest.er1
51941   cat conftest.err >&5
51942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51943   (exit $ac_status); } &&
51944          { ac_try='test -z "$ac_c_werror_flag"
51945                          || test ! -s conftest.err'
51946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51947   (eval $ac_try) 2>&5
51948   ac_status=$?
51949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51950   (exit $ac_status); }; } &&
51951          { ac_try='test -s conftest$ac_exeext'
51952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51953   (eval $ac_try) 2>&5
51954   ac_status=$?
51955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51956   (exit $ac_status); }; }; then
51957   glibcxx_cv_func___builtin_cosl_link=yes
51958 else
51959   echo "$as_me: failed program was:" >&5
51960 sed 's/^/| /' conftest.$ac_ext >&5
51961
51962 glibcxx_cv_func___builtin_cosl_link=no
51963 fi
51964 rm -f conftest.err conftest.$ac_objext \
51965       conftest$ac_exeext conftest.$ac_ext
51966
51967 fi
51968
51969     fi
51970     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
51971 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
51972
51973     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
51974
51975 cat >>confdefs.h <<\_ACEOF
51976 #define HAVE___BUILTIN_COSL 1
51977 _ACEOF
51978
51979     fi
51980
51981   fi
51982
51983
51984
51985
51986 echo "$as_me:$LINENO: checking for main in -lm" >&5
51987 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
51988 if test "${ac_cv_lib_m_main+set}" = set; then
51989   echo $ECHO_N "(cached) $ECHO_C" >&6
51990 else
51991   ac_check_lib_save_LIBS=$LIBS
51992 LIBS="-lm  $LIBS"
51993 if test x$gcc_no_link = xyes; then
51994   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51996    { (exit 1); exit 1; }; }
51997 fi
51998 cat >conftest.$ac_ext <<_ACEOF
51999 /* confdefs.h.  */
52000 _ACEOF
52001 cat confdefs.h >>conftest.$ac_ext
52002 cat >>conftest.$ac_ext <<_ACEOF
52003 /* end confdefs.h.  */
52004
52005
52006 int
52007 main ()
52008 {
52009 main ();
52010   ;
52011   return 0;
52012 }
52013 _ACEOF
52014 rm -f conftest.$ac_objext conftest$ac_exeext
52015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52016   (eval $ac_link) 2>conftest.er1
52017   ac_status=$?
52018   grep -v '^ *+' conftest.er1 >conftest.err
52019   rm -f conftest.er1
52020   cat conftest.err >&5
52021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52022   (exit $ac_status); } &&
52023          { ac_try='test -z "$ac_c_werror_flag"
52024                          || test ! -s conftest.err'
52025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52026   (eval $ac_try) 2>&5
52027   ac_status=$?
52028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52029   (exit $ac_status); }; } &&
52030          { ac_try='test -s conftest$ac_exeext'
52031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52032   (eval $ac_try) 2>&5
52033   ac_status=$?
52034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52035   (exit $ac_status); }; }; then
52036   ac_cv_lib_m_main=yes
52037 else
52038   echo "$as_me: failed program was:" >&5
52039 sed 's/^/| /' conftest.$ac_ext >&5
52040
52041 ac_cv_lib_m_main=no
52042 fi
52043 rm -f conftest.err conftest.$ac_objext \
52044       conftest$ac_exeext conftest.$ac_ext
52045 LIBS=$ac_check_lib_save_LIBS
52046 fi
52047 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
52048 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
52049 if test $ac_cv_lib_m_main = yes; then
52050   cat >>confdefs.h <<_ACEOF
52051 #define HAVE_LIBM 1
52052 _ACEOF
52053
52054   LIBS="-lm $LIBS"
52055
52056 fi
52057
52058
52059 for ac_func in copysignf
52060 do
52061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52062 echo "$as_me:$LINENO: checking for $ac_func" >&5
52063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52064 if eval "test \"\${$as_ac_var+set}\" = set"; then
52065   echo $ECHO_N "(cached) $ECHO_C" >&6
52066 else
52067   if test x$gcc_no_link = xyes; then
52068   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52070    { (exit 1); exit 1; }; }
52071 fi
52072 cat >conftest.$ac_ext <<_ACEOF
52073 /* confdefs.h.  */
52074 _ACEOF
52075 cat confdefs.h >>conftest.$ac_ext
52076 cat >>conftest.$ac_ext <<_ACEOF
52077 /* end confdefs.h.  */
52078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52079    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52080 #define $ac_func innocuous_$ac_func
52081
52082 /* System header to define __stub macros and hopefully few prototypes,
52083     which can conflict with char $ac_func (); below.
52084     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52085     <limits.h> exists even on freestanding compilers.  */
52086
52087 #ifdef __STDC__
52088 # include <limits.h>
52089 #else
52090 # include <assert.h>
52091 #endif
52092
52093 #undef $ac_func
52094
52095 /* Override any gcc2 internal prototype to avoid an error.  */
52096 #ifdef __cplusplus
52097 extern "C"
52098 {
52099 #endif
52100 /* We use char because int might match the return type of a gcc2
52101    builtin and then its argument prototype would still apply.  */
52102 char $ac_func ();
52103 /* The GNU C library defines this for functions which it implements
52104     to always fail with ENOSYS.  Some functions are actually named
52105     something starting with __ and the normal name is an alias.  */
52106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52107 choke me
52108 #else
52109 char (*f) () = $ac_func;
52110 #endif
52111 #ifdef __cplusplus
52112 }
52113 #endif
52114
52115 int
52116 main ()
52117 {
52118 return f != $ac_func;
52119   ;
52120   return 0;
52121 }
52122 _ACEOF
52123 rm -f conftest.$ac_objext conftest$ac_exeext
52124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52125   (eval $ac_link) 2>conftest.er1
52126   ac_status=$?
52127   grep -v '^ *+' conftest.er1 >conftest.err
52128   rm -f conftest.er1
52129   cat conftest.err >&5
52130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52131   (exit $ac_status); } &&
52132          { ac_try='test -z "$ac_c_werror_flag"
52133                          || test ! -s conftest.err'
52134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52135   (eval $ac_try) 2>&5
52136   ac_status=$?
52137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52138   (exit $ac_status); }; } &&
52139          { ac_try='test -s conftest$ac_exeext'
52140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52141   (eval $ac_try) 2>&5
52142   ac_status=$?
52143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52144   (exit $ac_status); }; }; then
52145   eval "$as_ac_var=yes"
52146 else
52147   echo "$as_me: failed program was:" >&5
52148 sed 's/^/| /' conftest.$ac_ext >&5
52149
52150 eval "$as_ac_var=no"
52151 fi
52152 rm -f conftest.err conftest.$ac_objext \
52153       conftest$ac_exeext conftest.$ac_ext
52154 fi
52155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52157 if test `eval echo '${'$as_ac_var'}'` = yes; then
52158   cat >>confdefs.h <<_ACEOF
52159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52160 _ACEOF
52161
52162 else
52163   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
52164 fi
52165 done
52166
52167
52168
52169 for ac_func in __signbit
52170 do
52171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52172 echo "$as_me:$LINENO: checking for $ac_func" >&5
52173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52174 if eval "test \"\${$as_ac_var+set}\" = set"; then
52175   echo $ECHO_N "(cached) $ECHO_C" >&6
52176 else
52177   if test x$gcc_no_link = xyes; then
52178   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52180    { (exit 1); exit 1; }; }
52181 fi
52182 cat >conftest.$ac_ext <<_ACEOF
52183 /* confdefs.h.  */
52184 _ACEOF
52185 cat confdefs.h >>conftest.$ac_ext
52186 cat >>conftest.$ac_ext <<_ACEOF
52187 /* end confdefs.h.  */
52188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52189    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52190 #define $ac_func innocuous_$ac_func
52191
52192 /* System header to define __stub macros and hopefully few prototypes,
52193     which can conflict with char $ac_func (); below.
52194     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52195     <limits.h> exists even on freestanding compilers.  */
52196
52197 #ifdef __STDC__
52198 # include <limits.h>
52199 #else
52200 # include <assert.h>
52201 #endif
52202
52203 #undef $ac_func
52204
52205 /* Override any gcc2 internal prototype to avoid an error.  */
52206 #ifdef __cplusplus
52207 extern "C"
52208 {
52209 #endif
52210 /* We use char because int might match the return type of a gcc2
52211    builtin and then its argument prototype would still apply.  */
52212 char $ac_func ();
52213 /* The GNU C library defines this for functions which it implements
52214     to always fail with ENOSYS.  Some functions are actually named
52215     something starting with __ and the normal name is an alias.  */
52216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52217 choke me
52218 #else
52219 char (*f) () = $ac_func;
52220 #endif
52221 #ifdef __cplusplus
52222 }
52223 #endif
52224
52225 int
52226 main ()
52227 {
52228 return f != $ac_func;
52229   ;
52230   return 0;
52231 }
52232 _ACEOF
52233 rm -f conftest.$ac_objext conftest$ac_exeext
52234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52235   (eval $ac_link) 2>conftest.er1
52236   ac_status=$?
52237   grep -v '^ *+' conftest.er1 >conftest.err
52238   rm -f conftest.er1
52239   cat conftest.err >&5
52240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52241   (exit $ac_status); } &&
52242          { ac_try='test -z "$ac_c_werror_flag"
52243                          || test ! -s conftest.err'
52244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52245   (eval $ac_try) 2>&5
52246   ac_status=$?
52247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52248   (exit $ac_status); }; } &&
52249          { ac_try='test -s conftest$ac_exeext'
52250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52251   (eval $ac_try) 2>&5
52252   ac_status=$?
52253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52254   (exit $ac_status); }; }; then
52255   eval "$as_ac_var=yes"
52256 else
52257   echo "$as_me: failed program was:" >&5
52258 sed 's/^/| /' conftest.$ac_ext >&5
52259
52260 eval "$as_ac_var=no"
52261 fi
52262 rm -f conftest.err conftest.$ac_objext \
52263       conftest$ac_exeext conftest.$ac_ext
52264 fi
52265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52267 if test `eval echo '${'$as_ac_var'}'` = yes; then
52268   cat >>confdefs.h <<_ACEOF
52269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52270 _ACEOF
52271
52272 else
52273   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
52274 fi
52275 done
52276
52277
52278
52279 for ac_func in __signbitf
52280 do
52281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52282 echo "$as_me:$LINENO: checking for $ac_func" >&5
52283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52284 if eval "test \"\${$as_ac_var+set}\" = set"; then
52285   echo $ECHO_N "(cached) $ECHO_C" >&6
52286 else
52287   if test x$gcc_no_link = xyes; then
52288   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52290    { (exit 1); exit 1; }; }
52291 fi
52292 cat >conftest.$ac_ext <<_ACEOF
52293 /* confdefs.h.  */
52294 _ACEOF
52295 cat confdefs.h >>conftest.$ac_ext
52296 cat >>conftest.$ac_ext <<_ACEOF
52297 /* end confdefs.h.  */
52298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52299    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52300 #define $ac_func innocuous_$ac_func
52301
52302 /* System header to define __stub macros and hopefully few prototypes,
52303     which can conflict with char $ac_func (); below.
52304     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52305     <limits.h> exists even on freestanding compilers.  */
52306
52307 #ifdef __STDC__
52308 # include <limits.h>
52309 #else
52310 # include <assert.h>
52311 #endif
52312
52313 #undef $ac_func
52314
52315 /* Override any gcc2 internal prototype to avoid an error.  */
52316 #ifdef __cplusplus
52317 extern "C"
52318 {
52319 #endif
52320 /* We use char because int might match the return type of a gcc2
52321    builtin and then its argument prototype would still apply.  */
52322 char $ac_func ();
52323 /* The GNU C library defines this for functions which it implements
52324     to always fail with ENOSYS.  Some functions are actually named
52325     something starting with __ and the normal name is an alias.  */
52326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52327 choke me
52328 #else
52329 char (*f) () = $ac_func;
52330 #endif
52331 #ifdef __cplusplus
52332 }
52333 #endif
52334
52335 int
52336 main ()
52337 {
52338 return f != $ac_func;
52339   ;
52340   return 0;
52341 }
52342 _ACEOF
52343 rm -f conftest.$ac_objext conftest$ac_exeext
52344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52345   (eval $ac_link) 2>conftest.er1
52346   ac_status=$?
52347   grep -v '^ *+' conftest.er1 >conftest.err
52348   rm -f conftest.er1
52349   cat conftest.err >&5
52350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52351   (exit $ac_status); } &&
52352          { ac_try='test -z "$ac_c_werror_flag"
52353                          || test ! -s conftest.err'
52354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52355   (eval $ac_try) 2>&5
52356   ac_status=$?
52357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52358   (exit $ac_status); }; } &&
52359          { ac_try='test -s conftest$ac_exeext'
52360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52361   (eval $ac_try) 2>&5
52362   ac_status=$?
52363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52364   (exit $ac_status); }; }; then
52365   eval "$as_ac_var=yes"
52366 else
52367   echo "$as_me: failed program was:" >&5
52368 sed 's/^/| /' conftest.$ac_ext >&5
52369
52370 eval "$as_ac_var=no"
52371 fi
52372 rm -f conftest.err conftest.$ac_objext \
52373       conftest$ac_exeext conftest.$ac_ext
52374 fi
52375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52377 if test `eval echo '${'$as_ac_var'}'` = yes; then
52378   cat >>confdefs.h <<_ACEOF
52379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52380 _ACEOF
52381
52382 else
52383   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
52384 fi
52385 done
52386
52387
52388           if test x$ac_cv_func_copysignl = x"yes"; then
52389
52390 for ac_func in __signbitl
52391 do
52392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52393 echo "$as_me:$LINENO: checking for $ac_func" >&5
52394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52395 if eval "test \"\${$as_ac_var+set}\" = set"; then
52396   echo $ECHO_N "(cached) $ECHO_C" >&6
52397 else
52398   if test x$gcc_no_link = xyes; then
52399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52401    { (exit 1); exit 1; }; }
52402 fi
52403 cat >conftest.$ac_ext <<_ACEOF
52404 /* confdefs.h.  */
52405 _ACEOF
52406 cat confdefs.h >>conftest.$ac_ext
52407 cat >>conftest.$ac_ext <<_ACEOF
52408 /* end confdefs.h.  */
52409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52410    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52411 #define $ac_func innocuous_$ac_func
52412
52413 /* System header to define __stub macros and hopefully few prototypes,
52414     which can conflict with char $ac_func (); below.
52415     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52416     <limits.h> exists even on freestanding compilers.  */
52417
52418 #ifdef __STDC__
52419 # include <limits.h>
52420 #else
52421 # include <assert.h>
52422 #endif
52423
52424 #undef $ac_func
52425
52426 /* Override any gcc2 internal prototype to avoid an error.  */
52427 #ifdef __cplusplus
52428 extern "C"
52429 {
52430 #endif
52431 /* We use char because int might match the return type of a gcc2
52432    builtin and then its argument prototype would still apply.  */
52433 char $ac_func ();
52434 /* The GNU C library defines this for functions which it implements
52435     to always fail with ENOSYS.  Some functions are actually named
52436     something starting with __ and the normal name is an alias.  */
52437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52438 choke me
52439 #else
52440 char (*f) () = $ac_func;
52441 #endif
52442 #ifdef __cplusplus
52443 }
52444 #endif
52445
52446 int
52447 main ()
52448 {
52449 return f != $ac_func;
52450   ;
52451   return 0;
52452 }
52453 _ACEOF
52454 rm -f conftest.$ac_objext conftest$ac_exeext
52455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52456   (eval $ac_link) 2>conftest.er1
52457   ac_status=$?
52458   grep -v '^ *+' conftest.er1 >conftest.err
52459   rm -f conftest.er1
52460   cat conftest.err >&5
52461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52462   (exit $ac_status); } &&
52463          { ac_try='test -z "$ac_c_werror_flag"
52464                          || test ! -s conftest.err'
52465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52466   (eval $ac_try) 2>&5
52467   ac_status=$?
52468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52469   (exit $ac_status); }; } &&
52470          { ac_try='test -s conftest$ac_exeext'
52471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52472   (eval $ac_try) 2>&5
52473   ac_status=$?
52474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52475   (exit $ac_status); }; }; then
52476   eval "$as_ac_var=yes"
52477 else
52478   echo "$as_me: failed program was:" >&5
52479 sed 's/^/| /' conftest.$ac_ext >&5
52480
52481 eval "$as_ac_var=no"
52482 fi
52483 rm -f conftest.err conftest.$ac_objext \
52484       conftest$ac_exeext conftest.$ac_ext
52485 fi
52486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52488 if test `eval echo '${'$as_ac_var'}'` = yes; then
52489   cat >>confdefs.h <<_ACEOF
52490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52491 _ACEOF
52492
52493 else
52494   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
52495 fi
52496 done
52497
52498   fi
52499
52500   # Used in libmath/Makefile.am.
52501   if test -n "$LIBMATHOBJS"; then
52502     need_libmath=yes
52503   fi
52504
52505
52506
52507
52508   enable_iconv=no
52509   # Only continue checking if the ISO C99 headers exist and support is on.
52510   if test x"$enable_wchar_t" = xyes; then
52511
52512     # Use iconv for wchar_t to char conversions. As such, check for
52513     # X/Open Portability Guide, version 2 features (XPG2).
52514     if test "${ac_cv_header_iconv_h+set}" = set; then
52515   echo "$as_me:$LINENO: checking for iconv.h" >&5
52516 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52517 if test "${ac_cv_header_iconv_h+set}" = set; then
52518   echo $ECHO_N "(cached) $ECHO_C" >&6
52519 fi
52520 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52521 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52522 else
52523   # Is the header compilable?
52524 echo "$as_me:$LINENO: checking iconv.h usability" >&5
52525 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
52526 cat >conftest.$ac_ext <<_ACEOF
52527 /* confdefs.h.  */
52528 _ACEOF
52529 cat confdefs.h >>conftest.$ac_ext
52530 cat >>conftest.$ac_ext <<_ACEOF
52531 /* end confdefs.h.  */
52532 $ac_includes_default
52533 #include <iconv.h>
52534 _ACEOF
52535 rm -f conftest.$ac_objext
52536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52537   (eval $ac_compile) 2>conftest.er1
52538   ac_status=$?
52539   grep -v '^ *+' conftest.er1 >conftest.err
52540   rm -f conftest.er1
52541   cat conftest.err >&5
52542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52543   (exit $ac_status); } &&
52544          { ac_try='test -z "$ac_c_werror_flag"
52545                          || test ! -s conftest.err'
52546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52547   (eval $ac_try) 2>&5
52548   ac_status=$?
52549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52550   (exit $ac_status); }; } &&
52551          { ac_try='test -s conftest.$ac_objext'
52552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52553   (eval $ac_try) 2>&5
52554   ac_status=$?
52555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52556   (exit $ac_status); }; }; then
52557   ac_header_compiler=yes
52558 else
52559   echo "$as_me: failed program was:" >&5
52560 sed 's/^/| /' conftest.$ac_ext >&5
52561
52562 ac_header_compiler=no
52563 fi
52564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52565 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52566 echo "${ECHO_T}$ac_header_compiler" >&6
52567
52568 # Is the header present?
52569 echo "$as_me:$LINENO: checking iconv.h presence" >&5
52570 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
52571 cat >conftest.$ac_ext <<_ACEOF
52572 /* confdefs.h.  */
52573 _ACEOF
52574 cat confdefs.h >>conftest.$ac_ext
52575 cat >>conftest.$ac_ext <<_ACEOF
52576 /* end confdefs.h.  */
52577 #include <iconv.h>
52578 _ACEOF
52579 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52580   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52581   ac_status=$?
52582   grep -v '^ *+' conftest.er1 >conftest.err
52583   rm -f conftest.er1
52584   cat conftest.err >&5
52585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52586   (exit $ac_status); } >/dev/null; then
52587   if test -s conftest.err; then
52588     ac_cpp_err=$ac_c_preproc_warn_flag
52589     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52590   else
52591     ac_cpp_err=
52592   fi
52593 else
52594   ac_cpp_err=yes
52595 fi
52596 if test -z "$ac_cpp_err"; then
52597   ac_header_preproc=yes
52598 else
52599   echo "$as_me: failed program was:" >&5
52600 sed 's/^/| /' conftest.$ac_ext >&5
52601
52602   ac_header_preproc=no
52603 fi
52604 rm -f conftest.err conftest.$ac_ext
52605 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52606 echo "${ECHO_T}$ac_header_preproc" >&6
52607
52608 # So?  What about this header?
52609 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52610   yes:no: )
52611     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
52612 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52613     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
52614 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
52615     ac_header_preproc=yes
52616     ;;
52617   no:yes:* )
52618     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
52619 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
52620     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
52621 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
52622     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
52623 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
52624     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
52625 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
52626     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52627 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52628     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
52629 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
52630     (
52631       cat <<\_ASBOX
52632 ## ----------------------------------------- ##
52633 ## Report this to the package-unused lists.  ##
52634 ## ----------------------------------------- ##
52635 _ASBOX
52636     ) |
52637       sed "s/^/$as_me: WARNING:     /" >&2
52638     ;;
52639 esac
52640 echo "$as_me:$LINENO: checking for iconv.h" >&5
52641 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52642 if test "${ac_cv_header_iconv_h+set}" = set; then
52643   echo $ECHO_N "(cached) $ECHO_C" >&6
52644 else
52645   ac_cv_header_iconv_h=$ac_header_preproc
52646 fi
52647 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52648 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52649
52650 fi
52651 if test $ac_cv_header_iconv_h = yes; then
52652   ac_has_iconv_h=yes
52653 else
52654   ac_has_iconv_h=no
52655 fi
52656
52657
52658     if test "${ac_cv_header_langinfo_h+set}" = set; then
52659   echo "$as_me:$LINENO: checking for langinfo.h" >&5
52660 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52661 if test "${ac_cv_header_langinfo_h+set}" = set; then
52662   echo $ECHO_N "(cached) $ECHO_C" >&6
52663 fi
52664 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52665 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52666 else
52667   # Is the header compilable?
52668 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
52669 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
52670 cat >conftest.$ac_ext <<_ACEOF
52671 /* confdefs.h.  */
52672 _ACEOF
52673 cat confdefs.h >>conftest.$ac_ext
52674 cat >>conftest.$ac_ext <<_ACEOF
52675 /* end confdefs.h.  */
52676 $ac_includes_default
52677 #include <langinfo.h>
52678 _ACEOF
52679 rm -f conftest.$ac_objext
52680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52681   (eval $ac_compile) 2>conftest.er1
52682   ac_status=$?
52683   grep -v '^ *+' conftest.er1 >conftest.err
52684   rm -f conftest.er1
52685   cat conftest.err >&5
52686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52687   (exit $ac_status); } &&
52688          { ac_try='test -z "$ac_c_werror_flag"
52689                          || test ! -s conftest.err'
52690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52691   (eval $ac_try) 2>&5
52692   ac_status=$?
52693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52694   (exit $ac_status); }; } &&
52695          { ac_try='test -s conftest.$ac_objext'
52696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52697   (eval $ac_try) 2>&5
52698   ac_status=$?
52699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52700   (exit $ac_status); }; }; then
52701   ac_header_compiler=yes
52702 else
52703   echo "$as_me: failed program was:" >&5
52704 sed 's/^/| /' conftest.$ac_ext >&5
52705
52706 ac_header_compiler=no
52707 fi
52708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52709 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52710 echo "${ECHO_T}$ac_header_compiler" >&6
52711
52712 # Is the header present?
52713 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52714 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52715 cat >conftest.$ac_ext <<_ACEOF
52716 /* confdefs.h.  */
52717 _ACEOF
52718 cat confdefs.h >>conftest.$ac_ext
52719 cat >>conftest.$ac_ext <<_ACEOF
52720 /* end confdefs.h.  */
52721 #include <langinfo.h>
52722 _ACEOF
52723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52724   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52725   ac_status=$?
52726   grep -v '^ *+' conftest.er1 >conftest.err
52727   rm -f conftest.er1
52728   cat conftest.err >&5
52729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52730   (exit $ac_status); } >/dev/null; then
52731   if test -s conftest.err; then
52732     ac_cpp_err=$ac_c_preproc_warn_flag
52733     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52734   else
52735     ac_cpp_err=
52736   fi
52737 else
52738   ac_cpp_err=yes
52739 fi
52740 if test -z "$ac_cpp_err"; then
52741   ac_header_preproc=yes
52742 else
52743   echo "$as_me: failed program was:" >&5
52744 sed 's/^/| /' conftest.$ac_ext >&5
52745
52746   ac_header_preproc=no
52747 fi
52748 rm -f conftest.err conftest.$ac_ext
52749 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52750 echo "${ECHO_T}$ac_header_preproc" >&6
52751
52752 # So?  What about this header?
52753 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52754   yes:no: )
52755     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52756 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52757     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
52758 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
52759     ac_header_preproc=yes
52760     ;;
52761   no:yes:* )
52762     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52763 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52764     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
52765 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
52766     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
52767 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
52768     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
52769 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
52770     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52771 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52772     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
52773 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
52774     (
52775       cat <<\_ASBOX
52776 ## ----------------------------------------- ##
52777 ## Report this to the package-unused lists.  ##
52778 ## ----------------------------------------- ##
52779 _ASBOX
52780     ) |
52781       sed "s/^/$as_me: WARNING:     /" >&2
52782     ;;
52783 esac
52784 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52785 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52786 if test "${ac_cv_header_langinfo_h+set}" = set; then
52787   echo $ECHO_N "(cached) $ECHO_C" >&6
52788 else
52789   ac_cv_header_langinfo_h=$ac_header_preproc
52790 fi
52791 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52792 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52793
52794 fi
52795 if test $ac_cv_header_langinfo_h = yes; then
52796   ac_has_langinfo_h=yes
52797 else
52798   ac_has_langinfo_h=no
52799 fi
52800
52801
52802
52803     # Check for existence of libiconv.a providing XPG2 wchar_t support.
52804     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52805 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52806 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52807   echo $ECHO_N "(cached) $ECHO_C" >&6
52808 else
52809   ac_check_lib_save_LIBS=$LIBS
52810 LIBS="-liconv  $LIBS"
52811 if test x$gcc_no_link = xyes; then
52812   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52814    { (exit 1); exit 1; }; }
52815 fi
52816 cat >conftest.$ac_ext <<_ACEOF
52817 /* confdefs.h.  */
52818 _ACEOF
52819 cat confdefs.h >>conftest.$ac_ext
52820 cat >>conftest.$ac_ext <<_ACEOF
52821 /* end confdefs.h.  */
52822
52823 /* Override any gcc2 internal prototype to avoid an error.  */
52824 #ifdef __cplusplus
52825 extern "C"
52826 #endif
52827 /* We use char because int might match the return type of a gcc2
52828    builtin and then its argument prototype would still apply.  */
52829 char iconv ();
52830 int
52831 main ()
52832 {
52833 iconv ();
52834   ;
52835   return 0;
52836 }
52837 _ACEOF
52838 rm -f conftest.$ac_objext conftest$ac_exeext
52839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52840   (eval $ac_link) 2>conftest.er1
52841   ac_status=$?
52842   grep -v '^ *+' conftest.er1 >conftest.err
52843   rm -f conftest.er1
52844   cat conftest.err >&5
52845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52846   (exit $ac_status); } &&
52847          { ac_try='test -z "$ac_c_werror_flag"
52848                          || test ! -s conftest.err'
52849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52850   (eval $ac_try) 2>&5
52851   ac_status=$?
52852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52853   (exit $ac_status); }; } &&
52854          { ac_try='test -s conftest$ac_exeext'
52855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52856   (eval $ac_try) 2>&5
52857   ac_status=$?
52858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52859   (exit $ac_status); }; }; then
52860   ac_cv_lib_iconv_iconv=yes
52861 else
52862   echo "$as_me: failed program was:" >&5
52863 sed 's/^/| /' conftest.$ac_ext >&5
52864
52865 ac_cv_lib_iconv_iconv=no
52866 fi
52867 rm -f conftest.err conftest.$ac_objext \
52868       conftest$ac_exeext conftest.$ac_ext
52869 LIBS=$ac_check_lib_save_LIBS
52870 fi
52871 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52872 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52873 if test $ac_cv_lib_iconv_iconv = yes; then
52874   LIBICONV="-liconv"
52875 fi
52876
52877     ac_save_LIBS="$LIBS"
52878     LIBS="$LIBS $LIBICONV"
52879
52880
52881
52882
52883
52884
52885 for ac_func in iconv_open iconv_close iconv nl_langinfo
52886 do
52887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52888 echo "$as_me:$LINENO: checking for $ac_func" >&5
52889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52890 if eval "test \"\${$as_ac_var+set}\" = set"; then
52891   echo $ECHO_N "(cached) $ECHO_C" >&6
52892 else
52893   if test x$gcc_no_link = xyes; then
52894   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52896    { (exit 1); exit 1; }; }
52897 fi
52898 cat >conftest.$ac_ext <<_ACEOF
52899 /* confdefs.h.  */
52900 _ACEOF
52901 cat confdefs.h >>conftest.$ac_ext
52902 cat >>conftest.$ac_ext <<_ACEOF
52903 /* end confdefs.h.  */
52904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52905    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52906 #define $ac_func innocuous_$ac_func
52907
52908 /* System header to define __stub macros and hopefully few prototypes,
52909     which can conflict with char $ac_func (); below.
52910     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52911     <limits.h> exists even on freestanding compilers.  */
52912
52913 #ifdef __STDC__
52914 # include <limits.h>
52915 #else
52916 # include <assert.h>
52917 #endif
52918
52919 #undef $ac_func
52920
52921 /* Override any gcc2 internal prototype to avoid an error.  */
52922 #ifdef __cplusplus
52923 extern "C"
52924 {
52925 #endif
52926 /* We use char because int might match the return type of a gcc2
52927    builtin and then its argument prototype would still apply.  */
52928 char $ac_func ();
52929 /* The GNU C library defines this for functions which it implements
52930     to always fail with ENOSYS.  Some functions are actually named
52931     something starting with __ and the normal name is an alias.  */
52932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52933 choke me
52934 #else
52935 char (*f) () = $ac_func;
52936 #endif
52937 #ifdef __cplusplus
52938 }
52939 #endif
52940
52941 int
52942 main ()
52943 {
52944 return f != $ac_func;
52945   ;
52946   return 0;
52947 }
52948 _ACEOF
52949 rm -f conftest.$ac_objext conftest$ac_exeext
52950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52951   (eval $ac_link) 2>conftest.er1
52952   ac_status=$?
52953   grep -v '^ *+' conftest.er1 >conftest.err
52954   rm -f conftest.er1
52955   cat conftest.err >&5
52956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52957   (exit $ac_status); } &&
52958          { ac_try='test -z "$ac_c_werror_flag"
52959                          || test ! -s conftest.err'
52960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52961   (eval $ac_try) 2>&5
52962   ac_status=$?
52963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52964   (exit $ac_status); }; } &&
52965          { ac_try='test -s conftest$ac_exeext'
52966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52967   (eval $ac_try) 2>&5
52968   ac_status=$?
52969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52970   (exit $ac_status); }; }; then
52971   eval "$as_ac_var=yes"
52972 else
52973   echo "$as_me: failed program was:" >&5
52974 sed 's/^/| /' conftest.$ac_ext >&5
52975
52976 eval "$as_ac_var=no"
52977 fi
52978 rm -f conftest.err conftest.$ac_objext \
52979       conftest$ac_exeext conftest.$ac_ext
52980 fi
52981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52983 if test `eval echo '${'$as_ac_var'}'` = yes; then
52984   cat >>confdefs.h <<_ACEOF
52985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52986 _ACEOF
52987  ac_XPG2funcs=yes
52988 else
52989   ac_XPG2funcs=no
52990 fi
52991 done
52992
52993
52994     LIBS="$ac_save_LIBS"
52995
52996     if test x"$ac_has_iconv_h" = xyes &&
52997        test x"$ac_has_langinfo_h" = xyes &&
52998        test x"$ac_XPG2funcs" = xyes;
52999     then
53000
53001 cat >>confdefs.h <<\_ACEOF
53002 #define _GLIBCXX_USE_ICONV 1
53003 _ACEOF
53004
53005       enable_iconv=yes
53006     fi
53007   fi
53008   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
53009 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
53010   echo "$as_me:$LINENO: result: $enable_iconv" >&5
53011 echo "${ECHO_T}$enable_iconv" >&6
53012
53013
53014   ac_test_CXXFLAGS="${CXXFLAGS+set}"
53015   ac_save_CXXFLAGS="$CXXFLAGS"
53016   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53017
53018
53019   echo "$as_me:$LINENO: checking for strtold declaration" >&5
53020 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
53021   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53022     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
53023   echo $ECHO_N "(cached) $ECHO_C" >&6
53024 else
53025
53026
53027
53028       ac_ext=cc
53029 ac_cpp='$CXXCPP $CPPFLAGS'
53030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53033
53034       cat >conftest.$ac_ext <<_ACEOF
53035 /* confdefs.h.  */
53036 _ACEOF
53037 cat confdefs.h >>conftest.$ac_ext
53038 cat >>conftest.$ac_ext <<_ACEOF
53039 /* end confdefs.h.  */
53040 #include <stdlib.h>
53041 int
53042 main ()
53043 {
53044  strtold(0, 0);
53045   ;
53046   return 0;
53047 }
53048 _ACEOF
53049 rm -f conftest.$ac_objext
53050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53051   (eval $ac_compile) 2>conftest.er1
53052   ac_status=$?
53053   grep -v '^ *+' conftest.er1 >conftest.err
53054   rm -f conftest.er1
53055   cat conftest.err >&5
53056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53057   (exit $ac_status); } &&
53058          { ac_try='test -z "$ac_cxx_werror_flag"
53059                          || test ! -s conftest.err'
53060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53061   (eval $ac_try) 2>&5
53062   ac_status=$?
53063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53064   (exit $ac_status); }; } &&
53065          { ac_try='test -s conftest.$ac_objext'
53066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53067   (eval $ac_try) 2>&5
53068   ac_status=$?
53069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53070   (exit $ac_status); }; }; then
53071   glibcxx_cv_func_strtold_use=yes
53072 else
53073   echo "$as_me: failed program was:" >&5
53074 sed 's/^/| /' conftest.$ac_ext >&5
53075
53076 glibcxx_cv_func_strtold_use=no
53077 fi
53078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53079       ac_ext=c
53080 ac_cpp='$CPP $CPPFLAGS'
53081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53084
53085
53086 fi
53087
53088   fi
53089   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
53090 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
53091   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53092
53093 for ac_func in strtold
53094 do
53095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53096 echo "$as_me:$LINENO: checking for $ac_func" >&5
53097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53098 if eval "test \"\${$as_ac_var+set}\" = set"; then
53099   echo $ECHO_N "(cached) $ECHO_C" >&6
53100 else
53101   if test x$gcc_no_link = xyes; then
53102   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53104    { (exit 1); exit 1; }; }
53105 fi
53106 cat >conftest.$ac_ext <<_ACEOF
53107 /* confdefs.h.  */
53108 _ACEOF
53109 cat confdefs.h >>conftest.$ac_ext
53110 cat >>conftest.$ac_ext <<_ACEOF
53111 /* end confdefs.h.  */
53112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53113    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53114 #define $ac_func innocuous_$ac_func
53115
53116 /* System header to define __stub macros and hopefully few prototypes,
53117     which can conflict with char $ac_func (); below.
53118     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53119     <limits.h> exists even on freestanding compilers.  */
53120
53121 #ifdef __STDC__
53122 # include <limits.h>
53123 #else
53124 # include <assert.h>
53125 #endif
53126
53127 #undef $ac_func
53128
53129 /* Override any gcc2 internal prototype to avoid an error.  */
53130 #ifdef __cplusplus
53131 extern "C"
53132 {
53133 #endif
53134 /* We use char because int might match the return type of a gcc2
53135    builtin and then its argument prototype would still apply.  */
53136 char $ac_func ();
53137 /* The GNU C library defines this for functions which it implements
53138     to always fail with ENOSYS.  Some functions are actually named
53139     something starting with __ and the normal name is an alias.  */
53140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53141 choke me
53142 #else
53143 char (*f) () = $ac_func;
53144 #endif
53145 #ifdef __cplusplus
53146 }
53147 #endif
53148
53149 int
53150 main ()
53151 {
53152 return f != $ac_func;
53153   ;
53154   return 0;
53155 }
53156 _ACEOF
53157 rm -f conftest.$ac_objext conftest$ac_exeext
53158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53159   (eval $ac_link) 2>conftest.er1
53160   ac_status=$?
53161   grep -v '^ *+' conftest.er1 >conftest.err
53162   rm -f conftest.er1
53163   cat conftest.err >&5
53164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53165   (exit $ac_status); } &&
53166          { ac_try='test -z "$ac_c_werror_flag"
53167                          || test ! -s conftest.err'
53168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53169   (eval $ac_try) 2>&5
53170   ac_status=$?
53171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53172   (exit $ac_status); }; } &&
53173          { ac_try='test -s conftest$ac_exeext'
53174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53175   (eval $ac_try) 2>&5
53176   ac_status=$?
53177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53178   (exit $ac_status); }; }; then
53179   eval "$as_ac_var=yes"
53180 else
53181   echo "$as_me: failed program was:" >&5
53182 sed 's/^/| /' conftest.$ac_ext >&5
53183
53184 eval "$as_ac_var=no"
53185 fi
53186 rm -f conftest.err conftest.$ac_objext \
53187       conftest$ac_exeext conftest.$ac_ext
53188 fi
53189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53191 if test `eval echo '${'$as_ac_var'}'` = yes; then
53192   cat >>confdefs.h <<_ACEOF
53193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53194 _ACEOF
53195
53196 fi
53197 done
53198
53199   fi
53200
53201
53202
53203
53204
53205   echo "$as_me:$LINENO: checking for strtof declaration" >&5
53206 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
53207   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53208     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
53209   echo $ECHO_N "(cached) $ECHO_C" >&6
53210 else
53211
53212
53213
53214       ac_ext=cc
53215 ac_cpp='$CXXCPP $CPPFLAGS'
53216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53219
53220       cat >conftest.$ac_ext <<_ACEOF
53221 /* confdefs.h.  */
53222 _ACEOF
53223 cat confdefs.h >>conftest.$ac_ext
53224 cat >>conftest.$ac_ext <<_ACEOF
53225 /* end confdefs.h.  */
53226 #include <stdlib.h>
53227 int
53228 main ()
53229 {
53230  strtof(0, 0);
53231   ;
53232   return 0;
53233 }
53234 _ACEOF
53235 rm -f conftest.$ac_objext
53236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53237   (eval $ac_compile) 2>conftest.er1
53238   ac_status=$?
53239   grep -v '^ *+' conftest.er1 >conftest.err
53240   rm -f conftest.er1
53241   cat conftest.err >&5
53242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53243   (exit $ac_status); } &&
53244          { ac_try='test -z "$ac_cxx_werror_flag"
53245                          || test ! -s conftest.err'
53246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53247   (eval $ac_try) 2>&5
53248   ac_status=$?
53249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53250   (exit $ac_status); }; } &&
53251          { ac_try='test -s conftest.$ac_objext'
53252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53253   (eval $ac_try) 2>&5
53254   ac_status=$?
53255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53256   (exit $ac_status); }; }; then
53257   glibcxx_cv_func_strtof_use=yes
53258 else
53259   echo "$as_me: failed program was:" >&5
53260 sed 's/^/| /' conftest.$ac_ext >&5
53261
53262 glibcxx_cv_func_strtof_use=no
53263 fi
53264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53265       ac_ext=c
53266 ac_cpp='$CPP $CPPFLAGS'
53267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53270
53271
53272 fi
53273
53274   fi
53275   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
53276 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
53277   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53278
53279 for ac_func in strtof
53280 do
53281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53282 echo "$as_me:$LINENO: checking for $ac_func" >&5
53283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53284 if eval "test \"\${$as_ac_var+set}\" = set"; then
53285   echo $ECHO_N "(cached) $ECHO_C" >&6
53286 else
53287   if test x$gcc_no_link = xyes; then
53288   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53290    { (exit 1); exit 1; }; }
53291 fi
53292 cat >conftest.$ac_ext <<_ACEOF
53293 /* confdefs.h.  */
53294 _ACEOF
53295 cat confdefs.h >>conftest.$ac_ext
53296 cat >>conftest.$ac_ext <<_ACEOF
53297 /* end confdefs.h.  */
53298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53299    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53300 #define $ac_func innocuous_$ac_func
53301
53302 /* System header to define __stub macros and hopefully few prototypes,
53303     which can conflict with char $ac_func (); below.
53304     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53305     <limits.h> exists even on freestanding compilers.  */
53306
53307 #ifdef __STDC__
53308 # include <limits.h>
53309 #else
53310 # include <assert.h>
53311 #endif
53312
53313 #undef $ac_func
53314
53315 /* Override any gcc2 internal prototype to avoid an error.  */
53316 #ifdef __cplusplus
53317 extern "C"
53318 {
53319 #endif
53320 /* We use char because int might match the return type of a gcc2
53321    builtin and then its argument prototype would still apply.  */
53322 char $ac_func ();
53323 /* The GNU C library defines this for functions which it implements
53324     to always fail with ENOSYS.  Some functions are actually named
53325     something starting with __ and the normal name is an alias.  */
53326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53327 choke me
53328 #else
53329 char (*f) () = $ac_func;
53330 #endif
53331 #ifdef __cplusplus
53332 }
53333 #endif
53334
53335 int
53336 main ()
53337 {
53338 return f != $ac_func;
53339   ;
53340   return 0;
53341 }
53342 _ACEOF
53343 rm -f conftest.$ac_objext conftest$ac_exeext
53344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53345   (eval $ac_link) 2>conftest.er1
53346   ac_status=$?
53347   grep -v '^ *+' conftest.er1 >conftest.err
53348   rm -f conftest.er1
53349   cat conftest.err >&5
53350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53351   (exit $ac_status); } &&
53352          { ac_try='test -z "$ac_c_werror_flag"
53353                          || test ! -s conftest.err'
53354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53355   (eval $ac_try) 2>&5
53356   ac_status=$?
53357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53358   (exit $ac_status); }; } &&
53359          { ac_try='test -s conftest$ac_exeext'
53360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53361   (eval $ac_try) 2>&5
53362   ac_status=$?
53363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53364   (exit $ac_status); }; }; then
53365   eval "$as_ac_var=yes"
53366 else
53367   echo "$as_me: failed program was:" >&5
53368 sed 's/^/| /' conftest.$ac_ext >&5
53369
53370 eval "$as_ac_var=no"
53371 fi
53372 rm -f conftest.err conftest.$ac_objext \
53373       conftest$ac_exeext conftest.$ac_ext
53374 fi
53375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53377 if test `eval echo '${'$as_ac_var'}'` = yes; then
53378   cat >>confdefs.h <<_ACEOF
53379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53380 _ACEOF
53381
53382 fi
53383 done
53384
53385   fi
53386
53387
53388
53389
53390
53391   CXXFLAGS="$ac_save_CXXFLAGS"
53392
53393
53394     # For showmanyc_helper().
53395
53396
53397 for ac_header in sys/ioctl.h sys/filio.h
53398 do
53399 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53401   echo "$as_me:$LINENO: checking for $ac_header" >&5
53402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53404   echo $ECHO_N "(cached) $ECHO_C" >&6
53405 fi
53406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53408 else
53409   # Is the header compilable?
53410 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53411 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53412 cat >conftest.$ac_ext <<_ACEOF
53413 /* confdefs.h.  */
53414 _ACEOF
53415 cat confdefs.h >>conftest.$ac_ext
53416 cat >>conftest.$ac_ext <<_ACEOF
53417 /* end confdefs.h.  */
53418 $ac_includes_default
53419 #include <$ac_header>
53420 _ACEOF
53421 rm -f conftest.$ac_objext
53422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53423   (eval $ac_compile) 2>conftest.er1
53424   ac_status=$?
53425   grep -v '^ *+' conftest.er1 >conftest.err
53426   rm -f conftest.er1
53427   cat conftest.err >&5
53428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53429   (exit $ac_status); } &&
53430          { ac_try='test -z "$ac_c_werror_flag"
53431                          || test ! -s conftest.err'
53432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53433   (eval $ac_try) 2>&5
53434   ac_status=$?
53435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53436   (exit $ac_status); }; } &&
53437          { ac_try='test -s conftest.$ac_objext'
53438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53439   (eval $ac_try) 2>&5
53440   ac_status=$?
53441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53442   (exit $ac_status); }; }; then
53443   ac_header_compiler=yes
53444 else
53445   echo "$as_me: failed program was:" >&5
53446 sed 's/^/| /' conftest.$ac_ext >&5
53447
53448 ac_header_compiler=no
53449 fi
53450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53452 echo "${ECHO_T}$ac_header_compiler" >&6
53453
53454 # Is the header present?
53455 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53456 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53457 cat >conftest.$ac_ext <<_ACEOF
53458 /* confdefs.h.  */
53459 _ACEOF
53460 cat confdefs.h >>conftest.$ac_ext
53461 cat >>conftest.$ac_ext <<_ACEOF
53462 /* end confdefs.h.  */
53463 #include <$ac_header>
53464 _ACEOF
53465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53466   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53467   ac_status=$?
53468   grep -v '^ *+' conftest.er1 >conftest.err
53469   rm -f conftest.er1
53470   cat conftest.err >&5
53471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53472   (exit $ac_status); } >/dev/null; then
53473   if test -s conftest.err; then
53474     ac_cpp_err=$ac_c_preproc_warn_flag
53475     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53476   else
53477     ac_cpp_err=
53478   fi
53479 else
53480   ac_cpp_err=yes
53481 fi
53482 if test -z "$ac_cpp_err"; then
53483   ac_header_preproc=yes
53484 else
53485   echo "$as_me: failed program was:" >&5
53486 sed 's/^/| /' conftest.$ac_ext >&5
53487
53488   ac_header_preproc=no
53489 fi
53490 rm -f conftest.err conftest.$ac_ext
53491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53492 echo "${ECHO_T}$ac_header_preproc" >&6
53493
53494 # So?  What about this header?
53495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53496   yes:no: )
53497     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53498 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53499     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53500 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53501     ac_header_preproc=yes
53502     ;;
53503   no:yes:* )
53504     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53505 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53506     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
53507 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
53508     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53509 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53510     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
53511 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
53512     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53514     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53515 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53516     (
53517       cat <<\_ASBOX
53518 ## ----------------------------------------- ##
53519 ## Report this to the package-unused lists.  ##
53520 ## ----------------------------------------- ##
53521 _ASBOX
53522     ) |
53523       sed "s/^/$as_me: WARNING:     /" >&2
53524     ;;
53525 esac
53526 echo "$as_me:$LINENO: checking for $ac_header" >&5
53527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53529   echo $ECHO_N "(cached) $ECHO_C" >&6
53530 else
53531   eval "$as_ac_Header=\$ac_header_preproc"
53532 fi
53533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53535
53536 fi
53537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53538   cat >>confdefs.h <<_ACEOF
53539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53540 _ACEOF
53541
53542 fi
53543
53544 done
53545
53546
53547   echo "$as_me:$LINENO: checking for poll" >&5
53548 echo $ECHO_N "checking for poll... $ECHO_C" >&6
53549   if test "${glibcxx_cv_POLL+set}" = set; then
53550   echo $ECHO_N "(cached) $ECHO_C" >&6
53551 else
53552
53553     if test x$gcc_no_link = xyes; then
53554   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53556    { (exit 1); exit 1; }; }
53557 fi
53558 cat >conftest.$ac_ext <<_ACEOF
53559 /* confdefs.h.  */
53560 _ACEOF
53561 cat confdefs.h >>conftest.$ac_ext
53562 cat >>conftest.$ac_ext <<_ACEOF
53563 /* end confdefs.h.  */
53564 #include <poll.h>
53565 int
53566 main ()
53567 {
53568 struct pollfd pfd[1];
53569        pfd[0].events = POLLIN;
53570        poll(pfd, 1, 0);
53571   ;
53572   return 0;
53573 }
53574 _ACEOF
53575 rm -f conftest.$ac_objext conftest$ac_exeext
53576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53577   (eval $ac_link) 2>conftest.er1
53578   ac_status=$?
53579   grep -v '^ *+' conftest.er1 >conftest.err
53580   rm -f conftest.er1
53581   cat conftest.err >&5
53582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53583   (exit $ac_status); } &&
53584          { ac_try='test -z "$ac_c_werror_flag"
53585                          || test ! -s conftest.err'
53586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53587   (eval $ac_try) 2>&5
53588   ac_status=$?
53589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53590   (exit $ac_status); }; } &&
53591          { ac_try='test -s conftest$ac_exeext'
53592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53593   (eval $ac_try) 2>&5
53594   ac_status=$?
53595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53596   (exit $ac_status); }; }; then
53597   glibcxx_cv_POLL=yes
53598 else
53599   echo "$as_me: failed program was:" >&5
53600 sed 's/^/| /' conftest.$ac_ext >&5
53601
53602 glibcxx_cv_POLL=no
53603 fi
53604 rm -f conftest.err conftest.$ac_objext \
53605       conftest$ac_exeext conftest.$ac_ext
53606
53607 fi
53608
53609   if test $glibcxx_cv_POLL = yes; then
53610
53611 cat >>confdefs.h <<\_ACEOF
53612 #define HAVE_POLL 1
53613 _ACEOF
53614
53615   fi
53616   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
53617 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
53618
53619
53620   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
53621 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
53622   if test "${glibcxx_cv_S_ISREG+set}" = set; then
53623   echo $ECHO_N "(cached) $ECHO_C" >&6
53624 else
53625
53626     if test x$gcc_no_link = xyes; then
53627   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53629    { (exit 1); exit 1; }; }
53630 fi
53631 cat >conftest.$ac_ext <<_ACEOF
53632 /* confdefs.h.  */
53633 _ACEOF
53634 cat confdefs.h >>conftest.$ac_ext
53635 cat >>conftest.$ac_ext <<_ACEOF
53636 /* end confdefs.h.  */
53637 #include <sys/stat.h>
53638 int
53639 main ()
53640 {
53641 struct stat buffer;
53642        fstat(0, &buffer);
53643        S_ISREG(buffer.st_mode);
53644   ;
53645   return 0;
53646 }
53647 _ACEOF
53648 rm -f conftest.$ac_objext conftest$ac_exeext
53649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53650   (eval $ac_link) 2>conftest.er1
53651   ac_status=$?
53652   grep -v '^ *+' conftest.er1 >conftest.err
53653   rm -f conftest.er1
53654   cat conftest.err >&5
53655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53656   (exit $ac_status); } &&
53657          { ac_try='test -z "$ac_c_werror_flag"
53658                          || test ! -s conftest.err'
53659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53660   (eval $ac_try) 2>&5
53661   ac_status=$?
53662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53663   (exit $ac_status); }; } &&
53664          { ac_try='test -s conftest$ac_exeext'
53665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53666   (eval $ac_try) 2>&5
53667   ac_status=$?
53668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53669   (exit $ac_status); }; }; then
53670   glibcxx_cv_S_ISREG=yes
53671 else
53672   echo "$as_me: failed program was:" >&5
53673 sed 's/^/| /' conftest.$ac_ext >&5
53674
53675 glibcxx_cv_S_ISREG=no
53676 fi
53677 rm -f conftest.err conftest.$ac_objext \
53678       conftest$ac_exeext conftest.$ac_ext
53679
53680 fi
53681
53682   if test "${glibcxx_cv_S_IFREG+set}" = set; then
53683   echo $ECHO_N "(cached) $ECHO_C" >&6
53684 else
53685
53686     if test x$gcc_no_link = xyes; then
53687   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53689    { (exit 1); exit 1; }; }
53690 fi
53691 cat >conftest.$ac_ext <<_ACEOF
53692 /* confdefs.h.  */
53693 _ACEOF
53694 cat confdefs.h >>conftest.$ac_ext
53695 cat >>conftest.$ac_ext <<_ACEOF
53696 /* end confdefs.h.  */
53697 #include <sys/stat.h>
53698 int
53699 main ()
53700 {
53701 struct stat buffer;
53702        fstat(0, &buffer);
53703        S_IFREG & buffer.st_mode;
53704   ;
53705   return 0;
53706 }
53707 _ACEOF
53708 rm -f conftest.$ac_objext conftest$ac_exeext
53709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53710   (eval $ac_link) 2>conftest.er1
53711   ac_status=$?
53712   grep -v '^ *+' conftest.er1 >conftest.err
53713   rm -f conftest.er1
53714   cat conftest.err >&5
53715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53716   (exit $ac_status); } &&
53717          { ac_try='test -z "$ac_c_werror_flag"
53718                          || test ! -s conftest.err'
53719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53720   (eval $ac_try) 2>&5
53721   ac_status=$?
53722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53723   (exit $ac_status); }; } &&
53724          { ac_try='test -s conftest$ac_exeext'
53725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53726   (eval $ac_try) 2>&5
53727   ac_status=$?
53728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53729   (exit $ac_status); }; }; then
53730   glibcxx_cv_S_IFREG=yes
53731 else
53732   echo "$as_me: failed program was:" >&5
53733 sed 's/^/| /' conftest.$ac_ext >&5
53734
53735 glibcxx_cv_S_IFREG=no
53736 fi
53737 rm -f conftest.err conftest.$ac_objext \
53738       conftest$ac_exeext conftest.$ac_ext
53739
53740 fi
53741
53742   res=no
53743   if test $glibcxx_cv_S_ISREG = yes; then
53744
53745 cat >>confdefs.h <<\_ACEOF
53746 #define HAVE_S_ISREG 1
53747 _ACEOF
53748
53749     res=S_ISREG
53750   elif test $glibcxx_cv_S_IFREG = yes; then
53751
53752 cat >>confdefs.h <<\_ACEOF
53753 #define HAVE_S_IFREG 1
53754 _ACEOF
53755
53756     res=S_IFREG
53757   fi
53758   echo "$as_me:$LINENO: result: $res" >&5
53759 echo "${ECHO_T}$res" >&6
53760
53761
53762     # For xsputn_2().
53763
53764 for ac_header in sys/uio.h
53765 do
53766 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53768   echo "$as_me:$LINENO: checking for $ac_header" >&5
53769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53771   echo $ECHO_N "(cached) $ECHO_C" >&6
53772 fi
53773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53775 else
53776   # Is the header compilable?
53777 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53778 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53779 cat >conftest.$ac_ext <<_ACEOF
53780 /* confdefs.h.  */
53781 _ACEOF
53782 cat confdefs.h >>conftest.$ac_ext
53783 cat >>conftest.$ac_ext <<_ACEOF
53784 /* end confdefs.h.  */
53785 $ac_includes_default
53786 #include <$ac_header>
53787 _ACEOF
53788 rm -f conftest.$ac_objext
53789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53790   (eval $ac_compile) 2>conftest.er1
53791   ac_status=$?
53792   grep -v '^ *+' conftest.er1 >conftest.err
53793   rm -f conftest.er1
53794   cat conftest.err >&5
53795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53796   (exit $ac_status); } &&
53797          { ac_try='test -z "$ac_c_werror_flag"
53798                          || test ! -s conftest.err'
53799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53800   (eval $ac_try) 2>&5
53801   ac_status=$?
53802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53803   (exit $ac_status); }; } &&
53804          { ac_try='test -s conftest.$ac_objext'
53805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53806   (eval $ac_try) 2>&5
53807   ac_status=$?
53808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53809   (exit $ac_status); }; }; then
53810   ac_header_compiler=yes
53811 else
53812   echo "$as_me: failed program was:" >&5
53813 sed 's/^/| /' conftest.$ac_ext >&5
53814
53815 ac_header_compiler=no
53816 fi
53817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53818 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53819 echo "${ECHO_T}$ac_header_compiler" >&6
53820
53821 # Is the header present?
53822 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53823 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53824 cat >conftest.$ac_ext <<_ACEOF
53825 /* confdefs.h.  */
53826 _ACEOF
53827 cat confdefs.h >>conftest.$ac_ext
53828 cat >>conftest.$ac_ext <<_ACEOF
53829 /* end confdefs.h.  */
53830 #include <$ac_header>
53831 _ACEOF
53832 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53833   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53834   ac_status=$?
53835   grep -v '^ *+' conftest.er1 >conftest.err
53836   rm -f conftest.er1
53837   cat conftest.err >&5
53838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53839   (exit $ac_status); } >/dev/null; then
53840   if test -s conftest.err; then
53841     ac_cpp_err=$ac_c_preproc_warn_flag
53842     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53843   else
53844     ac_cpp_err=
53845   fi
53846 else
53847   ac_cpp_err=yes
53848 fi
53849 if test -z "$ac_cpp_err"; then
53850   ac_header_preproc=yes
53851 else
53852   echo "$as_me: failed program was:" >&5
53853 sed 's/^/| /' conftest.$ac_ext >&5
53854
53855   ac_header_preproc=no
53856 fi
53857 rm -f conftest.err conftest.$ac_ext
53858 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53859 echo "${ECHO_T}$ac_header_preproc" >&6
53860
53861 # So?  What about this header?
53862 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53863   yes:no: )
53864     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53865 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53866     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53867 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53868     ac_header_preproc=yes
53869     ;;
53870   no:yes:* )
53871     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53872 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53873     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
53874 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
53875     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53876 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53877     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
53878 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
53879     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53880 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53881     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53882 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53883     (
53884       cat <<\_ASBOX
53885 ## ----------------------------------------- ##
53886 ## Report this to the package-unused lists.  ##
53887 ## ----------------------------------------- ##
53888 _ASBOX
53889     ) |
53890       sed "s/^/$as_me: WARNING:     /" >&2
53891     ;;
53892 esac
53893 echo "$as_me:$LINENO: checking for $ac_header" >&5
53894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53896   echo $ECHO_N "(cached) $ECHO_C" >&6
53897 else
53898   eval "$as_ac_Header=\$ac_header_preproc"
53899 fi
53900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53901 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53902
53903 fi
53904 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53905   cat >>confdefs.h <<_ACEOF
53906 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53907 _ACEOF
53908
53909 fi
53910
53911 done
53912
53913
53914   echo "$as_me:$LINENO: checking for writev" >&5
53915 echo $ECHO_N "checking for writev... $ECHO_C" >&6
53916   if test "${glibcxx_cv_WRITEV+set}" = set; then
53917   echo $ECHO_N "(cached) $ECHO_C" >&6
53918 else
53919
53920     if test x$gcc_no_link = xyes; then
53921   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53923    { (exit 1); exit 1; }; }
53924 fi
53925 cat >conftest.$ac_ext <<_ACEOF
53926 /* confdefs.h.  */
53927 _ACEOF
53928 cat confdefs.h >>conftest.$ac_ext
53929 cat >>conftest.$ac_ext <<_ACEOF
53930 /* end confdefs.h.  */
53931 #include <sys/uio.h>
53932 int
53933 main ()
53934 {
53935 struct iovec iov[2];
53936        writev(0, iov, 0);
53937   ;
53938   return 0;
53939 }
53940 _ACEOF
53941 rm -f conftest.$ac_objext conftest$ac_exeext
53942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53943   (eval $ac_link) 2>conftest.er1
53944   ac_status=$?
53945   grep -v '^ *+' conftest.er1 >conftest.err
53946   rm -f conftest.er1
53947   cat conftest.err >&5
53948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53949   (exit $ac_status); } &&
53950          { ac_try='test -z "$ac_c_werror_flag"
53951                          || test ! -s conftest.err'
53952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53953   (eval $ac_try) 2>&5
53954   ac_status=$?
53955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53956   (exit $ac_status); }; } &&
53957          { ac_try='test -s conftest$ac_exeext'
53958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53959   (eval $ac_try) 2>&5
53960   ac_status=$?
53961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53962   (exit $ac_status); }; }; then
53963   glibcxx_cv_WRITEV=yes
53964 else
53965   echo "$as_me: failed program was:" >&5
53966 sed 's/^/| /' conftest.$ac_ext >&5
53967
53968 glibcxx_cv_WRITEV=no
53969 fi
53970 rm -f conftest.err conftest.$ac_objext \
53971       conftest$ac_exeext conftest.$ac_ext
53972
53973 fi
53974
53975   if test $glibcxx_cv_WRITEV = yes; then
53976
53977 cat >>confdefs.h <<\_ACEOF
53978 #define HAVE_WRITEV 1
53979 _ACEOF
53980
53981   fi
53982   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
53983 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
53984
53985
53986     cat >>confdefs.h <<\_ACEOF
53987 #define HAVE_LC_MESSAGES 1
53988 _ACEOF
53989
53990
53991     cat >conftest.$ac_ext <<_ACEOF
53992 /* confdefs.h.  */
53993 _ACEOF
53994 cat confdefs.h >>conftest.$ac_ext
53995 cat >>conftest.$ac_ext <<_ACEOF
53996 /* end confdefs.h.  */
53997 #include <setjmp.h>
53998 int
53999 main ()
54000 {
54001 sigjmp_buf env;
54002        while (! sigsetjmp (env, 1))
54003          siglongjmp (env, 1);
54004
54005   ;
54006   return 0;
54007 }
54008 _ACEOF
54009 rm -f conftest.$ac_objext
54010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54011   (eval $ac_compile) 2>conftest.er1
54012   ac_status=$?
54013   grep -v '^ *+' conftest.er1 >conftest.err
54014   rm -f conftest.er1
54015   cat conftest.err >&5
54016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54017   (exit $ac_status); } &&
54018          { ac_try='test -z "$ac_c_werror_flag"
54019                          || test ! -s conftest.err'
54020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54021   (eval $ac_try) 2>&5
54022   ac_status=$?
54023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54024   (exit $ac_status); }; } &&
54025          { ac_try='test -s conftest.$ac_objext'
54026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54027   (eval $ac_try) 2>&5
54028   ac_status=$?
54029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54030   (exit $ac_status); }; }; then
54031
54032 cat >>confdefs.h <<\_ACEOF
54033 #define HAVE_SIGSETJMP 1
54034 _ACEOF
54035
54036 else
54037   echo "$as_me: failed program was:" >&5
54038 sed 's/^/| /' conftest.$ac_ext >&5
54039
54040 fi
54041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54042
54043     cat >>confdefs.h <<\_ACEOF
54044 #define HAVE_MMAP 1
54045 _ACEOF
54046
54047     ;;
54048
54049   *djgpp)
54050
54051
54052
54053
54054
54055
54056
54057
54058
54059
54060
54061
54062
54063
54064
54065
54066
54067
54068
54069
54070 for ac_header in float.h ieeefp.h inttypes.h locale.h \
54071       memory.h stdint.h stdlib.h strings.h string.h unistd.h \
54072       wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
54073       sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
54074 do
54075 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54077   echo "$as_me:$LINENO: checking for $ac_header" >&5
54078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54080   echo $ECHO_N "(cached) $ECHO_C" >&6
54081 fi
54082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54084 else
54085   # Is the header compilable?
54086 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54087 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54088 cat >conftest.$ac_ext <<_ACEOF
54089 /* confdefs.h.  */
54090 _ACEOF
54091 cat confdefs.h >>conftest.$ac_ext
54092 cat >>conftest.$ac_ext <<_ACEOF
54093 /* end confdefs.h.  */
54094 $ac_includes_default
54095 #include <$ac_header>
54096 _ACEOF
54097 rm -f conftest.$ac_objext
54098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54099   (eval $ac_compile) 2>conftest.er1
54100   ac_status=$?
54101   grep -v '^ *+' conftest.er1 >conftest.err
54102   rm -f conftest.er1
54103   cat conftest.err >&5
54104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54105   (exit $ac_status); } &&
54106          { ac_try='test -z "$ac_c_werror_flag"
54107                          || test ! -s conftest.err'
54108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54109   (eval $ac_try) 2>&5
54110   ac_status=$?
54111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54112   (exit $ac_status); }; } &&
54113          { ac_try='test -s conftest.$ac_objext'
54114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54115   (eval $ac_try) 2>&5
54116   ac_status=$?
54117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54118   (exit $ac_status); }; }; then
54119   ac_header_compiler=yes
54120 else
54121   echo "$as_me: failed program was:" >&5
54122 sed 's/^/| /' conftest.$ac_ext >&5
54123
54124 ac_header_compiler=no
54125 fi
54126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54127 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54128 echo "${ECHO_T}$ac_header_compiler" >&6
54129
54130 # Is the header present?
54131 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54132 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54133 cat >conftest.$ac_ext <<_ACEOF
54134 /* confdefs.h.  */
54135 _ACEOF
54136 cat confdefs.h >>conftest.$ac_ext
54137 cat >>conftest.$ac_ext <<_ACEOF
54138 /* end confdefs.h.  */
54139 #include <$ac_header>
54140 _ACEOF
54141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54142   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54143   ac_status=$?
54144   grep -v '^ *+' conftest.er1 >conftest.err
54145   rm -f conftest.er1
54146   cat conftest.err >&5
54147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54148   (exit $ac_status); } >/dev/null; then
54149   if test -s conftest.err; then
54150     ac_cpp_err=$ac_c_preproc_warn_flag
54151     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54152   else
54153     ac_cpp_err=
54154   fi
54155 else
54156   ac_cpp_err=yes
54157 fi
54158 if test -z "$ac_cpp_err"; then
54159   ac_header_preproc=yes
54160 else
54161   echo "$as_me: failed program was:" >&5
54162 sed 's/^/| /' conftest.$ac_ext >&5
54163
54164   ac_header_preproc=no
54165 fi
54166 rm -f conftest.err conftest.$ac_ext
54167 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54168 echo "${ECHO_T}$ac_header_preproc" >&6
54169
54170 # So?  What about this header?
54171 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54172   yes:no: )
54173     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54174 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54175     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54176 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54177     ac_header_preproc=yes
54178     ;;
54179   no:yes:* )
54180     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54181 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54182     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
54183 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
54184     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54185 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54186     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
54187 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
54188     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54189 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54190     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54191 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54192     (
54193       cat <<\_ASBOX
54194 ## ----------------------------------------- ##
54195 ## Report this to the package-unused lists.  ##
54196 ## ----------------------------------------- ##
54197 _ASBOX
54198     ) |
54199       sed "s/^/$as_me: WARNING:     /" >&2
54200     ;;
54201 esac
54202 echo "$as_me:$LINENO: checking for $ac_header" >&5
54203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54205   echo $ECHO_N "(cached) $ECHO_C" >&6
54206 else
54207   eval "$as_ac_Header=\$ac_header_preproc"
54208 fi
54209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54211
54212 fi
54213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54214   cat >>confdefs.h <<_ACEOF
54215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54216 _ACEOF
54217
54218 fi
54219
54220 done
54221
54222
54223   # If we're not using GNU ld, then there's no point in even trying these
54224   # tests.  Check for that first.  We should have already tested for gld
54225   # by now (in libtool), but require it now just to be safe...
54226   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54227   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54228
54229
54230
54231   # The name set by libtool depends on the version of libtool.  Shame on us
54232   # for depending on an impl detail, but c'est la vie.  Older versions used
54233   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54234   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54235   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
54236   # set (hence we're using an older libtool), then set it.
54237   if test x${with_gnu_ld+set} != xset; then
54238     if test x${ac_cv_prog_gnu_ld+set} != xset; then
54239       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
54240       with_gnu_ld=no
54241     else
54242       with_gnu_ld=$ac_cv_prog_gnu_ld
54243     fi
54244   fi
54245
54246   # Start by getting the version number.  I think the libtool test already
54247   # does some of this, but throws away the result.
54248   echo "$as_me:$LINENO: checking for ld version" >&5
54249 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
54250
54251   ldver=`$LD --version 2>/dev/null | head -1 | \
54252          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
54253
54254   glibcxx_gnu_ld_version=`echo $ldver | \
54255          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54256   echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
54257 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
54258
54259   # Set --gc-sections.
54260   glibcxx_gcsections_min_ld=21602
54261   if test x"$with_gnu_ld" = x"yes" &&
54262         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54263
54264     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
54265     # NB: This flag only works reliably after 2.16.1. Configure tests
54266     # for this are difficult, so hard wire a value that should work.
54267
54268     # All these tests are for C++, but run with the "C" compiler driver.
54269     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
54270     ac_test_CFLAGS="${CFLAGS+set}"
54271     ac_save_CFLAGS="$CFLAGS"
54272     CFLAGS='-x c++ -Wl,--gc-sections'
54273
54274     # Check for -Wl,--gc-sections
54275     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
54276 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
54277     if test x$gcc_no_link = xyes; then
54278   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54280    { (exit 1); exit 1; }; }
54281 fi
54282 cat >conftest.$ac_ext <<_ACEOF
54283 /* confdefs.h.  */
54284 _ACEOF
54285 cat confdefs.h >>conftest.$ac_ext
54286 cat >>conftest.$ac_ext <<_ACEOF
54287 /* end confdefs.h.  */
54288  int one(void) { return 1; }
54289      int two(void) { return 2; }
54290
54291 int
54292 main ()
54293 {
54294  two();
54295   ;
54296   return 0;
54297 }
54298 _ACEOF
54299 rm -f conftest.$ac_objext conftest$ac_exeext
54300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54301   (eval $ac_link) 2>conftest.er1
54302   ac_status=$?
54303   grep -v '^ *+' conftest.er1 >conftest.err
54304   rm -f conftest.er1
54305   cat conftest.err >&5
54306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54307   (exit $ac_status); } &&
54308          { ac_try='test -z "$ac_c_werror_flag"
54309                          || test ! -s conftest.err'
54310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54311   (eval $ac_try) 2>&5
54312   ac_status=$?
54313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54314   (exit $ac_status); }; } &&
54315          { ac_try='test -s conftest$ac_exeext'
54316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54317   (eval $ac_try) 2>&5
54318   ac_status=$?
54319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54320   (exit $ac_status); }; }; then
54321   ac_gcsections=yes
54322 else
54323   echo "$as_me: failed program was:" >&5
54324 sed 's/^/| /' conftest.$ac_ext >&5
54325
54326 ac_gcsections=no
54327 fi
54328 rm -f conftest.err conftest.$ac_objext \
54329       conftest$ac_exeext conftest.$ac_ext
54330     if test "$ac_gcsections" = "yes"; then
54331       rm -f conftest.c
54332       touch conftest.c
54333       if $CC -c conftest.c; then
54334         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54335            grep "Warning: gc-sections option ignored" > /dev/null; then
54336           ac_gcsections=no
54337         fi
54338       fi
54339       rm -f conftest.c conftest.o conftest
54340     fi
54341     if test "$ac_gcsections" = "yes"; then
54342       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54343     fi
54344     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
54345 echo "${ECHO_T}$ac_gcsections" >&6
54346
54347     if test "$ac_test_CFLAGS" = set; then
54348       CFLAGS="$ac_save_CFLAGS"
54349     else
54350       # this is the suspicious part
54351       CFLAGS=''
54352     fi
54353   fi
54354
54355   # Set -z,relro.
54356   # Note this is only for shared objects.
54357   ac_ld_relro=no
54358   if test x"$with_gnu_ld" = x"yes"; then
54359     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
54360 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
54361     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54362     if test -n "$cxx_z_relo"; then
54363       OPT_LDFLAGS="-Wl,-z,relro"
54364       ac_ld_relro=yes
54365     fi
54366     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
54367 echo "${ECHO_T}$ac_ld_relro" >&6
54368   fi
54369
54370   # Set linker optimization flags.
54371   if test x"$with_gnu_ld" = x"yes"; then
54372     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54373   fi
54374
54375
54376
54377
54378
54379   ac_test_CXXFLAGS="${CXXFLAGS+set}"
54380   ac_save_CXXFLAGS="$CXXFLAGS"
54381   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54382
54383     echo "$as_me:$LINENO: checking for sin in -lm" >&5
54384 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
54385 if test "${ac_cv_lib_m_sin+set}" = set; then
54386   echo $ECHO_N "(cached) $ECHO_C" >&6
54387 else
54388   ac_check_lib_save_LIBS=$LIBS
54389 LIBS="-lm  $LIBS"
54390 if test x$gcc_no_link = xyes; then
54391   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54393    { (exit 1); exit 1; }; }
54394 fi
54395 cat >conftest.$ac_ext <<_ACEOF
54396 /* confdefs.h.  */
54397 _ACEOF
54398 cat confdefs.h >>conftest.$ac_ext
54399 cat >>conftest.$ac_ext <<_ACEOF
54400 /* end confdefs.h.  */
54401
54402 /* Override any gcc2 internal prototype to avoid an error.  */
54403 #ifdef __cplusplus
54404 extern "C"
54405 #endif
54406 /* We use char because int might match the return type of a gcc2
54407    builtin and then its argument prototype would still apply.  */
54408 char sin ();
54409 int
54410 main ()
54411 {
54412 sin ();
54413   ;
54414   return 0;
54415 }
54416 _ACEOF
54417 rm -f conftest.$ac_objext conftest$ac_exeext
54418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54419   (eval $ac_link) 2>conftest.er1
54420   ac_status=$?
54421   grep -v '^ *+' conftest.er1 >conftest.err
54422   rm -f conftest.er1
54423   cat conftest.err >&5
54424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54425   (exit $ac_status); } &&
54426          { ac_try='test -z "$ac_c_werror_flag"
54427                          || test ! -s conftest.err'
54428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54429   (eval $ac_try) 2>&5
54430   ac_status=$?
54431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54432   (exit $ac_status); }; } &&
54433          { ac_try='test -s conftest$ac_exeext'
54434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54435   (eval $ac_try) 2>&5
54436   ac_status=$?
54437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54438   (exit $ac_status); }; }; then
54439   ac_cv_lib_m_sin=yes
54440 else
54441   echo "$as_me: failed program was:" >&5
54442 sed 's/^/| /' conftest.$ac_ext >&5
54443
54444 ac_cv_lib_m_sin=no
54445 fi
54446 rm -f conftest.err conftest.$ac_objext \
54447       conftest$ac_exeext conftest.$ac_ext
54448 LIBS=$ac_check_lib_save_LIBS
54449 fi
54450 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
54451 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
54452 if test $ac_cv_lib_m_sin = yes; then
54453   libm="-lm"
54454 fi
54455
54456   ac_save_LIBS="$LIBS"
54457   LIBS="$LIBS $libm"
54458
54459
54460
54461   echo "$as_me:$LINENO: checking for isinf declaration" >&5
54462 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
54463   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54464     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
54465   echo $ECHO_N "(cached) $ECHO_C" >&6
54466 else
54467
54468
54469
54470       ac_ext=cc
54471 ac_cpp='$CXXCPP $CPPFLAGS'
54472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54475
54476       cat >conftest.$ac_ext <<_ACEOF
54477 /* confdefs.h.  */
54478 _ACEOF
54479 cat confdefs.h >>conftest.$ac_ext
54480 cat >>conftest.$ac_ext <<_ACEOF
54481 /* end confdefs.h.  */
54482 #include <math.h>
54483                       #ifdef HAVE_IEEEFP_H
54484                       #include <ieeefp.h>
54485                       #endif
54486
54487 int
54488 main ()
54489 {
54490  isinf(0);
54491   ;
54492   return 0;
54493 }
54494 _ACEOF
54495 rm -f conftest.$ac_objext
54496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54497   (eval $ac_compile) 2>conftest.er1
54498   ac_status=$?
54499   grep -v '^ *+' conftest.er1 >conftest.err
54500   rm -f conftest.er1
54501   cat conftest.err >&5
54502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54503   (exit $ac_status); } &&
54504          { ac_try='test -z "$ac_cxx_werror_flag"
54505                          || test ! -s conftest.err'
54506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54507   (eval $ac_try) 2>&5
54508   ac_status=$?
54509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54510   (exit $ac_status); }; } &&
54511          { ac_try='test -s conftest.$ac_objext'
54512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54513   (eval $ac_try) 2>&5
54514   ac_status=$?
54515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54516   (exit $ac_status); }; }; then
54517   glibcxx_cv_func_isinf_use=yes
54518 else
54519   echo "$as_me: failed program was:" >&5
54520 sed 's/^/| /' conftest.$ac_ext >&5
54521
54522 glibcxx_cv_func_isinf_use=no
54523 fi
54524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54525       ac_ext=c
54526 ac_cpp='$CPP $CPPFLAGS'
54527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54530
54531
54532 fi
54533
54534   fi
54535   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
54536 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
54537
54538   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54539
54540 for ac_func in isinf
54541 do
54542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54543 echo "$as_me:$LINENO: checking for $ac_func" >&5
54544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54545 if eval "test \"\${$as_ac_var+set}\" = set"; then
54546   echo $ECHO_N "(cached) $ECHO_C" >&6
54547 else
54548   if test x$gcc_no_link = xyes; then
54549   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54551    { (exit 1); exit 1; }; }
54552 fi
54553 cat >conftest.$ac_ext <<_ACEOF
54554 /* confdefs.h.  */
54555 _ACEOF
54556 cat confdefs.h >>conftest.$ac_ext
54557 cat >>conftest.$ac_ext <<_ACEOF
54558 /* end confdefs.h.  */
54559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54560    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54561 #define $ac_func innocuous_$ac_func
54562
54563 /* System header to define __stub macros and hopefully few prototypes,
54564     which can conflict with char $ac_func (); below.
54565     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54566     <limits.h> exists even on freestanding compilers.  */
54567
54568 #ifdef __STDC__
54569 # include <limits.h>
54570 #else
54571 # include <assert.h>
54572 #endif
54573
54574 #undef $ac_func
54575
54576 /* Override any gcc2 internal prototype to avoid an error.  */
54577 #ifdef __cplusplus
54578 extern "C"
54579 {
54580 #endif
54581 /* We use char because int might match the return type of a gcc2
54582    builtin and then its argument prototype would still apply.  */
54583 char $ac_func ();
54584 /* The GNU C library defines this for functions which it implements
54585     to always fail with ENOSYS.  Some functions are actually named
54586     something starting with __ and the normal name is an alias.  */
54587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54588 choke me
54589 #else
54590 char (*f) () = $ac_func;
54591 #endif
54592 #ifdef __cplusplus
54593 }
54594 #endif
54595
54596 int
54597 main ()
54598 {
54599 return f != $ac_func;
54600   ;
54601   return 0;
54602 }
54603 _ACEOF
54604 rm -f conftest.$ac_objext conftest$ac_exeext
54605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54606   (eval $ac_link) 2>conftest.er1
54607   ac_status=$?
54608   grep -v '^ *+' conftest.er1 >conftest.err
54609   rm -f conftest.er1
54610   cat conftest.err >&5
54611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54612   (exit $ac_status); } &&
54613          { ac_try='test -z "$ac_c_werror_flag"
54614                          || test ! -s conftest.err'
54615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54616   (eval $ac_try) 2>&5
54617   ac_status=$?
54618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54619   (exit $ac_status); }; } &&
54620          { ac_try='test -s conftest$ac_exeext'
54621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54622   (eval $ac_try) 2>&5
54623   ac_status=$?
54624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54625   (exit $ac_status); }; }; then
54626   eval "$as_ac_var=yes"
54627 else
54628   echo "$as_me: failed program was:" >&5
54629 sed 's/^/| /' conftest.$ac_ext >&5
54630
54631 eval "$as_ac_var=no"
54632 fi
54633 rm -f conftest.err conftest.$ac_objext \
54634       conftest$ac_exeext conftest.$ac_ext
54635 fi
54636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54638 if test `eval echo '${'$as_ac_var'}'` = yes; then
54639   cat >>confdefs.h <<_ACEOF
54640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54641 _ACEOF
54642
54643 fi
54644 done
54645
54646   else
54647
54648   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
54649 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
54650   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54651     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
54652   echo $ECHO_N "(cached) $ECHO_C" >&6
54653 else
54654
54655
54656
54657       ac_ext=cc
54658 ac_cpp='$CXXCPP $CPPFLAGS'
54659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54662
54663       cat >conftest.$ac_ext <<_ACEOF
54664 /* confdefs.h.  */
54665 _ACEOF
54666 cat confdefs.h >>conftest.$ac_ext
54667 cat >>conftest.$ac_ext <<_ACEOF
54668 /* end confdefs.h.  */
54669 #include <math.h>
54670                       #ifdef HAVE_IEEEFP_H
54671                       #include <ieeefp.h>
54672                       #endif
54673
54674 int
54675 main ()
54676 {
54677  _isinf(0);
54678   ;
54679   return 0;
54680 }
54681 _ACEOF
54682 rm -f conftest.$ac_objext
54683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54684   (eval $ac_compile) 2>conftest.er1
54685   ac_status=$?
54686   grep -v '^ *+' conftest.er1 >conftest.err
54687   rm -f conftest.er1
54688   cat conftest.err >&5
54689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54690   (exit $ac_status); } &&
54691          { ac_try='test -z "$ac_cxx_werror_flag"
54692                          || test ! -s conftest.err'
54693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54694   (eval $ac_try) 2>&5
54695   ac_status=$?
54696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54697   (exit $ac_status); }; } &&
54698          { ac_try='test -s conftest.$ac_objext'
54699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54700   (eval $ac_try) 2>&5
54701   ac_status=$?
54702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54703   (exit $ac_status); }; }; then
54704   glibcxx_cv_func__isinf_use=yes
54705 else
54706   echo "$as_me: failed program was:" >&5
54707 sed 's/^/| /' conftest.$ac_ext >&5
54708
54709 glibcxx_cv_func__isinf_use=no
54710 fi
54711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54712       ac_ext=c
54713 ac_cpp='$CPP $CPPFLAGS'
54714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54717
54718
54719 fi
54720
54721   fi
54722   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
54723 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
54724
54725     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54726
54727 for ac_func in _isinf
54728 do
54729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54730 echo "$as_me:$LINENO: checking for $ac_func" >&5
54731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54732 if eval "test \"\${$as_ac_var+set}\" = set"; then
54733   echo $ECHO_N "(cached) $ECHO_C" >&6
54734 else
54735   if test x$gcc_no_link = xyes; then
54736   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54738    { (exit 1); exit 1; }; }
54739 fi
54740 cat >conftest.$ac_ext <<_ACEOF
54741 /* confdefs.h.  */
54742 _ACEOF
54743 cat confdefs.h >>conftest.$ac_ext
54744 cat >>conftest.$ac_ext <<_ACEOF
54745 /* end confdefs.h.  */
54746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54747    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54748 #define $ac_func innocuous_$ac_func
54749
54750 /* System header to define __stub macros and hopefully few prototypes,
54751     which can conflict with char $ac_func (); below.
54752     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54753     <limits.h> exists even on freestanding compilers.  */
54754
54755 #ifdef __STDC__
54756 # include <limits.h>
54757 #else
54758 # include <assert.h>
54759 #endif
54760
54761 #undef $ac_func
54762
54763 /* Override any gcc2 internal prototype to avoid an error.  */
54764 #ifdef __cplusplus
54765 extern "C"
54766 {
54767 #endif
54768 /* We use char because int might match the return type of a gcc2
54769    builtin and then its argument prototype would still apply.  */
54770 char $ac_func ();
54771 /* The GNU C library defines this for functions which it implements
54772     to always fail with ENOSYS.  Some functions are actually named
54773     something starting with __ and the normal name is an alias.  */
54774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54775 choke me
54776 #else
54777 char (*f) () = $ac_func;
54778 #endif
54779 #ifdef __cplusplus
54780 }
54781 #endif
54782
54783 int
54784 main ()
54785 {
54786 return f != $ac_func;
54787   ;
54788   return 0;
54789 }
54790 _ACEOF
54791 rm -f conftest.$ac_objext conftest$ac_exeext
54792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54793   (eval $ac_link) 2>conftest.er1
54794   ac_status=$?
54795   grep -v '^ *+' conftest.er1 >conftest.err
54796   rm -f conftest.er1
54797   cat conftest.err >&5
54798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54799   (exit $ac_status); } &&
54800          { ac_try='test -z "$ac_c_werror_flag"
54801                          || test ! -s conftest.err'
54802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54803   (eval $ac_try) 2>&5
54804   ac_status=$?
54805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54806   (exit $ac_status); }; } &&
54807          { ac_try='test -s conftest$ac_exeext'
54808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54809   (eval $ac_try) 2>&5
54810   ac_status=$?
54811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54812   (exit $ac_status); }; }; then
54813   eval "$as_ac_var=yes"
54814 else
54815   echo "$as_me: failed program was:" >&5
54816 sed 's/^/| /' conftest.$ac_ext >&5
54817
54818 eval "$as_ac_var=no"
54819 fi
54820 rm -f conftest.err conftest.$ac_objext \
54821       conftest$ac_exeext conftest.$ac_ext
54822 fi
54823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54825 if test `eval echo '${'$as_ac_var'}'` = yes; then
54826   cat >>confdefs.h <<_ACEOF
54827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54828 _ACEOF
54829
54830 fi
54831 done
54832
54833     fi
54834   fi
54835
54836
54837
54838
54839
54840
54841   echo "$as_me:$LINENO: checking for isnan declaration" >&5
54842 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54843   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54844     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54845   echo $ECHO_N "(cached) $ECHO_C" >&6
54846 else
54847
54848
54849
54850       ac_ext=cc
54851 ac_cpp='$CXXCPP $CPPFLAGS'
54852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54855
54856       cat >conftest.$ac_ext <<_ACEOF
54857 /* confdefs.h.  */
54858 _ACEOF
54859 cat confdefs.h >>conftest.$ac_ext
54860 cat >>conftest.$ac_ext <<_ACEOF
54861 /* end confdefs.h.  */
54862 #include <math.h>
54863                       #ifdef HAVE_IEEEFP_H
54864                       #include <ieeefp.h>
54865                       #endif
54866
54867 int
54868 main ()
54869 {
54870  isnan(0);
54871   ;
54872   return 0;
54873 }
54874 _ACEOF
54875 rm -f conftest.$ac_objext
54876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54877   (eval $ac_compile) 2>conftest.er1
54878   ac_status=$?
54879   grep -v '^ *+' conftest.er1 >conftest.err
54880   rm -f conftest.er1
54881   cat conftest.err >&5
54882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54883   (exit $ac_status); } &&
54884          { ac_try='test -z "$ac_cxx_werror_flag"
54885                          || test ! -s conftest.err'
54886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54887   (eval $ac_try) 2>&5
54888   ac_status=$?
54889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54890   (exit $ac_status); }; } &&
54891          { ac_try='test -s conftest.$ac_objext'
54892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54893   (eval $ac_try) 2>&5
54894   ac_status=$?
54895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54896   (exit $ac_status); }; }; then
54897   glibcxx_cv_func_isnan_use=yes
54898 else
54899   echo "$as_me: failed program was:" >&5
54900 sed 's/^/| /' conftest.$ac_ext >&5
54901
54902 glibcxx_cv_func_isnan_use=no
54903 fi
54904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54905       ac_ext=c
54906 ac_cpp='$CPP $CPPFLAGS'
54907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54910
54911
54912 fi
54913
54914   fi
54915   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54916 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54917
54918   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54919
54920 for ac_func in isnan
54921 do
54922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54923 echo "$as_me:$LINENO: checking for $ac_func" >&5
54924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54925 if eval "test \"\${$as_ac_var+set}\" = set"; then
54926   echo $ECHO_N "(cached) $ECHO_C" >&6
54927 else
54928   if test x$gcc_no_link = xyes; then
54929   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54931    { (exit 1); exit 1; }; }
54932 fi
54933 cat >conftest.$ac_ext <<_ACEOF
54934 /* confdefs.h.  */
54935 _ACEOF
54936 cat confdefs.h >>conftest.$ac_ext
54937 cat >>conftest.$ac_ext <<_ACEOF
54938 /* end confdefs.h.  */
54939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54940    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54941 #define $ac_func innocuous_$ac_func
54942
54943 /* System header to define __stub macros and hopefully few prototypes,
54944     which can conflict with char $ac_func (); below.
54945     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54946     <limits.h> exists even on freestanding compilers.  */
54947
54948 #ifdef __STDC__
54949 # include <limits.h>
54950 #else
54951 # include <assert.h>
54952 #endif
54953
54954 #undef $ac_func
54955
54956 /* Override any gcc2 internal prototype to avoid an error.  */
54957 #ifdef __cplusplus
54958 extern "C"
54959 {
54960 #endif
54961 /* We use char because int might match the return type of a gcc2
54962    builtin and then its argument prototype would still apply.  */
54963 char $ac_func ();
54964 /* The GNU C library defines this for functions which it implements
54965     to always fail with ENOSYS.  Some functions are actually named
54966     something starting with __ and the normal name is an alias.  */
54967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54968 choke me
54969 #else
54970 char (*f) () = $ac_func;
54971 #endif
54972 #ifdef __cplusplus
54973 }
54974 #endif
54975
54976 int
54977 main ()
54978 {
54979 return f != $ac_func;
54980   ;
54981   return 0;
54982 }
54983 _ACEOF
54984 rm -f conftest.$ac_objext conftest$ac_exeext
54985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54986   (eval $ac_link) 2>conftest.er1
54987   ac_status=$?
54988   grep -v '^ *+' conftest.er1 >conftest.err
54989   rm -f conftest.er1
54990   cat conftest.err >&5
54991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54992   (exit $ac_status); } &&
54993          { ac_try='test -z "$ac_c_werror_flag"
54994                          || test ! -s conftest.err'
54995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54996   (eval $ac_try) 2>&5
54997   ac_status=$?
54998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54999   (exit $ac_status); }; } &&
55000          { ac_try='test -s conftest$ac_exeext'
55001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55002   (eval $ac_try) 2>&5
55003   ac_status=$?
55004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55005   (exit $ac_status); }; }; then
55006   eval "$as_ac_var=yes"
55007 else
55008   echo "$as_me: failed program was:" >&5
55009 sed 's/^/| /' conftest.$ac_ext >&5
55010
55011 eval "$as_ac_var=no"
55012 fi
55013 rm -f conftest.err conftest.$ac_objext \
55014       conftest$ac_exeext conftest.$ac_ext
55015 fi
55016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55018 if test `eval echo '${'$as_ac_var'}'` = yes; then
55019   cat >>confdefs.h <<_ACEOF
55020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55021 _ACEOF
55022
55023 fi
55024 done
55025
55026   else
55027
55028   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
55029 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
55030   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
55031     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
55032   echo $ECHO_N "(cached) $ECHO_C" >&6
55033 else
55034
55035
55036
55037       ac_ext=cc
55038 ac_cpp='$CXXCPP $CPPFLAGS'
55039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55042
55043       cat >conftest.$ac_ext <<_ACEOF
55044 /* confdefs.h.  */
55045 _ACEOF
55046 cat confdefs.h >>conftest.$ac_ext
55047 cat >>conftest.$ac_ext <<_ACEOF
55048 /* end confdefs.h.  */
55049 #include <math.h>
55050                       #ifdef HAVE_IEEEFP_H
55051                       #include <ieeefp.h>
55052                       #endif
55053
55054 int
55055 main ()
55056 {
55057  _isnan(0);
55058   ;
55059   return 0;
55060 }
55061 _ACEOF
55062 rm -f conftest.$ac_objext
55063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55064   (eval $ac_compile) 2>conftest.er1
55065   ac_status=$?
55066   grep -v '^ *+' conftest.er1 >conftest.err
55067   rm -f conftest.er1
55068   cat conftest.err >&5
55069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55070   (exit $ac_status); } &&
55071          { ac_try='test -z "$ac_cxx_werror_flag"
55072                          || test ! -s conftest.err'
55073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55074   (eval $ac_try) 2>&5
55075   ac_status=$?
55076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55077   (exit $ac_status); }; } &&
55078          { ac_try='test -s conftest.$ac_objext'
55079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55080   (eval $ac_try) 2>&5
55081   ac_status=$?
55082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55083   (exit $ac_status); }; }; then
55084   glibcxx_cv_func__isnan_use=yes
55085 else
55086   echo "$as_me: failed program was:" >&5
55087 sed 's/^/| /' conftest.$ac_ext >&5
55088
55089 glibcxx_cv_func__isnan_use=no
55090 fi
55091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55092       ac_ext=c
55093 ac_cpp='$CPP $CPPFLAGS'
55094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55097
55098
55099 fi
55100
55101   fi
55102   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
55103 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
55104
55105     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
55106
55107 for ac_func in _isnan
55108 do
55109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55110 echo "$as_me:$LINENO: checking for $ac_func" >&5
55111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55112 if eval "test \"\${$as_ac_var+set}\" = set"; then
55113   echo $ECHO_N "(cached) $ECHO_C" >&6
55114 else
55115   if test x$gcc_no_link = xyes; then
55116   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55118    { (exit 1); exit 1; }; }
55119 fi
55120 cat >conftest.$ac_ext <<_ACEOF
55121 /* confdefs.h.  */
55122 _ACEOF
55123 cat confdefs.h >>conftest.$ac_ext
55124 cat >>conftest.$ac_ext <<_ACEOF
55125 /* end confdefs.h.  */
55126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55127    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55128 #define $ac_func innocuous_$ac_func
55129
55130 /* System header to define __stub macros and hopefully few prototypes,
55131     which can conflict with char $ac_func (); below.
55132     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55133     <limits.h> exists even on freestanding compilers.  */
55134
55135 #ifdef __STDC__
55136 # include <limits.h>
55137 #else
55138 # include <assert.h>
55139 #endif
55140
55141 #undef $ac_func
55142
55143 /* Override any gcc2 internal prototype to avoid an error.  */
55144 #ifdef __cplusplus
55145 extern "C"
55146 {
55147 #endif
55148 /* We use char because int might match the return type of a gcc2
55149    builtin and then its argument prototype would still apply.  */
55150 char $ac_func ();
55151 /* The GNU C library defines this for functions which it implements
55152     to always fail with ENOSYS.  Some functions are actually named
55153     something starting with __ and the normal name is an alias.  */
55154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55155 choke me
55156 #else
55157 char (*f) () = $ac_func;
55158 #endif
55159 #ifdef __cplusplus
55160 }
55161 #endif
55162
55163 int
55164 main ()
55165 {
55166 return f != $ac_func;
55167   ;
55168   return 0;
55169 }
55170 _ACEOF
55171 rm -f conftest.$ac_objext conftest$ac_exeext
55172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55173   (eval $ac_link) 2>conftest.er1
55174   ac_status=$?
55175   grep -v '^ *+' conftest.er1 >conftest.err
55176   rm -f conftest.er1
55177   cat conftest.err >&5
55178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55179   (exit $ac_status); } &&
55180          { ac_try='test -z "$ac_c_werror_flag"
55181                          || test ! -s conftest.err'
55182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55183   (eval $ac_try) 2>&5
55184   ac_status=$?
55185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55186   (exit $ac_status); }; } &&
55187          { ac_try='test -s conftest$ac_exeext'
55188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55189   (eval $ac_try) 2>&5
55190   ac_status=$?
55191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55192   (exit $ac_status); }; }; then
55193   eval "$as_ac_var=yes"
55194 else
55195   echo "$as_me: failed program was:" >&5
55196 sed 's/^/| /' conftest.$ac_ext >&5
55197
55198 eval "$as_ac_var=no"
55199 fi
55200 rm -f conftest.err conftest.$ac_objext \
55201       conftest$ac_exeext conftest.$ac_ext
55202 fi
55203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55205 if test `eval echo '${'$as_ac_var'}'` = yes; then
55206   cat >>confdefs.h <<_ACEOF
55207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55208 _ACEOF
55209
55210 fi
55211 done
55212
55213     fi
55214   fi
55215
55216
55217
55218
55219
55220
55221   echo "$as_me:$LINENO: checking for finite declaration" >&5
55222 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
55223   if test x${glibcxx_cv_func_finite_use+set} != xset; then
55224     if test "${glibcxx_cv_func_finite_use+set}" = set; then
55225   echo $ECHO_N "(cached) $ECHO_C" >&6
55226 else
55227
55228
55229
55230       ac_ext=cc
55231 ac_cpp='$CXXCPP $CPPFLAGS'
55232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55235
55236       cat >conftest.$ac_ext <<_ACEOF
55237 /* confdefs.h.  */
55238 _ACEOF
55239 cat confdefs.h >>conftest.$ac_ext
55240 cat >>conftest.$ac_ext <<_ACEOF
55241 /* end confdefs.h.  */
55242 #include <math.h>
55243                       #ifdef HAVE_IEEEFP_H
55244                       #include <ieeefp.h>
55245                       #endif
55246
55247 int
55248 main ()
55249 {
55250  finite(0);
55251   ;
55252   return 0;
55253 }
55254 _ACEOF
55255 rm -f conftest.$ac_objext
55256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55257   (eval $ac_compile) 2>conftest.er1
55258   ac_status=$?
55259   grep -v '^ *+' conftest.er1 >conftest.err
55260   rm -f conftest.er1
55261   cat conftest.err >&5
55262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55263   (exit $ac_status); } &&
55264          { ac_try='test -z "$ac_cxx_werror_flag"
55265                          || test ! -s conftest.err'
55266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55267   (eval $ac_try) 2>&5
55268   ac_status=$?
55269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55270   (exit $ac_status); }; } &&
55271          { ac_try='test -s conftest.$ac_objext'
55272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55273   (eval $ac_try) 2>&5
55274   ac_status=$?
55275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55276   (exit $ac_status); }; }; then
55277   glibcxx_cv_func_finite_use=yes
55278 else
55279   echo "$as_me: failed program was:" >&5
55280 sed 's/^/| /' conftest.$ac_ext >&5
55281
55282 glibcxx_cv_func_finite_use=no
55283 fi
55284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55285       ac_ext=c
55286 ac_cpp='$CPP $CPPFLAGS'
55287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55290
55291
55292 fi
55293
55294   fi
55295   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
55296 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
55297
55298   if test x$glibcxx_cv_func_finite_use = x"yes"; then
55299
55300 for ac_func in finite
55301 do
55302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55303 echo "$as_me:$LINENO: checking for $ac_func" >&5
55304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55305 if eval "test \"\${$as_ac_var+set}\" = set"; then
55306   echo $ECHO_N "(cached) $ECHO_C" >&6
55307 else
55308   if test x$gcc_no_link = xyes; then
55309   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55311    { (exit 1); exit 1; }; }
55312 fi
55313 cat >conftest.$ac_ext <<_ACEOF
55314 /* confdefs.h.  */
55315 _ACEOF
55316 cat confdefs.h >>conftest.$ac_ext
55317 cat >>conftest.$ac_ext <<_ACEOF
55318 /* end confdefs.h.  */
55319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55320    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55321 #define $ac_func innocuous_$ac_func
55322
55323 /* System header to define __stub macros and hopefully few prototypes,
55324     which can conflict with char $ac_func (); below.
55325     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55326     <limits.h> exists even on freestanding compilers.  */
55327
55328 #ifdef __STDC__
55329 # include <limits.h>
55330 #else
55331 # include <assert.h>
55332 #endif
55333
55334 #undef $ac_func
55335
55336 /* Override any gcc2 internal prototype to avoid an error.  */
55337 #ifdef __cplusplus
55338 extern "C"
55339 {
55340 #endif
55341 /* We use char because int might match the return type of a gcc2
55342    builtin and then its argument prototype would still apply.  */
55343 char $ac_func ();
55344 /* The GNU C library defines this for functions which it implements
55345     to always fail with ENOSYS.  Some functions are actually named
55346     something starting with __ and the normal name is an alias.  */
55347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55348 choke me
55349 #else
55350 char (*f) () = $ac_func;
55351 #endif
55352 #ifdef __cplusplus
55353 }
55354 #endif
55355
55356 int
55357 main ()
55358 {
55359 return f != $ac_func;
55360   ;
55361   return 0;
55362 }
55363 _ACEOF
55364 rm -f conftest.$ac_objext conftest$ac_exeext
55365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55366   (eval $ac_link) 2>conftest.er1
55367   ac_status=$?
55368   grep -v '^ *+' conftest.er1 >conftest.err
55369   rm -f conftest.er1
55370   cat conftest.err >&5
55371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55372   (exit $ac_status); } &&
55373          { ac_try='test -z "$ac_c_werror_flag"
55374                          || test ! -s conftest.err'
55375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55376   (eval $ac_try) 2>&5
55377   ac_status=$?
55378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55379   (exit $ac_status); }; } &&
55380          { ac_try='test -s conftest$ac_exeext'
55381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55382   (eval $ac_try) 2>&5
55383   ac_status=$?
55384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55385   (exit $ac_status); }; }; then
55386   eval "$as_ac_var=yes"
55387 else
55388   echo "$as_me: failed program was:" >&5
55389 sed 's/^/| /' conftest.$ac_ext >&5
55390
55391 eval "$as_ac_var=no"
55392 fi
55393 rm -f conftest.err conftest.$ac_objext \
55394       conftest$ac_exeext conftest.$ac_ext
55395 fi
55396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55398 if test `eval echo '${'$as_ac_var'}'` = yes; then
55399   cat >>confdefs.h <<_ACEOF
55400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55401 _ACEOF
55402
55403 fi
55404 done
55405
55406   else
55407
55408   echo "$as_me:$LINENO: checking for _finite declaration" >&5
55409 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
55410   if test x${glibcxx_cv_func__finite_use+set} != xset; then
55411     if test "${glibcxx_cv_func__finite_use+set}" = set; then
55412   echo $ECHO_N "(cached) $ECHO_C" >&6
55413 else
55414
55415
55416
55417       ac_ext=cc
55418 ac_cpp='$CXXCPP $CPPFLAGS'
55419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55422
55423       cat >conftest.$ac_ext <<_ACEOF
55424 /* confdefs.h.  */
55425 _ACEOF
55426 cat confdefs.h >>conftest.$ac_ext
55427 cat >>conftest.$ac_ext <<_ACEOF
55428 /* end confdefs.h.  */
55429 #include <math.h>
55430                       #ifdef HAVE_IEEEFP_H
55431                       #include <ieeefp.h>
55432                       #endif
55433
55434 int
55435 main ()
55436 {
55437  _finite(0);
55438   ;
55439   return 0;
55440 }
55441 _ACEOF
55442 rm -f conftest.$ac_objext
55443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55444   (eval $ac_compile) 2>conftest.er1
55445   ac_status=$?
55446   grep -v '^ *+' conftest.er1 >conftest.err
55447   rm -f conftest.er1
55448   cat conftest.err >&5
55449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55450   (exit $ac_status); } &&
55451          { ac_try='test -z "$ac_cxx_werror_flag"
55452                          || test ! -s conftest.err'
55453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55454   (eval $ac_try) 2>&5
55455   ac_status=$?
55456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55457   (exit $ac_status); }; } &&
55458          { ac_try='test -s conftest.$ac_objext'
55459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55460   (eval $ac_try) 2>&5
55461   ac_status=$?
55462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55463   (exit $ac_status); }; }; then
55464   glibcxx_cv_func__finite_use=yes
55465 else
55466   echo "$as_me: failed program was:" >&5
55467 sed 's/^/| /' conftest.$ac_ext >&5
55468
55469 glibcxx_cv_func__finite_use=no
55470 fi
55471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55472       ac_ext=c
55473 ac_cpp='$CPP $CPPFLAGS'
55474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55477
55478
55479 fi
55480
55481   fi
55482   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
55483 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
55484
55485     if test x$glibcxx_cv_func__finite_use = x"yes"; then
55486
55487 for ac_func in _finite
55488 do
55489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55490 echo "$as_me:$LINENO: checking for $ac_func" >&5
55491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55492 if eval "test \"\${$as_ac_var+set}\" = set"; then
55493   echo $ECHO_N "(cached) $ECHO_C" >&6
55494 else
55495   if test x$gcc_no_link = xyes; then
55496   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55498    { (exit 1); exit 1; }; }
55499 fi
55500 cat >conftest.$ac_ext <<_ACEOF
55501 /* confdefs.h.  */
55502 _ACEOF
55503 cat confdefs.h >>conftest.$ac_ext
55504 cat >>conftest.$ac_ext <<_ACEOF
55505 /* end confdefs.h.  */
55506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55507    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55508 #define $ac_func innocuous_$ac_func
55509
55510 /* System header to define __stub macros and hopefully few prototypes,
55511     which can conflict with char $ac_func (); below.
55512     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55513     <limits.h> exists even on freestanding compilers.  */
55514
55515 #ifdef __STDC__
55516 # include <limits.h>
55517 #else
55518 # include <assert.h>
55519 #endif
55520
55521 #undef $ac_func
55522
55523 /* Override any gcc2 internal prototype to avoid an error.  */
55524 #ifdef __cplusplus
55525 extern "C"
55526 {
55527 #endif
55528 /* We use char because int might match the return type of a gcc2
55529    builtin and then its argument prototype would still apply.  */
55530 char $ac_func ();
55531 /* The GNU C library defines this for functions which it implements
55532     to always fail with ENOSYS.  Some functions are actually named
55533     something starting with __ and the normal name is an alias.  */
55534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55535 choke me
55536 #else
55537 char (*f) () = $ac_func;
55538 #endif
55539 #ifdef __cplusplus
55540 }
55541 #endif
55542
55543 int
55544 main ()
55545 {
55546 return f != $ac_func;
55547   ;
55548   return 0;
55549 }
55550 _ACEOF
55551 rm -f conftest.$ac_objext conftest$ac_exeext
55552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55553   (eval $ac_link) 2>conftest.er1
55554   ac_status=$?
55555   grep -v '^ *+' conftest.er1 >conftest.err
55556   rm -f conftest.er1
55557   cat conftest.err >&5
55558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55559   (exit $ac_status); } &&
55560          { ac_try='test -z "$ac_c_werror_flag"
55561                          || test ! -s conftest.err'
55562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55563   (eval $ac_try) 2>&5
55564   ac_status=$?
55565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55566   (exit $ac_status); }; } &&
55567          { ac_try='test -s conftest$ac_exeext'
55568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55569   (eval $ac_try) 2>&5
55570   ac_status=$?
55571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55572   (exit $ac_status); }; }; then
55573   eval "$as_ac_var=yes"
55574 else
55575   echo "$as_me: failed program was:" >&5
55576 sed 's/^/| /' conftest.$ac_ext >&5
55577
55578 eval "$as_ac_var=no"
55579 fi
55580 rm -f conftest.err conftest.$ac_objext \
55581       conftest$ac_exeext conftest.$ac_ext
55582 fi
55583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55585 if test `eval echo '${'$as_ac_var'}'` = yes; then
55586   cat >>confdefs.h <<_ACEOF
55587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55588 _ACEOF
55589
55590 fi
55591 done
55592
55593     fi
55594   fi
55595
55596
55597
55598
55599
55600
55601   echo "$as_me:$LINENO: checking for copysign declaration" >&5
55602 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
55603   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
55604     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
55605   echo $ECHO_N "(cached) $ECHO_C" >&6
55606 else
55607
55608
55609
55610       ac_ext=cc
55611 ac_cpp='$CXXCPP $CPPFLAGS'
55612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55615
55616       cat >conftest.$ac_ext <<_ACEOF
55617 /* confdefs.h.  */
55618 _ACEOF
55619 cat confdefs.h >>conftest.$ac_ext
55620 cat >>conftest.$ac_ext <<_ACEOF
55621 /* end confdefs.h.  */
55622 #include <math.h>
55623 int
55624 main ()
55625 {
55626  copysign(0, 0);
55627   ;
55628   return 0;
55629 }
55630 _ACEOF
55631 rm -f conftest.$ac_objext
55632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55633   (eval $ac_compile) 2>conftest.er1
55634   ac_status=$?
55635   grep -v '^ *+' conftest.er1 >conftest.err
55636   rm -f conftest.er1
55637   cat conftest.err >&5
55638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55639   (exit $ac_status); } &&
55640          { ac_try='test -z "$ac_cxx_werror_flag"
55641                          || test ! -s conftest.err'
55642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55643   (eval $ac_try) 2>&5
55644   ac_status=$?
55645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55646   (exit $ac_status); }; } &&
55647          { ac_try='test -s conftest.$ac_objext'
55648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55649   (eval $ac_try) 2>&5
55650   ac_status=$?
55651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55652   (exit $ac_status); }; }; then
55653   glibcxx_cv_func_copysign_use=yes
55654 else
55655   echo "$as_me: failed program was:" >&5
55656 sed 's/^/| /' conftest.$ac_ext >&5
55657
55658 glibcxx_cv_func_copysign_use=no
55659 fi
55660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55661       ac_ext=c
55662 ac_cpp='$CPP $CPPFLAGS'
55663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55666
55667
55668 fi
55669
55670   fi
55671   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
55672 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
55673
55674   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
55675
55676 for ac_func in copysign
55677 do
55678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55679 echo "$as_me:$LINENO: checking for $ac_func" >&5
55680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55681 if eval "test \"\${$as_ac_var+set}\" = set"; then
55682   echo $ECHO_N "(cached) $ECHO_C" >&6
55683 else
55684   if test x$gcc_no_link = xyes; then
55685   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55687    { (exit 1); exit 1; }; }
55688 fi
55689 cat >conftest.$ac_ext <<_ACEOF
55690 /* confdefs.h.  */
55691 _ACEOF
55692 cat confdefs.h >>conftest.$ac_ext
55693 cat >>conftest.$ac_ext <<_ACEOF
55694 /* end confdefs.h.  */
55695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55696    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55697 #define $ac_func innocuous_$ac_func
55698
55699 /* System header to define __stub macros and hopefully few prototypes,
55700     which can conflict with char $ac_func (); below.
55701     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55702     <limits.h> exists even on freestanding compilers.  */
55703
55704 #ifdef __STDC__
55705 # include <limits.h>
55706 #else
55707 # include <assert.h>
55708 #endif
55709
55710 #undef $ac_func
55711
55712 /* Override any gcc2 internal prototype to avoid an error.  */
55713 #ifdef __cplusplus
55714 extern "C"
55715 {
55716 #endif
55717 /* We use char because int might match the return type of a gcc2
55718    builtin and then its argument prototype would still apply.  */
55719 char $ac_func ();
55720 /* The GNU C library defines this for functions which it implements
55721     to always fail with ENOSYS.  Some functions are actually named
55722     something starting with __ and the normal name is an alias.  */
55723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55724 choke me
55725 #else
55726 char (*f) () = $ac_func;
55727 #endif
55728 #ifdef __cplusplus
55729 }
55730 #endif
55731
55732 int
55733 main ()
55734 {
55735 return f != $ac_func;
55736   ;
55737   return 0;
55738 }
55739 _ACEOF
55740 rm -f conftest.$ac_objext conftest$ac_exeext
55741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55742   (eval $ac_link) 2>conftest.er1
55743   ac_status=$?
55744   grep -v '^ *+' conftest.er1 >conftest.err
55745   rm -f conftest.er1
55746   cat conftest.err >&5
55747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55748   (exit $ac_status); } &&
55749          { ac_try='test -z "$ac_c_werror_flag"
55750                          || test ! -s conftest.err'
55751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55752   (eval $ac_try) 2>&5
55753   ac_status=$?
55754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55755   (exit $ac_status); }; } &&
55756          { ac_try='test -s conftest$ac_exeext'
55757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55758   (eval $ac_try) 2>&5
55759   ac_status=$?
55760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55761   (exit $ac_status); }; }; then
55762   eval "$as_ac_var=yes"
55763 else
55764   echo "$as_me: failed program was:" >&5
55765 sed 's/^/| /' conftest.$ac_ext >&5
55766
55767 eval "$as_ac_var=no"
55768 fi
55769 rm -f conftest.err conftest.$ac_objext \
55770       conftest$ac_exeext conftest.$ac_ext
55771 fi
55772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55774 if test `eval echo '${'$as_ac_var'}'` = yes; then
55775   cat >>confdefs.h <<_ACEOF
55776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55777 _ACEOF
55778
55779 fi
55780 done
55781
55782   else
55783
55784   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55785 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55786   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55787     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55788   echo $ECHO_N "(cached) $ECHO_C" >&6
55789 else
55790
55791
55792
55793       ac_ext=cc
55794 ac_cpp='$CXXCPP $CPPFLAGS'
55795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55798
55799       cat >conftest.$ac_ext <<_ACEOF
55800 /* confdefs.h.  */
55801 _ACEOF
55802 cat confdefs.h >>conftest.$ac_ext
55803 cat >>conftest.$ac_ext <<_ACEOF
55804 /* end confdefs.h.  */
55805 #include <math.h>
55806 int
55807 main ()
55808 {
55809  _copysign(0, 0);
55810   ;
55811   return 0;
55812 }
55813 _ACEOF
55814 rm -f conftest.$ac_objext
55815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55816   (eval $ac_compile) 2>conftest.er1
55817   ac_status=$?
55818   grep -v '^ *+' conftest.er1 >conftest.err
55819   rm -f conftest.er1
55820   cat conftest.err >&5
55821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55822   (exit $ac_status); } &&
55823          { ac_try='test -z "$ac_cxx_werror_flag"
55824                          || test ! -s conftest.err'
55825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55826   (eval $ac_try) 2>&5
55827   ac_status=$?
55828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55829   (exit $ac_status); }; } &&
55830          { ac_try='test -s conftest.$ac_objext'
55831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55832   (eval $ac_try) 2>&5
55833   ac_status=$?
55834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55835   (exit $ac_status); }; }; then
55836   glibcxx_cv_func__copysign_use=yes
55837 else
55838   echo "$as_me: failed program was:" >&5
55839 sed 's/^/| /' conftest.$ac_ext >&5
55840
55841 glibcxx_cv_func__copysign_use=no
55842 fi
55843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55844       ac_ext=c
55845 ac_cpp='$CPP $CPPFLAGS'
55846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55849
55850
55851 fi
55852
55853   fi
55854   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55855 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55856
55857     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55858
55859 for ac_func in _copysign
55860 do
55861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55862 echo "$as_me:$LINENO: checking for $ac_func" >&5
55863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55864 if eval "test \"\${$as_ac_var+set}\" = set"; then
55865   echo $ECHO_N "(cached) $ECHO_C" >&6
55866 else
55867   if test x$gcc_no_link = xyes; then
55868   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55870    { (exit 1); exit 1; }; }
55871 fi
55872 cat >conftest.$ac_ext <<_ACEOF
55873 /* confdefs.h.  */
55874 _ACEOF
55875 cat confdefs.h >>conftest.$ac_ext
55876 cat >>conftest.$ac_ext <<_ACEOF
55877 /* end confdefs.h.  */
55878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55879    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55880 #define $ac_func innocuous_$ac_func
55881
55882 /* System header to define __stub macros and hopefully few prototypes,
55883     which can conflict with char $ac_func (); below.
55884     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55885     <limits.h> exists even on freestanding compilers.  */
55886
55887 #ifdef __STDC__
55888 # include <limits.h>
55889 #else
55890 # include <assert.h>
55891 #endif
55892
55893 #undef $ac_func
55894
55895 /* Override any gcc2 internal prototype to avoid an error.  */
55896 #ifdef __cplusplus
55897 extern "C"
55898 {
55899 #endif
55900 /* We use char because int might match the return type of a gcc2
55901    builtin and then its argument prototype would still apply.  */
55902 char $ac_func ();
55903 /* The GNU C library defines this for functions which it implements
55904     to always fail with ENOSYS.  Some functions are actually named
55905     something starting with __ and the normal name is an alias.  */
55906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55907 choke me
55908 #else
55909 char (*f) () = $ac_func;
55910 #endif
55911 #ifdef __cplusplus
55912 }
55913 #endif
55914
55915 int
55916 main ()
55917 {
55918 return f != $ac_func;
55919   ;
55920   return 0;
55921 }
55922 _ACEOF
55923 rm -f conftest.$ac_objext conftest$ac_exeext
55924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55925   (eval $ac_link) 2>conftest.er1
55926   ac_status=$?
55927   grep -v '^ *+' conftest.er1 >conftest.err
55928   rm -f conftest.er1
55929   cat conftest.err >&5
55930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55931   (exit $ac_status); } &&
55932          { ac_try='test -z "$ac_c_werror_flag"
55933                          || test ! -s conftest.err'
55934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55935   (eval $ac_try) 2>&5
55936   ac_status=$?
55937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55938   (exit $ac_status); }; } &&
55939          { ac_try='test -s conftest$ac_exeext'
55940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55941   (eval $ac_try) 2>&5
55942   ac_status=$?
55943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55944   (exit $ac_status); }; }; then
55945   eval "$as_ac_var=yes"
55946 else
55947   echo "$as_me: failed program was:" >&5
55948 sed 's/^/| /' conftest.$ac_ext >&5
55949
55950 eval "$as_ac_var=no"
55951 fi
55952 rm -f conftest.err conftest.$ac_objext \
55953       conftest$ac_exeext conftest.$ac_ext
55954 fi
55955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55957 if test `eval echo '${'$as_ac_var'}'` = yes; then
55958   cat >>confdefs.h <<_ACEOF
55959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55960 _ACEOF
55961
55962 fi
55963 done
55964
55965     fi
55966   fi
55967
55968
55969
55970
55971
55972
55973   echo "$as_me:$LINENO: checking for sincos declaration" >&5
55974 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
55975   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55976     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
55977   echo $ECHO_N "(cached) $ECHO_C" >&6
55978 else
55979
55980
55981
55982       ac_ext=cc
55983 ac_cpp='$CXXCPP $CPPFLAGS'
55984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55987
55988       cat >conftest.$ac_ext <<_ACEOF
55989 /* confdefs.h.  */
55990 _ACEOF
55991 cat confdefs.h >>conftest.$ac_ext
55992 cat >>conftest.$ac_ext <<_ACEOF
55993 /* end confdefs.h.  */
55994 #include <math.h>
55995 int
55996 main ()
55997 {
55998  sincos(0, 0, 0);
55999   ;
56000   return 0;
56001 }
56002 _ACEOF
56003 rm -f conftest.$ac_objext
56004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56005   (eval $ac_compile) 2>conftest.er1
56006   ac_status=$?
56007   grep -v '^ *+' conftest.er1 >conftest.err
56008   rm -f conftest.er1
56009   cat conftest.err >&5
56010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56011   (exit $ac_status); } &&
56012          { ac_try='test -z "$ac_cxx_werror_flag"
56013                          || test ! -s conftest.err'
56014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56015   (eval $ac_try) 2>&5
56016   ac_status=$?
56017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56018   (exit $ac_status); }; } &&
56019          { ac_try='test -s conftest.$ac_objext'
56020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56021   (eval $ac_try) 2>&5
56022   ac_status=$?
56023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56024   (exit $ac_status); }; }; then
56025   glibcxx_cv_func_sincos_use=yes
56026 else
56027   echo "$as_me: failed program was:" >&5
56028 sed 's/^/| /' conftest.$ac_ext >&5
56029
56030 glibcxx_cv_func_sincos_use=no
56031 fi
56032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56033       ac_ext=c
56034 ac_cpp='$CPP $CPPFLAGS'
56035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56038
56039
56040 fi
56041
56042   fi
56043   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
56044 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
56045
56046   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
56047
56048 for ac_func in sincos
56049 do
56050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56051 echo "$as_me:$LINENO: checking for $ac_func" >&5
56052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56053 if eval "test \"\${$as_ac_var+set}\" = set"; then
56054   echo $ECHO_N "(cached) $ECHO_C" >&6
56055 else
56056   if test x$gcc_no_link = xyes; then
56057   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56059    { (exit 1); exit 1; }; }
56060 fi
56061 cat >conftest.$ac_ext <<_ACEOF
56062 /* confdefs.h.  */
56063 _ACEOF
56064 cat confdefs.h >>conftest.$ac_ext
56065 cat >>conftest.$ac_ext <<_ACEOF
56066 /* end confdefs.h.  */
56067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56068    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56069 #define $ac_func innocuous_$ac_func
56070
56071 /* System header to define __stub macros and hopefully few prototypes,
56072     which can conflict with char $ac_func (); below.
56073     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56074     <limits.h> exists even on freestanding compilers.  */
56075
56076 #ifdef __STDC__
56077 # include <limits.h>
56078 #else
56079 # include <assert.h>
56080 #endif
56081
56082 #undef $ac_func
56083
56084 /* Override any gcc2 internal prototype to avoid an error.  */
56085 #ifdef __cplusplus
56086 extern "C"
56087 {
56088 #endif
56089 /* We use char because int might match the return type of a gcc2
56090    builtin and then its argument prototype would still apply.  */
56091 char $ac_func ();
56092 /* The GNU C library defines this for functions which it implements
56093     to always fail with ENOSYS.  Some functions are actually named
56094     something starting with __ and the normal name is an alias.  */
56095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56096 choke me
56097 #else
56098 char (*f) () = $ac_func;
56099 #endif
56100 #ifdef __cplusplus
56101 }
56102 #endif
56103
56104 int
56105 main ()
56106 {
56107 return f != $ac_func;
56108   ;
56109   return 0;
56110 }
56111 _ACEOF
56112 rm -f conftest.$ac_objext conftest$ac_exeext
56113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56114   (eval $ac_link) 2>conftest.er1
56115   ac_status=$?
56116   grep -v '^ *+' conftest.er1 >conftest.err
56117   rm -f conftest.er1
56118   cat conftest.err >&5
56119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56120   (exit $ac_status); } &&
56121          { ac_try='test -z "$ac_c_werror_flag"
56122                          || test ! -s conftest.err'
56123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56124   (eval $ac_try) 2>&5
56125   ac_status=$?
56126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56127   (exit $ac_status); }; } &&
56128          { ac_try='test -s conftest$ac_exeext'
56129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56130   (eval $ac_try) 2>&5
56131   ac_status=$?
56132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56133   (exit $ac_status); }; }; then
56134   eval "$as_ac_var=yes"
56135 else
56136   echo "$as_me: failed program was:" >&5
56137 sed 's/^/| /' conftest.$ac_ext >&5
56138
56139 eval "$as_ac_var=no"
56140 fi
56141 rm -f conftest.err conftest.$ac_objext \
56142       conftest$ac_exeext conftest.$ac_ext
56143 fi
56144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56146 if test `eval echo '${'$as_ac_var'}'` = yes; then
56147   cat >>confdefs.h <<_ACEOF
56148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56149 _ACEOF
56150
56151 fi
56152 done
56153
56154   else
56155
56156   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
56157 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
56158   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
56159     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
56160   echo $ECHO_N "(cached) $ECHO_C" >&6
56161 else
56162
56163
56164
56165       ac_ext=cc
56166 ac_cpp='$CXXCPP $CPPFLAGS'
56167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56170
56171       cat >conftest.$ac_ext <<_ACEOF
56172 /* confdefs.h.  */
56173 _ACEOF
56174 cat confdefs.h >>conftest.$ac_ext
56175 cat >>conftest.$ac_ext <<_ACEOF
56176 /* end confdefs.h.  */
56177 #include <math.h>
56178 int
56179 main ()
56180 {
56181  _sincos(0, 0, 0);
56182   ;
56183   return 0;
56184 }
56185 _ACEOF
56186 rm -f conftest.$ac_objext
56187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56188   (eval $ac_compile) 2>conftest.er1
56189   ac_status=$?
56190   grep -v '^ *+' conftest.er1 >conftest.err
56191   rm -f conftest.er1
56192   cat conftest.err >&5
56193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56194   (exit $ac_status); } &&
56195          { ac_try='test -z "$ac_cxx_werror_flag"
56196                          || test ! -s conftest.err'
56197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56198   (eval $ac_try) 2>&5
56199   ac_status=$?
56200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56201   (exit $ac_status); }; } &&
56202          { ac_try='test -s conftest.$ac_objext'
56203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56204   (eval $ac_try) 2>&5
56205   ac_status=$?
56206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56207   (exit $ac_status); }; }; then
56208   glibcxx_cv_func__sincos_use=yes
56209 else
56210   echo "$as_me: failed program was:" >&5
56211 sed 's/^/| /' conftest.$ac_ext >&5
56212
56213 glibcxx_cv_func__sincos_use=no
56214 fi
56215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56216       ac_ext=c
56217 ac_cpp='$CPP $CPPFLAGS'
56218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56221
56222
56223 fi
56224
56225   fi
56226   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
56227 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
56228
56229     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
56230
56231 for ac_func in _sincos
56232 do
56233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56234 echo "$as_me:$LINENO: checking for $ac_func" >&5
56235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56236 if eval "test \"\${$as_ac_var+set}\" = set"; then
56237   echo $ECHO_N "(cached) $ECHO_C" >&6
56238 else
56239   if test x$gcc_no_link = xyes; then
56240   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56242    { (exit 1); exit 1; }; }
56243 fi
56244 cat >conftest.$ac_ext <<_ACEOF
56245 /* confdefs.h.  */
56246 _ACEOF
56247 cat confdefs.h >>conftest.$ac_ext
56248 cat >>conftest.$ac_ext <<_ACEOF
56249 /* end confdefs.h.  */
56250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56251    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56252 #define $ac_func innocuous_$ac_func
56253
56254 /* System header to define __stub macros and hopefully few prototypes,
56255     which can conflict with char $ac_func (); below.
56256     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56257     <limits.h> exists even on freestanding compilers.  */
56258
56259 #ifdef __STDC__
56260 # include <limits.h>
56261 #else
56262 # include <assert.h>
56263 #endif
56264
56265 #undef $ac_func
56266
56267 /* Override any gcc2 internal prototype to avoid an error.  */
56268 #ifdef __cplusplus
56269 extern "C"
56270 {
56271 #endif
56272 /* We use char because int might match the return type of a gcc2
56273    builtin and then its argument prototype would still apply.  */
56274 char $ac_func ();
56275 /* The GNU C library defines this for functions which it implements
56276     to always fail with ENOSYS.  Some functions are actually named
56277     something starting with __ and the normal name is an alias.  */
56278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56279 choke me
56280 #else
56281 char (*f) () = $ac_func;
56282 #endif
56283 #ifdef __cplusplus
56284 }
56285 #endif
56286
56287 int
56288 main ()
56289 {
56290 return f != $ac_func;
56291   ;
56292   return 0;
56293 }
56294 _ACEOF
56295 rm -f conftest.$ac_objext conftest$ac_exeext
56296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56297   (eval $ac_link) 2>conftest.er1
56298   ac_status=$?
56299   grep -v '^ *+' conftest.er1 >conftest.err
56300   rm -f conftest.er1
56301   cat conftest.err >&5
56302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56303   (exit $ac_status); } &&
56304          { ac_try='test -z "$ac_c_werror_flag"
56305                          || test ! -s conftest.err'
56306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56307   (eval $ac_try) 2>&5
56308   ac_status=$?
56309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56310   (exit $ac_status); }; } &&
56311          { ac_try='test -s conftest$ac_exeext'
56312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56313   (eval $ac_try) 2>&5
56314   ac_status=$?
56315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56316   (exit $ac_status); }; }; then
56317   eval "$as_ac_var=yes"
56318 else
56319   echo "$as_me: failed program was:" >&5
56320 sed 's/^/| /' conftest.$ac_ext >&5
56321
56322 eval "$as_ac_var=no"
56323 fi
56324 rm -f conftest.err conftest.$ac_objext \
56325       conftest$ac_exeext conftest.$ac_ext
56326 fi
56327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56329 if test `eval echo '${'$as_ac_var'}'` = yes; then
56330   cat >>confdefs.h <<_ACEOF
56331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56332 _ACEOF
56333
56334 fi
56335 done
56336
56337     fi
56338   fi
56339
56340
56341
56342
56343
56344
56345   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
56346 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
56347   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
56348     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
56349   echo $ECHO_N "(cached) $ECHO_C" >&6
56350 else
56351
56352
56353
56354       ac_ext=cc
56355 ac_cpp='$CXXCPP $CPPFLAGS'
56356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56359
56360       cat >conftest.$ac_ext <<_ACEOF
56361 /* confdefs.h.  */
56362 _ACEOF
56363 cat confdefs.h >>conftest.$ac_ext
56364 cat >>conftest.$ac_ext <<_ACEOF
56365 /* end confdefs.h.  */
56366 #include <math.h>
56367                       #ifdef HAVE_IEEEFP_H
56368                       #include <ieeefp.h>
56369                       #endif
56370
56371 int
56372 main ()
56373 {
56374  fpclass(0);
56375   ;
56376   return 0;
56377 }
56378 _ACEOF
56379 rm -f conftest.$ac_objext
56380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56381   (eval $ac_compile) 2>conftest.er1
56382   ac_status=$?
56383   grep -v '^ *+' conftest.er1 >conftest.err
56384   rm -f conftest.er1
56385   cat conftest.err >&5
56386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56387   (exit $ac_status); } &&
56388          { ac_try='test -z "$ac_cxx_werror_flag"
56389                          || test ! -s conftest.err'
56390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56391   (eval $ac_try) 2>&5
56392   ac_status=$?
56393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56394   (exit $ac_status); }; } &&
56395          { ac_try='test -s conftest.$ac_objext'
56396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56397   (eval $ac_try) 2>&5
56398   ac_status=$?
56399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56400   (exit $ac_status); }; }; then
56401   glibcxx_cv_func_fpclass_use=yes
56402 else
56403   echo "$as_me: failed program was:" >&5
56404 sed 's/^/| /' conftest.$ac_ext >&5
56405
56406 glibcxx_cv_func_fpclass_use=no
56407 fi
56408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56409       ac_ext=c
56410 ac_cpp='$CPP $CPPFLAGS'
56411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56414
56415
56416 fi
56417
56418   fi
56419   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
56420 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
56421
56422   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
56423
56424 for ac_func in fpclass
56425 do
56426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56427 echo "$as_me:$LINENO: checking for $ac_func" >&5
56428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56429 if eval "test \"\${$as_ac_var+set}\" = set"; then
56430   echo $ECHO_N "(cached) $ECHO_C" >&6
56431 else
56432   if test x$gcc_no_link = xyes; then
56433   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56435    { (exit 1); exit 1; }; }
56436 fi
56437 cat >conftest.$ac_ext <<_ACEOF
56438 /* confdefs.h.  */
56439 _ACEOF
56440 cat confdefs.h >>conftest.$ac_ext
56441 cat >>conftest.$ac_ext <<_ACEOF
56442 /* end confdefs.h.  */
56443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56444    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56445 #define $ac_func innocuous_$ac_func
56446
56447 /* System header to define __stub macros and hopefully few prototypes,
56448     which can conflict with char $ac_func (); below.
56449     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56450     <limits.h> exists even on freestanding compilers.  */
56451
56452 #ifdef __STDC__
56453 # include <limits.h>
56454 #else
56455 # include <assert.h>
56456 #endif
56457
56458 #undef $ac_func
56459
56460 /* Override any gcc2 internal prototype to avoid an error.  */
56461 #ifdef __cplusplus
56462 extern "C"
56463 {
56464 #endif
56465 /* We use char because int might match the return type of a gcc2
56466    builtin and then its argument prototype would still apply.  */
56467 char $ac_func ();
56468 /* The GNU C library defines this for functions which it implements
56469     to always fail with ENOSYS.  Some functions are actually named
56470     something starting with __ and the normal name is an alias.  */
56471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56472 choke me
56473 #else
56474 char (*f) () = $ac_func;
56475 #endif
56476 #ifdef __cplusplus
56477 }
56478 #endif
56479
56480 int
56481 main ()
56482 {
56483 return f != $ac_func;
56484   ;
56485   return 0;
56486 }
56487 _ACEOF
56488 rm -f conftest.$ac_objext conftest$ac_exeext
56489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56490   (eval $ac_link) 2>conftest.er1
56491   ac_status=$?
56492   grep -v '^ *+' conftest.er1 >conftest.err
56493   rm -f conftest.er1
56494   cat conftest.err >&5
56495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56496   (exit $ac_status); } &&
56497          { ac_try='test -z "$ac_c_werror_flag"
56498                          || test ! -s conftest.err'
56499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56500   (eval $ac_try) 2>&5
56501   ac_status=$?
56502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56503   (exit $ac_status); }; } &&
56504          { ac_try='test -s conftest$ac_exeext'
56505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56506   (eval $ac_try) 2>&5
56507   ac_status=$?
56508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56509   (exit $ac_status); }; }; then
56510   eval "$as_ac_var=yes"
56511 else
56512   echo "$as_me: failed program was:" >&5
56513 sed 's/^/| /' conftest.$ac_ext >&5
56514
56515 eval "$as_ac_var=no"
56516 fi
56517 rm -f conftest.err conftest.$ac_objext \
56518       conftest$ac_exeext conftest.$ac_ext
56519 fi
56520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56522 if test `eval echo '${'$as_ac_var'}'` = yes; then
56523   cat >>confdefs.h <<_ACEOF
56524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56525 _ACEOF
56526
56527 fi
56528 done
56529
56530   else
56531
56532   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
56533 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
56534   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
56535     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
56536   echo $ECHO_N "(cached) $ECHO_C" >&6
56537 else
56538
56539
56540
56541       ac_ext=cc
56542 ac_cpp='$CXXCPP $CPPFLAGS'
56543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56546
56547       cat >conftest.$ac_ext <<_ACEOF
56548 /* confdefs.h.  */
56549 _ACEOF
56550 cat confdefs.h >>conftest.$ac_ext
56551 cat >>conftest.$ac_ext <<_ACEOF
56552 /* end confdefs.h.  */
56553 #include <math.h>
56554                       #ifdef HAVE_IEEEFP_H
56555                       #include <ieeefp.h>
56556                       #endif
56557
56558 int
56559 main ()
56560 {
56561  _fpclass(0);
56562   ;
56563   return 0;
56564 }
56565 _ACEOF
56566 rm -f conftest.$ac_objext
56567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56568   (eval $ac_compile) 2>conftest.er1
56569   ac_status=$?
56570   grep -v '^ *+' conftest.er1 >conftest.err
56571   rm -f conftest.er1
56572   cat conftest.err >&5
56573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56574   (exit $ac_status); } &&
56575          { ac_try='test -z "$ac_cxx_werror_flag"
56576                          || test ! -s conftest.err'
56577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56578   (eval $ac_try) 2>&5
56579   ac_status=$?
56580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56581   (exit $ac_status); }; } &&
56582          { ac_try='test -s conftest.$ac_objext'
56583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56584   (eval $ac_try) 2>&5
56585   ac_status=$?
56586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56587   (exit $ac_status); }; }; then
56588   glibcxx_cv_func__fpclass_use=yes
56589 else
56590   echo "$as_me: failed program was:" >&5
56591 sed 's/^/| /' conftest.$ac_ext >&5
56592
56593 glibcxx_cv_func__fpclass_use=no
56594 fi
56595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56596       ac_ext=c
56597 ac_cpp='$CPP $CPPFLAGS'
56598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56601
56602
56603 fi
56604
56605   fi
56606   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
56607 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
56608
56609     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
56610
56611 for ac_func in _fpclass
56612 do
56613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56614 echo "$as_me:$LINENO: checking for $ac_func" >&5
56615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56616 if eval "test \"\${$as_ac_var+set}\" = set"; then
56617   echo $ECHO_N "(cached) $ECHO_C" >&6
56618 else
56619   if test x$gcc_no_link = xyes; then
56620   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56622    { (exit 1); exit 1; }; }
56623 fi
56624 cat >conftest.$ac_ext <<_ACEOF
56625 /* confdefs.h.  */
56626 _ACEOF
56627 cat confdefs.h >>conftest.$ac_ext
56628 cat >>conftest.$ac_ext <<_ACEOF
56629 /* end confdefs.h.  */
56630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56631    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56632 #define $ac_func innocuous_$ac_func
56633
56634 /* System header to define __stub macros and hopefully few prototypes,
56635     which can conflict with char $ac_func (); below.
56636     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56637     <limits.h> exists even on freestanding compilers.  */
56638
56639 #ifdef __STDC__
56640 # include <limits.h>
56641 #else
56642 # include <assert.h>
56643 #endif
56644
56645 #undef $ac_func
56646
56647 /* Override any gcc2 internal prototype to avoid an error.  */
56648 #ifdef __cplusplus
56649 extern "C"
56650 {
56651 #endif
56652 /* We use char because int might match the return type of a gcc2
56653    builtin and then its argument prototype would still apply.  */
56654 char $ac_func ();
56655 /* The GNU C library defines this for functions which it implements
56656     to always fail with ENOSYS.  Some functions are actually named
56657     something starting with __ and the normal name is an alias.  */
56658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56659 choke me
56660 #else
56661 char (*f) () = $ac_func;
56662 #endif
56663 #ifdef __cplusplus
56664 }
56665 #endif
56666
56667 int
56668 main ()
56669 {
56670 return f != $ac_func;
56671   ;
56672   return 0;
56673 }
56674 _ACEOF
56675 rm -f conftest.$ac_objext conftest$ac_exeext
56676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56677   (eval $ac_link) 2>conftest.er1
56678   ac_status=$?
56679   grep -v '^ *+' conftest.er1 >conftest.err
56680   rm -f conftest.er1
56681   cat conftest.err >&5
56682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56683   (exit $ac_status); } &&
56684          { ac_try='test -z "$ac_c_werror_flag"
56685                          || test ! -s conftest.err'
56686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56687   (eval $ac_try) 2>&5
56688   ac_status=$?
56689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56690   (exit $ac_status); }; } &&
56691          { ac_try='test -s conftest$ac_exeext'
56692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56693   (eval $ac_try) 2>&5
56694   ac_status=$?
56695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56696   (exit $ac_status); }; }; then
56697   eval "$as_ac_var=yes"
56698 else
56699   echo "$as_me: failed program was:" >&5
56700 sed 's/^/| /' conftest.$ac_ext >&5
56701
56702 eval "$as_ac_var=no"
56703 fi
56704 rm -f conftest.err conftest.$ac_objext \
56705       conftest$ac_exeext conftest.$ac_ext
56706 fi
56707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56709 if test `eval echo '${'$as_ac_var'}'` = yes; then
56710   cat >>confdefs.h <<_ACEOF
56711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56712 _ACEOF
56713
56714 fi
56715 done
56716
56717     fi
56718   fi
56719
56720
56721
56722
56723
56724
56725   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
56726 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
56727   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
56728     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
56729   echo $ECHO_N "(cached) $ECHO_C" >&6
56730 else
56731
56732
56733
56734       ac_ext=cc
56735 ac_cpp='$CXXCPP $CPPFLAGS'
56736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56739
56740       cat >conftest.$ac_ext <<_ACEOF
56741 /* confdefs.h.  */
56742 _ACEOF
56743 cat confdefs.h >>conftest.$ac_ext
56744 cat >>conftest.$ac_ext <<_ACEOF
56745 /* end confdefs.h.  */
56746 #include <math.h>
56747                       #ifdef HAVE_IEEEFP_H
56748                       #include <ieeefp.h>
56749                       #endif
56750
56751 int
56752 main ()
56753 {
56754  qfpclass(0);
56755   ;
56756   return 0;
56757 }
56758 _ACEOF
56759 rm -f conftest.$ac_objext
56760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56761   (eval $ac_compile) 2>conftest.er1
56762   ac_status=$?
56763   grep -v '^ *+' conftest.er1 >conftest.err
56764   rm -f conftest.er1
56765   cat conftest.err >&5
56766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56767   (exit $ac_status); } &&
56768          { ac_try='test -z "$ac_cxx_werror_flag"
56769                          || test ! -s conftest.err'
56770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56771   (eval $ac_try) 2>&5
56772   ac_status=$?
56773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56774   (exit $ac_status); }; } &&
56775          { ac_try='test -s conftest.$ac_objext'
56776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56777   (eval $ac_try) 2>&5
56778   ac_status=$?
56779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56780   (exit $ac_status); }; }; then
56781   glibcxx_cv_func_qfpclass_use=yes
56782 else
56783   echo "$as_me: failed program was:" >&5
56784 sed 's/^/| /' conftest.$ac_ext >&5
56785
56786 glibcxx_cv_func_qfpclass_use=no
56787 fi
56788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56789       ac_ext=c
56790 ac_cpp='$CPP $CPPFLAGS'
56791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56794
56795
56796 fi
56797
56798   fi
56799   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
56800 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
56801
56802   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
56803
56804 for ac_func in qfpclass
56805 do
56806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56807 echo "$as_me:$LINENO: checking for $ac_func" >&5
56808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56809 if eval "test \"\${$as_ac_var+set}\" = set"; then
56810   echo $ECHO_N "(cached) $ECHO_C" >&6
56811 else
56812   if test x$gcc_no_link = xyes; then
56813   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56815    { (exit 1); exit 1; }; }
56816 fi
56817 cat >conftest.$ac_ext <<_ACEOF
56818 /* confdefs.h.  */
56819 _ACEOF
56820 cat confdefs.h >>conftest.$ac_ext
56821 cat >>conftest.$ac_ext <<_ACEOF
56822 /* end confdefs.h.  */
56823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56824    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56825 #define $ac_func innocuous_$ac_func
56826
56827 /* System header to define __stub macros and hopefully few prototypes,
56828     which can conflict with char $ac_func (); below.
56829     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56830     <limits.h> exists even on freestanding compilers.  */
56831
56832 #ifdef __STDC__
56833 # include <limits.h>
56834 #else
56835 # include <assert.h>
56836 #endif
56837
56838 #undef $ac_func
56839
56840 /* Override any gcc2 internal prototype to avoid an error.  */
56841 #ifdef __cplusplus
56842 extern "C"
56843 {
56844 #endif
56845 /* We use char because int might match the return type of a gcc2
56846    builtin and then its argument prototype would still apply.  */
56847 char $ac_func ();
56848 /* The GNU C library defines this for functions which it implements
56849     to always fail with ENOSYS.  Some functions are actually named
56850     something starting with __ and the normal name is an alias.  */
56851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56852 choke me
56853 #else
56854 char (*f) () = $ac_func;
56855 #endif
56856 #ifdef __cplusplus
56857 }
56858 #endif
56859
56860 int
56861 main ()
56862 {
56863 return f != $ac_func;
56864   ;
56865   return 0;
56866 }
56867 _ACEOF
56868 rm -f conftest.$ac_objext conftest$ac_exeext
56869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56870   (eval $ac_link) 2>conftest.er1
56871   ac_status=$?
56872   grep -v '^ *+' conftest.er1 >conftest.err
56873   rm -f conftest.er1
56874   cat conftest.err >&5
56875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56876   (exit $ac_status); } &&
56877          { ac_try='test -z "$ac_c_werror_flag"
56878                          || test ! -s conftest.err'
56879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56880   (eval $ac_try) 2>&5
56881   ac_status=$?
56882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56883   (exit $ac_status); }; } &&
56884          { ac_try='test -s conftest$ac_exeext'
56885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56886   (eval $ac_try) 2>&5
56887   ac_status=$?
56888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56889   (exit $ac_status); }; }; then
56890   eval "$as_ac_var=yes"
56891 else
56892   echo "$as_me: failed program was:" >&5
56893 sed 's/^/| /' conftest.$ac_ext >&5
56894
56895 eval "$as_ac_var=no"
56896 fi
56897 rm -f conftest.err conftest.$ac_objext \
56898       conftest$ac_exeext conftest.$ac_ext
56899 fi
56900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56902 if test `eval echo '${'$as_ac_var'}'` = yes; then
56903   cat >>confdefs.h <<_ACEOF
56904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56905 _ACEOF
56906
56907 fi
56908 done
56909
56910   else
56911
56912   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56913 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56914   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56915     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56916   echo $ECHO_N "(cached) $ECHO_C" >&6
56917 else
56918
56919
56920
56921       ac_ext=cc
56922 ac_cpp='$CXXCPP $CPPFLAGS'
56923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56926
56927       cat >conftest.$ac_ext <<_ACEOF
56928 /* confdefs.h.  */
56929 _ACEOF
56930 cat confdefs.h >>conftest.$ac_ext
56931 cat >>conftest.$ac_ext <<_ACEOF
56932 /* end confdefs.h.  */
56933 #include <math.h>
56934                       #ifdef HAVE_IEEEFP_H
56935                       #include <ieeefp.h>
56936                       #endif
56937
56938 int
56939 main ()
56940 {
56941  _qfpclass(0);
56942   ;
56943   return 0;
56944 }
56945 _ACEOF
56946 rm -f conftest.$ac_objext
56947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56948   (eval $ac_compile) 2>conftest.er1
56949   ac_status=$?
56950   grep -v '^ *+' conftest.er1 >conftest.err
56951   rm -f conftest.er1
56952   cat conftest.err >&5
56953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56954   (exit $ac_status); } &&
56955          { ac_try='test -z "$ac_cxx_werror_flag"
56956                          || test ! -s conftest.err'
56957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56958   (eval $ac_try) 2>&5
56959   ac_status=$?
56960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56961   (exit $ac_status); }; } &&
56962          { ac_try='test -s conftest.$ac_objext'
56963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56964   (eval $ac_try) 2>&5
56965   ac_status=$?
56966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56967   (exit $ac_status); }; }; then
56968   glibcxx_cv_func__qfpclass_use=yes
56969 else
56970   echo "$as_me: failed program was:" >&5
56971 sed 's/^/| /' conftest.$ac_ext >&5
56972
56973 glibcxx_cv_func__qfpclass_use=no
56974 fi
56975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56976       ac_ext=c
56977 ac_cpp='$CPP $CPPFLAGS'
56978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56981
56982
56983 fi
56984
56985   fi
56986   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
56987 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
56988
56989     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
56990
56991 for ac_func in _qfpclass
56992 do
56993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56994 echo "$as_me:$LINENO: checking for $ac_func" >&5
56995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56996 if eval "test \"\${$as_ac_var+set}\" = set"; then
56997   echo $ECHO_N "(cached) $ECHO_C" >&6
56998 else
56999   if test x$gcc_no_link = xyes; then
57000   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57002    { (exit 1); exit 1; }; }
57003 fi
57004 cat >conftest.$ac_ext <<_ACEOF
57005 /* confdefs.h.  */
57006 _ACEOF
57007 cat confdefs.h >>conftest.$ac_ext
57008 cat >>conftest.$ac_ext <<_ACEOF
57009 /* end confdefs.h.  */
57010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57011    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57012 #define $ac_func innocuous_$ac_func
57013
57014 /* System header to define __stub macros and hopefully few prototypes,
57015     which can conflict with char $ac_func (); below.
57016     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57017     <limits.h> exists even on freestanding compilers.  */
57018
57019 #ifdef __STDC__
57020 # include <limits.h>
57021 #else
57022 # include <assert.h>
57023 #endif
57024
57025 #undef $ac_func
57026
57027 /* Override any gcc2 internal prototype to avoid an error.  */
57028 #ifdef __cplusplus
57029 extern "C"
57030 {
57031 #endif
57032 /* We use char because int might match the return type of a gcc2
57033    builtin and then its argument prototype would still apply.  */
57034 char $ac_func ();
57035 /* The GNU C library defines this for functions which it implements
57036     to always fail with ENOSYS.  Some functions are actually named
57037     something starting with __ and the normal name is an alias.  */
57038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57039 choke me
57040 #else
57041 char (*f) () = $ac_func;
57042 #endif
57043 #ifdef __cplusplus
57044 }
57045 #endif
57046
57047 int
57048 main ()
57049 {
57050 return f != $ac_func;
57051   ;
57052   return 0;
57053 }
57054 _ACEOF
57055 rm -f conftest.$ac_objext conftest$ac_exeext
57056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57057   (eval $ac_link) 2>conftest.er1
57058   ac_status=$?
57059   grep -v '^ *+' conftest.er1 >conftest.err
57060   rm -f conftest.er1
57061   cat conftest.err >&5
57062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57063   (exit $ac_status); } &&
57064          { ac_try='test -z "$ac_c_werror_flag"
57065                          || test ! -s conftest.err'
57066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57067   (eval $ac_try) 2>&5
57068   ac_status=$?
57069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57070   (exit $ac_status); }; } &&
57071          { ac_try='test -s conftest$ac_exeext'
57072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57073   (eval $ac_try) 2>&5
57074   ac_status=$?
57075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57076   (exit $ac_status); }; }; then
57077   eval "$as_ac_var=yes"
57078 else
57079   echo "$as_me: failed program was:" >&5
57080 sed 's/^/| /' conftest.$ac_ext >&5
57081
57082 eval "$as_ac_var=no"
57083 fi
57084 rm -f conftest.err conftest.$ac_objext \
57085       conftest$ac_exeext conftest.$ac_ext
57086 fi
57087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57089 if test `eval echo '${'$as_ac_var'}'` = yes; then
57090   cat >>confdefs.h <<_ACEOF
57091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57092 _ACEOF
57093
57094 fi
57095 done
57096
57097     fi
57098   fi
57099
57100
57101
57102
57103
57104
57105   echo "$as_me:$LINENO: checking for hypot declaration" >&5
57106 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
57107   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
57108     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
57109   echo $ECHO_N "(cached) $ECHO_C" >&6
57110 else
57111
57112
57113
57114       ac_ext=cc
57115 ac_cpp='$CXXCPP $CPPFLAGS'
57116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57119
57120       cat >conftest.$ac_ext <<_ACEOF
57121 /* confdefs.h.  */
57122 _ACEOF
57123 cat confdefs.h >>conftest.$ac_ext
57124 cat >>conftest.$ac_ext <<_ACEOF
57125 /* end confdefs.h.  */
57126 #include <math.h>
57127 int
57128 main ()
57129 {
57130  hypot(0, 0);
57131   ;
57132   return 0;
57133 }
57134 _ACEOF
57135 rm -f conftest.$ac_objext
57136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57137   (eval $ac_compile) 2>conftest.er1
57138   ac_status=$?
57139   grep -v '^ *+' conftest.er1 >conftest.err
57140   rm -f conftest.er1
57141   cat conftest.err >&5
57142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57143   (exit $ac_status); } &&
57144          { ac_try='test -z "$ac_cxx_werror_flag"
57145                          || test ! -s conftest.err'
57146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57147   (eval $ac_try) 2>&5
57148   ac_status=$?
57149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57150   (exit $ac_status); }; } &&
57151          { ac_try='test -s conftest.$ac_objext'
57152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57153   (eval $ac_try) 2>&5
57154   ac_status=$?
57155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57156   (exit $ac_status); }; }; then
57157   glibcxx_cv_func_hypot_use=yes
57158 else
57159   echo "$as_me: failed program was:" >&5
57160 sed 's/^/| /' conftest.$ac_ext >&5
57161
57162 glibcxx_cv_func_hypot_use=no
57163 fi
57164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57165       ac_ext=c
57166 ac_cpp='$CPP $CPPFLAGS'
57167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57170
57171
57172 fi
57173
57174   fi
57175   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
57176 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
57177
57178   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
57179
57180 for ac_func in hypot
57181 do
57182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57183 echo "$as_me:$LINENO: checking for $ac_func" >&5
57184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57185 if eval "test \"\${$as_ac_var+set}\" = set"; then
57186   echo $ECHO_N "(cached) $ECHO_C" >&6
57187 else
57188   if test x$gcc_no_link = xyes; then
57189   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57191    { (exit 1); exit 1; }; }
57192 fi
57193 cat >conftest.$ac_ext <<_ACEOF
57194 /* confdefs.h.  */
57195 _ACEOF
57196 cat confdefs.h >>conftest.$ac_ext
57197 cat >>conftest.$ac_ext <<_ACEOF
57198 /* end confdefs.h.  */
57199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57200    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57201 #define $ac_func innocuous_$ac_func
57202
57203 /* System header to define __stub macros and hopefully few prototypes,
57204     which can conflict with char $ac_func (); below.
57205     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57206     <limits.h> exists even on freestanding compilers.  */
57207
57208 #ifdef __STDC__
57209 # include <limits.h>
57210 #else
57211 # include <assert.h>
57212 #endif
57213
57214 #undef $ac_func
57215
57216 /* Override any gcc2 internal prototype to avoid an error.  */
57217 #ifdef __cplusplus
57218 extern "C"
57219 {
57220 #endif
57221 /* We use char because int might match the return type of a gcc2
57222    builtin and then its argument prototype would still apply.  */
57223 char $ac_func ();
57224 /* The GNU C library defines this for functions which it implements
57225     to always fail with ENOSYS.  Some functions are actually named
57226     something starting with __ and the normal name is an alias.  */
57227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57228 choke me
57229 #else
57230 char (*f) () = $ac_func;
57231 #endif
57232 #ifdef __cplusplus
57233 }
57234 #endif
57235
57236 int
57237 main ()
57238 {
57239 return f != $ac_func;
57240   ;
57241   return 0;
57242 }
57243 _ACEOF
57244 rm -f conftest.$ac_objext conftest$ac_exeext
57245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57246   (eval $ac_link) 2>conftest.er1
57247   ac_status=$?
57248   grep -v '^ *+' conftest.er1 >conftest.err
57249   rm -f conftest.er1
57250   cat conftest.err >&5
57251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57252   (exit $ac_status); } &&
57253          { ac_try='test -z "$ac_c_werror_flag"
57254                          || test ! -s conftest.err'
57255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57256   (eval $ac_try) 2>&5
57257   ac_status=$?
57258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57259   (exit $ac_status); }; } &&
57260          { ac_try='test -s conftest$ac_exeext'
57261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57262   (eval $ac_try) 2>&5
57263   ac_status=$?
57264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57265   (exit $ac_status); }; }; then
57266   eval "$as_ac_var=yes"
57267 else
57268   echo "$as_me: failed program was:" >&5
57269 sed 's/^/| /' conftest.$ac_ext >&5
57270
57271 eval "$as_ac_var=no"
57272 fi
57273 rm -f conftest.err conftest.$ac_objext \
57274       conftest$ac_exeext conftest.$ac_ext
57275 fi
57276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57278 if test `eval echo '${'$as_ac_var'}'` = yes; then
57279   cat >>confdefs.h <<_ACEOF
57280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57281 _ACEOF
57282
57283 fi
57284 done
57285
57286   else
57287
57288   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
57289 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
57290   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
57291     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
57292   echo $ECHO_N "(cached) $ECHO_C" >&6
57293 else
57294
57295
57296
57297       ac_ext=cc
57298 ac_cpp='$CXXCPP $CPPFLAGS'
57299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57302
57303       cat >conftest.$ac_ext <<_ACEOF
57304 /* confdefs.h.  */
57305 _ACEOF
57306 cat confdefs.h >>conftest.$ac_ext
57307 cat >>conftest.$ac_ext <<_ACEOF
57308 /* end confdefs.h.  */
57309 #include <math.h>
57310 int
57311 main ()
57312 {
57313  _hypot(0, 0);
57314   ;
57315   return 0;
57316 }
57317 _ACEOF
57318 rm -f conftest.$ac_objext
57319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57320   (eval $ac_compile) 2>conftest.er1
57321   ac_status=$?
57322   grep -v '^ *+' conftest.er1 >conftest.err
57323   rm -f conftest.er1
57324   cat conftest.err >&5
57325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57326   (exit $ac_status); } &&
57327          { ac_try='test -z "$ac_cxx_werror_flag"
57328                          || test ! -s conftest.err'
57329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57330   (eval $ac_try) 2>&5
57331   ac_status=$?
57332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57333   (exit $ac_status); }; } &&
57334          { ac_try='test -s conftest.$ac_objext'
57335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57336   (eval $ac_try) 2>&5
57337   ac_status=$?
57338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57339   (exit $ac_status); }; }; then
57340   glibcxx_cv_func__hypot_use=yes
57341 else
57342   echo "$as_me: failed program was:" >&5
57343 sed 's/^/| /' conftest.$ac_ext >&5
57344
57345 glibcxx_cv_func__hypot_use=no
57346 fi
57347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57348       ac_ext=c
57349 ac_cpp='$CPP $CPPFLAGS'
57350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57353
57354
57355 fi
57356
57357   fi
57358   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
57359 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
57360
57361     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
57362
57363 for ac_func in _hypot
57364 do
57365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57366 echo "$as_me:$LINENO: checking for $ac_func" >&5
57367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57368 if eval "test \"\${$as_ac_var+set}\" = set"; then
57369   echo $ECHO_N "(cached) $ECHO_C" >&6
57370 else
57371   if test x$gcc_no_link = xyes; then
57372   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57374    { (exit 1); exit 1; }; }
57375 fi
57376 cat >conftest.$ac_ext <<_ACEOF
57377 /* confdefs.h.  */
57378 _ACEOF
57379 cat confdefs.h >>conftest.$ac_ext
57380 cat >>conftest.$ac_ext <<_ACEOF
57381 /* end confdefs.h.  */
57382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57383    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57384 #define $ac_func innocuous_$ac_func
57385
57386 /* System header to define __stub macros and hopefully few prototypes,
57387     which can conflict with char $ac_func (); below.
57388     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57389     <limits.h> exists even on freestanding compilers.  */
57390
57391 #ifdef __STDC__
57392 # include <limits.h>
57393 #else
57394 # include <assert.h>
57395 #endif
57396
57397 #undef $ac_func
57398
57399 /* Override any gcc2 internal prototype to avoid an error.  */
57400 #ifdef __cplusplus
57401 extern "C"
57402 {
57403 #endif
57404 /* We use char because int might match the return type of a gcc2
57405    builtin and then its argument prototype would still apply.  */
57406 char $ac_func ();
57407 /* The GNU C library defines this for functions which it implements
57408     to always fail with ENOSYS.  Some functions are actually named
57409     something starting with __ and the normal name is an alias.  */
57410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57411 choke me
57412 #else
57413 char (*f) () = $ac_func;
57414 #endif
57415 #ifdef __cplusplus
57416 }
57417 #endif
57418
57419 int
57420 main ()
57421 {
57422 return f != $ac_func;
57423   ;
57424   return 0;
57425 }
57426 _ACEOF
57427 rm -f conftest.$ac_objext conftest$ac_exeext
57428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57429   (eval $ac_link) 2>conftest.er1
57430   ac_status=$?
57431   grep -v '^ *+' conftest.er1 >conftest.err
57432   rm -f conftest.er1
57433   cat conftest.err >&5
57434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57435   (exit $ac_status); } &&
57436          { ac_try='test -z "$ac_c_werror_flag"
57437                          || test ! -s conftest.err'
57438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57439   (eval $ac_try) 2>&5
57440   ac_status=$?
57441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57442   (exit $ac_status); }; } &&
57443          { ac_try='test -s conftest$ac_exeext'
57444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57445   (eval $ac_try) 2>&5
57446   ac_status=$?
57447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57448   (exit $ac_status); }; }; then
57449   eval "$as_ac_var=yes"
57450 else
57451   echo "$as_me: failed program was:" >&5
57452 sed 's/^/| /' conftest.$ac_ext >&5
57453
57454 eval "$as_ac_var=no"
57455 fi
57456 rm -f conftest.err conftest.$ac_objext \
57457       conftest$ac_exeext conftest.$ac_ext
57458 fi
57459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57461 if test `eval echo '${'$as_ac_var'}'` = yes; then
57462   cat >>confdefs.h <<_ACEOF
57463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57464 _ACEOF
57465
57466 fi
57467 done
57468
57469     fi
57470   fi
57471
57472
57473
57474
57475
57476
57477     echo "$as_me:$LINENO: checking for float trig functions" >&5
57478 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
57479   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
57480   echo $ECHO_N "(cached) $ECHO_C" >&6
57481 else
57482
57483
57484
57485     ac_ext=cc
57486 ac_cpp='$CXXCPP $CPPFLAGS'
57487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57490
57491     cat >conftest.$ac_ext <<_ACEOF
57492 /* confdefs.h.  */
57493 _ACEOF
57494 cat confdefs.h >>conftest.$ac_ext
57495 cat >>conftest.$ac_ext <<_ACEOF
57496 /* end confdefs.h.  */
57497 #include <math.h>
57498 int
57499 main ()
57500 {
57501 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
57502   ;
57503   return 0;
57504 }
57505 _ACEOF
57506 rm -f conftest.$ac_objext
57507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57508   (eval $ac_compile) 2>conftest.er1
57509   ac_status=$?
57510   grep -v '^ *+' conftest.er1 >conftest.err
57511   rm -f conftest.er1
57512   cat conftest.err >&5
57513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57514   (exit $ac_status); } &&
57515          { ac_try='test -z "$ac_cxx_werror_flag"
57516                          || test ! -s conftest.err'
57517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57518   (eval $ac_try) 2>&5
57519   ac_status=$?
57520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57521   (exit $ac_status); }; } &&
57522          { ac_try='test -s conftest.$ac_objext'
57523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57524   (eval $ac_try) 2>&5
57525   ac_status=$?
57526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57527   (exit $ac_status); }; }; then
57528   glibcxx_cv_func_float_trig_use=yes
57529 else
57530   echo "$as_me: failed program was:" >&5
57531 sed 's/^/| /' conftest.$ac_ext >&5
57532
57533 glibcxx_cv_func_float_trig_use=no
57534 fi
57535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57536     ac_ext=c
57537 ac_cpp='$CPP $CPPFLAGS'
57538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57541
57542 fi
57543
57544   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
57545 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
57546   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
57557 do
57558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57559 echo "$as_me:$LINENO: checking for $ac_func" >&5
57560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57561 if eval "test \"\${$as_ac_var+set}\" = set"; then
57562   echo $ECHO_N "(cached) $ECHO_C" >&6
57563 else
57564   if test x$gcc_no_link = xyes; then
57565   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57567    { (exit 1); exit 1; }; }
57568 fi
57569 cat >conftest.$ac_ext <<_ACEOF
57570 /* confdefs.h.  */
57571 _ACEOF
57572 cat confdefs.h >>conftest.$ac_ext
57573 cat >>conftest.$ac_ext <<_ACEOF
57574 /* end confdefs.h.  */
57575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57576    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57577 #define $ac_func innocuous_$ac_func
57578
57579 /* System header to define __stub macros and hopefully few prototypes,
57580     which can conflict with char $ac_func (); below.
57581     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57582     <limits.h> exists even on freestanding compilers.  */
57583
57584 #ifdef __STDC__
57585 # include <limits.h>
57586 #else
57587 # include <assert.h>
57588 #endif
57589
57590 #undef $ac_func
57591
57592 /* Override any gcc2 internal prototype to avoid an error.  */
57593 #ifdef __cplusplus
57594 extern "C"
57595 {
57596 #endif
57597 /* We use char because int might match the return type of a gcc2
57598    builtin and then its argument prototype would still apply.  */
57599 char $ac_func ();
57600 /* The GNU C library defines this for functions which it implements
57601     to always fail with ENOSYS.  Some functions are actually named
57602     something starting with __ and the normal name is an alias.  */
57603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57604 choke me
57605 #else
57606 char (*f) () = $ac_func;
57607 #endif
57608 #ifdef __cplusplus
57609 }
57610 #endif
57611
57612 int
57613 main ()
57614 {
57615 return f != $ac_func;
57616   ;
57617   return 0;
57618 }
57619 _ACEOF
57620 rm -f conftest.$ac_objext conftest$ac_exeext
57621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57622   (eval $ac_link) 2>conftest.er1
57623   ac_status=$?
57624   grep -v '^ *+' conftest.er1 >conftest.err
57625   rm -f conftest.er1
57626   cat conftest.err >&5
57627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57628   (exit $ac_status); } &&
57629          { ac_try='test -z "$ac_c_werror_flag"
57630                          || test ! -s conftest.err'
57631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57632   (eval $ac_try) 2>&5
57633   ac_status=$?
57634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57635   (exit $ac_status); }; } &&
57636          { ac_try='test -s conftest$ac_exeext'
57637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57638   (eval $ac_try) 2>&5
57639   ac_status=$?
57640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57641   (exit $ac_status); }; }; then
57642   eval "$as_ac_var=yes"
57643 else
57644   echo "$as_me: failed program was:" >&5
57645 sed 's/^/| /' conftest.$ac_ext >&5
57646
57647 eval "$as_ac_var=no"
57648 fi
57649 rm -f conftest.err conftest.$ac_objext \
57650       conftest$ac_exeext conftest.$ac_ext
57651 fi
57652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57654 if test `eval echo '${'$as_ac_var'}'` = yes; then
57655   cat >>confdefs.h <<_ACEOF
57656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57657 _ACEOF
57658
57659 fi
57660 done
57661
57662   else
57663     echo "$as_me:$LINENO: checking for _float trig functions" >&5
57664 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
57665     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
57666   echo $ECHO_N "(cached) $ECHO_C" >&6
57667 else
57668
57669
57670
57671       ac_ext=cc
57672 ac_cpp='$CXXCPP $CPPFLAGS'
57673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57676
57677       cat >conftest.$ac_ext <<_ACEOF
57678 /* confdefs.h.  */
57679 _ACEOF
57680 cat confdefs.h >>conftest.$ac_ext
57681 cat >>conftest.$ac_ext <<_ACEOF
57682 /* end confdefs.h.  */
57683 #include <math.h>
57684 int
57685 main ()
57686 {
57687 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
57688   ;
57689   return 0;
57690 }
57691 _ACEOF
57692 rm -f conftest.$ac_objext
57693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57694   (eval $ac_compile) 2>conftest.er1
57695   ac_status=$?
57696   grep -v '^ *+' conftest.er1 >conftest.err
57697   rm -f conftest.er1
57698   cat conftest.err >&5
57699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57700   (exit $ac_status); } &&
57701          { ac_try='test -z "$ac_cxx_werror_flag"
57702                          || test ! -s conftest.err'
57703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57704   (eval $ac_try) 2>&5
57705   ac_status=$?
57706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57707   (exit $ac_status); }; } &&
57708          { ac_try='test -s conftest.$ac_objext'
57709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57710   (eval $ac_try) 2>&5
57711   ac_status=$?
57712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57713   (exit $ac_status); }; }; then
57714   glibcxx_cv_func__float_trig_use=yes
57715 else
57716   echo "$as_me: failed program was:" >&5
57717 sed 's/^/| /' conftest.$ac_ext >&5
57718
57719 glibcxx_cv_func__float_trig_use=no
57720 fi
57721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57722       ac_ext=c
57723 ac_cpp='$CPP $CPPFLAGS'
57724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57727
57728 fi
57729
57730     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
57731 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
57732     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
57733
57734
57735
57736
57737
57738
57739
57740
57741
57742 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
57743 do
57744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57745 echo "$as_me:$LINENO: checking for $ac_func" >&5
57746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57747 if eval "test \"\${$as_ac_var+set}\" = set"; then
57748   echo $ECHO_N "(cached) $ECHO_C" >&6
57749 else
57750   if test x$gcc_no_link = xyes; then
57751   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57753    { (exit 1); exit 1; }; }
57754 fi
57755 cat >conftest.$ac_ext <<_ACEOF
57756 /* confdefs.h.  */
57757 _ACEOF
57758 cat confdefs.h >>conftest.$ac_ext
57759 cat >>conftest.$ac_ext <<_ACEOF
57760 /* end confdefs.h.  */
57761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57762    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57763 #define $ac_func innocuous_$ac_func
57764
57765 /* System header to define __stub macros and hopefully few prototypes,
57766     which can conflict with char $ac_func (); below.
57767     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57768     <limits.h> exists even on freestanding compilers.  */
57769
57770 #ifdef __STDC__
57771 # include <limits.h>
57772 #else
57773 # include <assert.h>
57774 #endif
57775
57776 #undef $ac_func
57777
57778 /* Override any gcc2 internal prototype to avoid an error.  */
57779 #ifdef __cplusplus
57780 extern "C"
57781 {
57782 #endif
57783 /* We use char because int might match the return type of a gcc2
57784    builtin and then its argument prototype would still apply.  */
57785 char $ac_func ();
57786 /* The GNU C library defines this for functions which it implements
57787     to always fail with ENOSYS.  Some functions are actually named
57788     something starting with __ and the normal name is an alias.  */
57789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57790 choke me
57791 #else
57792 char (*f) () = $ac_func;
57793 #endif
57794 #ifdef __cplusplus
57795 }
57796 #endif
57797
57798 int
57799 main ()
57800 {
57801 return f != $ac_func;
57802   ;
57803   return 0;
57804 }
57805 _ACEOF
57806 rm -f conftest.$ac_objext conftest$ac_exeext
57807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57808   (eval $ac_link) 2>conftest.er1
57809   ac_status=$?
57810   grep -v '^ *+' conftest.er1 >conftest.err
57811   rm -f conftest.er1
57812   cat conftest.err >&5
57813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57814   (exit $ac_status); } &&
57815          { ac_try='test -z "$ac_c_werror_flag"
57816                          || test ! -s conftest.err'
57817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57818   (eval $ac_try) 2>&5
57819   ac_status=$?
57820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57821   (exit $ac_status); }; } &&
57822          { ac_try='test -s conftest$ac_exeext'
57823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57824   (eval $ac_try) 2>&5
57825   ac_status=$?
57826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57827   (exit $ac_status); }; }; then
57828   eval "$as_ac_var=yes"
57829 else
57830   echo "$as_me: failed program was:" >&5
57831 sed 's/^/| /' conftest.$ac_ext >&5
57832
57833 eval "$as_ac_var=no"
57834 fi
57835 rm -f conftest.err conftest.$ac_objext \
57836       conftest$ac_exeext conftest.$ac_ext
57837 fi
57838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57840 if test `eval echo '${'$as_ac_var'}'` = yes; then
57841   cat >>confdefs.h <<_ACEOF
57842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57843 _ACEOF
57844
57845 fi
57846 done
57847
57848     fi
57849   fi
57850
57851
57852
57853
57854
57855
57856
57857
57858
57859
57860
57861
57862
57863
57864     echo "$as_me:$LINENO: checking for float round functions" >&5
57865 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
57866   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
57867   echo $ECHO_N "(cached) $ECHO_C" >&6
57868 else
57869
57870
57871
57872     ac_ext=cc
57873 ac_cpp='$CXXCPP $CPPFLAGS'
57874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57877
57878     cat >conftest.$ac_ext <<_ACEOF
57879 /* confdefs.h.  */
57880 _ACEOF
57881 cat confdefs.h >>conftest.$ac_ext
57882 cat >>conftest.$ac_ext <<_ACEOF
57883 /* end confdefs.h.  */
57884 #include <math.h>
57885 int
57886 main ()
57887 {
57888 ceilf (0); floorf (0);
57889   ;
57890   return 0;
57891 }
57892 _ACEOF
57893 rm -f conftest.$ac_objext
57894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57895   (eval $ac_compile) 2>conftest.er1
57896   ac_status=$?
57897   grep -v '^ *+' conftest.er1 >conftest.err
57898   rm -f conftest.er1
57899   cat conftest.err >&5
57900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57901   (exit $ac_status); } &&
57902          { ac_try='test -z "$ac_cxx_werror_flag"
57903                          || test ! -s conftest.err'
57904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57905   (eval $ac_try) 2>&5
57906   ac_status=$?
57907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57908   (exit $ac_status); }; } &&
57909          { ac_try='test -s conftest.$ac_objext'
57910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57911   (eval $ac_try) 2>&5
57912   ac_status=$?
57913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57914   (exit $ac_status); }; }; then
57915   glibcxx_cv_func_float_round_use=yes
57916 else
57917   echo "$as_me: failed program was:" >&5
57918 sed 's/^/| /' conftest.$ac_ext >&5
57919
57920 glibcxx_cv_func_float_round_use=no
57921 fi
57922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57923     ac_ext=c
57924 ac_cpp='$CPP $CPPFLAGS'
57925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57928
57929 fi
57930
57931   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
57932 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
57933   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
57934
57935
57936 for ac_func in ceilf floorf
57937 do
57938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57939 echo "$as_me:$LINENO: checking for $ac_func" >&5
57940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57941 if eval "test \"\${$as_ac_var+set}\" = set"; then
57942   echo $ECHO_N "(cached) $ECHO_C" >&6
57943 else
57944   if test x$gcc_no_link = xyes; then
57945   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57947    { (exit 1); exit 1; }; }
57948 fi
57949 cat >conftest.$ac_ext <<_ACEOF
57950 /* confdefs.h.  */
57951 _ACEOF
57952 cat confdefs.h >>conftest.$ac_ext
57953 cat >>conftest.$ac_ext <<_ACEOF
57954 /* end confdefs.h.  */
57955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57956    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57957 #define $ac_func innocuous_$ac_func
57958
57959 /* System header to define __stub macros and hopefully few prototypes,
57960     which can conflict with char $ac_func (); below.
57961     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57962     <limits.h> exists even on freestanding compilers.  */
57963
57964 #ifdef __STDC__
57965 # include <limits.h>
57966 #else
57967 # include <assert.h>
57968 #endif
57969
57970 #undef $ac_func
57971
57972 /* Override any gcc2 internal prototype to avoid an error.  */
57973 #ifdef __cplusplus
57974 extern "C"
57975 {
57976 #endif
57977 /* We use char because int might match the return type of a gcc2
57978    builtin and then its argument prototype would still apply.  */
57979 char $ac_func ();
57980 /* The GNU C library defines this for functions which it implements
57981     to always fail with ENOSYS.  Some functions are actually named
57982     something starting with __ and the normal name is an alias.  */
57983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57984 choke me
57985 #else
57986 char (*f) () = $ac_func;
57987 #endif
57988 #ifdef __cplusplus
57989 }
57990 #endif
57991
57992 int
57993 main ()
57994 {
57995 return f != $ac_func;
57996   ;
57997   return 0;
57998 }
57999 _ACEOF
58000 rm -f conftest.$ac_objext conftest$ac_exeext
58001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58002   (eval $ac_link) 2>conftest.er1
58003   ac_status=$?
58004   grep -v '^ *+' conftest.er1 >conftest.err
58005   rm -f conftest.er1
58006   cat conftest.err >&5
58007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58008   (exit $ac_status); } &&
58009          { ac_try='test -z "$ac_c_werror_flag"
58010                          || test ! -s conftest.err'
58011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58012   (eval $ac_try) 2>&5
58013   ac_status=$?
58014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58015   (exit $ac_status); }; } &&
58016          { ac_try='test -s conftest$ac_exeext'
58017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58018   (eval $ac_try) 2>&5
58019   ac_status=$?
58020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58021   (exit $ac_status); }; }; then
58022   eval "$as_ac_var=yes"
58023 else
58024   echo "$as_me: failed program was:" >&5
58025 sed 's/^/| /' conftest.$ac_ext >&5
58026
58027 eval "$as_ac_var=no"
58028 fi
58029 rm -f conftest.err conftest.$ac_objext \
58030       conftest$ac_exeext conftest.$ac_ext
58031 fi
58032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58034 if test `eval echo '${'$as_ac_var'}'` = yes; then
58035   cat >>confdefs.h <<_ACEOF
58036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58037 _ACEOF
58038
58039 fi
58040 done
58041
58042   else
58043     echo "$as_me:$LINENO: checking for _float round functions" >&5
58044 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
58045     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
58046   echo $ECHO_N "(cached) $ECHO_C" >&6
58047 else
58048
58049
58050
58051       ac_ext=cc
58052 ac_cpp='$CXXCPP $CPPFLAGS'
58053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58056
58057       cat >conftest.$ac_ext <<_ACEOF
58058 /* confdefs.h.  */
58059 _ACEOF
58060 cat confdefs.h >>conftest.$ac_ext
58061 cat >>conftest.$ac_ext <<_ACEOF
58062 /* end confdefs.h.  */
58063 #include <math.h>
58064 int
58065 main ()
58066 {
58067 _ceilf (0); _floorf (0);
58068   ;
58069   return 0;
58070 }
58071 _ACEOF
58072 rm -f conftest.$ac_objext
58073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58074   (eval $ac_compile) 2>conftest.er1
58075   ac_status=$?
58076   grep -v '^ *+' conftest.er1 >conftest.err
58077   rm -f conftest.er1
58078   cat conftest.err >&5
58079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58080   (exit $ac_status); } &&
58081          { ac_try='test -z "$ac_cxx_werror_flag"
58082                          || test ! -s conftest.err'
58083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58084   (eval $ac_try) 2>&5
58085   ac_status=$?
58086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58087   (exit $ac_status); }; } &&
58088          { ac_try='test -s conftest.$ac_objext'
58089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58090   (eval $ac_try) 2>&5
58091   ac_status=$?
58092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58093   (exit $ac_status); }; }; then
58094   glibcxx_cv_func__float_round_use=yes
58095 else
58096   echo "$as_me: failed program was:" >&5
58097 sed 's/^/| /' conftest.$ac_ext >&5
58098
58099 glibcxx_cv_func__float_round_use=no
58100 fi
58101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58102       ac_ext=c
58103 ac_cpp='$CPP $CPPFLAGS'
58104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58107
58108 fi
58109
58110     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
58111 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
58112     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58113
58114
58115 for ac_func in _ceilf _floorf
58116 do
58117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58118 echo "$as_me:$LINENO: checking for $ac_func" >&5
58119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58120 if eval "test \"\${$as_ac_var+set}\" = set"; then
58121   echo $ECHO_N "(cached) $ECHO_C" >&6
58122 else
58123   if test x$gcc_no_link = xyes; then
58124   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58126    { (exit 1); exit 1; }; }
58127 fi
58128 cat >conftest.$ac_ext <<_ACEOF
58129 /* confdefs.h.  */
58130 _ACEOF
58131 cat confdefs.h >>conftest.$ac_ext
58132 cat >>conftest.$ac_ext <<_ACEOF
58133 /* end confdefs.h.  */
58134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58135    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58136 #define $ac_func innocuous_$ac_func
58137
58138 /* System header to define __stub macros and hopefully few prototypes,
58139     which can conflict with char $ac_func (); below.
58140     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58141     <limits.h> exists even on freestanding compilers.  */
58142
58143 #ifdef __STDC__
58144 # include <limits.h>
58145 #else
58146 # include <assert.h>
58147 #endif
58148
58149 #undef $ac_func
58150
58151 /* Override any gcc2 internal prototype to avoid an error.  */
58152 #ifdef __cplusplus
58153 extern "C"
58154 {
58155 #endif
58156 /* We use char because int might match the return type of a gcc2
58157    builtin and then its argument prototype would still apply.  */
58158 char $ac_func ();
58159 /* The GNU C library defines this for functions which it implements
58160     to always fail with ENOSYS.  Some functions are actually named
58161     something starting with __ and the normal name is an alias.  */
58162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58163 choke me
58164 #else
58165 char (*f) () = $ac_func;
58166 #endif
58167 #ifdef __cplusplus
58168 }
58169 #endif
58170
58171 int
58172 main ()
58173 {
58174 return f != $ac_func;
58175   ;
58176   return 0;
58177 }
58178 _ACEOF
58179 rm -f conftest.$ac_objext conftest$ac_exeext
58180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58181   (eval $ac_link) 2>conftest.er1
58182   ac_status=$?
58183   grep -v '^ *+' conftest.er1 >conftest.err
58184   rm -f conftest.er1
58185   cat conftest.err >&5
58186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58187   (exit $ac_status); } &&
58188          { ac_try='test -z "$ac_c_werror_flag"
58189                          || test ! -s conftest.err'
58190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58191   (eval $ac_try) 2>&5
58192   ac_status=$?
58193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58194   (exit $ac_status); }; } &&
58195          { ac_try='test -s conftest$ac_exeext'
58196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58197   (eval $ac_try) 2>&5
58198   ac_status=$?
58199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58200   (exit $ac_status); }; }; then
58201   eval "$as_ac_var=yes"
58202 else
58203   echo "$as_me: failed program was:" >&5
58204 sed 's/^/| /' conftest.$ac_ext >&5
58205
58206 eval "$as_ac_var=no"
58207 fi
58208 rm -f conftest.err conftest.$ac_objext \
58209       conftest$ac_exeext conftest.$ac_ext
58210 fi
58211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58213 if test `eval echo '${'$as_ac_var'}'` = yes; then
58214   cat >>confdefs.h <<_ACEOF
58215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58216 _ACEOF
58217
58218 fi
58219 done
58220
58221     fi
58222   fi
58223
58224
58225
58226
58227
58228
58229
58230
58231   echo "$as_me:$LINENO: checking for expf declaration" >&5
58232 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
58233   if test x${glibcxx_cv_func_expf_use+set} != xset; then
58234     if test "${glibcxx_cv_func_expf_use+set}" = set; then
58235   echo $ECHO_N "(cached) $ECHO_C" >&6
58236 else
58237
58238
58239
58240       ac_ext=cc
58241 ac_cpp='$CXXCPP $CPPFLAGS'
58242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58245
58246       cat >conftest.$ac_ext <<_ACEOF
58247 /* confdefs.h.  */
58248 _ACEOF
58249 cat confdefs.h >>conftest.$ac_ext
58250 cat >>conftest.$ac_ext <<_ACEOF
58251 /* end confdefs.h.  */
58252 #include <math.h>
58253                       #ifdef HAVE_IEEEFP_H
58254                       #include <ieeefp.h>
58255                       #endif
58256
58257 int
58258 main ()
58259 {
58260  expf(0);
58261   ;
58262   return 0;
58263 }
58264 _ACEOF
58265 rm -f conftest.$ac_objext
58266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58267   (eval $ac_compile) 2>conftest.er1
58268   ac_status=$?
58269   grep -v '^ *+' conftest.er1 >conftest.err
58270   rm -f conftest.er1
58271   cat conftest.err >&5
58272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58273   (exit $ac_status); } &&
58274          { ac_try='test -z "$ac_cxx_werror_flag"
58275                          || test ! -s conftest.err'
58276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58277   (eval $ac_try) 2>&5
58278   ac_status=$?
58279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58280   (exit $ac_status); }; } &&
58281          { ac_try='test -s conftest.$ac_objext'
58282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58283   (eval $ac_try) 2>&5
58284   ac_status=$?
58285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58286   (exit $ac_status); }; }; then
58287   glibcxx_cv_func_expf_use=yes
58288 else
58289   echo "$as_me: failed program was:" >&5
58290 sed 's/^/| /' conftest.$ac_ext >&5
58291
58292 glibcxx_cv_func_expf_use=no
58293 fi
58294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58295       ac_ext=c
58296 ac_cpp='$CPP $CPPFLAGS'
58297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58300
58301
58302 fi
58303
58304   fi
58305   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
58306 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
58307
58308   if test x$glibcxx_cv_func_expf_use = x"yes"; then
58309
58310 for ac_func in expf
58311 do
58312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58313 echo "$as_me:$LINENO: checking for $ac_func" >&5
58314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58315 if eval "test \"\${$as_ac_var+set}\" = set"; then
58316   echo $ECHO_N "(cached) $ECHO_C" >&6
58317 else
58318   if test x$gcc_no_link = xyes; then
58319   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58321    { (exit 1); exit 1; }; }
58322 fi
58323 cat >conftest.$ac_ext <<_ACEOF
58324 /* confdefs.h.  */
58325 _ACEOF
58326 cat confdefs.h >>conftest.$ac_ext
58327 cat >>conftest.$ac_ext <<_ACEOF
58328 /* end confdefs.h.  */
58329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58330    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58331 #define $ac_func innocuous_$ac_func
58332
58333 /* System header to define __stub macros and hopefully few prototypes,
58334     which can conflict with char $ac_func (); below.
58335     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58336     <limits.h> exists even on freestanding compilers.  */
58337
58338 #ifdef __STDC__
58339 # include <limits.h>
58340 #else
58341 # include <assert.h>
58342 #endif
58343
58344 #undef $ac_func
58345
58346 /* Override any gcc2 internal prototype to avoid an error.  */
58347 #ifdef __cplusplus
58348 extern "C"
58349 {
58350 #endif
58351 /* We use char because int might match the return type of a gcc2
58352    builtin and then its argument prototype would still apply.  */
58353 char $ac_func ();
58354 /* The GNU C library defines this for functions which it implements
58355     to always fail with ENOSYS.  Some functions are actually named
58356     something starting with __ and the normal name is an alias.  */
58357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58358 choke me
58359 #else
58360 char (*f) () = $ac_func;
58361 #endif
58362 #ifdef __cplusplus
58363 }
58364 #endif
58365
58366 int
58367 main ()
58368 {
58369 return f != $ac_func;
58370   ;
58371   return 0;
58372 }
58373 _ACEOF
58374 rm -f conftest.$ac_objext conftest$ac_exeext
58375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58376   (eval $ac_link) 2>conftest.er1
58377   ac_status=$?
58378   grep -v '^ *+' conftest.er1 >conftest.err
58379   rm -f conftest.er1
58380   cat conftest.err >&5
58381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58382   (exit $ac_status); } &&
58383          { ac_try='test -z "$ac_c_werror_flag"
58384                          || test ! -s conftest.err'
58385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58386   (eval $ac_try) 2>&5
58387   ac_status=$?
58388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58389   (exit $ac_status); }; } &&
58390          { ac_try='test -s conftest$ac_exeext'
58391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58392   (eval $ac_try) 2>&5
58393   ac_status=$?
58394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58395   (exit $ac_status); }; }; then
58396   eval "$as_ac_var=yes"
58397 else
58398   echo "$as_me: failed program was:" >&5
58399 sed 's/^/| /' conftest.$ac_ext >&5
58400
58401 eval "$as_ac_var=no"
58402 fi
58403 rm -f conftest.err conftest.$ac_objext \
58404       conftest$ac_exeext conftest.$ac_ext
58405 fi
58406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58408 if test `eval echo '${'$as_ac_var'}'` = yes; then
58409   cat >>confdefs.h <<_ACEOF
58410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58411 _ACEOF
58412
58413 fi
58414 done
58415
58416   else
58417
58418   echo "$as_me:$LINENO: checking for _expf declaration" >&5
58419 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
58420   if test x${glibcxx_cv_func__expf_use+set} != xset; then
58421     if test "${glibcxx_cv_func__expf_use+set}" = set; then
58422   echo $ECHO_N "(cached) $ECHO_C" >&6
58423 else
58424
58425
58426
58427       ac_ext=cc
58428 ac_cpp='$CXXCPP $CPPFLAGS'
58429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58432
58433       cat >conftest.$ac_ext <<_ACEOF
58434 /* confdefs.h.  */
58435 _ACEOF
58436 cat confdefs.h >>conftest.$ac_ext
58437 cat >>conftest.$ac_ext <<_ACEOF
58438 /* end confdefs.h.  */
58439 #include <math.h>
58440                       #ifdef HAVE_IEEEFP_H
58441                       #include <ieeefp.h>
58442                       #endif
58443
58444 int
58445 main ()
58446 {
58447  _expf(0);
58448   ;
58449   return 0;
58450 }
58451 _ACEOF
58452 rm -f conftest.$ac_objext
58453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58454   (eval $ac_compile) 2>conftest.er1
58455   ac_status=$?
58456   grep -v '^ *+' conftest.er1 >conftest.err
58457   rm -f conftest.er1
58458   cat conftest.err >&5
58459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58460   (exit $ac_status); } &&
58461          { ac_try='test -z "$ac_cxx_werror_flag"
58462                          || test ! -s conftest.err'
58463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58464   (eval $ac_try) 2>&5
58465   ac_status=$?
58466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58467   (exit $ac_status); }; } &&
58468          { ac_try='test -s conftest.$ac_objext'
58469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58470   (eval $ac_try) 2>&5
58471   ac_status=$?
58472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58473   (exit $ac_status); }; }; then
58474   glibcxx_cv_func__expf_use=yes
58475 else
58476   echo "$as_me: failed program was:" >&5
58477 sed 's/^/| /' conftest.$ac_ext >&5
58478
58479 glibcxx_cv_func__expf_use=no
58480 fi
58481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58482       ac_ext=c
58483 ac_cpp='$CPP $CPPFLAGS'
58484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58487
58488
58489 fi
58490
58491   fi
58492   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
58493 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
58494
58495     if test x$glibcxx_cv_func__expf_use = x"yes"; then
58496
58497 for ac_func in _expf
58498 do
58499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58500 echo "$as_me:$LINENO: checking for $ac_func" >&5
58501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58502 if eval "test \"\${$as_ac_var+set}\" = set"; then
58503   echo $ECHO_N "(cached) $ECHO_C" >&6
58504 else
58505   if test x$gcc_no_link = xyes; then
58506   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58508    { (exit 1); exit 1; }; }
58509 fi
58510 cat >conftest.$ac_ext <<_ACEOF
58511 /* confdefs.h.  */
58512 _ACEOF
58513 cat confdefs.h >>conftest.$ac_ext
58514 cat >>conftest.$ac_ext <<_ACEOF
58515 /* end confdefs.h.  */
58516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58517    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58518 #define $ac_func innocuous_$ac_func
58519
58520 /* System header to define __stub macros and hopefully few prototypes,
58521     which can conflict with char $ac_func (); below.
58522     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58523     <limits.h> exists even on freestanding compilers.  */
58524
58525 #ifdef __STDC__
58526 # include <limits.h>
58527 #else
58528 # include <assert.h>
58529 #endif
58530
58531 #undef $ac_func
58532
58533 /* Override any gcc2 internal prototype to avoid an error.  */
58534 #ifdef __cplusplus
58535 extern "C"
58536 {
58537 #endif
58538 /* We use char because int might match the return type of a gcc2
58539    builtin and then its argument prototype would still apply.  */
58540 char $ac_func ();
58541 /* The GNU C library defines this for functions which it implements
58542     to always fail with ENOSYS.  Some functions are actually named
58543     something starting with __ and the normal name is an alias.  */
58544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58545 choke me
58546 #else
58547 char (*f) () = $ac_func;
58548 #endif
58549 #ifdef __cplusplus
58550 }
58551 #endif
58552
58553 int
58554 main ()
58555 {
58556 return f != $ac_func;
58557   ;
58558   return 0;
58559 }
58560 _ACEOF
58561 rm -f conftest.$ac_objext conftest$ac_exeext
58562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58563   (eval $ac_link) 2>conftest.er1
58564   ac_status=$?
58565   grep -v '^ *+' conftest.er1 >conftest.err
58566   rm -f conftest.er1
58567   cat conftest.err >&5
58568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58569   (exit $ac_status); } &&
58570          { ac_try='test -z "$ac_c_werror_flag"
58571                          || test ! -s conftest.err'
58572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58573   (eval $ac_try) 2>&5
58574   ac_status=$?
58575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58576   (exit $ac_status); }; } &&
58577          { ac_try='test -s conftest$ac_exeext'
58578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58579   (eval $ac_try) 2>&5
58580   ac_status=$?
58581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58582   (exit $ac_status); }; }; then
58583   eval "$as_ac_var=yes"
58584 else
58585   echo "$as_me: failed program was:" >&5
58586 sed 's/^/| /' conftest.$ac_ext >&5
58587
58588 eval "$as_ac_var=no"
58589 fi
58590 rm -f conftest.err conftest.$ac_objext \
58591       conftest$ac_exeext conftest.$ac_ext
58592 fi
58593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58595 if test `eval echo '${'$as_ac_var'}'` = yes; then
58596   cat >>confdefs.h <<_ACEOF
58597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58598 _ACEOF
58599
58600 fi
58601 done
58602
58603     fi
58604   fi
58605
58606
58607
58608
58609
58610
58611   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
58612 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
58613   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58614     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
58615   echo $ECHO_N "(cached) $ECHO_C" >&6
58616 else
58617
58618
58619
58620       ac_ext=cc
58621 ac_cpp='$CXXCPP $CPPFLAGS'
58622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58625
58626       cat >conftest.$ac_ext <<_ACEOF
58627 /* confdefs.h.  */
58628 _ACEOF
58629 cat confdefs.h >>conftest.$ac_ext
58630 cat >>conftest.$ac_ext <<_ACEOF
58631 /* end confdefs.h.  */
58632 #include <math.h>
58633                       #ifdef HAVE_IEEEFP_H
58634                       #include <ieeefp.h>
58635                       #endif
58636
58637 int
58638 main ()
58639 {
58640  isnanf(0);
58641   ;
58642   return 0;
58643 }
58644 _ACEOF
58645 rm -f conftest.$ac_objext
58646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58647   (eval $ac_compile) 2>conftest.er1
58648   ac_status=$?
58649   grep -v '^ *+' conftest.er1 >conftest.err
58650   rm -f conftest.er1
58651   cat conftest.err >&5
58652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58653   (exit $ac_status); } &&
58654          { ac_try='test -z "$ac_cxx_werror_flag"
58655                          || test ! -s conftest.err'
58656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58657   (eval $ac_try) 2>&5
58658   ac_status=$?
58659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58660   (exit $ac_status); }; } &&
58661          { ac_try='test -s conftest.$ac_objext'
58662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58663   (eval $ac_try) 2>&5
58664   ac_status=$?
58665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58666   (exit $ac_status); }; }; then
58667   glibcxx_cv_func_isnanf_use=yes
58668 else
58669   echo "$as_me: failed program was:" >&5
58670 sed 's/^/| /' conftest.$ac_ext >&5
58671
58672 glibcxx_cv_func_isnanf_use=no
58673 fi
58674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58675       ac_ext=c
58676 ac_cpp='$CPP $CPPFLAGS'
58677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58680
58681
58682 fi
58683
58684   fi
58685   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
58686 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
58687
58688   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58689
58690 for ac_func in isnanf
58691 do
58692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58693 echo "$as_me:$LINENO: checking for $ac_func" >&5
58694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58695 if eval "test \"\${$as_ac_var+set}\" = set"; then
58696   echo $ECHO_N "(cached) $ECHO_C" >&6
58697 else
58698   if test x$gcc_no_link = xyes; then
58699   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58701    { (exit 1); exit 1; }; }
58702 fi
58703 cat >conftest.$ac_ext <<_ACEOF
58704 /* confdefs.h.  */
58705 _ACEOF
58706 cat confdefs.h >>conftest.$ac_ext
58707 cat >>conftest.$ac_ext <<_ACEOF
58708 /* end confdefs.h.  */
58709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58710    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58711 #define $ac_func innocuous_$ac_func
58712
58713 /* System header to define __stub macros and hopefully few prototypes,
58714     which can conflict with char $ac_func (); below.
58715     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58716     <limits.h> exists even on freestanding compilers.  */
58717
58718 #ifdef __STDC__
58719 # include <limits.h>
58720 #else
58721 # include <assert.h>
58722 #endif
58723
58724 #undef $ac_func
58725
58726 /* Override any gcc2 internal prototype to avoid an error.  */
58727 #ifdef __cplusplus
58728 extern "C"
58729 {
58730 #endif
58731 /* We use char because int might match the return type of a gcc2
58732    builtin and then its argument prototype would still apply.  */
58733 char $ac_func ();
58734 /* The GNU C library defines this for functions which it implements
58735     to always fail with ENOSYS.  Some functions are actually named
58736     something starting with __ and the normal name is an alias.  */
58737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58738 choke me
58739 #else
58740 char (*f) () = $ac_func;
58741 #endif
58742 #ifdef __cplusplus
58743 }
58744 #endif
58745
58746 int
58747 main ()
58748 {
58749 return f != $ac_func;
58750   ;
58751   return 0;
58752 }
58753 _ACEOF
58754 rm -f conftest.$ac_objext conftest$ac_exeext
58755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58756   (eval $ac_link) 2>conftest.er1
58757   ac_status=$?
58758   grep -v '^ *+' conftest.er1 >conftest.err
58759   rm -f conftest.er1
58760   cat conftest.err >&5
58761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58762   (exit $ac_status); } &&
58763          { ac_try='test -z "$ac_c_werror_flag"
58764                          || test ! -s conftest.err'
58765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58766   (eval $ac_try) 2>&5
58767   ac_status=$?
58768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58769   (exit $ac_status); }; } &&
58770          { ac_try='test -s conftest$ac_exeext'
58771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58772   (eval $ac_try) 2>&5
58773   ac_status=$?
58774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58775   (exit $ac_status); }; }; then
58776   eval "$as_ac_var=yes"
58777 else
58778   echo "$as_me: failed program was:" >&5
58779 sed 's/^/| /' conftest.$ac_ext >&5
58780
58781 eval "$as_ac_var=no"
58782 fi
58783 rm -f conftest.err conftest.$ac_objext \
58784       conftest$ac_exeext conftest.$ac_ext
58785 fi
58786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58788 if test `eval echo '${'$as_ac_var'}'` = yes; then
58789   cat >>confdefs.h <<_ACEOF
58790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58791 _ACEOF
58792
58793 fi
58794 done
58795
58796   else
58797
58798   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
58799 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
58800   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58801     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
58802   echo $ECHO_N "(cached) $ECHO_C" >&6
58803 else
58804
58805
58806
58807       ac_ext=cc
58808 ac_cpp='$CXXCPP $CPPFLAGS'
58809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58812
58813       cat >conftest.$ac_ext <<_ACEOF
58814 /* confdefs.h.  */
58815 _ACEOF
58816 cat confdefs.h >>conftest.$ac_ext
58817 cat >>conftest.$ac_ext <<_ACEOF
58818 /* end confdefs.h.  */
58819 #include <math.h>
58820                       #ifdef HAVE_IEEEFP_H
58821                       #include <ieeefp.h>
58822                       #endif
58823
58824 int
58825 main ()
58826 {
58827  _isnanf(0);
58828   ;
58829   return 0;
58830 }
58831 _ACEOF
58832 rm -f conftest.$ac_objext
58833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58834   (eval $ac_compile) 2>conftest.er1
58835   ac_status=$?
58836   grep -v '^ *+' conftest.er1 >conftest.err
58837   rm -f conftest.er1
58838   cat conftest.err >&5
58839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58840   (exit $ac_status); } &&
58841          { ac_try='test -z "$ac_cxx_werror_flag"
58842                          || test ! -s conftest.err'
58843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58844   (eval $ac_try) 2>&5
58845   ac_status=$?
58846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58847   (exit $ac_status); }; } &&
58848          { ac_try='test -s conftest.$ac_objext'
58849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58850   (eval $ac_try) 2>&5
58851   ac_status=$?
58852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58853   (exit $ac_status); }; }; then
58854   glibcxx_cv_func__isnanf_use=yes
58855 else
58856   echo "$as_me: failed program was:" >&5
58857 sed 's/^/| /' conftest.$ac_ext >&5
58858
58859 glibcxx_cv_func__isnanf_use=no
58860 fi
58861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58862       ac_ext=c
58863 ac_cpp='$CPP $CPPFLAGS'
58864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58867
58868
58869 fi
58870
58871   fi
58872   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
58873 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
58874
58875     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
58876
58877 for ac_func in _isnanf
58878 do
58879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58880 echo "$as_me:$LINENO: checking for $ac_func" >&5
58881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58882 if eval "test \"\${$as_ac_var+set}\" = set"; then
58883   echo $ECHO_N "(cached) $ECHO_C" >&6
58884 else
58885   if test x$gcc_no_link = xyes; then
58886   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58888    { (exit 1); exit 1; }; }
58889 fi
58890 cat >conftest.$ac_ext <<_ACEOF
58891 /* confdefs.h.  */
58892 _ACEOF
58893 cat confdefs.h >>conftest.$ac_ext
58894 cat >>conftest.$ac_ext <<_ACEOF
58895 /* end confdefs.h.  */
58896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58897    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58898 #define $ac_func innocuous_$ac_func
58899
58900 /* System header to define __stub macros and hopefully few prototypes,
58901     which can conflict with char $ac_func (); below.
58902     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58903     <limits.h> exists even on freestanding compilers.  */
58904
58905 #ifdef __STDC__
58906 # include <limits.h>
58907 #else
58908 # include <assert.h>
58909 #endif
58910
58911 #undef $ac_func
58912
58913 /* Override any gcc2 internal prototype to avoid an error.  */
58914 #ifdef __cplusplus
58915 extern "C"
58916 {
58917 #endif
58918 /* We use char because int might match the return type of a gcc2
58919    builtin and then its argument prototype would still apply.  */
58920 char $ac_func ();
58921 /* The GNU C library defines this for functions which it implements
58922     to always fail with ENOSYS.  Some functions are actually named
58923     something starting with __ and the normal name is an alias.  */
58924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58925 choke me
58926 #else
58927 char (*f) () = $ac_func;
58928 #endif
58929 #ifdef __cplusplus
58930 }
58931 #endif
58932
58933 int
58934 main ()
58935 {
58936 return f != $ac_func;
58937   ;
58938   return 0;
58939 }
58940 _ACEOF
58941 rm -f conftest.$ac_objext conftest$ac_exeext
58942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58943   (eval $ac_link) 2>conftest.er1
58944   ac_status=$?
58945   grep -v '^ *+' conftest.er1 >conftest.err
58946   rm -f conftest.er1
58947   cat conftest.err >&5
58948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58949   (exit $ac_status); } &&
58950          { ac_try='test -z "$ac_c_werror_flag"
58951                          || test ! -s conftest.err'
58952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58953   (eval $ac_try) 2>&5
58954   ac_status=$?
58955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58956   (exit $ac_status); }; } &&
58957          { ac_try='test -s conftest$ac_exeext'
58958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58959   (eval $ac_try) 2>&5
58960   ac_status=$?
58961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58962   (exit $ac_status); }; }; then
58963   eval "$as_ac_var=yes"
58964 else
58965   echo "$as_me: failed program was:" >&5
58966 sed 's/^/| /' conftest.$ac_ext >&5
58967
58968 eval "$as_ac_var=no"
58969 fi
58970 rm -f conftest.err conftest.$ac_objext \
58971       conftest$ac_exeext conftest.$ac_ext
58972 fi
58973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58975 if test `eval echo '${'$as_ac_var'}'` = yes; then
58976   cat >>confdefs.h <<_ACEOF
58977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58978 _ACEOF
58979
58980 fi
58981 done
58982
58983     fi
58984   fi
58985
58986
58987
58988
58989
58990
58991   echo "$as_me:$LINENO: checking for isinff declaration" >&5
58992 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
58993   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
58994     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
58995   echo $ECHO_N "(cached) $ECHO_C" >&6
58996 else
58997
58998
58999
59000       ac_ext=cc
59001 ac_cpp='$CXXCPP $CPPFLAGS'
59002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59005
59006       cat >conftest.$ac_ext <<_ACEOF
59007 /* confdefs.h.  */
59008 _ACEOF
59009 cat confdefs.h >>conftest.$ac_ext
59010 cat >>conftest.$ac_ext <<_ACEOF
59011 /* end confdefs.h.  */
59012 #include <math.h>
59013                       #ifdef HAVE_IEEEFP_H
59014                       #include <ieeefp.h>
59015                       #endif
59016
59017 int
59018 main ()
59019 {
59020  isinff(0);
59021   ;
59022   return 0;
59023 }
59024 _ACEOF
59025 rm -f conftest.$ac_objext
59026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59027   (eval $ac_compile) 2>conftest.er1
59028   ac_status=$?
59029   grep -v '^ *+' conftest.er1 >conftest.err
59030   rm -f conftest.er1
59031   cat conftest.err >&5
59032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59033   (exit $ac_status); } &&
59034          { ac_try='test -z "$ac_cxx_werror_flag"
59035                          || test ! -s conftest.err'
59036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59037   (eval $ac_try) 2>&5
59038   ac_status=$?
59039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59040   (exit $ac_status); }; } &&
59041          { ac_try='test -s conftest.$ac_objext'
59042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59043   (eval $ac_try) 2>&5
59044   ac_status=$?
59045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59046   (exit $ac_status); }; }; then
59047   glibcxx_cv_func_isinff_use=yes
59048 else
59049   echo "$as_me: failed program was:" >&5
59050 sed 's/^/| /' conftest.$ac_ext >&5
59051
59052 glibcxx_cv_func_isinff_use=no
59053 fi
59054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59055       ac_ext=c
59056 ac_cpp='$CPP $CPPFLAGS'
59057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59060
59061
59062 fi
59063
59064   fi
59065   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
59066 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
59067
59068   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59069
59070 for ac_func in isinff
59071 do
59072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59073 echo "$as_me:$LINENO: checking for $ac_func" >&5
59074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59075 if eval "test \"\${$as_ac_var+set}\" = set"; then
59076   echo $ECHO_N "(cached) $ECHO_C" >&6
59077 else
59078   if test x$gcc_no_link = xyes; then
59079   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59081    { (exit 1); exit 1; }; }
59082 fi
59083 cat >conftest.$ac_ext <<_ACEOF
59084 /* confdefs.h.  */
59085 _ACEOF
59086 cat confdefs.h >>conftest.$ac_ext
59087 cat >>conftest.$ac_ext <<_ACEOF
59088 /* end confdefs.h.  */
59089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59090    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59091 #define $ac_func innocuous_$ac_func
59092
59093 /* System header to define __stub macros and hopefully few prototypes,
59094     which can conflict with char $ac_func (); below.
59095     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59096     <limits.h> exists even on freestanding compilers.  */
59097
59098 #ifdef __STDC__
59099 # include <limits.h>
59100 #else
59101 # include <assert.h>
59102 #endif
59103
59104 #undef $ac_func
59105
59106 /* Override any gcc2 internal prototype to avoid an error.  */
59107 #ifdef __cplusplus
59108 extern "C"
59109 {
59110 #endif
59111 /* We use char because int might match the return type of a gcc2
59112    builtin and then its argument prototype would still apply.  */
59113 char $ac_func ();
59114 /* The GNU C library defines this for functions which it implements
59115     to always fail with ENOSYS.  Some functions are actually named
59116     something starting with __ and the normal name is an alias.  */
59117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59118 choke me
59119 #else
59120 char (*f) () = $ac_func;
59121 #endif
59122 #ifdef __cplusplus
59123 }
59124 #endif
59125
59126 int
59127 main ()
59128 {
59129 return f != $ac_func;
59130   ;
59131   return 0;
59132 }
59133 _ACEOF
59134 rm -f conftest.$ac_objext conftest$ac_exeext
59135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59136   (eval $ac_link) 2>conftest.er1
59137   ac_status=$?
59138   grep -v '^ *+' conftest.er1 >conftest.err
59139   rm -f conftest.er1
59140   cat conftest.err >&5
59141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59142   (exit $ac_status); } &&
59143          { ac_try='test -z "$ac_c_werror_flag"
59144                          || test ! -s conftest.err'
59145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59146   (eval $ac_try) 2>&5
59147   ac_status=$?
59148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59149   (exit $ac_status); }; } &&
59150          { ac_try='test -s conftest$ac_exeext'
59151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59152   (eval $ac_try) 2>&5
59153   ac_status=$?
59154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59155   (exit $ac_status); }; }; then
59156   eval "$as_ac_var=yes"
59157 else
59158   echo "$as_me: failed program was:" >&5
59159 sed 's/^/| /' conftest.$ac_ext >&5
59160
59161 eval "$as_ac_var=no"
59162 fi
59163 rm -f conftest.err conftest.$ac_objext \
59164       conftest$ac_exeext conftest.$ac_ext
59165 fi
59166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59168 if test `eval echo '${'$as_ac_var'}'` = yes; then
59169   cat >>confdefs.h <<_ACEOF
59170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59171 _ACEOF
59172
59173 fi
59174 done
59175
59176   else
59177
59178   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
59179 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
59180   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59181     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
59182   echo $ECHO_N "(cached) $ECHO_C" >&6
59183 else
59184
59185
59186
59187       ac_ext=cc
59188 ac_cpp='$CXXCPP $CPPFLAGS'
59189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59192
59193       cat >conftest.$ac_ext <<_ACEOF
59194 /* confdefs.h.  */
59195 _ACEOF
59196 cat confdefs.h >>conftest.$ac_ext
59197 cat >>conftest.$ac_ext <<_ACEOF
59198 /* end confdefs.h.  */
59199 #include <math.h>
59200                       #ifdef HAVE_IEEEFP_H
59201                       #include <ieeefp.h>
59202                       #endif
59203
59204 int
59205 main ()
59206 {
59207  _isinff(0);
59208   ;
59209   return 0;
59210 }
59211 _ACEOF
59212 rm -f conftest.$ac_objext
59213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59214   (eval $ac_compile) 2>conftest.er1
59215   ac_status=$?
59216   grep -v '^ *+' conftest.er1 >conftest.err
59217   rm -f conftest.er1
59218   cat conftest.err >&5
59219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59220   (exit $ac_status); } &&
59221          { ac_try='test -z "$ac_cxx_werror_flag"
59222                          || test ! -s conftest.err'
59223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59224   (eval $ac_try) 2>&5
59225   ac_status=$?
59226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59227   (exit $ac_status); }; } &&
59228          { ac_try='test -s conftest.$ac_objext'
59229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59230   (eval $ac_try) 2>&5
59231   ac_status=$?
59232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59233   (exit $ac_status); }; }; then
59234   glibcxx_cv_func__isinff_use=yes
59235 else
59236   echo "$as_me: failed program was:" >&5
59237 sed 's/^/| /' conftest.$ac_ext >&5
59238
59239 glibcxx_cv_func__isinff_use=no
59240 fi
59241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59242       ac_ext=c
59243 ac_cpp='$CPP $CPPFLAGS'
59244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59247
59248
59249 fi
59250
59251   fi
59252   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
59253 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
59254
59255     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59256
59257 for ac_func in _isinff
59258 do
59259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59260 echo "$as_me:$LINENO: checking for $ac_func" >&5
59261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59262 if eval "test \"\${$as_ac_var+set}\" = set"; then
59263   echo $ECHO_N "(cached) $ECHO_C" >&6
59264 else
59265   if test x$gcc_no_link = xyes; then
59266   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59268    { (exit 1); exit 1; }; }
59269 fi
59270 cat >conftest.$ac_ext <<_ACEOF
59271 /* confdefs.h.  */
59272 _ACEOF
59273 cat confdefs.h >>conftest.$ac_ext
59274 cat >>conftest.$ac_ext <<_ACEOF
59275 /* end confdefs.h.  */
59276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59277    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59278 #define $ac_func innocuous_$ac_func
59279
59280 /* System header to define __stub macros and hopefully few prototypes,
59281     which can conflict with char $ac_func (); below.
59282     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59283     <limits.h> exists even on freestanding compilers.  */
59284
59285 #ifdef __STDC__
59286 # include <limits.h>
59287 #else
59288 # include <assert.h>
59289 #endif
59290
59291 #undef $ac_func
59292
59293 /* Override any gcc2 internal prototype to avoid an error.  */
59294 #ifdef __cplusplus
59295 extern "C"
59296 {
59297 #endif
59298 /* We use char because int might match the return type of a gcc2
59299    builtin and then its argument prototype would still apply.  */
59300 char $ac_func ();
59301 /* The GNU C library defines this for functions which it implements
59302     to always fail with ENOSYS.  Some functions are actually named
59303     something starting with __ and the normal name is an alias.  */
59304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59305 choke me
59306 #else
59307 char (*f) () = $ac_func;
59308 #endif
59309 #ifdef __cplusplus
59310 }
59311 #endif
59312
59313 int
59314 main ()
59315 {
59316 return f != $ac_func;
59317   ;
59318   return 0;
59319 }
59320 _ACEOF
59321 rm -f conftest.$ac_objext conftest$ac_exeext
59322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59323   (eval $ac_link) 2>conftest.er1
59324   ac_status=$?
59325   grep -v '^ *+' conftest.er1 >conftest.err
59326   rm -f conftest.er1
59327   cat conftest.err >&5
59328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59329   (exit $ac_status); } &&
59330          { ac_try='test -z "$ac_c_werror_flag"
59331                          || test ! -s conftest.err'
59332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59333   (eval $ac_try) 2>&5
59334   ac_status=$?
59335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59336   (exit $ac_status); }; } &&
59337          { ac_try='test -s conftest$ac_exeext'
59338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59339   (eval $ac_try) 2>&5
59340   ac_status=$?
59341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59342   (exit $ac_status); }; }; then
59343   eval "$as_ac_var=yes"
59344 else
59345   echo "$as_me: failed program was:" >&5
59346 sed 's/^/| /' conftest.$ac_ext >&5
59347
59348 eval "$as_ac_var=no"
59349 fi
59350 rm -f conftest.err conftest.$ac_objext \
59351       conftest$ac_exeext conftest.$ac_ext
59352 fi
59353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59355 if test `eval echo '${'$as_ac_var'}'` = yes; then
59356   cat >>confdefs.h <<_ACEOF
59357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59358 _ACEOF
59359
59360 fi
59361 done
59362
59363     fi
59364   fi
59365
59366
59367
59368
59369
59370
59371   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
59372 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
59373   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59374     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
59375   echo $ECHO_N "(cached) $ECHO_C" >&6
59376 else
59377
59378
59379
59380       ac_ext=cc
59381 ac_cpp='$CXXCPP $CPPFLAGS'
59382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59385
59386       cat >conftest.$ac_ext <<_ACEOF
59387 /* confdefs.h.  */
59388 _ACEOF
59389 cat confdefs.h >>conftest.$ac_ext
59390 cat >>conftest.$ac_ext <<_ACEOF
59391 /* end confdefs.h.  */
59392 #include <math.h>
59393 int
59394 main ()
59395 {
59396  atan2f(0, 0);
59397   ;
59398   return 0;
59399 }
59400 _ACEOF
59401 rm -f conftest.$ac_objext
59402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59403   (eval $ac_compile) 2>conftest.er1
59404   ac_status=$?
59405   grep -v '^ *+' conftest.er1 >conftest.err
59406   rm -f conftest.er1
59407   cat conftest.err >&5
59408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59409   (exit $ac_status); } &&
59410          { ac_try='test -z "$ac_cxx_werror_flag"
59411                          || test ! -s conftest.err'
59412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59413   (eval $ac_try) 2>&5
59414   ac_status=$?
59415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59416   (exit $ac_status); }; } &&
59417          { ac_try='test -s conftest.$ac_objext'
59418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59419   (eval $ac_try) 2>&5
59420   ac_status=$?
59421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59422   (exit $ac_status); }; }; then
59423   glibcxx_cv_func_atan2f_use=yes
59424 else
59425   echo "$as_me: failed program was:" >&5
59426 sed 's/^/| /' conftest.$ac_ext >&5
59427
59428 glibcxx_cv_func_atan2f_use=no
59429 fi
59430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59431       ac_ext=c
59432 ac_cpp='$CPP $CPPFLAGS'
59433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59436
59437
59438 fi
59439
59440   fi
59441   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
59442 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
59443
59444   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59445
59446 for ac_func in atan2f
59447 do
59448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59449 echo "$as_me:$LINENO: checking for $ac_func" >&5
59450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59451 if eval "test \"\${$as_ac_var+set}\" = set"; then
59452   echo $ECHO_N "(cached) $ECHO_C" >&6
59453 else
59454   if test x$gcc_no_link = xyes; then
59455   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59457    { (exit 1); exit 1; }; }
59458 fi
59459 cat >conftest.$ac_ext <<_ACEOF
59460 /* confdefs.h.  */
59461 _ACEOF
59462 cat confdefs.h >>conftest.$ac_ext
59463 cat >>conftest.$ac_ext <<_ACEOF
59464 /* end confdefs.h.  */
59465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59466    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59467 #define $ac_func innocuous_$ac_func
59468
59469 /* System header to define __stub macros and hopefully few prototypes,
59470     which can conflict with char $ac_func (); below.
59471     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59472     <limits.h> exists even on freestanding compilers.  */
59473
59474 #ifdef __STDC__
59475 # include <limits.h>
59476 #else
59477 # include <assert.h>
59478 #endif
59479
59480 #undef $ac_func
59481
59482 /* Override any gcc2 internal prototype to avoid an error.  */
59483 #ifdef __cplusplus
59484 extern "C"
59485 {
59486 #endif
59487 /* We use char because int might match the return type of a gcc2
59488    builtin and then its argument prototype would still apply.  */
59489 char $ac_func ();
59490 /* The GNU C library defines this for functions which it implements
59491     to always fail with ENOSYS.  Some functions are actually named
59492     something starting with __ and the normal name is an alias.  */
59493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59494 choke me
59495 #else
59496 char (*f) () = $ac_func;
59497 #endif
59498 #ifdef __cplusplus
59499 }
59500 #endif
59501
59502 int
59503 main ()
59504 {
59505 return f != $ac_func;
59506   ;
59507   return 0;
59508 }
59509 _ACEOF
59510 rm -f conftest.$ac_objext conftest$ac_exeext
59511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59512   (eval $ac_link) 2>conftest.er1
59513   ac_status=$?
59514   grep -v '^ *+' conftest.er1 >conftest.err
59515   rm -f conftest.er1
59516   cat conftest.err >&5
59517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59518   (exit $ac_status); } &&
59519          { ac_try='test -z "$ac_c_werror_flag"
59520                          || test ! -s conftest.err'
59521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59522   (eval $ac_try) 2>&5
59523   ac_status=$?
59524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59525   (exit $ac_status); }; } &&
59526          { ac_try='test -s conftest$ac_exeext'
59527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59528   (eval $ac_try) 2>&5
59529   ac_status=$?
59530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59531   (exit $ac_status); }; }; then
59532   eval "$as_ac_var=yes"
59533 else
59534   echo "$as_me: failed program was:" >&5
59535 sed 's/^/| /' conftest.$ac_ext >&5
59536
59537 eval "$as_ac_var=no"
59538 fi
59539 rm -f conftest.err conftest.$ac_objext \
59540       conftest$ac_exeext conftest.$ac_ext
59541 fi
59542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59544 if test `eval echo '${'$as_ac_var'}'` = yes; then
59545   cat >>confdefs.h <<_ACEOF
59546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59547 _ACEOF
59548
59549 fi
59550 done
59551
59552   else
59553
59554   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
59555 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
59556   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59557     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
59558   echo $ECHO_N "(cached) $ECHO_C" >&6
59559 else
59560
59561
59562
59563       ac_ext=cc
59564 ac_cpp='$CXXCPP $CPPFLAGS'
59565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59568
59569       cat >conftest.$ac_ext <<_ACEOF
59570 /* confdefs.h.  */
59571 _ACEOF
59572 cat confdefs.h >>conftest.$ac_ext
59573 cat >>conftest.$ac_ext <<_ACEOF
59574 /* end confdefs.h.  */
59575 #include <math.h>
59576 int
59577 main ()
59578 {
59579  _atan2f(0, 0);
59580   ;
59581   return 0;
59582 }
59583 _ACEOF
59584 rm -f conftest.$ac_objext
59585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59586   (eval $ac_compile) 2>conftest.er1
59587   ac_status=$?
59588   grep -v '^ *+' conftest.er1 >conftest.err
59589   rm -f conftest.er1
59590   cat conftest.err >&5
59591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59592   (exit $ac_status); } &&
59593          { ac_try='test -z "$ac_cxx_werror_flag"
59594                          || test ! -s conftest.err'
59595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59596   (eval $ac_try) 2>&5
59597   ac_status=$?
59598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59599   (exit $ac_status); }; } &&
59600          { ac_try='test -s conftest.$ac_objext'
59601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59602   (eval $ac_try) 2>&5
59603   ac_status=$?
59604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59605   (exit $ac_status); }; }; then
59606   glibcxx_cv_func__atan2f_use=yes
59607 else
59608   echo "$as_me: failed program was:" >&5
59609 sed 's/^/| /' conftest.$ac_ext >&5
59610
59611 glibcxx_cv_func__atan2f_use=no
59612 fi
59613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59614       ac_ext=c
59615 ac_cpp='$CPP $CPPFLAGS'
59616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59619
59620
59621 fi
59622
59623   fi
59624   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
59625 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
59626
59627     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59628
59629 for ac_func in _atan2f
59630 do
59631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59632 echo "$as_me:$LINENO: checking for $ac_func" >&5
59633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59634 if eval "test \"\${$as_ac_var+set}\" = set"; then
59635   echo $ECHO_N "(cached) $ECHO_C" >&6
59636 else
59637   if test x$gcc_no_link = xyes; then
59638   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59640    { (exit 1); exit 1; }; }
59641 fi
59642 cat >conftest.$ac_ext <<_ACEOF
59643 /* confdefs.h.  */
59644 _ACEOF
59645 cat confdefs.h >>conftest.$ac_ext
59646 cat >>conftest.$ac_ext <<_ACEOF
59647 /* end confdefs.h.  */
59648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59649    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59650 #define $ac_func innocuous_$ac_func
59651
59652 /* System header to define __stub macros and hopefully few prototypes,
59653     which can conflict with char $ac_func (); below.
59654     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59655     <limits.h> exists even on freestanding compilers.  */
59656
59657 #ifdef __STDC__
59658 # include <limits.h>
59659 #else
59660 # include <assert.h>
59661 #endif
59662
59663 #undef $ac_func
59664
59665 /* Override any gcc2 internal prototype to avoid an error.  */
59666 #ifdef __cplusplus
59667 extern "C"
59668 {
59669 #endif
59670 /* We use char because int might match the return type of a gcc2
59671    builtin and then its argument prototype would still apply.  */
59672 char $ac_func ();
59673 /* The GNU C library defines this for functions which it implements
59674     to always fail with ENOSYS.  Some functions are actually named
59675     something starting with __ and the normal name is an alias.  */
59676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59677 choke me
59678 #else
59679 char (*f) () = $ac_func;
59680 #endif
59681 #ifdef __cplusplus
59682 }
59683 #endif
59684
59685 int
59686 main ()
59687 {
59688 return f != $ac_func;
59689   ;
59690   return 0;
59691 }
59692 _ACEOF
59693 rm -f conftest.$ac_objext conftest$ac_exeext
59694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59695   (eval $ac_link) 2>conftest.er1
59696   ac_status=$?
59697   grep -v '^ *+' conftest.er1 >conftest.err
59698   rm -f conftest.er1
59699   cat conftest.err >&5
59700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59701   (exit $ac_status); } &&
59702          { ac_try='test -z "$ac_c_werror_flag"
59703                          || test ! -s conftest.err'
59704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59705   (eval $ac_try) 2>&5
59706   ac_status=$?
59707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59708   (exit $ac_status); }; } &&
59709          { ac_try='test -s conftest$ac_exeext'
59710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59711   (eval $ac_try) 2>&5
59712   ac_status=$?
59713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59714   (exit $ac_status); }; }; then
59715   eval "$as_ac_var=yes"
59716 else
59717   echo "$as_me: failed program was:" >&5
59718 sed 's/^/| /' conftest.$ac_ext >&5
59719
59720 eval "$as_ac_var=no"
59721 fi
59722 rm -f conftest.err conftest.$ac_objext \
59723       conftest$ac_exeext conftest.$ac_ext
59724 fi
59725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59727 if test `eval echo '${'$as_ac_var'}'` = yes; then
59728   cat >>confdefs.h <<_ACEOF
59729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59730 _ACEOF
59731
59732 fi
59733 done
59734
59735     fi
59736   fi
59737
59738
59739
59740
59741
59742
59743   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
59744 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
59745   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59746     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
59747   echo $ECHO_N "(cached) $ECHO_C" >&6
59748 else
59749
59750
59751
59752       ac_ext=cc
59753 ac_cpp='$CXXCPP $CPPFLAGS'
59754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59757
59758       cat >conftest.$ac_ext <<_ACEOF
59759 /* confdefs.h.  */
59760 _ACEOF
59761 cat confdefs.h >>conftest.$ac_ext
59762 cat >>conftest.$ac_ext <<_ACEOF
59763 /* end confdefs.h.  */
59764 #include <math.h>
59765                       #ifdef HAVE_IEEEFP_H
59766                       #include <ieeefp.h>
59767                       #endif
59768
59769 int
59770 main ()
59771 {
59772  fabsf(0);
59773   ;
59774   return 0;
59775 }
59776 _ACEOF
59777 rm -f conftest.$ac_objext
59778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59779   (eval $ac_compile) 2>conftest.er1
59780   ac_status=$?
59781   grep -v '^ *+' conftest.er1 >conftest.err
59782   rm -f conftest.er1
59783   cat conftest.err >&5
59784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59785   (exit $ac_status); } &&
59786          { ac_try='test -z "$ac_cxx_werror_flag"
59787                          || test ! -s conftest.err'
59788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59789   (eval $ac_try) 2>&5
59790   ac_status=$?
59791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59792   (exit $ac_status); }; } &&
59793          { ac_try='test -s conftest.$ac_objext'
59794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59795   (eval $ac_try) 2>&5
59796   ac_status=$?
59797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59798   (exit $ac_status); }; }; then
59799   glibcxx_cv_func_fabsf_use=yes
59800 else
59801   echo "$as_me: failed program was:" >&5
59802 sed 's/^/| /' conftest.$ac_ext >&5
59803
59804 glibcxx_cv_func_fabsf_use=no
59805 fi
59806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59807       ac_ext=c
59808 ac_cpp='$CPP $CPPFLAGS'
59809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59812
59813
59814 fi
59815
59816   fi
59817   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
59818 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
59819
59820   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59821
59822 for ac_func in fabsf
59823 do
59824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59825 echo "$as_me:$LINENO: checking for $ac_func" >&5
59826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59827 if eval "test \"\${$as_ac_var+set}\" = set"; then
59828   echo $ECHO_N "(cached) $ECHO_C" >&6
59829 else
59830   if test x$gcc_no_link = xyes; then
59831   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59833    { (exit 1); exit 1; }; }
59834 fi
59835 cat >conftest.$ac_ext <<_ACEOF
59836 /* confdefs.h.  */
59837 _ACEOF
59838 cat confdefs.h >>conftest.$ac_ext
59839 cat >>conftest.$ac_ext <<_ACEOF
59840 /* end confdefs.h.  */
59841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59842    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59843 #define $ac_func innocuous_$ac_func
59844
59845 /* System header to define __stub macros and hopefully few prototypes,
59846     which can conflict with char $ac_func (); below.
59847     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59848     <limits.h> exists even on freestanding compilers.  */
59849
59850 #ifdef __STDC__
59851 # include <limits.h>
59852 #else
59853 # include <assert.h>
59854 #endif
59855
59856 #undef $ac_func
59857
59858 /* Override any gcc2 internal prototype to avoid an error.  */
59859 #ifdef __cplusplus
59860 extern "C"
59861 {
59862 #endif
59863 /* We use char because int might match the return type of a gcc2
59864    builtin and then its argument prototype would still apply.  */
59865 char $ac_func ();
59866 /* The GNU C library defines this for functions which it implements
59867     to always fail with ENOSYS.  Some functions are actually named
59868     something starting with __ and the normal name is an alias.  */
59869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59870 choke me
59871 #else
59872 char (*f) () = $ac_func;
59873 #endif
59874 #ifdef __cplusplus
59875 }
59876 #endif
59877
59878 int
59879 main ()
59880 {
59881 return f != $ac_func;
59882   ;
59883   return 0;
59884 }
59885 _ACEOF
59886 rm -f conftest.$ac_objext conftest$ac_exeext
59887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59888   (eval $ac_link) 2>conftest.er1
59889   ac_status=$?
59890   grep -v '^ *+' conftest.er1 >conftest.err
59891   rm -f conftest.er1
59892   cat conftest.err >&5
59893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59894   (exit $ac_status); } &&
59895          { ac_try='test -z "$ac_c_werror_flag"
59896                          || test ! -s conftest.err'
59897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59898   (eval $ac_try) 2>&5
59899   ac_status=$?
59900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59901   (exit $ac_status); }; } &&
59902          { ac_try='test -s conftest$ac_exeext'
59903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59904   (eval $ac_try) 2>&5
59905   ac_status=$?
59906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59907   (exit $ac_status); }; }; then
59908   eval "$as_ac_var=yes"
59909 else
59910   echo "$as_me: failed program was:" >&5
59911 sed 's/^/| /' conftest.$ac_ext >&5
59912
59913 eval "$as_ac_var=no"
59914 fi
59915 rm -f conftest.err conftest.$ac_objext \
59916       conftest$ac_exeext conftest.$ac_ext
59917 fi
59918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59920 if test `eval echo '${'$as_ac_var'}'` = yes; then
59921   cat >>confdefs.h <<_ACEOF
59922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59923 _ACEOF
59924
59925 fi
59926 done
59927
59928   else
59929
59930   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
59931 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
59932   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59933     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
59934   echo $ECHO_N "(cached) $ECHO_C" >&6
59935 else
59936
59937
59938
59939       ac_ext=cc
59940 ac_cpp='$CXXCPP $CPPFLAGS'
59941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59944
59945       cat >conftest.$ac_ext <<_ACEOF
59946 /* confdefs.h.  */
59947 _ACEOF
59948 cat confdefs.h >>conftest.$ac_ext
59949 cat >>conftest.$ac_ext <<_ACEOF
59950 /* end confdefs.h.  */
59951 #include <math.h>
59952                       #ifdef HAVE_IEEEFP_H
59953                       #include <ieeefp.h>
59954                       #endif
59955
59956 int
59957 main ()
59958 {
59959  _fabsf(0);
59960   ;
59961   return 0;
59962 }
59963 _ACEOF
59964 rm -f conftest.$ac_objext
59965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59966   (eval $ac_compile) 2>conftest.er1
59967   ac_status=$?
59968   grep -v '^ *+' conftest.er1 >conftest.err
59969   rm -f conftest.er1
59970   cat conftest.err >&5
59971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59972   (exit $ac_status); } &&
59973          { ac_try='test -z "$ac_cxx_werror_flag"
59974                          || test ! -s conftest.err'
59975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59976   (eval $ac_try) 2>&5
59977   ac_status=$?
59978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59979   (exit $ac_status); }; } &&
59980          { ac_try='test -s conftest.$ac_objext'
59981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59982   (eval $ac_try) 2>&5
59983   ac_status=$?
59984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59985   (exit $ac_status); }; }; then
59986   glibcxx_cv_func__fabsf_use=yes
59987 else
59988   echo "$as_me: failed program was:" >&5
59989 sed 's/^/| /' conftest.$ac_ext >&5
59990
59991 glibcxx_cv_func__fabsf_use=no
59992 fi
59993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59994       ac_ext=c
59995 ac_cpp='$CPP $CPPFLAGS'
59996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59999
60000
60001 fi
60002
60003   fi
60004   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
60005 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
60006
60007     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60008
60009 for ac_func in _fabsf
60010 do
60011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60012 echo "$as_me:$LINENO: checking for $ac_func" >&5
60013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60014 if eval "test \"\${$as_ac_var+set}\" = set"; then
60015   echo $ECHO_N "(cached) $ECHO_C" >&6
60016 else
60017   if test x$gcc_no_link = xyes; then
60018   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60020    { (exit 1); exit 1; }; }
60021 fi
60022 cat >conftest.$ac_ext <<_ACEOF
60023 /* confdefs.h.  */
60024 _ACEOF
60025 cat confdefs.h >>conftest.$ac_ext
60026 cat >>conftest.$ac_ext <<_ACEOF
60027 /* end confdefs.h.  */
60028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60029    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60030 #define $ac_func innocuous_$ac_func
60031
60032 /* System header to define __stub macros and hopefully few prototypes,
60033     which can conflict with char $ac_func (); below.
60034     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60035     <limits.h> exists even on freestanding compilers.  */
60036
60037 #ifdef __STDC__
60038 # include <limits.h>
60039 #else
60040 # include <assert.h>
60041 #endif
60042
60043 #undef $ac_func
60044
60045 /* Override any gcc2 internal prototype to avoid an error.  */
60046 #ifdef __cplusplus
60047 extern "C"
60048 {
60049 #endif
60050 /* We use char because int might match the return type of a gcc2
60051    builtin and then its argument prototype would still apply.  */
60052 char $ac_func ();
60053 /* The GNU C library defines this for functions which it implements
60054     to always fail with ENOSYS.  Some functions are actually named
60055     something starting with __ and the normal name is an alias.  */
60056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60057 choke me
60058 #else
60059 char (*f) () = $ac_func;
60060 #endif
60061 #ifdef __cplusplus
60062 }
60063 #endif
60064
60065 int
60066 main ()
60067 {
60068 return f != $ac_func;
60069   ;
60070   return 0;
60071 }
60072 _ACEOF
60073 rm -f conftest.$ac_objext conftest$ac_exeext
60074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60075   (eval $ac_link) 2>conftest.er1
60076   ac_status=$?
60077   grep -v '^ *+' conftest.er1 >conftest.err
60078   rm -f conftest.er1
60079   cat conftest.err >&5
60080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60081   (exit $ac_status); } &&
60082          { ac_try='test -z "$ac_c_werror_flag"
60083                          || test ! -s conftest.err'
60084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60085   (eval $ac_try) 2>&5
60086   ac_status=$?
60087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60088   (exit $ac_status); }; } &&
60089          { ac_try='test -s conftest$ac_exeext'
60090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60091   (eval $ac_try) 2>&5
60092   ac_status=$?
60093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60094   (exit $ac_status); }; }; then
60095   eval "$as_ac_var=yes"
60096 else
60097   echo "$as_me: failed program was:" >&5
60098 sed 's/^/| /' conftest.$ac_ext >&5
60099
60100 eval "$as_ac_var=no"
60101 fi
60102 rm -f conftest.err conftest.$ac_objext \
60103       conftest$ac_exeext conftest.$ac_ext
60104 fi
60105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60107 if test `eval echo '${'$as_ac_var'}'` = yes; then
60108   cat >>confdefs.h <<_ACEOF
60109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60110 _ACEOF
60111
60112 fi
60113 done
60114
60115     fi
60116   fi
60117
60118
60119
60120
60121
60122
60123   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
60124 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
60125   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60126     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
60127   echo $ECHO_N "(cached) $ECHO_C" >&6
60128 else
60129
60130
60131
60132       ac_ext=cc
60133 ac_cpp='$CXXCPP $CPPFLAGS'
60134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60137
60138       cat >conftest.$ac_ext <<_ACEOF
60139 /* confdefs.h.  */
60140 _ACEOF
60141 cat confdefs.h >>conftest.$ac_ext
60142 cat >>conftest.$ac_ext <<_ACEOF
60143 /* end confdefs.h.  */
60144 #include <math.h>
60145 int
60146 main ()
60147 {
60148  fmodf(0, 0);
60149   ;
60150   return 0;
60151 }
60152 _ACEOF
60153 rm -f conftest.$ac_objext
60154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60155   (eval $ac_compile) 2>conftest.er1
60156   ac_status=$?
60157   grep -v '^ *+' conftest.er1 >conftest.err
60158   rm -f conftest.er1
60159   cat conftest.err >&5
60160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60161   (exit $ac_status); } &&
60162          { ac_try='test -z "$ac_cxx_werror_flag"
60163                          || test ! -s conftest.err'
60164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60165   (eval $ac_try) 2>&5
60166   ac_status=$?
60167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60168   (exit $ac_status); }; } &&
60169          { ac_try='test -s conftest.$ac_objext'
60170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60171   (eval $ac_try) 2>&5
60172   ac_status=$?
60173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60174   (exit $ac_status); }; }; then
60175   glibcxx_cv_func_fmodf_use=yes
60176 else
60177   echo "$as_me: failed program was:" >&5
60178 sed 's/^/| /' conftest.$ac_ext >&5
60179
60180 glibcxx_cv_func_fmodf_use=no
60181 fi
60182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60183       ac_ext=c
60184 ac_cpp='$CPP $CPPFLAGS'
60185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60188
60189
60190 fi
60191
60192   fi
60193   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
60194 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
60195
60196   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60197
60198 for ac_func in fmodf
60199 do
60200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60201 echo "$as_me:$LINENO: checking for $ac_func" >&5
60202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60203 if eval "test \"\${$as_ac_var+set}\" = set"; then
60204   echo $ECHO_N "(cached) $ECHO_C" >&6
60205 else
60206   if test x$gcc_no_link = xyes; then
60207   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60209    { (exit 1); exit 1; }; }
60210 fi
60211 cat >conftest.$ac_ext <<_ACEOF
60212 /* confdefs.h.  */
60213 _ACEOF
60214 cat confdefs.h >>conftest.$ac_ext
60215 cat >>conftest.$ac_ext <<_ACEOF
60216 /* end confdefs.h.  */
60217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60218    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60219 #define $ac_func innocuous_$ac_func
60220
60221 /* System header to define __stub macros and hopefully few prototypes,
60222     which can conflict with char $ac_func (); below.
60223     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60224     <limits.h> exists even on freestanding compilers.  */
60225
60226 #ifdef __STDC__
60227 # include <limits.h>
60228 #else
60229 # include <assert.h>
60230 #endif
60231
60232 #undef $ac_func
60233
60234 /* Override any gcc2 internal prototype to avoid an error.  */
60235 #ifdef __cplusplus
60236 extern "C"
60237 {
60238 #endif
60239 /* We use char because int might match the return type of a gcc2
60240    builtin and then its argument prototype would still apply.  */
60241 char $ac_func ();
60242 /* The GNU C library defines this for functions which it implements
60243     to always fail with ENOSYS.  Some functions are actually named
60244     something starting with __ and the normal name is an alias.  */
60245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60246 choke me
60247 #else
60248 char (*f) () = $ac_func;
60249 #endif
60250 #ifdef __cplusplus
60251 }
60252 #endif
60253
60254 int
60255 main ()
60256 {
60257 return f != $ac_func;
60258   ;
60259   return 0;
60260 }
60261 _ACEOF
60262 rm -f conftest.$ac_objext conftest$ac_exeext
60263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60264   (eval $ac_link) 2>conftest.er1
60265   ac_status=$?
60266   grep -v '^ *+' conftest.er1 >conftest.err
60267   rm -f conftest.er1
60268   cat conftest.err >&5
60269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60270   (exit $ac_status); } &&
60271          { ac_try='test -z "$ac_c_werror_flag"
60272                          || test ! -s conftest.err'
60273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60274   (eval $ac_try) 2>&5
60275   ac_status=$?
60276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60277   (exit $ac_status); }; } &&
60278          { ac_try='test -s conftest$ac_exeext'
60279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60280   (eval $ac_try) 2>&5
60281   ac_status=$?
60282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60283   (exit $ac_status); }; }; then
60284   eval "$as_ac_var=yes"
60285 else
60286   echo "$as_me: failed program was:" >&5
60287 sed 's/^/| /' conftest.$ac_ext >&5
60288
60289 eval "$as_ac_var=no"
60290 fi
60291 rm -f conftest.err conftest.$ac_objext \
60292       conftest$ac_exeext conftest.$ac_ext
60293 fi
60294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60296 if test `eval echo '${'$as_ac_var'}'` = yes; then
60297   cat >>confdefs.h <<_ACEOF
60298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60299 _ACEOF
60300
60301 fi
60302 done
60303
60304   else
60305
60306   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
60307 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
60308   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60309     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
60310   echo $ECHO_N "(cached) $ECHO_C" >&6
60311 else
60312
60313
60314
60315       ac_ext=cc
60316 ac_cpp='$CXXCPP $CPPFLAGS'
60317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60320
60321       cat >conftest.$ac_ext <<_ACEOF
60322 /* confdefs.h.  */
60323 _ACEOF
60324 cat confdefs.h >>conftest.$ac_ext
60325 cat >>conftest.$ac_ext <<_ACEOF
60326 /* end confdefs.h.  */
60327 #include <math.h>
60328 int
60329 main ()
60330 {
60331  _fmodf(0, 0);
60332   ;
60333   return 0;
60334 }
60335 _ACEOF
60336 rm -f conftest.$ac_objext
60337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60338   (eval $ac_compile) 2>conftest.er1
60339   ac_status=$?
60340   grep -v '^ *+' conftest.er1 >conftest.err
60341   rm -f conftest.er1
60342   cat conftest.err >&5
60343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60344   (exit $ac_status); } &&
60345          { ac_try='test -z "$ac_cxx_werror_flag"
60346                          || test ! -s conftest.err'
60347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60348   (eval $ac_try) 2>&5
60349   ac_status=$?
60350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60351   (exit $ac_status); }; } &&
60352          { ac_try='test -s conftest.$ac_objext'
60353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60354   (eval $ac_try) 2>&5
60355   ac_status=$?
60356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60357   (exit $ac_status); }; }; then
60358   glibcxx_cv_func__fmodf_use=yes
60359 else
60360   echo "$as_me: failed program was:" >&5
60361 sed 's/^/| /' conftest.$ac_ext >&5
60362
60363 glibcxx_cv_func__fmodf_use=no
60364 fi
60365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60366       ac_ext=c
60367 ac_cpp='$CPP $CPPFLAGS'
60368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60371
60372
60373 fi
60374
60375   fi
60376   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
60377 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
60378
60379     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60380
60381 for ac_func in _fmodf
60382 do
60383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60384 echo "$as_me:$LINENO: checking for $ac_func" >&5
60385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60386 if eval "test \"\${$as_ac_var+set}\" = set"; then
60387   echo $ECHO_N "(cached) $ECHO_C" >&6
60388 else
60389   if test x$gcc_no_link = xyes; then
60390   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60392    { (exit 1); exit 1; }; }
60393 fi
60394 cat >conftest.$ac_ext <<_ACEOF
60395 /* confdefs.h.  */
60396 _ACEOF
60397 cat confdefs.h >>conftest.$ac_ext
60398 cat >>conftest.$ac_ext <<_ACEOF
60399 /* end confdefs.h.  */
60400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60401    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60402 #define $ac_func innocuous_$ac_func
60403
60404 /* System header to define __stub macros and hopefully few prototypes,
60405     which can conflict with char $ac_func (); below.
60406     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60407     <limits.h> exists even on freestanding compilers.  */
60408
60409 #ifdef __STDC__
60410 # include <limits.h>
60411 #else
60412 # include <assert.h>
60413 #endif
60414
60415 #undef $ac_func
60416
60417 /* Override any gcc2 internal prototype to avoid an error.  */
60418 #ifdef __cplusplus
60419 extern "C"
60420 {
60421 #endif
60422 /* We use char because int might match the return type of a gcc2
60423    builtin and then its argument prototype would still apply.  */
60424 char $ac_func ();
60425 /* The GNU C library defines this for functions which it implements
60426     to always fail with ENOSYS.  Some functions are actually named
60427     something starting with __ and the normal name is an alias.  */
60428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60429 choke me
60430 #else
60431 char (*f) () = $ac_func;
60432 #endif
60433 #ifdef __cplusplus
60434 }
60435 #endif
60436
60437 int
60438 main ()
60439 {
60440 return f != $ac_func;
60441   ;
60442   return 0;
60443 }
60444 _ACEOF
60445 rm -f conftest.$ac_objext conftest$ac_exeext
60446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60447   (eval $ac_link) 2>conftest.er1
60448   ac_status=$?
60449   grep -v '^ *+' conftest.er1 >conftest.err
60450   rm -f conftest.er1
60451   cat conftest.err >&5
60452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60453   (exit $ac_status); } &&
60454          { ac_try='test -z "$ac_c_werror_flag"
60455                          || test ! -s conftest.err'
60456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60457   (eval $ac_try) 2>&5
60458   ac_status=$?
60459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60460   (exit $ac_status); }; } &&
60461          { ac_try='test -s conftest$ac_exeext'
60462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60463   (eval $ac_try) 2>&5
60464   ac_status=$?
60465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60466   (exit $ac_status); }; }; then
60467   eval "$as_ac_var=yes"
60468 else
60469   echo "$as_me: failed program was:" >&5
60470 sed 's/^/| /' conftest.$ac_ext >&5
60471
60472 eval "$as_ac_var=no"
60473 fi
60474 rm -f conftest.err conftest.$ac_objext \
60475       conftest$ac_exeext conftest.$ac_ext
60476 fi
60477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60479 if test `eval echo '${'$as_ac_var'}'` = yes; then
60480   cat >>confdefs.h <<_ACEOF
60481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60482 _ACEOF
60483
60484 fi
60485 done
60486
60487     fi
60488   fi
60489
60490
60491
60492
60493
60494
60495   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
60496 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
60497   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60498     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
60499   echo $ECHO_N "(cached) $ECHO_C" >&6
60500 else
60501
60502
60503
60504       ac_ext=cc
60505 ac_cpp='$CXXCPP $CPPFLAGS'
60506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60509
60510       cat >conftest.$ac_ext <<_ACEOF
60511 /* confdefs.h.  */
60512 _ACEOF
60513 cat confdefs.h >>conftest.$ac_ext
60514 cat >>conftest.$ac_ext <<_ACEOF
60515 /* end confdefs.h.  */
60516 #include <math.h>
60517 int
60518 main ()
60519 {
60520  frexpf(0, 0);
60521   ;
60522   return 0;
60523 }
60524 _ACEOF
60525 rm -f conftest.$ac_objext
60526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60527   (eval $ac_compile) 2>conftest.er1
60528   ac_status=$?
60529   grep -v '^ *+' conftest.er1 >conftest.err
60530   rm -f conftest.er1
60531   cat conftest.err >&5
60532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60533   (exit $ac_status); } &&
60534          { ac_try='test -z "$ac_cxx_werror_flag"
60535                          || test ! -s conftest.err'
60536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60537   (eval $ac_try) 2>&5
60538   ac_status=$?
60539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60540   (exit $ac_status); }; } &&
60541          { ac_try='test -s conftest.$ac_objext'
60542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60543   (eval $ac_try) 2>&5
60544   ac_status=$?
60545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60546   (exit $ac_status); }; }; then
60547   glibcxx_cv_func_frexpf_use=yes
60548 else
60549   echo "$as_me: failed program was:" >&5
60550 sed 's/^/| /' conftest.$ac_ext >&5
60551
60552 glibcxx_cv_func_frexpf_use=no
60553 fi
60554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60555       ac_ext=c
60556 ac_cpp='$CPP $CPPFLAGS'
60557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60560
60561
60562 fi
60563
60564   fi
60565   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
60566 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
60567
60568   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60569
60570 for ac_func in frexpf
60571 do
60572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60573 echo "$as_me:$LINENO: checking for $ac_func" >&5
60574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60575 if eval "test \"\${$as_ac_var+set}\" = set"; then
60576   echo $ECHO_N "(cached) $ECHO_C" >&6
60577 else
60578   if test x$gcc_no_link = xyes; then
60579   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60581    { (exit 1); exit 1; }; }
60582 fi
60583 cat >conftest.$ac_ext <<_ACEOF
60584 /* confdefs.h.  */
60585 _ACEOF
60586 cat confdefs.h >>conftest.$ac_ext
60587 cat >>conftest.$ac_ext <<_ACEOF
60588 /* end confdefs.h.  */
60589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60590    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60591 #define $ac_func innocuous_$ac_func
60592
60593 /* System header to define __stub macros and hopefully few prototypes,
60594     which can conflict with char $ac_func (); below.
60595     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60596     <limits.h> exists even on freestanding compilers.  */
60597
60598 #ifdef __STDC__
60599 # include <limits.h>
60600 #else
60601 # include <assert.h>
60602 #endif
60603
60604 #undef $ac_func
60605
60606 /* Override any gcc2 internal prototype to avoid an error.  */
60607 #ifdef __cplusplus
60608 extern "C"
60609 {
60610 #endif
60611 /* We use char because int might match the return type of a gcc2
60612    builtin and then its argument prototype would still apply.  */
60613 char $ac_func ();
60614 /* The GNU C library defines this for functions which it implements
60615     to always fail with ENOSYS.  Some functions are actually named
60616     something starting with __ and the normal name is an alias.  */
60617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60618 choke me
60619 #else
60620 char (*f) () = $ac_func;
60621 #endif
60622 #ifdef __cplusplus
60623 }
60624 #endif
60625
60626 int
60627 main ()
60628 {
60629 return f != $ac_func;
60630   ;
60631   return 0;
60632 }
60633 _ACEOF
60634 rm -f conftest.$ac_objext conftest$ac_exeext
60635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60636   (eval $ac_link) 2>conftest.er1
60637   ac_status=$?
60638   grep -v '^ *+' conftest.er1 >conftest.err
60639   rm -f conftest.er1
60640   cat conftest.err >&5
60641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60642   (exit $ac_status); } &&
60643          { ac_try='test -z "$ac_c_werror_flag"
60644                          || test ! -s conftest.err'
60645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60646   (eval $ac_try) 2>&5
60647   ac_status=$?
60648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60649   (exit $ac_status); }; } &&
60650          { ac_try='test -s conftest$ac_exeext'
60651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60652   (eval $ac_try) 2>&5
60653   ac_status=$?
60654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60655   (exit $ac_status); }; }; then
60656   eval "$as_ac_var=yes"
60657 else
60658   echo "$as_me: failed program was:" >&5
60659 sed 's/^/| /' conftest.$ac_ext >&5
60660
60661 eval "$as_ac_var=no"
60662 fi
60663 rm -f conftest.err conftest.$ac_objext \
60664       conftest$ac_exeext conftest.$ac_ext
60665 fi
60666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60668 if test `eval echo '${'$as_ac_var'}'` = yes; then
60669   cat >>confdefs.h <<_ACEOF
60670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60671 _ACEOF
60672
60673 fi
60674 done
60675
60676   else
60677
60678   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
60679 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
60680   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60681     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
60682   echo $ECHO_N "(cached) $ECHO_C" >&6
60683 else
60684
60685
60686
60687       ac_ext=cc
60688 ac_cpp='$CXXCPP $CPPFLAGS'
60689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60692
60693       cat >conftest.$ac_ext <<_ACEOF
60694 /* confdefs.h.  */
60695 _ACEOF
60696 cat confdefs.h >>conftest.$ac_ext
60697 cat >>conftest.$ac_ext <<_ACEOF
60698 /* end confdefs.h.  */
60699 #include <math.h>
60700 int
60701 main ()
60702 {
60703  _frexpf(0, 0);
60704   ;
60705   return 0;
60706 }
60707 _ACEOF
60708 rm -f conftest.$ac_objext
60709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60710   (eval $ac_compile) 2>conftest.er1
60711   ac_status=$?
60712   grep -v '^ *+' conftest.er1 >conftest.err
60713   rm -f conftest.er1
60714   cat conftest.err >&5
60715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60716   (exit $ac_status); } &&
60717          { ac_try='test -z "$ac_cxx_werror_flag"
60718                          || test ! -s conftest.err'
60719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60720   (eval $ac_try) 2>&5
60721   ac_status=$?
60722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60723   (exit $ac_status); }; } &&
60724          { ac_try='test -s conftest.$ac_objext'
60725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60726   (eval $ac_try) 2>&5
60727   ac_status=$?
60728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60729   (exit $ac_status); }; }; then
60730   glibcxx_cv_func__frexpf_use=yes
60731 else
60732   echo "$as_me: failed program was:" >&5
60733 sed 's/^/| /' conftest.$ac_ext >&5
60734
60735 glibcxx_cv_func__frexpf_use=no
60736 fi
60737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60738       ac_ext=c
60739 ac_cpp='$CPP $CPPFLAGS'
60740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60743
60744
60745 fi
60746
60747   fi
60748   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
60749 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
60750
60751     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60752
60753 for ac_func in _frexpf
60754 do
60755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60756 echo "$as_me:$LINENO: checking for $ac_func" >&5
60757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60758 if eval "test \"\${$as_ac_var+set}\" = set"; then
60759   echo $ECHO_N "(cached) $ECHO_C" >&6
60760 else
60761   if test x$gcc_no_link = xyes; then
60762   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60764    { (exit 1); exit 1; }; }
60765 fi
60766 cat >conftest.$ac_ext <<_ACEOF
60767 /* confdefs.h.  */
60768 _ACEOF
60769 cat confdefs.h >>conftest.$ac_ext
60770 cat >>conftest.$ac_ext <<_ACEOF
60771 /* end confdefs.h.  */
60772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60773    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60774 #define $ac_func innocuous_$ac_func
60775
60776 /* System header to define __stub macros and hopefully few prototypes,
60777     which can conflict with char $ac_func (); below.
60778     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60779     <limits.h> exists even on freestanding compilers.  */
60780
60781 #ifdef __STDC__
60782 # include <limits.h>
60783 #else
60784 # include <assert.h>
60785 #endif
60786
60787 #undef $ac_func
60788
60789 /* Override any gcc2 internal prototype to avoid an error.  */
60790 #ifdef __cplusplus
60791 extern "C"
60792 {
60793 #endif
60794 /* We use char because int might match the return type of a gcc2
60795    builtin and then its argument prototype would still apply.  */
60796 char $ac_func ();
60797 /* The GNU C library defines this for functions which it implements
60798     to always fail with ENOSYS.  Some functions are actually named
60799     something starting with __ and the normal name is an alias.  */
60800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60801 choke me
60802 #else
60803 char (*f) () = $ac_func;
60804 #endif
60805 #ifdef __cplusplus
60806 }
60807 #endif
60808
60809 int
60810 main ()
60811 {
60812 return f != $ac_func;
60813   ;
60814   return 0;
60815 }
60816 _ACEOF
60817 rm -f conftest.$ac_objext conftest$ac_exeext
60818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60819   (eval $ac_link) 2>conftest.er1
60820   ac_status=$?
60821   grep -v '^ *+' conftest.er1 >conftest.err
60822   rm -f conftest.er1
60823   cat conftest.err >&5
60824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60825   (exit $ac_status); } &&
60826          { ac_try='test -z "$ac_c_werror_flag"
60827                          || test ! -s conftest.err'
60828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60829   (eval $ac_try) 2>&5
60830   ac_status=$?
60831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60832   (exit $ac_status); }; } &&
60833          { ac_try='test -s conftest$ac_exeext'
60834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60835   (eval $ac_try) 2>&5
60836   ac_status=$?
60837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60838   (exit $ac_status); }; }; then
60839   eval "$as_ac_var=yes"
60840 else
60841   echo "$as_me: failed program was:" >&5
60842 sed 's/^/| /' conftest.$ac_ext >&5
60843
60844 eval "$as_ac_var=no"
60845 fi
60846 rm -f conftest.err conftest.$ac_objext \
60847       conftest$ac_exeext conftest.$ac_ext
60848 fi
60849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60851 if test `eval echo '${'$as_ac_var'}'` = yes; then
60852   cat >>confdefs.h <<_ACEOF
60853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60854 _ACEOF
60855
60856 fi
60857 done
60858
60859     fi
60860   fi
60861
60862
60863
60864
60865
60866
60867   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
60868 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
60869   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60870     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
60871   echo $ECHO_N "(cached) $ECHO_C" >&6
60872 else
60873
60874
60875
60876       ac_ext=cc
60877 ac_cpp='$CXXCPP $CPPFLAGS'
60878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60881
60882       cat >conftest.$ac_ext <<_ACEOF
60883 /* confdefs.h.  */
60884 _ACEOF
60885 cat confdefs.h >>conftest.$ac_ext
60886 cat >>conftest.$ac_ext <<_ACEOF
60887 /* end confdefs.h.  */
60888 #include <math.h>
60889 int
60890 main ()
60891 {
60892  hypotf(0, 0);
60893   ;
60894   return 0;
60895 }
60896 _ACEOF
60897 rm -f conftest.$ac_objext
60898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60899   (eval $ac_compile) 2>conftest.er1
60900   ac_status=$?
60901   grep -v '^ *+' conftest.er1 >conftest.err
60902   rm -f conftest.er1
60903   cat conftest.err >&5
60904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60905   (exit $ac_status); } &&
60906          { ac_try='test -z "$ac_cxx_werror_flag"
60907                          || test ! -s conftest.err'
60908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60909   (eval $ac_try) 2>&5
60910   ac_status=$?
60911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60912   (exit $ac_status); }; } &&
60913          { ac_try='test -s conftest.$ac_objext'
60914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60915   (eval $ac_try) 2>&5
60916   ac_status=$?
60917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60918   (exit $ac_status); }; }; then
60919   glibcxx_cv_func_hypotf_use=yes
60920 else
60921   echo "$as_me: failed program was:" >&5
60922 sed 's/^/| /' conftest.$ac_ext >&5
60923
60924 glibcxx_cv_func_hypotf_use=no
60925 fi
60926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60927       ac_ext=c
60928 ac_cpp='$CPP $CPPFLAGS'
60929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60932
60933
60934 fi
60935
60936   fi
60937   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
60938 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
60939
60940   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60941
60942 for ac_func in hypotf
60943 do
60944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60945 echo "$as_me:$LINENO: checking for $ac_func" >&5
60946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60947 if eval "test \"\${$as_ac_var+set}\" = set"; then
60948   echo $ECHO_N "(cached) $ECHO_C" >&6
60949 else
60950   if test x$gcc_no_link = xyes; then
60951   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60953    { (exit 1); exit 1; }; }
60954 fi
60955 cat >conftest.$ac_ext <<_ACEOF
60956 /* confdefs.h.  */
60957 _ACEOF
60958 cat confdefs.h >>conftest.$ac_ext
60959 cat >>conftest.$ac_ext <<_ACEOF
60960 /* end confdefs.h.  */
60961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60962    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60963 #define $ac_func innocuous_$ac_func
60964
60965 /* System header to define __stub macros and hopefully few prototypes,
60966     which can conflict with char $ac_func (); below.
60967     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60968     <limits.h> exists even on freestanding compilers.  */
60969
60970 #ifdef __STDC__
60971 # include <limits.h>
60972 #else
60973 # include <assert.h>
60974 #endif
60975
60976 #undef $ac_func
60977
60978 /* Override any gcc2 internal prototype to avoid an error.  */
60979 #ifdef __cplusplus
60980 extern "C"
60981 {
60982 #endif
60983 /* We use char because int might match the return type of a gcc2
60984    builtin and then its argument prototype would still apply.  */
60985 char $ac_func ();
60986 /* The GNU C library defines this for functions which it implements
60987     to always fail with ENOSYS.  Some functions are actually named
60988     something starting with __ and the normal name is an alias.  */
60989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60990 choke me
60991 #else
60992 char (*f) () = $ac_func;
60993 #endif
60994 #ifdef __cplusplus
60995 }
60996 #endif
60997
60998 int
60999 main ()
61000 {
61001 return f != $ac_func;
61002   ;
61003   return 0;
61004 }
61005 _ACEOF
61006 rm -f conftest.$ac_objext conftest$ac_exeext
61007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61008   (eval $ac_link) 2>conftest.er1
61009   ac_status=$?
61010   grep -v '^ *+' conftest.er1 >conftest.err
61011   rm -f conftest.er1
61012   cat conftest.err >&5
61013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61014   (exit $ac_status); } &&
61015          { ac_try='test -z "$ac_c_werror_flag"
61016                          || test ! -s conftest.err'
61017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61018   (eval $ac_try) 2>&5
61019   ac_status=$?
61020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61021   (exit $ac_status); }; } &&
61022          { ac_try='test -s conftest$ac_exeext'
61023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61024   (eval $ac_try) 2>&5
61025   ac_status=$?
61026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61027   (exit $ac_status); }; }; then
61028   eval "$as_ac_var=yes"
61029 else
61030   echo "$as_me: failed program was:" >&5
61031 sed 's/^/| /' conftest.$ac_ext >&5
61032
61033 eval "$as_ac_var=no"
61034 fi
61035 rm -f conftest.err conftest.$ac_objext \
61036       conftest$ac_exeext conftest.$ac_ext
61037 fi
61038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61040 if test `eval echo '${'$as_ac_var'}'` = yes; then
61041   cat >>confdefs.h <<_ACEOF
61042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61043 _ACEOF
61044
61045 fi
61046 done
61047
61048   else
61049
61050   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
61051 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
61052   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61053     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
61054   echo $ECHO_N "(cached) $ECHO_C" >&6
61055 else
61056
61057
61058
61059       ac_ext=cc
61060 ac_cpp='$CXXCPP $CPPFLAGS'
61061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61064
61065       cat >conftest.$ac_ext <<_ACEOF
61066 /* confdefs.h.  */
61067 _ACEOF
61068 cat confdefs.h >>conftest.$ac_ext
61069 cat >>conftest.$ac_ext <<_ACEOF
61070 /* end confdefs.h.  */
61071 #include <math.h>
61072 int
61073 main ()
61074 {
61075  _hypotf(0, 0);
61076   ;
61077   return 0;
61078 }
61079 _ACEOF
61080 rm -f conftest.$ac_objext
61081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61082   (eval $ac_compile) 2>conftest.er1
61083   ac_status=$?
61084   grep -v '^ *+' conftest.er1 >conftest.err
61085   rm -f conftest.er1
61086   cat conftest.err >&5
61087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61088   (exit $ac_status); } &&
61089          { ac_try='test -z "$ac_cxx_werror_flag"
61090                          || test ! -s conftest.err'
61091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61092   (eval $ac_try) 2>&5
61093   ac_status=$?
61094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61095   (exit $ac_status); }; } &&
61096          { ac_try='test -s conftest.$ac_objext'
61097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61098   (eval $ac_try) 2>&5
61099   ac_status=$?
61100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61101   (exit $ac_status); }; }; then
61102   glibcxx_cv_func__hypotf_use=yes
61103 else
61104   echo "$as_me: failed program was:" >&5
61105 sed 's/^/| /' conftest.$ac_ext >&5
61106
61107 glibcxx_cv_func__hypotf_use=no
61108 fi
61109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61110       ac_ext=c
61111 ac_cpp='$CPP $CPPFLAGS'
61112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61115
61116
61117 fi
61118
61119   fi
61120   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
61121 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
61122
61123     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61124
61125 for ac_func in _hypotf
61126 do
61127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61128 echo "$as_me:$LINENO: checking for $ac_func" >&5
61129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61130 if eval "test \"\${$as_ac_var+set}\" = set"; then
61131   echo $ECHO_N "(cached) $ECHO_C" >&6
61132 else
61133   if test x$gcc_no_link = xyes; then
61134   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61136    { (exit 1); exit 1; }; }
61137 fi
61138 cat >conftest.$ac_ext <<_ACEOF
61139 /* confdefs.h.  */
61140 _ACEOF
61141 cat confdefs.h >>conftest.$ac_ext
61142 cat >>conftest.$ac_ext <<_ACEOF
61143 /* end confdefs.h.  */
61144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61145    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61146 #define $ac_func innocuous_$ac_func
61147
61148 /* System header to define __stub macros and hopefully few prototypes,
61149     which can conflict with char $ac_func (); below.
61150     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61151     <limits.h> exists even on freestanding compilers.  */
61152
61153 #ifdef __STDC__
61154 # include <limits.h>
61155 #else
61156 # include <assert.h>
61157 #endif
61158
61159 #undef $ac_func
61160
61161 /* Override any gcc2 internal prototype to avoid an error.  */
61162 #ifdef __cplusplus
61163 extern "C"
61164 {
61165 #endif
61166 /* We use char because int might match the return type of a gcc2
61167    builtin and then its argument prototype would still apply.  */
61168 char $ac_func ();
61169 /* The GNU C library defines this for functions which it implements
61170     to always fail with ENOSYS.  Some functions are actually named
61171     something starting with __ and the normal name is an alias.  */
61172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61173 choke me
61174 #else
61175 char (*f) () = $ac_func;
61176 #endif
61177 #ifdef __cplusplus
61178 }
61179 #endif
61180
61181 int
61182 main ()
61183 {
61184 return f != $ac_func;
61185   ;
61186   return 0;
61187 }
61188 _ACEOF
61189 rm -f conftest.$ac_objext conftest$ac_exeext
61190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61191   (eval $ac_link) 2>conftest.er1
61192   ac_status=$?
61193   grep -v '^ *+' conftest.er1 >conftest.err
61194   rm -f conftest.er1
61195   cat conftest.err >&5
61196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61197   (exit $ac_status); } &&
61198          { ac_try='test -z "$ac_c_werror_flag"
61199                          || test ! -s conftest.err'
61200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61201   (eval $ac_try) 2>&5
61202   ac_status=$?
61203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61204   (exit $ac_status); }; } &&
61205          { ac_try='test -s conftest$ac_exeext'
61206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61207   (eval $ac_try) 2>&5
61208   ac_status=$?
61209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61210   (exit $ac_status); }; }; then
61211   eval "$as_ac_var=yes"
61212 else
61213   echo "$as_me: failed program was:" >&5
61214 sed 's/^/| /' conftest.$ac_ext >&5
61215
61216 eval "$as_ac_var=no"
61217 fi
61218 rm -f conftest.err conftest.$ac_objext \
61219       conftest$ac_exeext conftest.$ac_ext
61220 fi
61221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61223 if test `eval echo '${'$as_ac_var'}'` = yes; then
61224   cat >>confdefs.h <<_ACEOF
61225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61226 _ACEOF
61227
61228 fi
61229 done
61230
61231     fi
61232   fi
61233
61234
61235
61236
61237
61238
61239   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
61240 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
61241   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61242     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
61243   echo $ECHO_N "(cached) $ECHO_C" >&6
61244 else
61245
61246
61247
61248       ac_ext=cc
61249 ac_cpp='$CXXCPP $CPPFLAGS'
61250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61253
61254       cat >conftest.$ac_ext <<_ACEOF
61255 /* confdefs.h.  */
61256 _ACEOF
61257 cat confdefs.h >>conftest.$ac_ext
61258 cat >>conftest.$ac_ext <<_ACEOF
61259 /* end confdefs.h.  */
61260 #include <math.h>
61261 int
61262 main ()
61263 {
61264  ldexpf(0, 0);
61265   ;
61266   return 0;
61267 }
61268 _ACEOF
61269 rm -f conftest.$ac_objext
61270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61271   (eval $ac_compile) 2>conftest.er1
61272   ac_status=$?
61273   grep -v '^ *+' conftest.er1 >conftest.err
61274   rm -f conftest.er1
61275   cat conftest.err >&5
61276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61277   (exit $ac_status); } &&
61278          { ac_try='test -z "$ac_cxx_werror_flag"
61279                          || test ! -s conftest.err'
61280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61281   (eval $ac_try) 2>&5
61282   ac_status=$?
61283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61284   (exit $ac_status); }; } &&
61285          { ac_try='test -s conftest.$ac_objext'
61286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61287   (eval $ac_try) 2>&5
61288   ac_status=$?
61289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61290   (exit $ac_status); }; }; then
61291   glibcxx_cv_func_ldexpf_use=yes
61292 else
61293   echo "$as_me: failed program was:" >&5
61294 sed 's/^/| /' conftest.$ac_ext >&5
61295
61296 glibcxx_cv_func_ldexpf_use=no
61297 fi
61298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61299       ac_ext=c
61300 ac_cpp='$CPP $CPPFLAGS'
61301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61304
61305
61306 fi
61307
61308   fi
61309   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
61310 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
61311
61312   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61313
61314 for ac_func in ldexpf
61315 do
61316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61317 echo "$as_me:$LINENO: checking for $ac_func" >&5
61318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61319 if eval "test \"\${$as_ac_var+set}\" = set"; then
61320   echo $ECHO_N "(cached) $ECHO_C" >&6
61321 else
61322   if test x$gcc_no_link = xyes; then
61323   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61325    { (exit 1); exit 1; }; }
61326 fi
61327 cat >conftest.$ac_ext <<_ACEOF
61328 /* confdefs.h.  */
61329 _ACEOF
61330 cat confdefs.h >>conftest.$ac_ext
61331 cat >>conftest.$ac_ext <<_ACEOF
61332 /* end confdefs.h.  */
61333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61334    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61335 #define $ac_func innocuous_$ac_func
61336
61337 /* System header to define __stub macros and hopefully few prototypes,
61338     which can conflict with char $ac_func (); below.
61339     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61340     <limits.h> exists even on freestanding compilers.  */
61341
61342 #ifdef __STDC__
61343 # include <limits.h>
61344 #else
61345 # include <assert.h>
61346 #endif
61347
61348 #undef $ac_func
61349
61350 /* Override any gcc2 internal prototype to avoid an error.  */
61351 #ifdef __cplusplus
61352 extern "C"
61353 {
61354 #endif
61355 /* We use char because int might match the return type of a gcc2
61356    builtin and then its argument prototype would still apply.  */
61357 char $ac_func ();
61358 /* The GNU C library defines this for functions which it implements
61359     to always fail with ENOSYS.  Some functions are actually named
61360     something starting with __ and the normal name is an alias.  */
61361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61362 choke me
61363 #else
61364 char (*f) () = $ac_func;
61365 #endif
61366 #ifdef __cplusplus
61367 }
61368 #endif
61369
61370 int
61371 main ()
61372 {
61373 return f != $ac_func;
61374   ;
61375   return 0;
61376 }
61377 _ACEOF
61378 rm -f conftest.$ac_objext conftest$ac_exeext
61379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61380   (eval $ac_link) 2>conftest.er1
61381   ac_status=$?
61382   grep -v '^ *+' conftest.er1 >conftest.err
61383   rm -f conftest.er1
61384   cat conftest.err >&5
61385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61386   (exit $ac_status); } &&
61387          { ac_try='test -z "$ac_c_werror_flag"
61388                          || test ! -s conftest.err'
61389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61390   (eval $ac_try) 2>&5
61391   ac_status=$?
61392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61393   (exit $ac_status); }; } &&
61394          { ac_try='test -s conftest$ac_exeext'
61395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61396   (eval $ac_try) 2>&5
61397   ac_status=$?
61398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61399   (exit $ac_status); }; }; then
61400   eval "$as_ac_var=yes"
61401 else
61402   echo "$as_me: failed program was:" >&5
61403 sed 's/^/| /' conftest.$ac_ext >&5
61404
61405 eval "$as_ac_var=no"
61406 fi
61407 rm -f conftest.err conftest.$ac_objext \
61408       conftest$ac_exeext conftest.$ac_ext
61409 fi
61410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61412 if test `eval echo '${'$as_ac_var'}'` = yes; then
61413   cat >>confdefs.h <<_ACEOF
61414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61415 _ACEOF
61416
61417 fi
61418 done
61419
61420   else
61421
61422   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
61423 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
61424   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61425     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
61426   echo $ECHO_N "(cached) $ECHO_C" >&6
61427 else
61428
61429
61430
61431       ac_ext=cc
61432 ac_cpp='$CXXCPP $CPPFLAGS'
61433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61436
61437       cat >conftest.$ac_ext <<_ACEOF
61438 /* confdefs.h.  */
61439 _ACEOF
61440 cat confdefs.h >>conftest.$ac_ext
61441 cat >>conftest.$ac_ext <<_ACEOF
61442 /* end confdefs.h.  */
61443 #include <math.h>
61444 int
61445 main ()
61446 {
61447  _ldexpf(0, 0);
61448   ;
61449   return 0;
61450 }
61451 _ACEOF
61452 rm -f conftest.$ac_objext
61453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61454   (eval $ac_compile) 2>conftest.er1
61455   ac_status=$?
61456   grep -v '^ *+' conftest.er1 >conftest.err
61457   rm -f conftest.er1
61458   cat conftest.err >&5
61459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61460   (exit $ac_status); } &&
61461          { ac_try='test -z "$ac_cxx_werror_flag"
61462                          || test ! -s conftest.err'
61463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61464   (eval $ac_try) 2>&5
61465   ac_status=$?
61466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61467   (exit $ac_status); }; } &&
61468          { ac_try='test -s conftest.$ac_objext'
61469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61470   (eval $ac_try) 2>&5
61471   ac_status=$?
61472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61473   (exit $ac_status); }; }; then
61474   glibcxx_cv_func__ldexpf_use=yes
61475 else
61476   echo "$as_me: failed program was:" >&5
61477 sed 's/^/| /' conftest.$ac_ext >&5
61478
61479 glibcxx_cv_func__ldexpf_use=no
61480 fi
61481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61482       ac_ext=c
61483 ac_cpp='$CPP $CPPFLAGS'
61484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61487
61488
61489 fi
61490
61491   fi
61492   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
61493 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
61494
61495     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61496
61497 for ac_func in _ldexpf
61498 do
61499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61500 echo "$as_me:$LINENO: checking for $ac_func" >&5
61501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61502 if eval "test \"\${$as_ac_var+set}\" = set"; then
61503   echo $ECHO_N "(cached) $ECHO_C" >&6
61504 else
61505   if test x$gcc_no_link = xyes; then
61506   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61508    { (exit 1); exit 1; }; }
61509 fi
61510 cat >conftest.$ac_ext <<_ACEOF
61511 /* confdefs.h.  */
61512 _ACEOF
61513 cat confdefs.h >>conftest.$ac_ext
61514 cat >>conftest.$ac_ext <<_ACEOF
61515 /* end confdefs.h.  */
61516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61517    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61518 #define $ac_func innocuous_$ac_func
61519
61520 /* System header to define __stub macros and hopefully few prototypes,
61521     which can conflict with char $ac_func (); below.
61522     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61523     <limits.h> exists even on freestanding compilers.  */
61524
61525 #ifdef __STDC__
61526 # include <limits.h>
61527 #else
61528 # include <assert.h>
61529 #endif
61530
61531 #undef $ac_func
61532
61533 /* Override any gcc2 internal prototype to avoid an error.  */
61534 #ifdef __cplusplus
61535 extern "C"
61536 {
61537 #endif
61538 /* We use char because int might match the return type of a gcc2
61539    builtin and then its argument prototype would still apply.  */
61540 char $ac_func ();
61541 /* The GNU C library defines this for functions which it implements
61542     to always fail with ENOSYS.  Some functions are actually named
61543     something starting with __ and the normal name is an alias.  */
61544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61545 choke me
61546 #else
61547 char (*f) () = $ac_func;
61548 #endif
61549 #ifdef __cplusplus
61550 }
61551 #endif
61552
61553 int
61554 main ()
61555 {
61556 return f != $ac_func;
61557   ;
61558   return 0;
61559 }
61560 _ACEOF
61561 rm -f conftest.$ac_objext conftest$ac_exeext
61562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61563   (eval $ac_link) 2>conftest.er1
61564   ac_status=$?
61565   grep -v '^ *+' conftest.er1 >conftest.err
61566   rm -f conftest.er1
61567   cat conftest.err >&5
61568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61569   (exit $ac_status); } &&
61570          { ac_try='test -z "$ac_c_werror_flag"
61571                          || test ! -s conftest.err'
61572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61573   (eval $ac_try) 2>&5
61574   ac_status=$?
61575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61576   (exit $ac_status); }; } &&
61577          { ac_try='test -s conftest$ac_exeext'
61578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61579   (eval $ac_try) 2>&5
61580   ac_status=$?
61581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61582   (exit $ac_status); }; }; then
61583   eval "$as_ac_var=yes"
61584 else
61585   echo "$as_me: failed program was:" >&5
61586 sed 's/^/| /' conftest.$ac_ext >&5
61587
61588 eval "$as_ac_var=no"
61589 fi
61590 rm -f conftest.err conftest.$ac_objext \
61591       conftest$ac_exeext conftest.$ac_ext
61592 fi
61593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61595 if test `eval echo '${'$as_ac_var'}'` = yes; then
61596   cat >>confdefs.h <<_ACEOF
61597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61598 _ACEOF
61599
61600 fi
61601 done
61602
61603     fi
61604   fi
61605
61606
61607
61608
61609
61610
61611   echo "$as_me:$LINENO: checking for logf declaration" >&5
61612 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
61613   if test x${glibcxx_cv_func_logf_use+set} != xset; then
61614     if test "${glibcxx_cv_func_logf_use+set}" = set; then
61615   echo $ECHO_N "(cached) $ECHO_C" >&6
61616 else
61617
61618
61619
61620       ac_ext=cc
61621 ac_cpp='$CXXCPP $CPPFLAGS'
61622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61625
61626       cat >conftest.$ac_ext <<_ACEOF
61627 /* confdefs.h.  */
61628 _ACEOF
61629 cat confdefs.h >>conftest.$ac_ext
61630 cat >>conftest.$ac_ext <<_ACEOF
61631 /* end confdefs.h.  */
61632 #include <math.h>
61633                       #ifdef HAVE_IEEEFP_H
61634                       #include <ieeefp.h>
61635                       #endif
61636
61637 int
61638 main ()
61639 {
61640  logf(0);
61641   ;
61642   return 0;
61643 }
61644 _ACEOF
61645 rm -f conftest.$ac_objext
61646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61647   (eval $ac_compile) 2>conftest.er1
61648   ac_status=$?
61649   grep -v '^ *+' conftest.er1 >conftest.err
61650   rm -f conftest.er1
61651   cat conftest.err >&5
61652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61653   (exit $ac_status); } &&
61654          { ac_try='test -z "$ac_cxx_werror_flag"
61655                          || test ! -s conftest.err'
61656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61657   (eval $ac_try) 2>&5
61658   ac_status=$?
61659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61660   (exit $ac_status); }; } &&
61661          { ac_try='test -s conftest.$ac_objext'
61662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61663   (eval $ac_try) 2>&5
61664   ac_status=$?
61665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61666   (exit $ac_status); }; }; then
61667   glibcxx_cv_func_logf_use=yes
61668 else
61669   echo "$as_me: failed program was:" >&5
61670 sed 's/^/| /' conftest.$ac_ext >&5
61671
61672 glibcxx_cv_func_logf_use=no
61673 fi
61674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61675       ac_ext=c
61676 ac_cpp='$CPP $CPPFLAGS'
61677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61680
61681
61682 fi
61683
61684   fi
61685   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
61686 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
61687
61688   if test x$glibcxx_cv_func_logf_use = x"yes"; then
61689
61690 for ac_func in logf
61691 do
61692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61693 echo "$as_me:$LINENO: checking for $ac_func" >&5
61694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61695 if eval "test \"\${$as_ac_var+set}\" = set"; then
61696   echo $ECHO_N "(cached) $ECHO_C" >&6
61697 else
61698   if test x$gcc_no_link = xyes; then
61699   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61701    { (exit 1); exit 1; }; }
61702 fi
61703 cat >conftest.$ac_ext <<_ACEOF
61704 /* confdefs.h.  */
61705 _ACEOF
61706 cat confdefs.h >>conftest.$ac_ext
61707 cat >>conftest.$ac_ext <<_ACEOF
61708 /* end confdefs.h.  */
61709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61710    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61711 #define $ac_func innocuous_$ac_func
61712
61713 /* System header to define __stub macros and hopefully few prototypes,
61714     which can conflict with char $ac_func (); below.
61715     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61716     <limits.h> exists even on freestanding compilers.  */
61717
61718 #ifdef __STDC__
61719 # include <limits.h>
61720 #else
61721 # include <assert.h>
61722 #endif
61723
61724 #undef $ac_func
61725
61726 /* Override any gcc2 internal prototype to avoid an error.  */
61727 #ifdef __cplusplus
61728 extern "C"
61729 {
61730 #endif
61731 /* We use char because int might match the return type of a gcc2
61732    builtin and then its argument prototype would still apply.  */
61733 char $ac_func ();
61734 /* The GNU C library defines this for functions which it implements
61735     to always fail with ENOSYS.  Some functions are actually named
61736     something starting with __ and the normal name is an alias.  */
61737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61738 choke me
61739 #else
61740 char (*f) () = $ac_func;
61741 #endif
61742 #ifdef __cplusplus
61743 }
61744 #endif
61745
61746 int
61747 main ()
61748 {
61749 return f != $ac_func;
61750   ;
61751   return 0;
61752 }
61753 _ACEOF
61754 rm -f conftest.$ac_objext conftest$ac_exeext
61755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61756   (eval $ac_link) 2>conftest.er1
61757   ac_status=$?
61758   grep -v '^ *+' conftest.er1 >conftest.err
61759   rm -f conftest.er1
61760   cat conftest.err >&5
61761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61762   (exit $ac_status); } &&
61763          { ac_try='test -z "$ac_c_werror_flag"
61764                          || test ! -s conftest.err'
61765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61766   (eval $ac_try) 2>&5
61767   ac_status=$?
61768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61769   (exit $ac_status); }; } &&
61770          { ac_try='test -s conftest$ac_exeext'
61771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61772   (eval $ac_try) 2>&5
61773   ac_status=$?
61774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61775   (exit $ac_status); }; }; then
61776   eval "$as_ac_var=yes"
61777 else
61778   echo "$as_me: failed program was:" >&5
61779 sed 's/^/| /' conftest.$ac_ext >&5
61780
61781 eval "$as_ac_var=no"
61782 fi
61783 rm -f conftest.err conftest.$ac_objext \
61784       conftest$ac_exeext conftest.$ac_ext
61785 fi
61786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61788 if test `eval echo '${'$as_ac_var'}'` = yes; then
61789   cat >>confdefs.h <<_ACEOF
61790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61791 _ACEOF
61792
61793 fi
61794 done
61795
61796   else
61797
61798   echo "$as_me:$LINENO: checking for _logf declaration" >&5
61799 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
61800   if test x${glibcxx_cv_func__logf_use+set} != xset; then
61801     if test "${glibcxx_cv_func__logf_use+set}" = set; then
61802   echo $ECHO_N "(cached) $ECHO_C" >&6
61803 else
61804
61805
61806
61807       ac_ext=cc
61808 ac_cpp='$CXXCPP $CPPFLAGS'
61809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61812
61813       cat >conftest.$ac_ext <<_ACEOF
61814 /* confdefs.h.  */
61815 _ACEOF
61816 cat confdefs.h >>conftest.$ac_ext
61817 cat >>conftest.$ac_ext <<_ACEOF
61818 /* end confdefs.h.  */
61819 #include <math.h>
61820                       #ifdef HAVE_IEEEFP_H
61821                       #include <ieeefp.h>
61822                       #endif
61823
61824 int
61825 main ()
61826 {
61827  _logf(0);
61828   ;
61829   return 0;
61830 }
61831 _ACEOF
61832 rm -f conftest.$ac_objext
61833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61834   (eval $ac_compile) 2>conftest.er1
61835   ac_status=$?
61836   grep -v '^ *+' conftest.er1 >conftest.err
61837   rm -f conftest.er1
61838   cat conftest.err >&5
61839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61840   (exit $ac_status); } &&
61841          { ac_try='test -z "$ac_cxx_werror_flag"
61842                          || test ! -s conftest.err'
61843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61844   (eval $ac_try) 2>&5
61845   ac_status=$?
61846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61847   (exit $ac_status); }; } &&
61848          { ac_try='test -s conftest.$ac_objext'
61849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61850   (eval $ac_try) 2>&5
61851   ac_status=$?
61852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61853   (exit $ac_status); }; }; then
61854   glibcxx_cv_func__logf_use=yes
61855 else
61856   echo "$as_me: failed program was:" >&5
61857 sed 's/^/| /' conftest.$ac_ext >&5
61858
61859 glibcxx_cv_func__logf_use=no
61860 fi
61861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61862       ac_ext=c
61863 ac_cpp='$CPP $CPPFLAGS'
61864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61867
61868
61869 fi
61870
61871   fi
61872   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
61873 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
61874
61875     if test x$glibcxx_cv_func__logf_use = x"yes"; then
61876
61877 for ac_func in _logf
61878 do
61879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61880 echo "$as_me:$LINENO: checking for $ac_func" >&5
61881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61882 if eval "test \"\${$as_ac_var+set}\" = set"; then
61883   echo $ECHO_N "(cached) $ECHO_C" >&6
61884 else
61885   if test x$gcc_no_link = xyes; then
61886   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61888    { (exit 1); exit 1; }; }
61889 fi
61890 cat >conftest.$ac_ext <<_ACEOF
61891 /* confdefs.h.  */
61892 _ACEOF
61893 cat confdefs.h >>conftest.$ac_ext
61894 cat >>conftest.$ac_ext <<_ACEOF
61895 /* end confdefs.h.  */
61896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61897    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61898 #define $ac_func innocuous_$ac_func
61899
61900 /* System header to define __stub macros and hopefully few prototypes,
61901     which can conflict with char $ac_func (); below.
61902     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61903     <limits.h> exists even on freestanding compilers.  */
61904
61905 #ifdef __STDC__
61906 # include <limits.h>
61907 #else
61908 # include <assert.h>
61909 #endif
61910
61911 #undef $ac_func
61912
61913 /* Override any gcc2 internal prototype to avoid an error.  */
61914 #ifdef __cplusplus
61915 extern "C"
61916 {
61917 #endif
61918 /* We use char because int might match the return type of a gcc2
61919    builtin and then its argument prototype would still apply.  */
61920 char $ac_func ();
61921 /* The GNU C library defines this for functions which it implements
61922     to always fail with ENOSYS.  Some functions are actually named
61923     something starting with __ and the normal name is an alias.  */
61924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61925 choke me
61926 #else
61927 char (*f) () = $ac_func;
61928 #endif
61929 #ifdef __cplusplus
61930 }
61931 #endif
61932
61933 int
61934 main ()
61935 {
61936 return f != $ac_func;
61937   ;
61938   return 0;
61939 }
61940 _ACEOF
61941 rm -f conftest.$ac_objext conftest$ac_exeext
61942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61943   (eval $ac_link) 2>conftest.er1
61944   ac_status=$?
61945   grep -v '^ *+' conftest.er1 >conftest.err
61946   rm -f conftest.er1
61947   cat conftest.err >&5
61948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61949   (exit $ac_status); } &&
61950          { ac_try='test -z "$ac_c_werror_flag"
61951                          || test ! -s conftest.err'
61952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61953   (eval $ac_try) 2>&5
61954   ac_status=$?
61955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61956   (exit $ac_status); }; } &&
61957          { ac_try='test -s conftest$ac_exeext'
61958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61959   (eval $ac_try) 2>&5
61960   ac_status=$?
61961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61962   (exit $ac_status); }; }; then
61963   eval "$as_ac_var=yes"
61964 else
61965   echo "$as_me: failed program was:" >&5
61966 sed 's/^/| /' conftest.$ac_ext >&5
61967
61968 eval "$as_ac_var=no"
61969 fi
61970 rm -f conftest.err conftest.$ac_objext \
61971       conftest$ac_exeext conftest.$ac_ext
61972 fi
61973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61975 if test `eval echo '${'$as_ac_var'}'` = yes; then
61976   cat >>confdefs.h <<_ACEOF
61977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61978 _ACEOF
61979
61980 fi
61981 done
61982
61983     fi
61984   fi
61985
61986
61987
61988
61989
61990
61991   echo "$as_me:$LINENO: checking for log10f declaration" >&5
61992 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
61993   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61994     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
61995   echo $ECHO_N "(cached) $ECHO_C" >&6
61996 else
61997
61998
61999
62000       ac_ext=cc
62001 ac_cpp='$CXXCPP $CPPFLAGS'
62002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62005
62006       cat >conftest.$ac_ext <<_ACEOF
62007 /* confdefs.h.  */
62008 _ACEOF
62009 cat confdefs.h >>conftest.$ac_ext
62010 cat >>conftest.$ac_ext <<_ACEOF
62011 /* end confdefs.h.  */
62012 #include <math.h>
62013                       #ifdef HAVE_IEEEFP_H
62014                       #include <ieeefp.h>
62015                       #endif
62016
62017 int
62018 main ()
62019 {
62020  log10f(0);
62021   ;
62022   return 0;
62023 }
62024 _ACEOF
62025 rm -f conftest.$ac_objext
62026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62027   (eval $ac_compile) 2>conftest.er1
62028   ac_status=$?
62029   grep -v '^ *+' conftest.er1 >conftest.err
62030   rm -f conftest.er1
62031   cat conftest.err >&5
62032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62033   (exit $ac_status); } &&
62034          { ac_try='test -z "$ac_cxx_werror_flag"
62035                          || test ! -s conftest.err'
62036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62037   (eval $ac_try) 2>&5
62038   ac_status=$?
62039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62040   (exit $ac_status); }; } &&
62041          { ac_try='test -s conftest.$ac_objext'
62042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62043   (eval $ac_try) 2>&5
62044   ac_status=$?
62045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62046   (exit $ac_status); }; }; then
62047   glibcxx_cv_func_log10f_use=yes
62048 else
62049   echo "$as_me: failed program was:" >&5
62050 sed 's/^/| /' conftest.$ac_ext >&5
62051
62052 glibcxx_cv_func_log10f_use=no
62053 fi
62054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62055       ac_ext=c
62056 ac_cpp='$CPP $CPPFLAGS'
62057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62060
62061
62062 fi
62063
62064   fi
62065   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
62066 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
62067
62068   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62069
62070 for ac_func in log10f
62071 do
62072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62073 echo "$as_me:$LINENO: checking for $ac_func" >&5
62074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62075 if eval "test \"\${$as_ac_var+set}\" = set"; then
62076   echo $ECHO_N "(cached) $ECHO_C" >&6
62077 else
62078   if test x$gcc_no_link = xyes; then
62079   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62081    { (exit 1); exit 1; }; }
62082 fi
62083 cat >conftest.$ac_ext <<_ACEOF
62084 /* confdefs.h.  */
62085 _ACEOF
62086 cat confdefs.h >>conftest.$ac_ext
62087 cat >>conftest.$ac_ext <<_ACEOF
62088 /* end confdefs.h.  */
62089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62090    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62091 #define $ac_func innocuous_$ac_func
62092
62093 /* System header to define __stub macros and hopefully few prototypes,
62094     which can conflict with char $ac_func (); below.
62095     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62096     <limits.h> exists even on freestanding compilers.  */
62097
62098 #ifdef __STDC__
62099 # include <limits.h>
62100 #else
62101 # include <assert.h>
62102 #endif
62103
62104 #undef $ac_func
62105
62106 /* Override any gcc2 internal prototype to avoid an error.  */
62107 #ifdef __cplusplus
62108 extern "C"
62109 {
62110 #endif
62111 /* We use char because int might match the return type of a gcc2
62112    builtin and then its argument prototype would still apply.  */
62113 char $ac_func ();
62114 /* The GNU C library defines this for functions which it implements
62115     to always fail with ENOSYS.  Some functions are actually named
62116     something starting with __ and the normal name is an alias.  */
62117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62118 choke me
62119 #else
62120 char (*f) () = $ac_func;
62121 #endif
62122 #ifdef __cplusplus
62123 }
62124 #endif
62125
62126 int
62127 main ()
62128 {
62129 return f != $ac_func;
62130   ;
62131   return 0;
62132 }
62133 _ACEOF
62134 rm -f conftest.$ac_objext conftest$ac_exeext
62135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62136   (eval $ac_link) 2>conftest.er1
62137   ac_status=$?
62138   grep -v '^ *+' conftest.er1 >conftest.err
62139   rm -f conftest.er1
62140   cat conftest.err >&5
62141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62142   (exit $ac_status); } &&
62143          { ac_try='test -z "$ac_c_werror_flag"
62144                          || test ! -s conftest.err'
62145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62146   (eval $ac_try) 2>&5
62147   ac_status=$?
62148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62149   (exit $ac_status); }; } &&
62150          { ac_try='test -s conftest$ac_exeext'
62151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62152   (eval $ac_try) 2>&5
62153   ac_status=$?
62154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62155   (exit $ac_status); }; }; then
62156   eval "$as_ac_var=yes"
62157 else
62158   echo "$as_me: failed program was:" >&5
62159 sed 's/^/| /' conftest.$ac_ext >&5
62160
62161 eval "$as_ac_var=no"
62162 fi
62163 rm -f conftest.err conftest.$ac_objext \
62164       conftest$ac_exeext conftest.$ac_ext
62165 fi
62166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62168 if test `eval echo '${'$as_ac_var'}'` = yes; then
62169   cat >>confdefs.h <<_ACEOF
62170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62171 _ACEOF
62172
62173 fi
62174 done
62175
62176   else
62177
62178   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
62179 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
62180   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62181     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
62182   echo $ECHO_N "(cached) $ECHO_C" >&6
62183 else
62184
62185
62186
62187       ac_ext=cc
62188 ac_cpp='$CXXCPP $CPPFLAGS'
62189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62192
62193       cat >conftest.$ac_ext <<_ACEOF
62194 /* confdefs.h.  */
62195 _ACEOF
62196 cat confdefs.h >>conftest.$ac_ext
62197 cat >>conftest.$ac_ext <<_ACEOF
62198 /* end confdefs.h.  */
62199 #include <math.h>
62200                       #ifdef HAVE_IEEEFP_H
62201                       #include <ieeefp.h>
62202                       #endif
62203
62204 int
62205 main ()
62206 {
62207  _log10f(0);
62208   ;
62209   return 0;
62210 }
62211 _ACEOF
62212 rm -f conftest.$ac_objext
62213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62214   (eval $ac_compile) 2>conftest.er1
62215   ac_status=$?
62216   grep -v '^ *+' conftest.er1 >conftest.err
62217   rm -f conftest.er1
62218   cat conftest.err >&5
62219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62220   (exit $ac_status); } &&
62221          { ac_try='test -z "$ac_cxx_werror_flag"
62222                          || test ! -s conftest.err'
62223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62224   (eval $ac_try) 2>&5
62225   ac_status=$?
62226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62227   (exit $ac_status); }; } &&
62228          { ac_try='test -s conftest.$ac_objext'
62229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62230   (eval $ac_try) 2>&5
62231   ac_status=$?
62232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62233   (exit $ac_status); }; }; then
62234   glibcxx_cv_func__log10f_use=yes
62235 else
62236   echo "$as_me: failed program was:" >&5
62237 sed 's/^/| /' conftest.$ac_ext >&5
62238
62239 glibcxx_cv_func__log10f_use=no
62240 fi
62241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62242       ac_ext=c
62243 ac_cpp='$CPP $CPPFLAGS'
62244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62247
62248
62249 fi
62250
62251   fi
62252   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
62253 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
62254
62255     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62256
62257 for ac_func in _log10f
62258 do
62259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62260 echo "$as_me:$LINENO: checking for $ac_func" >&5
62261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62262 if eval "test \"\${$as_ac_var+set}\" = set"; then
62263   echo $ECHO_N "(cached) $ECHO_C" >&6
62264 else
62265   if test x$gcc_no_link = xyes; then
62266   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62268    { (exit 1); exit 1; }; }
62269 fi
62270 cat >conftest.$ac_ext <<_ACEOF
62271 /* confdefs.h.  */
62272 _ACEOF
62273 cat confdefs.h >>conftest.$ac_ext
62274 cat >>conftest.$ac_ext <<_ACEOF
62275 /* end confdefs.h.  */
62276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62277    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62278 #define $ac_func innocuous_$ac_func
62279
62280 /* System header to define __stub macros and hopefully few prototypes,
62281     which can conflict with char $ac_func (); below.
62282     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62283     <limits.h> exists even on freestanding compilers.  */
62284
62285 #ifdef __STDC__
62286 # include <limits.h>
62287 #else
62288 # include <assert.h>
62289 #endif
62290
62291 #undef $ac_func
62292
62293 /* Override any gcc2 internal prototype to avoid an error.  */
62294 #ifdef __cplusplus
62295 extern "C"
62296 {
62297 #endif
62298 /* We use char because int might match the return type of a gcc2
62299    builtin and then its argument prototype would still apply.  */
62300 char $ac_func ();
62301 /* The GNU C library defines this for functions which it implements
62302     to always fail with ENOSYS.  Some functions are actually named
62303     something starting with __ and the normal name is an alias.  */
62304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62305 choke me
62306 #else
62307 char (*f) () = $ac_func;
62308 #endif
62309 #ifdef __cplusplus
62310 }
62311 #endif
62312
62313 int
62314 main ()
62315 {
62316 return f != $ac_func;
62317   ;
62318   return 0;
62319 }
62320 _ACEOF
62321 rm -f conftest.$ac_objext conftest$ac_exeext
62322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62323   (eval $ac_link) 2>conftest.er1
62324   ac_status=$?
62325   grep -v '^ *+' conftest.er1 >conftest.err
62326   rm -f conftest.er1
62327   cat conftest.err >&5
62328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62329   (exit $ac_status); } &&
62330          { ac_try='test -z "$ac_c_werror_flag"
62331                          || test ! -s conftest.err'
62332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62333   (eval $ac_try) 2>&5
62334   ac_status=$?
62335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62336   (exit $ac_status); }; } &&
62337          { ac_try='test -s conftest$ac_exeext'
62338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62339   (eval $ac_try) 2>&5
62340   ac_status=$?
62341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62342   (exit $ac_status); }; }; then
62343   eval "$as_ac_var=yes"
62344 else
62345   echo "$as_me: failed program was:" >&5
62346 sed 's/^/| /' conftest.$ac_ext >&5
62347
62348 eval "$as_ac_var=no"
62349 fi
62350 rm -f conftest.err conftest.$ac_objext \
62351       conftest$ac_exeext conftest.$ac_ext
62352 fi
62353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62355 if test `eval echo '${'$as_ac_var'}'` = yes; then
62356   cat >>confdefs.h <<_ACEOF
62357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62358 _ACEOF
62359
62360 fi
62361 done
62362
62363     fi
62364   fi
62365
62366
62367
62368
62369
62370
62371   echo "$as_me:$LINENO: checking for modff declaration" >&5
62372 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
62373   if test x${glibcxx_cv_func_modff_use+set} != xset; then
62374     if test "${glibcxx_cv_func_modff_use+set}" = set; then
62375   echo $ECHO_N "(cached) $ECHO_C" >&6
62376 else
62377
62378
62379
62380       ac_ext=cc
62381 ac_cpp='$CXXCPP $CPPFLAGS'
62382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62385
62386       cat >conftest.$ac_ext <<_ACEOF
62387 /* confdefs.h.  */
62388 _ACEOF
62389 cat confdefs.h >>conftest.$ac_ext
62390 cat >>conftest.$ac_ext <<_ACEOF
62391 /* end confdefs.h.  */
62392 #include <math.h>
62393 int
62394 main ()
62395 {
62396  modff(0, 0);
62397   ;
62398   return 0;
62399 }
62400 _ACEOF
62401 rm -f conftest.$ac_objext
62402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62403   (eval $ac_compile) 2>conftest.er1
62404   ac_status=$?
62405   grep -v '^ *+' conftest.er1 >conftest.err
62406   rm -f conftest.er1
62407   cat conftest.err >&5
62408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62409   (exit $ac_status); } &&
62410          { ac_try='test -z "$ac_cxx_werror_flag"
62411                          || test ! -s conftest.err'
62412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62413   (eval $ac_try) 2>&5
62414   ac_status=$?
62415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62416   (exit $ac_status); }; } &&
62417          { ac_try='test -s conftest.$ac_objext'
62418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62419   (eval $ac_try) 2>&5
62420   ac_status=$?
62421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62422   (exit $ac_status); }; }; then
62423   glibcxx_cv_func_modff_use=yes
62424 else
62425   echo "$as_me: failed program was:" >&5
62426 sed 's/^/| /' conftest.$ac_ext >&5
62427
62428 glibcxx_cv_func_modff_use=no
62429 fi
62430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62431       ac_ext=c
62432 ac_cpp='$CPP $CPPFLAGS'
62433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62436
62437
62438 fi
62439
62440   fi
62441   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
62442 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
62443
62444   if test x$glibcxx_cv_func_modff_use = x"yes"; then
62445
62446 for ac_func in modff
62447 do
62448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62449 echo "$as_me:$LINENO: checking for $ac_func" >&5
62450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62451 if eval "test \"\${$as_ac_var+set}\" = set"; then
62452   echo $ECHO_N "(cached) $ECHO_C" >&6
62453 else
62454   if test x$gcc_no_link = xyes; then
62455   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62457    { (exit 1); exit 1; }; }
62458 fi
62459 cat >conftest.$ac_ext <<_ACEOF
62460 /* confdefs.h.  */
62461 _ACEOF
62462 cat confdefs.h >>conftest.$ac_ext
62463 cat >>conftest.$ac_ext <<_ACEOF
62464 /* end confdefs.h.  */
62465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62466    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62467 #define $ac_func innocuous_$ac_func
62468
62469 /* System header to define __stub macros and hopefully few prototypes,
62470     which can conflict with char $ac_func (); below.
62471     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62472     <limits.h> exists even on freestanding compilers.  */
62473
62474 #ifdef __STDC__
62475 # include <limits.h>
62476 #else
62477 # include <assert.h>
62478 #endif
62479
62480 #undef $ac_func
62481
62482 /* Override any gcc2 internal prototype to avoid an error.  */
62483 #ifdef __cplusplus
62484 extern "C"
62485 {
62486 #endif
62487 /* We use char because int might match the return type of a gcc2
62488    builtin and then its argument prototype would still apply.  */
62489 char $ac_func ();
62490 /* The GNU C library defines this for functions which it implements
62491     to always fail with ENOSYS.  Some functions are actually named
62492     something starting with __ and the normal name is an alias.  */
62493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62494 choke me
62495 #else
62496 char (*f) () = $ac_func;
62497 #endif
62498 #ifdef __cplusplus
62499 }
62500 #endif
62501
62502 int
62503 main ()
62504 {
62505 return f != $ac_func;
62506   ;
62507   return 0;
62508 }
62509 _ACEOF
62510 rm -f conftest.$ac_objext conftest$ac_exeext
62511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62512   (eval $ac_link) 2>conftest.er1
62513   ac_status=$?
62514   grep -v '^ *+' conftest.er1 >conftest.err
62515   rm -f conftest.er1
62516   cat conftest.err >&5
62517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62518   (exit $ac_status); } &&
62519          { ac_try='test -z "$ac_c_werror_flag"
62520                          || test ! -s conftest.err'
62521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62522   (eval $ac_try) 2>&5
62523   ac_status=$?
62524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62525   (exit $ac_status); }; } &&
62526          { ac_try='test -s conftest$ac_exeext'
62527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62528   (eval $ac_try) 2>&5
62529   ac_status=$?
62530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62531   (exit $ac_status); }; }; then
62532   eval "$as_ac_var=yes"
62533 else
62534   echo "$as_me: failed program was:" >&5
62535 sed 's/^/| /' conftest.$ac_ext >&5
62536
62537 eval "$as_ac_var=no"
62538 fi
62539 rm -f conftest.err conftest.$ac_objext \
62540       conftest$ac_exeext conftest.$ac_ext
62541 fi
62542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62544 if test `eval echo '${'$as_ac_var'}'` = yes; then
62545   cat >>confdefs.h <<_ACEOF
62546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62547 _ACEOF
62548
62549 fi
62550 done
62551
62552   else
62553
62554   echo "$as_me:$LINENO: checking for _modff declaration" >&5
62555 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
62556   if test x${glibcxx_cv_func__modff_use+set} != xset; then
62557     if test "${glibcxx_cv_func__modff_use+set}" = set; then
62558   echo $ECHO_N "(cached) $ECHO_C" >&6
62559 else
62560
62561
62562
62563       ac_ext=cc
62564 ac_cpp='$CXXCPP $CPPFLAGS'
62565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62568
62569       cat >conftest.$ac_ext <<_ACEOF
62570 /* confdefs.h.  */
62571 _ACEOF
62572 cat confdefs.h >>conftest.$ac_ext
62573 cat >>conftest.$ac_ext <<_ACEOF
62574 /* end confdefs.h.  */
62575 #include <math.h>
62576 int
62577 main ()
62578 {
62579  _modff(0, 0);
62580   ;
62581   return 0;
62582 }
62583 _ACEOF
62584 rm -f conftest.$ac_objext
62585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62586   (eval $ac_compile) 2>conftest.er1
62587   ac_status=$?
62588   grep -v '^ *+' conftest.er1 >conftest.err
62589   rm -f conftest.er1
62590   cat conftest.err >&5
62591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62592   (exit $ac_status); } &&
62593          { ac_try='test -z "$ac_cxx_werror_flag"
62594                          || test ! -s conftest.err'
62595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62596   (eval $ac_try) 2>&5
62597   ac_status=$?
62598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62599   (exit $ac_status); }; } &&
62600          { ac_try='test -s conftest.$ac_objext'
62601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62602   (eval $ac_try) 2>&5
62603   ac_status=$?
62604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62605   (exit $ac_status); }; }; then
62606   glibcxx_cv_func__modff_use=yes
62607 else
62608   echo "$as_me: failed program was:" >&5
62609 sed 's/^/| /' conftest.$ac_ext >&5
62610
62611 glibcxx_cv_func__modff_use=no
62612 fi
62613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62614       ac_ext=c
62615 ac_cpp='$CPP $CPPFLAGS'
62616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62619
62620
62621 fi
62622
62623   fi
62624   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
62625 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
62626
62627     if test x$glibcxx_cv_func__modff_use = x"yes"; then
62628
62629 for ac_func in _modff
62630 do
62631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62632 echo "$as_me:$LINENO: checking for $ac_func" >&5
62633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62634 if eval "test \"\${$as_ac_var+set}\" = set"; then
62635   echo $ECHO_N "(cached) $ECHO_C" >&6
62636 else
62637   if test x$gcc_no_link = xyes; then
62638   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62640    { (exit 1); exit 1; }; }
62641 fi
62642 cat >conftest.$ac_ext <<_ACEOF
62643 /* confdefs.h.  */
62644 _ACEOF
62645 cat confdefs.h >>conftest.$ac_ext
62646 cat >>conftest.$ac_ext <<_ACEOF
62647 /* end confdefs.h.  */
62648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62649    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62650 #define $ac_func innocuous_$ac_func
62651
62652 /* System header to define __stub macros and hopefully few prototypes,
62653     which can conflict with char $ac_func (); below.
62654     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62655     <limits.h> exists even on freestanding compilers.  */
62656
62657 #ifdef __STDC__
62658 # include <limits.h>
62659 #else
62660 # include <assert.h>
62661 #endif
62662
62663 #undef $ac_func
62664
62665 /* Override any gcc2 internal prototype to avoid an error.  */
62666 #ifdef __cplusplus
62667 extern "C"
62668 {
62669 #endif
62670 /* We use char because int might match the return type of a gcc2
62671    builtin and then its argument prototype would still apply.  */
62672 char $ac_func ();
62673 /* The GNU C library defines this for functions which it implements
62674     to always fail with ENOSYS.  Some functions are actually named
62675     something starting with __ and the normal name is an alias.  */
62676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62677 choke me
62678 #else
62679 char (*f) () = $ac_func;
62680 #endif
62681 #ifdef __cplusplus
62682 }
62683 #endif
62684
62685 int
62686 main ()
62687 {
62688 return f != $ac_func;
62689   ;
62690   return 0;
62691 }
62692 _ACEOF
62693 rm -f conftest.$ac_objext conftest$ac_exeext
62694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62695   (eval $ac_link) 2>conftest.er1
62696   ac_status=$?
62697   grep -v '^ *+' conftest.er1 >conftest.err
62698   rm -f conftest.er1
62699   cat conftest.err >&5
62700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62701   (exit $ac_status); } &&
62702          { ac_try='test -z "$ac_c_werror_flag"
62703                          || test ! -s conftest.err'
62704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62705   (eval $ac_try) 2>&5
62706   ac_status=$?
62707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62708   (exit $ac_status); }; } &&
62709          { ac_try='test -s conftest$ac_exeext'
62710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62711   (eval $ac_try) 2>&5
62712   ac_status=$?
62713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62714   (exit $ac_status); }; }; then
62715   eval "$as_ac_var=yes"
62716 else
62717   echo "$as_me: failed program was:" >&5
62718 sed 's/^/| /' conftest.$ac_ext >&5
62719
62720 eval "$as_ac_var=no"
62721 fi
62722 rm -f conftest.err conftest.$ac_objext \
62723       conftest$ac_exeext conftest.$ac_ext
62724 fi
62725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62727 if test `eval echo '${'$as_ac_var'}'` = yes; then
62728   cat >>confdefs.h <<_ACEOF
62729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62730 _ACEOF
62731
62732 fi
62733 done
62734
62735     fi
62736   fi
62737
62738
62739
62740
62741
62742
62743   echo "$as_me:$LINENO: checking for modf declaration" >&5
62744 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
62745   if test x${glibcxx_cv_func_modf_use+set} != xset; then
62746     if test "${glibcxx_cv_func_modf_use+set}" = set; then
62747   echo $ECHO_N "(cached) $ECHO_C" >&6
62748 else
62749
62750
62751
62752       ac_ext=cc
62753 ac_cpp='$CXXCPP $CPPFLAGS'
62754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62757
62758       cat >conftest.$ac_ext <<_ACEOF
62759 /* confdefs.h.  */
62760 _ACEOF
62761 cat confdefs.h >>conftest.$ac_ext
62762 cat >>conftest.$ac_ext <<_ACEOF
62763 /* end confdefs.h.  */
62764 #include <math.h>
62765 int
62766 main ()
62767 {
62768  modf(0, 0);
62769   ;
62770   return 0;
62771 }
62772 _ACEOF
62773 rm -f conftest.$ac_objext
62774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62775   (eval $ac_compile) 2>conftest.er1
62776   ac_status=$?
62777   grep -v '^ *+' conftest.er1 >conftest.err
62778   rm -f conftest.er1
62779   cat conftest.err >&5
62780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62781   (exit $ac_status); } &&
62782          { ac_try='test -z "$ac_cxx_werror_flag"
62783                          || test ! -s conftest.err'
62784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62785   (eval $ac_try) 2>&5
62786   ac_status=$?
62787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62788   (exit $ac_status); }; } &&
62789          { ac_try='test -s conftest.$ac_objext'
62790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62791   (eval $ac_try) 2>&5
62792   ac_status=$?
62793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62794   (exit $ac_status); }; }; then
62795   glibcxx_cv_func_modf_use=yes
62796 else
62797   echo "$as_me: failed program was:" >&5
62798 sed 's/^/| /' conftest.$ac_ext >&5
62799
62800 glibcxx_cv_func_modf_use=no
62801 fi
62802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62803       ac_ext=c
62804 ac_cpp='$CPP $CPPFLAGS'
62805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62808
62809
62810 fi
62811
62812   fi
62813   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
62814 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
62815
62816   if test x$glibcxx_cv_func_modf_use = x"yes"; then
62817
62818 for ac_func in modf
62819 do
62820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62821 echo "$as_me:$LINENO: checking for $ac_func" >&5
62822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62823 if eval "test \"\${$as_ac_var+set}\" = set"; then
62824   echo $ECHO_N "(cached) $ECHO_C" >&6
62825 else
62826   if test x$gcc_no_link = xyes; then
62827   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62829    { (exit 1); exit 1; }; }
62830 fi
62831 cat >conftest.$ac_ext <<_ACEOF
62832 /* confdefs.h.  */
62833 _ACEOF
62834 cat confdefs.h >>conftest.$ac_ext
62835 cat >>conftest.$ac_ext <<_ACEOF
62836 /* end confdefs.h.  */
62837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62838    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62839 #define $ac_func innocuous_$ac_func
62840
62841 /* System header to define __stub macros and hopefully few prototypes,
62842     which can conflict with char $ac_func (); below.
62843     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62844     <limits.h> exists even on freestanding compilers.  */
62845
62846 #ifdef __STDC__
62847 # include <limits.h>
62848 #else
62849 # include <assert.h>
62850 #endif
62851
62852 #undef $ac_func
62853
62854 /* Override any gcc2 internal prototype to avoid an error.  */
62855 #ifdef __cplusplus
62856 extern "C"
62857 {
62858 #endif
62859 /* We use char because int might match the return type of a gcc2
62860    builtin and then its argument prototype would still apply.  */
62861 char $ac_func ();
62862 /* The GNU C library defines this for functions which it implements
62863     to always fail with ENOSYS.  Some functions are actually named
62864     something starting with __ and the normal name is an alias.  */
62865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62866 choke me
62867 #else
62868 char (*f) () = $ac_func;
62869 #endif
62870 #ifdef __cplusplus
62871 }
62872 #endif
62873
62874 int
62875 main ()
62876 {
62877 return f != $ac_func;
62878   ;
62879   return 0;
62880 }
62881 _ACEOF
62882 rm -f conftest.$ac_objext conftest$ac_exeext
62883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62884   (eval $ac_link) 2>conftest.er1
62885   ac_status=$?
62886   grep -v '^ *+' conftest.er1 >conftest.err
62887   rm -f conftest.er1
62888   cat conftest.err >&5
62889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62890   (exit $ac_status); } &&
62891          { ac_try='test -z "$ac_c_werror_flag"
62892                          || test ! -s conftest.err'
62893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62894   (eval $ac_try) 2>&5
62895   ac_status=$?
62896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62897   (exit $ac_status); }; } &&
62898          { ac_try='test -s conftest$ac_exeext'
62899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62900   (eval $ac_try) 2>&5
62901   ac_status=$?
62902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62903   (exit $ac_status); }; }; then
62904   eval "$as_ac_var=yes"
62905 else
62906   echo "$as_me: failed program was:" >&5
62907 sed 's/^/| /' conftest.$ac_ext >&5
62908
62909 eval "$as_ac_var=no"
62910 fi
62911 rm -f conftest.err conftest.$ac_objext \
62912       conftest$ac_exeext conftest.$ac_ext
62913 fi
62914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62916 if test `eval echo '${'$as_ac_var'}'` = yes; then
62917   cat >>confdefs.h <<_ACEOF
62918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62919 _ACEOF
62920
62921 fi
62922 done
62923
62924   else
62925
62926   echo "$as_me:$LINENO: checking for _modf declaration" >&5
62927 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
62928   if test x${glibcxx_cv_func__modf_use+set} != xset; then
62929     if test "${glibcxx_cv_func__modf_use+set}" = set; then
62930   echo $ECHO_N "(cached) $ECHO_C" >&6
62931 else
62932
62933
62934
62935       ac_ext=cc
62936 ac_cpp='$CXXCPP $CPPFLAGS'
62937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62940
62941       cat >conftest.$ac_ext <<_ACEOF
62942 /* confdefs.h.  */
62943 _ACEOF
62944 cat confdefs.h >>conftest.$ac_ext
62945 cat >>conftest.$ac_ext <<_ACEOF
62946 /* end confdefs.h.  */
62947 #include <math.h>
62948 int
62949 main ()
62950 {
62951  _modf(0, 0);
62952   ;
62953   return 0;
62954 }
62955 _ACEOF
62956 rm -f conftest.$ac_objext
62957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62958   (eval $ac_compile) 2>conftest.er1
62959   ac_status=$?
62960   grep -v '^ *+' conftest.er1 >conftest.err
62961   rm -f conftest.er1
62962   cat conftest.err >&5
62963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62964   (exit $ac_status); } &&
62965          { ac_try='test -z "$ac_cxx_werror_flag"
62966                          || test ! -s conftest.err'
62967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62968   (eval $ac_try) 2>&5
62969   ac_status=$?
62970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62971   (exit $ac_status); }; } &&
62972          { ac_try='test -s conftest.$ac_objext'
62973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62974   (eval $ac_try) 2>&5
62975   ac_status=$?
62976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62977   (exit $ac_status); }; }; then
62978   glibcxx_cv_func__modf_use=yes
62979 else
62980   echo "$as_me: failed program was:" >&5
62981 sed 's/^/| /' conftest.$ac_ext >&5
62982
62983 glibcxx_cv_func__modf_use=no
62984 fi
62985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62986       ac_ext=c
62987 ac_cpp='$CPP $CPPFLAGS'
62988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62991
62992
62993 fi
62994
62995   fi
62996   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
62997 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
62998
62999     if test x$glibcxx_cv_func__modf_use = x"yes"; then
63000
63001 for ac_func in _modf
63002 do
63003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63004 echo "$as_me:$LINENO: checking for $ac_func" >&5
63005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63006 if eval "test \"\${$as_ac_var+set}\" = set"; then
63007   echo $ECHO_N "(cached) $ECHO_C" >&6
63008 else
63009   if test x$gcc_no_link = xyes; then
63010   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63012    { (exit 1); exit 1; }; }
63013 fi
63014 cat >conftest.$ac_ext <<_ACEOF
63015 /* confdefs.h.  */
63016 _ACEOF
63017 cat confdefs.h >>conftest.$ac_ext
63018 cat >>conftest.$ac_ext <<_ACEOF
63019 /* end confdefs.h.  */
63020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63021    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63022 #define $ac_func innocuous_$ac_func
63023
63024 /* System header to define __stub macros and hopefully few prototypes,
63025     which can conflict with char $ac_func (); below.
63026     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63027     <limits.h> exists even on freestanding compilers.  */
63028
63029 #ifdef __STDC__
63030 # include <limits.h>
63031 #else
63032 # include <assert.h>
63033 #endif
63034
63035 #undef $ac_func
63036
63037 /* Override any gcc2 internal prototype to avoid an error.  */
63038 #ifdef __cplusplus
63039 extern "C"
63040 {
63041 #endif
63042 /* We use char because int might match the return type of a gcc2
63043    builtin and then its argument prototype would still apply.  */
63044 char $ac_func ();
63045 /* The GNU C library defines this for functions which it implements
63046     to always fail with ENOSYS.  Some functions are actually named
63047     something starting with __ and the normal name is an alias.  */
63048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63049 choke me
63050 #else
63051 char (*f) () = $ac_func;
63052 #endif
63053 #ifdef __cplusplus
63054 }
63055 #endif
63056
63057 int
63058 main ()
63059 {
63060 return f != $ac_func;
63061   ;
63062   return 0;
63063 }
63064 _ACEOF
63065 rm -f conftest.$ac_objext conftest$ac_exeext
63066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63067   (eval $ac_link) 2>conftest.er1
63068   ac_status=$?
63069   grep -v '^ *+' conftest.er1 >conftest.err
63070   rm -f conftest.er1
63071   cat conftest.err >&5
63072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63073   (exit $ac_status); } &&
63074          { ac_try='test -z "$ac_c_werror_flag"
63075                          || test ! -s conftest.err'
63076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63077   (eval $ac_try) 2>&5
63078   ac_status=$?
63079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63080   (exit $ac_status); }; } &&
63081          { ac_try='test -s conftest$ac_exeext'
63082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63083   (eval $ac_try) 2>&5
63084   ac_status=$?
63085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63086   (exit $ac_status); }; }; then
63087   eval "$as_ac_var=yes"
63088 else
63089   echo "$as_me: failed program was:" >&5
63090 sed 's/^/| /' conftest.$ac_ext >&5
63091
63092 eval "$as_ac_var=no"
63093 fi
63094 rm -f conftest.err conftest.$ac_objext \
63095       conftest$ac_exeext conftest.$ac_ext
63096 fi
63097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63099 if test `eval echo '${'$as_ac_var'}'` = yes; then
63100   cat >>confdefs.h <<_ACEOF
63101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63102 _ACEOF
63103
63104 fi
63105 done
63106
63107     fi
63108   fi
63109
63110
63111
63112
63113
63114
63115   echo "$as_me:$LINENO: checking for powf declaration" >&5
63116 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
63117   if test x${glibcxx_cv_func_powf_use+set} != xset; then
63118     if test "${glibcxx_cv_func_powf_use+set}" = set; then
63119   echo $ECHO_N "(cached) $ECHO_C" >&6
63120 else
63121
63122
63123
63124       ac_ext=cc
63125 ac_cpp='$CXXCPP $CPPFLAGS'
63126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63129
63130       cat >conftest.$ac_ext <<_ACEOF
63131 /* confdefs.h.  */
63132 _ACEOF
63133 cat confdefs.h >>conftest.$ac_ext
63134 cat >>conftest.$ac_ext <<_ACEOF
63135 /* end confdefs.h.  */
63136 #include <math.h>
63137 int
63138 main ()
63139 {
63140  powf(0, 0);
63141   ;
63142   return 0;
63143 }
63144 _ACEOF
63145 rm -f conftest.$ac_objext
63146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63147   (eval $ac_compile) 2>conftest.er1
63148   ac_status=$?
63149   grep -v '^ *+' conftest.er1 >conftest.err
63150   rm -f conftest.er1
63151   cat conftest.err >&5
63152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63153   (exit $ac_status); } &&
63154          { ac_try='test -z "$ac_cxx_werror_flag"
63155                          || test ! -s conftest.err'
63156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63157   (eval $ac_try) 2>&5
63158   ac_status=$?
63159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63160   (exit $ac_status); }; } &&
63161          { ac_try='test -s conftest.$ac_objext'
63162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63163   (eval $ac_try) 2>&5
63164   ac_status=$?
63165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63166   (exit $ac_status); }; }; then
63167   glibcxx_cv_func_powf_use=yes
63168 else
63169   echo "$as_me: failed program was:" >&5
63170 sed 's/^/| /' conftest.$ac_ext >&5
63171
63172 glibcxx_cv_func_powf_use=no
63173 fi
63174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63175       ac_ext=c
63176 ac_cpp='$CPP $CPPFLAGS'
63177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63180
63181
63182 fi
63183
63184   fi
63185   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
63186 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
63187
63188   if test x$glibcxx_cv_func_powf_use = x"yes"; then
63189
63190 for ac_func in powf
63191 do
63192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63193 echo "$as_me:$LINENO: checking for $ac_func" >&5
63194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63195 if eval "test \"\${$as_ac_var+set}\" = set"; then
63196   echo $ECHO_N "(cached) $ECHO_C" >&6
63197 else
63198   if test x$gcc_no_link = xyes; then
63199   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63201    { (exit 1); exit 1; }; }
63202 fi
63203 cat >conftest.$ac_ext <<_ACEOF
63204 /* confdefs.h.  */
63205 _ACEOF
63206 cat confdefs.h >>conftest.$ac_ext
63207 cat >>conftest.$ac_ext <<_ACEOF
63208 /* end confdefs.h.  */
63209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63210    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63211 #define $ac_func innocuous_$ac_func
63212
63213 /* System header to define __stub macros and hopefully few prototypes,
63214     which can conflict with char $ac_func (); below.
63215     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63216     <limits.h> exists even on freestanding compilers.  */
63217
63218 #ifdef __STDC__
63219 # include <limits.h>
63220 #else
63221 # include <assert.h>
63222 #endif
63223
63224 #undef $ac_func
63225
63226 /* Override any gcc2 internal prototype to avoid an error.  */
63227 #ifdef __cplusplus
63228 extern "C"
63229 {
63230 #endif
63231 /* We use char because int might match the return type of a gcc2
63232    builtin and then its argument prototype would still apply.  */
63233 char $ac_func ();
63234 /* The GNU C library defines this for functions which it implements
63235     to always fail with ENOSYS.  Some functions are actually named
63236     something starting with __ and the normal name is an alias.  */
63237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63238 choke me
63239 #else
63240 char (*f) () = $ac_func;
63241 #endif
63242 #ifdef __cplusplus
63243 }
63244 #endif
63245
63246 int
63247 main ()
63248 {
63249 return f != $ac_func;
63250   ;
63251   return 0;
63252 }
63253 _ACEOF
63254 rm -f conftest.$ac_objext conftest$ac_exeext
63255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63256   (eval $ac_link) 2>conftest.er1
63257   ac_status=$?
63258   grep -v '^ *+' conftest.er1 >conftest.err
63259   rm -f conftest.er1
63260   cat conftest.err >&5
63261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63262   (exit $ac_status); } &&
63263          { ac_try='test -z "$ac_c_werror_flag"
63264                          || test ! -s conftest.err'
63265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63266   (eval $ac_try) 2>&5
63267   ac_status=$?
63268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63269   (exit $ac_status); }; } &&
63270          { ac_try='test -s conftest$ac_exeext'
63271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63272   (eval $ac_try) 2>&5
63273   ac_status=$?
63274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63275   (exit $ac_status); }; }; then
63276   eval "$as_ac_var=yes"
63277 else
63278   echo "$as_me: failed program was:" >&5
63279 sed 's/^/| /' conftest.$ac_ext >&5
63280
63281 eval "$as_ac_var=no"
63282 fi
63283 rm -f conftest.err conftest.$ac_objext \
63284       conftest$ac_exeext conftest.$ac_ext
63285 fi
63286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63288 if test `eval echo '${'$as_ac_var'}'` = yes; then
63289   cat >>confdefs.h <<_ACEOF
63290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63291 _ACEOF
63292
63293 fi
63294 done
63295
63296   else
63297
63298   echo "$as_me:$LINENO: checking for _powf declaration" >&5
63299 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
63300   if test x${glibcxx_cv_func__powf_use+set} != xset; then
63301     if test "${glibcxx_cv_func__powf_use+set}" = set; then
63302   echo $ECHO_N "(cached) $ECHO_C" >&6
63303 else
63304
63305
63306
63307       ac_ext=cc
63308 ac_cpp='$CXXCPP $CPPFLAGS'
63309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63312
63313       cat >conftest.$ac_ext <<_ACEOF
63314 /* confdefs.h.  */
63315 _ACEOF
63316 cat confdefs.h >>conftest.$ac_ext
63317 cat >>conftest.$ac_ext <<_ACEOF
63318 /* end confdefs.h.  */
63319 #include <math.h>
63320 int
63321 main ()
63322 {
63323  _powf(0, 0);
63324   ;
63325   return 0;
63326 }
63327 _ACEOF
63328 rm -f conftest.$ac_objext
63329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63330   (eval $ac_compile) 2>conftest.er1
63331   ac_status=$?
63332   grep -v '^ *+' conftest.er1 >conftest.err
63333   rm -f conftest.er1
63334   cat conftest.err >&5
63335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63336   (exit $ac_status); } &&
63337          { ac_try='test -z "$ac_cxx_werror_flag"
63338                          || test ! -s conftest.err'
63339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63340   (eval $ac_try) 2>&5
63341   ac_status=$?
63342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63343   (exit $ac_status); }; } &&
63344          { ac_try='test -s conftest.$ac_objext'
63345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63346   (eval $ac_try) 2>&5
63347   ac_status=$?
63348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63349   (exit $ac_status); }; }; then
63350   glibcxx_cv_func__powf_use=yes
63351 else
63352   echo "$as_me: failed program was:" >&5
63353 sed 's/^/| /' conftest.$ac_ext >&5
63354
63355 glibcxx_cv_func__powf_use=no
63356 fi
63357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63358       ac_ext=c
63359 ac_cpp='$CPP $CPPFLAGS'
63360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63363
63364
63365 fi
63366
63367   fi
63368   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
63369 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
63370
63371     if test x$glibcxx_cv_func__powf_use = x"yes"; then
63372
63373 for ac_func in _powf
63374 do
63375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63376 echo "$as_me:$LINENO: checking for $ac_func" >&5
63377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63378 if eval "test \"\${$as_ac_var+set}\" = set"; then
63379   echo $ECHO_N "(cached) $ECHO_C" >&6
63380 else
63381   if test x$gcc_no_link = xyes; then
63382   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63384    { (exit 1); exit 1; }; }
63385 fi
63386 cat >conftest.$ac_ext <<_ACEOF
63387 /* confdefs.h.  */
63388 _ACEOF
63389 cat confdefs.h >>conftest.$ac_ext
63390 cat >>conftest.$ac_ext <<_ACEOF
63391 /* end confdefs.h.  */
63392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63393    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63394 #define $ac_func innocuous_$ac_func
63395
63396 /* System header to define __stub macros and hopefully few prototypes,
63397     which can conflict with char $ac_func (); below.
63398     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63399     <limits.h> exists even on freestanding compilers.  */
63400
63401 #ifdef __STDC__
63402 # include <limits.h>
63403 #else
63404 # include <assert.h>
63405 #endif
63406
63407 #undef $ac_func
63408
63409 /* Override any gcc2 internal prototype to avoid an error.  */
63410 #ifdef __cplusplus
63411 extern "C"
63412 {
63413 #endif
63414 /* We use char because int might match the return type of a gcc2
63415    builtin and then its argument prototype would still apply.  */
63416 char $ac_func ();
63417 /* The GNU C library defines this for functions which it implements
63418     to always fail with ENOSYS.  Some functions are actually named
63419     something starting with __ and the normal name is an alias.  */
63420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63421 choke me
63422 #else
63423 char (*f) () = $ac_func;
63424 #endif
63425 #ifdef __cplusplus
63426 }
63427 #endif
63428
63429 int
63430 main ()
63431 {
63432 return f != $ac_func;
63433   ;
63434   return 0;
63435 }
63436 _ACEOF
63437 rm -f conftest.$ac_objext conftest$ac_exeext
63438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63439   (eval $ac_link) 2>conftest.er1
63440   ac_status=$?
63441   grep -v '^ *+' conftest.er1 >conftest.err
63442   rm -f conftest.er1
63443   cat conftest.err >&5
63444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63445   (exit $ac_status); } &&
63446          { ac_try='test -z "$ac_c_werror_flag"
63447                          || test ! -s conftest.err'
63448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63449   (eval $ac_try) 2>&5
63450   ac_status=$?
63451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63452   (exit $ac_status); }; } &&
63453          { ac_try='test -s conftest$ac_exeext'
63454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63455   (eval $ac_try) 2>&5
63456   ac_status=$?
63457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63458   (exit $ac_status); }; }; then
63459   eval "$as_ac_var=yes"
63460 else
63461   echo "$as_me: failed program was:" >&5
63462 sed 's/^/| /' conftest.$ac_ext >&5
63463
63464 eval "$as_ac_var=no"
63465 fi
63466 rm -f conftest.err conftest.$ac_objext \
63467       conftest$ac_exeext conftest.$ac_ext
63468 fi
63469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63471 if test `eval echo '${'$as_ac_var'}'` = yes; then
63472   cat >>confdefs.h <<_ACEOF
63473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63474 _ACEOF
63475
63476 fi
63477 done
63478
63479     fi
63480   fi
63481
63482
63483
63484
63485
63486
63487   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
63488 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
63489   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63490     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
63491   echo $ECHO_N "(cached) $ECHO_C" >&6
63492 else
63493
63494
63495
63496       ac_ext=cc
63497 ac_cpp='$CXXCPP $CPPFLAGS'
63498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63501
63502       cat >conftest.$ac_ext <<_ACEOF
63503 /* confdefs.h.  */
63504 _ACEOF
63505 cat confdefs.h >>conftest.$ac_ext
63506 cat >>conftest.$ac_ext <<_ACEOF
63507 /* end confdefs.h.  */
63508 #include <math.h>
63509                       #ifdef HAVE_IEEEFP_H
63510                       #include <ieeefp.h>
63511                       #endif
63512
63513 int
63514 main ()
63515 {
63516  sqrtf(0);
63517   ;
63518   return 0;
63519 }
63520 _ACEOF
63521 rm -f conftest.$ac_objext
63522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63523   (eval $ac_compile) 2>conftest.er1
63524   ac_status=$?
63525   grep -v '^ *+' conftest.er1 >conftest.err
63526   rm -f conftest.er1
63527   cat conftest.err >&5
63528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63529   (exit $ac_status); } &&
63530          { ac_try='test -z "$ac_cxx_werror_flag"
63531                          || test ! -s conftest.err'
63532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63533   (eval $ac_try) 2>&5
63534   ac_status=$?
63535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63536   (exit $ac_status); }; } &&
63537          { ac_try='test -s conftest.$ac_objext'
63538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63539   (eval $ac_try) 2>&5
63540   ac_status=$?
63541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63542   (exit $ac_status); }; }; then
63543   glibcxx_cv_func_sqrtf_use=yes
63544 else
63545   echo "$as_me: failed program was:" >&5
63546 sed 's/^/| /' conftest.$ac_ext >&5
63547
63548 glibcxx_cv_func_sqrtf_use=no
63549 fi
63550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63551       ac_ext=c
63552 ac_cpp='$CPP $CPPFLAGS'
63553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63556
63557
63558 fi
63559
63560   fi
63561   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
63562 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
63563
63564   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63565
63566 for ac_func in sqrtf
63567 do
63568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63569 echo "$as_me:$LINENO: checking for $ac_func" >&5
63570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63571 if eval "test \"\${$as_ac_var+set}\" = set"; then
63572   echo $ECHO_N "(cached) $ECHO_C" >&6
63573 else
63574   if test x$gcc_no_link = xyes; then
63575   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63577    { (exit 1); exit 1; }; }
63578 fi
63579 cat >conftest.$ac_ext <<_ACEOF
63580 /* confdefs.h.  */
63581 _ACEOF
63582 cat confdefs.h >>conftest.$ac_ext
63583 cat >>conftest.$ac_ext <<_ACEOF
63584 /* end confdefs.h.  */
63585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63586    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63587 #define $ac_func innocuous_$ac_func
63588
63589 /* System header to define __stub macros and hopefully few prototypes,
63590     which can conflict with char $ac_func (); below.
63591     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63592     <limits.h> exists even on freestanding compilers.  */
63593
63594 #ifdef __STDC__
63595 # include <limits.h>
63596 #else
63597 # include <assert.h>
63598 #endif
63599
63600 #undef $ac_func
63601
63602 /* Override any gcc2 internal prototype to avoid an error.  */
63603 #ifdef __cplusplus
63604 extern "C"
63605 {
63606 #endif
63607 /* We use char because int might match the return type of a gcc2
63608    builtin and then its argument prototype would still apply.  */
63609 char $ac_func ();
63610 /* The GNU C library defines this for functions which it implements
63611     to always fail with ENOSYS.  Some functions are actually named
63612     something starting with __ and the normal name is an alias.  */
63613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63614 choke me
63615 #else
63616 char (*f) () = $ac_func;
63617 #endif
63618 #ifdef __cplusplus
63619 }
63620 #endif
63621
63622 int
63623 main ()
63624 {
63625 return f != $ac_func;
63626   ;
63627   return 0;
63628 }
63629 _ACEOF
63630 rm -f conftest.$ac_objext conftest$ac_exeext
63631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63632   (eval $ac_link) 2>conftest.er1
63633   ac_status=$?
63634   grep -v '^ *+' conftest.er1 >conftest.err
63635   rm -f conftest.er1
63636   cat conftest.err >&5
63637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63638   (exit $ac_status); } &&
63639          { ac_try='test -z "$ac_c_werror_flag"
63640                          || test ! -s conftest.err'
63641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63642   (eval $ac_try) 2>&5
63643   ac_status=$?
63644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63645   (exit $ac_status); }; } &&
63646          { ac_try='test -s conftest$ac_exeext'
63647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63648   (eval $ac_try) 2>&5
63649   ac_status=$?
63650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63651   (exit $ac_status); }; }; then
63652   eval "$as_ac_var=yes"
63653 else
63654   echo "$as_me: failed program was:" >&5
63655 sed 's/^/| /' conftest.$ac_ext >&5
63656
63657 eval "$as_ac_var=no"
63658 fi
63659 rm -f conftest.err conftest.$ac_objext \
63660       conftest$ac_exeext conftest.$ac_ext
63661 fi
63662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63664 if test `eval echo '${'$as_ac_var'}'` = yes; then
63665   cat >>confdefs.h <<_ACEOF
63666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63667 _ACEOF
63668
63669 fi
63670 done
63671
63672   else
63673
63674   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
63675 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
63676   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63677     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
63678   echo $ECHO_N "(cached) $ECHO_C" >&6
63679 else
63680
63681
63682
63683       ac_ext=cc
63684 ac_cpp='$CXXCPP $CPPFLAGS'
63685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63688
63689       cat >conftest.$ac_ext <<_ACEOF
63690 /* confdefs.h.  */
63691 _ACEOF
63692 cat confdefs.h >>conftest.$ac_ext
63693 cat >>conftest.$ac_ext <<_ACEOF
63694 /* end confdefs.h.  */
63695 #include <math.h>
63696                       #ifdef HAVE_IEEEFP_H
63697                       #include <ieeefp.h>
63698                       #endif
63699
63700 int
63701 main ()
63702 {
63703  _sqrtf(0);
63704   ;
63705   return 0;
63706 }
63707 _ACEOF
63708 rm -f conftest.$ac_objext
63709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63710   (eval $ac_compile) 2>conftest.er1
63711   ac_status=$?
63712   grep -v '^ *+' conftest.er1 >conftest.err
63713   rm -f conftest.er1
63714   cat conftest.err >&5
63715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63716   (exit $ac_status); } &&
63717          { ac_try='test -z "$ac_cxx_werror_flag"
63718                          || test ! -s conftest.err'
63719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63720   (eval $ac_try) 2>&5
63721   ac_status=$?
63722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63723   (exit $ac_status); }; } &&
63724          { ac_try='test -s conftest.$ac_objext'
63725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63726   (eval $ac_try) 2>&5
63727   ac_status=$?
63728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63729   (exit $ac_status); }; }; then
63730   glibcxx_cv_func__sqrtf_use=yes
63731 else
63732   echo "$as_me: failed program was:" >&5
63733 sed 's/^/| /' conftest.$ac_ext >&5
63734
63735 glibcxx_cv_func__sqrtf_use=no
63736 fi
63737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63738       ac_ext=c
63739 ac_cpp='$CPP $CPPFLAGS'
63740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63743
63744
63745 fi
63746
63747   fi
63748   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
63749 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
63750
63751     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63752
63753 for ac_func in _sqrtf
63754 do
63755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63756 echo "$as_me:$LINENO: checking for $ac_func" >&5
63757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63758 if eval "test \"\${$as_ac_var+set}\" = set"; then
63759   echo $ECHO_N "(cached) $ECHO_C" >&6
63760 else
63761   if test x$gcc_no_link = xyes; then
63762   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63764    { (exit 1); exit 1; }; }
63765 fi
63766 cat >conftest.$ac_ext <<_ACEOF
63767 /* confdefs.h.  */
63768 _ACEOF
63769 cat confdefs.h >>conftest.$ac_ext
63770 cat >>conftest.$ac_ext <<_ACEOF
63771 /* end confdefs.h.  */
63772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63773    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63774 #define $ac_func innocuous_$ac_func
63775
63776 /* System header to define __stub macros and hopefully few prototypes,
63777     which can conflict with char $ac_func (); below.
63778     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63779     <limits.h> exists even on freestanding compilers.  */
63780
63781 #ifdef __STDC__
63782 # include <limits.h>
63783 #else
63784 # include <assert.h>
63785 #endif
63786
63787 #undef $ac_func
63788
63789 /* Override any gcc2 internal prototype to avoid an error.  */
63790 #ifdef __cplusplus
63791 extern "C"
63792 {
63793 #endif
63794 /* We use char because int might match the return type of a gcc2
63795    builtin and then its argument prototype would still apply.  */
63796 char $ac_func ();
63797 /* The GNU C library defines this for functions which it implements
63798     to always fail with ENOSYS.  Some functions are actually named
63799     something starting with __ and the normal name is an alias.  */
63800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63801 choke me
63802 #else
63803 char (*f) () = $ac_func;
63804 #endif
63805 #ifdef __cplusplus
63806 }
63807 #endif
63808
63809 int
63810 main ()
63811 {
63812 return f != $ac_func;
63813   ;
63814   return 0;
63815 }
63816 _ACEOF
63817 rm -f conftest.$ac_objext conftest$ac_exeext
63818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63819   (eval $ac_link) 2>conftest.er1
63820   ac_status=$?
63821   grep -v '^ *+' conftest.er1 >conftest.err
63822   rm -f conftest.er1
63823   cat conftest.err >&5
63824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63825   (exit $ac_status); } &&
63826          { ac_try='test -z "$ac_c_werror_flag"
63827                          || test ! -s conftest.err'
63828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63829   (eval $ac_try) 2>&5
63830   ac_status=$?
63831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63832   (exit $ac_status); }; } &&
63833          { ac_try='test -s conftest$ac_exeext'
63834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63835   (eval $ac_try) 2>&5
63836   ac_status=$?
63837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63838   (exit $ac_status); }; }; then
63839   eval "$as_ac_var=yes"
63840 else
63841   echo "$as_me: failed program was:" >&5
63842 sed 's/^/| /' conftest.$ac_ext >&5
63843
63844 eval "$as_ac_var=no"
63845 fi
63846 rm -f conftest.err conftest.$ac_objext \
63847       conftest$ac_exeext conftest.$ac_ext
63848 fi
63849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63851 if test `eval echo '${'$as_ac_var'}'` = yes; then
63852   cat >>confdefs.h <<_ACEOF
63853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63854 _ACEOF
63855
63856 fi
63857 done
63858
63859     fi
63860   fi
63861
63862
63863
63864
63865
63866
63867   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
63868 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
63869   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63870     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
63871   echo $ECHO_N "(cached) $ECHO_C" >&6
63872 else
63873
63874
63875
63876       ac_ext=cc
63877 ac_cpp='$CXXCPP $CPPFLAGS'
63878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63881
63882       cat >conftest.$ac_ext <<_ACEOF
63883 /* confdefs.h.  */
63884 _ACEOF
63885 cat confdefs.h >>conftest.$ac_ext
63886 cat >>conftest.$ac_ext <<_ACEOF
63887 /* end confdefs.h.  */
63888 #include <math.h>
63889 int
63890 main ()
63891 {
63892  sincosf(0, 0, 0);
63893   ;
63894   return 0;
63895 }
63896 _ACEOF
63897 rm -f conftest.$ac_objext
63898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63899   (eval $ac_compile) 2>conftest.er1
63900   ac_status=$?
63901   grep -v '^ *+' conftest.er1 >conftest.err
63902   rm -f conftest.er1
63903   cat conftest.err >&5
63904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63905   (exit $ac_status); } &&
63906          { ac_try='test -z "$ac_cxx_werror_flag"
63907                          || test ! -s conftest.err'
63908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63909   (eval $ac_try) 2>&5
63910   ac_status=$?
63911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63912   (exit $ac_status); }; } &&
63913          { ac_try='test -s conftest.$ac_objext'
63914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63915   (eval $ac_try) 2>&5
63916   ac_status=$?
63917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63918   (exit $ac_status); }; }; then
63919   glibcxx_cv_func_sincosf_use=yes
63920 else
63921   echo "$as_me: failed program was:" >&5
63922 sed 's/^/| /' conftest.$ac_ext >&5
63923
63924 glibcxx_cv_func_sincosf_use=no
63925 fi
63926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63927       ac_ext=c
63928 ac_cpp='$CPP $CPPFLAGS'
63929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63932
63933
63934 fi
63935
63936   fi
63937   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
63938 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
63939
63940   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63941
63942 for ac_func in sincosf
63943 do
63944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63945 echo "$as_me:$LINENO: checking for $ac_func" >&5
63946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63947 if eval "test \"\${$as_ac_var+set}\" = set"; then
63948   echo $ECHO_N "(cached) $ECHO_C" >&6
63949 else
63950   if test x$gcc_no_link = xyes; then
63951   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63953    { (exit 1); exit 1; }; }
63954 fi
63955 cat >conftest.$ac_ext <<_ACEOF
63956 /* confdefs.h.  */
63957 _ACEOF
63958 cat confdefs.h >>conftest.$ac_ext
63959 cat >>conftest.$ac_ext <<_ACEOF
63960 /* end confdefs.h.  */
63961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63962    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63963 #define $ac_func innocuous_$ac_func
63964
63965 /* System header to define __stub macros and hopefully few prototypes,
63966     which can conflict with char $ac_func (); below.
63967     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63968     <limits.h> exists even on freestanding compilers.  */
63969
63970 #ifdef __STDC__
63971 # include <limits.h>
63972 #else
63973 # include <assert.h>
63974 #endif
63975
63976 #undef $ac_func
63977
63978 /* Override any gcc2 internal prototype to avoid an error.  */
63979 #ifdef __cplusplus
63980 extern "C"
63981 {
63982 #endif
63983 /* We use char because int might match the return type of a gcc2
63984    builtin and then its argument prototype would still apply.  */
63985 char $ac_func ();
63986 /* The GNU C library defines this for functions which it implements
63987     to always fail with ENOSYS.  Some functions are actually named
63988     something starting with __ and the normal name is an alias.  */
63989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63990 choke me
63991 #else
63992 char (*f) () = $ac_func;
63993 #endif
63994 #ifdef __cplusplus
63995 }
63996 #endif
63997
63998 int
63999 main ()
64000 {
64001 return f != $ac_func;
64002   ;
64003   return 0;
64004 }
64005 _ACEOF
64006 rm -f conftest.$ac_objext conftest$ac_exeext
64007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64008   (eval $ac_link) 2>conftest.er1
64009   ac_status=$?
64010   grep -v '^ *+' conftest.er1 >conftest.err
64011   rm -f conftest.er1
64012   cat conftest.err >&5
64013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64014   (exit $ac_status); } &&
64015          { ac_try='test -z "$ac_c_werror_flag"
64016                          || test ! -s conftest.err'
64017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64018   (eval $ac_try) 2>&5
64019   ac_status=$?
64020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64021   (exit $ac_status); }; } &&
64022          { ac_try='test -s conftest$ac_exeext'
64023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64024   (eval $ac_try) 2>&5
64025   ac_status=$?
64026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64027   (exit $ac_status); }; }; then
64028   eval "$as_ac_var=yes"
64029 else
64030   echo "$as_me: failed program was:" >&5
64031 sed 's/^/| /' conftest.$ac_ext >&5
64032
64033 eval "$as_ac_var=no"
64034 fi
64035 rm -f conftest.err conftest.$ac_objext \
64036       conftest$ac_exeext conftest.$ac_ext
64037 fi
64038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64040 if test `eval echo '${'$as_ac_var'}'` = yes; then
64041   cat >>confdefs.h <<_ACEOF
64042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64043 _ACEOF
64044
64045 fi
64046 done
64047
64048   else
64049
64050   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
64051 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
64052   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64053     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
64054   echo $ECHO_N "(cached) $ECHO_C" >&6
64055 else
64056
64057
64058
64059       ac_ext=cc
64060 ac_cpp='$CXXCPP $CPPFLAGS'
64061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64064
64065       cat >conftest.$ac_ext <<_ACEOF
64066 /* confdefs.h.  */
64067 _ACEOF
64068 cat confdefs.h >>conftest.$ac_ext
64069 cat >>conftest.$ac_ext <<_ACEOF
64070 /* end confdefs.h.  */
64071 #include <math.h>
64072 int
64073 main ()
64074 {
64075  _sincosf(0, 0, 0);
64076   ;
64077   return 0;
64078 }
64079 _ACEOF
64080 rm -f conftest.$ac_objext
64081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64082   (eval $ac_compile) 2>conftest.er1
64083   ac_status=$?
64084   grep -v '^ *+' conftest.er1 >conftest.err
64085   rm -f conftest.er1
64086   cat conftest.err >&5
64087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64088   (exit $ac_status); } &&
64089          { ac_try='test -z "$ac_cxx_werror_flag"
64090                          || test ! -s conftest.err'
64091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64092   (eval $ac_try) 2>&5
64093   ac_status=$?
64094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64095   (exit $ac_status); }; } &&
64096          { ac_try='test -s conftest.$ac_objext'
64097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64098   (eval $ac_try) 2>&5
64099   ac_status=$?
64100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64101   (exit $ac_status); }; }; then
64102   glibcxx_cv_func__sincosf_use=yes
64103 else
64104   echo "$as_me: failed program was:" >&5
64105 sed 's/^/| /' conftest.$ac_ext >&5
64106
64107 glibcxx_cv_func__sincosf_use=no
64108 fi
64109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64110       ac_ext=c
64111 ac_cpp='$CPP $CPPFLAGS'
64112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64115
64116
64117 fi
64118
64119   fi
64120   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
64121 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
64122
64123     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64124
64125 for ac_func in _sincosf
64126 do
64127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64128 echo "$as_me:$LINENO: checking for $ac_func" >&5
64129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64130 if eval "test \"\${$as_ac_var+set}\" = set"; then
64131   echo $ECHO_N "(cached) $ECHO_C" >&6
64132 else
64133   if test x$gcc_no_link = xyes; then
64134   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64136    { (exit 1); exit 1; }; }
64137 fi
64138 cat >conftest.$ac_ext <<_ACEOF
64139 /* confdefs.h.  */
64140 _ACEOF
64141 cat confdefs.h >>conftest.$ac_ext
64142 cat >>conftest.$ac_ext <<_ACEOF
64143 /* end confdefs.h.  */
64144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64145    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64146 #define $ac_func innocuous_$ac_func
64147
64148 /* System header to define __stub macros and hopefully few prototypes,
64149     which can conflict with char $ac_func (); below.
64150     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64151     <limits.h> exists even on freestanding compilers.  */
64152
64153 #ifdef __STDC__
64154 # include <limits.h>
64155 #else
64156 # include <assert.h>
64157 #endif
64158
64159 #undef $ac_func
64160
64161 /* Override any gcc2 internal prototype to avoid an error.  */
64162 #ifdef __cplusplus
64163 extern "C"
64164 {
64165 #endif
64166 /* We use char because int might match the return type of a gcc2
64167    builtin and then its argument prototype would still apply.  */
64168 char $ac_func ();
64169 /* The GNU C library defines this for functions which it implements
64170     to always fail with ENOSYS.  Some functions are actually named
64171     something starting with __ and the normal name is an alias.  */
64172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64173 choke me
64174 #else
64175 char (*f) () = $ac_func;
64176 #endif
64177 #ifdef __cplusplus
64178 }
64179 #endif
64180
64181 int
64182 main ()
64183 {
64184 return f != $ac_func;
64185   ;
64186   return 0;
64187 }
64188 _ACEOF
64189 rm -f conftest.$ac_objext conftest$ac_exeext
64190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64191   (eval $ac_link) 2>conftest.er1
64192   ac_status=$?
64193   grep -v '^ *+' conftest.er1 >conftest.err
64194   rm -f conftest.er1
64195   cat conftest.err >&5
64196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64197   (exit $ac_status); } &&
64198          { ac_try='test -z "$ac_c_werror_flag"
64199                          || test ! -s conftest.err'
64200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64201   (eval $ac_try) 2>&5
64202   ac_status=$?
64203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64204   (exit $ac_status); }; } &&
64205          { ac_try='test -s conftest$ac_exeext'
64206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64207   (eval $ac_try) 2>&5
64208   ac_status=$?
64209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64210   (exit $ac_status); }; }; then
64211   eval "$as_ac_var=yes"
64212 else
64213   echo "$as_me: failed program was:" >&5
64214 sed 's/^/| /' conftest.$ac_ext >&5
64215
64216 eval "$as_ac_var=no"
64217 fi
64218 rm -f conftest.err conftest.$ac_objext \
64219       conftest$ac_exeext conftest.$ac_ext
64220 fi
64221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64223 if test `eval echo '${'$as_ac_var'}'` = yes; then
64224   cat >>confdefs.h <<_ACEOF
64225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64226 _ACEOF
64227
64228 fi
64229 done
64230
64231     fi
64232   fi
64233
64234
64235
64236
64237
64238
64239   echo "$as_me:$LINENO: checking for finitef declaration" >&5
64240 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
64241   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64242     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
64243   echo $ECHO_N "(cached) $ECHO_C" >&6
64244 else
64245
64246
64247
64248       ac_ext=cc
64249 ac_cpp='$CXXCPP $CPPFLAGS'
64250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64253
64254       cat >conftest.$ac_ext <<_ACEOF
64255 /* confdefs.h.  */
64256 _ACEOF
64257 cat confdefs.h >>conftest.$ac_ext
64258 cat >>conftest.$ac_ext <<_ACEOF
64259 /* end confdefs.h.  */
64260 #include <math.h>
64261                       #ifdef HAVE_IEEEFP_H
64262                       #include <ieeefp.h>
64263                       #endif
64264
64265 int
64266 main ()
64267 {
64268  finitef(0);
64269   ;
64270   return 0;
64271 }
64272 _ACEOF
64273 rm -f conftest.$ac_objext
64274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64275   (eval $ac_compile) 2>conftest.er1
64276   ac_status=$?
64277   grep -v '^ *+' conftest.er1 >conftest.err
64278   rm -f conftest.er1
64279   cat conftest.err >&5
64280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64281   (exit $ac_status); } &&
64282          { ac_try='test -z "$ac_cxx_werror_flag"
64283                          || test ! -s conftest.err'
64284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64285   (eval $ac_try) 2>&5
64286   ac_status=$?
64287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64288   (exit $ac_status); }; } &&
64289          { ac_try='test -s conftest.$ac_objext'
64290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64291   (eval $ac_try) 2>&5
64292   ac_status=$?
64293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64294   (exit $ac_status); }; }; then
64295   glibcxx_cv_func_finitef_use=yes
64296 else
64297   echo "$as_me: failed program was:" >&5
64298 sed 's/^/| /' conftest.$ac_ext >&5
64299
64300 glibcxx_cv_func_finitef_use=no
64301 fi
64302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64303       ac_ext=c
64304 ac_cpp='$CPP $CPPFLAGS'
64305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64308
64309
64310 fi
64311
64312   fi
64313   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
64314 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
64315
64316   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64317
64318 for ac_func in finitef
64319 do
64320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64321 echo "$as_me:$LINENO: checking for $ac_func" >&5
64322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64323 if eval "test \"\${$as_ac_var+set}\" = set"; then
64324   echo $ECHO_N "(cached) $ECHO_C" >&6
64325 else
64326   if test x$gcc_no_link = xyes; then
64327   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64329    { (exit 1); exit 1; }; }
64330 fi
64331 cat >conftest.$ac_ext <<_ACEOF
64332 /* confdefs.h.  */
64333 _ACEOF
64334 cat confdefs.h >>conftest.$ac_ext
64335 cat >>conftest.$ac_ext <<_ACEOF
64336 /* end confdefs.h.  */
64337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64338    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64339 #define $ac_func innocuous_$ac_func
64340
64341 /* System header to define __stub macros and hopefully few prototypes,
64342     which can conflict with char $ac_func (); below.
64343     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64344     <limits.h> exists even on freestanding compilers.  */
64345
64346 #ifdef __STDC__
64347 # include <limits.h>
64348 #else
64349 # include <assert.h>
64350 #endif
64351
64352 #undef $ac_func
64353
64354 /* Override any gcc2 internal prototype to avoid an error.  */
64355 #ifdef __cplusplus
64356 extern "C"
64357 {
64358 #endif
64359 /* We use char because int might match the return type of a gcc2
64360    builtin and then its argument prototype would still apply.  */
64361 char $ac_func ();
64362 /* The GNU C library defines this for functions which it implements
64363     to always fail with ENOSYS.  Some functions are actually named
64364     something starting with __ and the normal name is an alias.  */
64365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64366 choke me
64367 #else
64368 char (*f) () = $ac_func;
64369 #endif
64370 #ifdef __cplusplus
64371 }
64372 #endif
64373
64374 int
64375 main ()
64376 {
64377 return f != $ac_func;
64378   ;
64379   return 0;
64380 }
64381 _ACEOF
64382 rm -f conftest.$ac_objext conftest$ac_exeext
64383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64384   (eval $ac_link) 2>conftest.er1
64385   ac_status=$?
64386   grep -v '^ *+' conftest.er1 >conftest.err
64387   rm -f conftest.er1
64388   cat conftest.err >&5
64389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64390   (exit $ac_status); } &&
64391          { ac_try='test -z "$ac_c_werror_flag"
64392                          || test ! -s conftest.err'
64393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64394   (eval $ac_try) 2>&5
64395   ac_status=$?
64396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64397   (exit $ac_status); }; } &&
64398          { ac_try='test -s conftest$ac_exeext'
64399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64400   (eval $ac_try) 2>&5
64401   ac_status=$?
64402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64403   (exit $ac_status); }; }; then
64404   eval "$as_ac_var=yes"
64405 else
64406   echo "$as_me: failed program was:" >&5
64407 sed 's/^/| /' conftest.$ac_ext >&5
64408
64409 eval "$as_ac_var=no"
64410 fi
64411 rm -f conftest.err conftest.$ac_objext \
64412       conftest$ac_exeext conftest.$ac_ext
64413 fi
64414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64416 if test `eval echo '${'$as_ac_var'}'` = yes; then
64417   cat >>confdefs.h <<_ACEOF
64418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64419 _ACEOF
64420
64421 fi
64422 done
64423
64424   else
64425
64426   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
64427 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
64428   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64429     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
64430   echo $ECHO_N "(cached) $ECHO_C" >&6
64431 else
64432
64433
64434
64435       ac_ext=cc
64436 ac_cpp='$CXXCPP $CPPFLAGS'
64437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64440
64441       cat >conftest.$ac_ext <<_ACEOF
64442 /* confdefs.h.  */
64443 _ACEOF
64444 cat confdefs.h >>conftest.$ac_ext
64445 cat >>conftest.$ac_ext <<_ACEOF
64446 /* end confdefs.h.  */
64447 #include <math.h>
64448                       #ifdef HAVE_IEEEFP_H
64449                       #include <ieeefp.h>
64450                       #endif
64451
64452 int
64453 main ()
64454 {
64455  _finitef(0);
64456   ;
64457   return 0;
64458 }
64459 _ACEOF
64460 rm -f conftest.$ac_objext
64461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64462   (eval $ac_compile) 2>conftest.er1
64463   ac_status=$?
64464   grep -v '^ *+' conftest.er1 >conftest.err
64465   rm -f conftest.er1
64466   cat conftest.err >&5
64467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64468   (exit $ac_status); } &&
64469          { ac_try='test -z "$ac_cxx_werror_flag"
64470                          || test ! -s conftest.err'
64471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64472   (eval $ac_try) 2>&5
64473   ac_status=$?
64474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64475   (exit $ac_status); }; } &&
64476          { ac_try='test -s conftest.$ac_objext'
64477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64478   (eval $ac_try) 2>&5
64479   ac_status=$?
64480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64481   (exit $ac_status); }; }; then
64482   glibcxx_cv_func__finitef_use=yes
64483 else
64484   echo "$as_me: failed program was:" >&5
64485 sed 's/^/| /' conftest.$ac_ext >&5
64486
64487 glibcxx_cv_func__finitef_use=no
64488 fi
64489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64490       ac_ext=c
64491 ac_cpp='$CPP $CPPFLAGS'
64492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64495
64496
64497 fi
64498
64499   fi
64500   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
64501 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
64502
64503     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64504
64505 for ac_func in _finitef
64506 do
64507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64508 echo "$as_me:$LINENO: checking for $ac_func" >&5
64509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64510 if eval "test \"\${$as_ac_var+set}\" = set"; then
64511   echo $ECHO_N "(cached) $ECHO_C" >&6
64512 else
64513   if test x$gcc_no_link = xyes; then
64514   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64516    { (exit 1); exit 1; }; }
64517 fi
64518 cat >conftest.$ac_ext <<_ACEOF
64519 /* confdefs.h.  */
64520 _ACEOF
64521 cat confdefs.h >>conftest.$ac_ext
64522 cat >>conftest.$ac_ext <<_ACEOF
64523 /* end confdefs.h.  */
64524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64525    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64526 #define $ac_func innocuous_$ac_func
64527
64528 /* System header to define __stub macros and hopefully few prototypes,
64529     which can conflict with char $ac_func (); below.
64530     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64531     <limits.h> exists even on freestanding compilers.  */
64532
64533 #ifdef __STDC__
64534 # include <limits.h>
64535 #else
64536 # include <assert.h>
64537 #endif
64538
64539 #undef $ac_func
64540
64541 /* Override any gcc2 internal prototype to avoid an error.  */
64542 #ifdef __cplusplus
64543 extern "C"
64544 {
64545 #endif
64546 /* We use char because int might match the return type of a gcc2
64547    builtin and then its argument prototype would still apply.  */
64548 char $ac_func ();
64549 /* The GNU C library defines this for functions which it implements
64550     to always fail with ENOSYS.  Some functions are actually named
64551     something starting with __ and the normal name is an alias.  */
64552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64553 choke me
64554 #else
64555 char (*f) () = $ac_func;
64556 #endif
64557 #ifdef __cplusplus
64558 }
64559 #endif
64560
64561 int
64562 main ()
64563 {
64564 return f != $ac_func;
64565   ;
64566   return 0;
64567 }
64568 _ACEOF
64569 rm -f conftest.$ac_objext conftest$ac_exeext
64570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64571   (eval $ac_link) 2>conftest.er1
64572   ac_status=$?
64573   grep -v '^ *+' conftest.er1 >conftest.err
64574   rm -f conftest.er1
64575   cat conftest.err >&5
64576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64577   (exit $ac_status); } &&
64578          { ac_try='test -z "$ac_c_werror_flag"
64579                          || test ! -s conftest.err'
64580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64581   (eval $ac_try) 2>&5
64582   ac_status=$?
64583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64584   (exit $ac_status); }; } &&
64585          { ac_try='test -s conftest$ac_exeext'
64586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64587   (eval $ac_try) 2>&5
64588   ac_status=$?
64589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64590   (exit $ac_status); }; }; then
64591   eval "$as_ac_var=yes"
64592 else
64593   echo "$as_me: failed program was:" >&5
64594 sed 's/^/| /' conftest.$ac_ext >&5
64595
64596 eval "$as_ac_var=no"
64597 fi
64598 rm -f conftest.err conftest.$ac_objext \
64599       conftest$ac_exeext conftest.$ac_ext
64600 fi
64601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64603 if test `eval echo '${'$as_ac_var'}'` = yes; then
64604   cat >>confdefs.h <<_ACEOF
64605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64606 _ACEOF
64607
64608 fi
64609 done
64610
64611     fi
64612   fi
64613
64614
64615
64616
64617
64618
64619     echo "$as_me:$LINENO: checking for long double trig functions" >&5
64620 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
64621   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
64622   echo $ECHO_N "(cached) $ECHO_C" >&6
64623 else
64624
64625
64626
64627     ac_ext=cc
64628 ac_cpp='$CXXCPP $CPPFLAGS'
64629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64632
64633     cat >conftest.$ac_ext <<_ACEOF
64634 /* confdefs.h.  */
64635 _ACEOF
64636 cat confdefs.h >>conftest.$ac_ext
64637 cat >>conftest.$ac_ext <<_ACEOF
64638 /* end confdefs.h.  */
64639 #include <math.h>
64640 int
64641 main ()
64642 {
64643 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64644   ;
64645   return 0;
64646 }
64647 _ACEOF
64648 rm -f conftest.$ac_objext
64649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64650   (eval $ac_compile) 2>conftest.er1
64651   ac_status=$?
64652   grep -v '^ *+' conftest.er1 >conftest.err
64653   rm -f conftest.er1
64654   cat conftest.err >&5
64655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64656   (exit $ac_status); } &&
64657          { ac_try='test -z "$ac_cxx_werror_flag"
64658                          || test ! -s conftest.err'
64659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64660   (eval $ac_try) 2>&5
64661   ac_status=$?
64662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64663   (exit $ac_status); }; } &&
64664          { ac_try='test -s conftest.$ac_objext'
64665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64666   (eval $ac_try) 2>&5
64667   ac_status=$?
64668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64669   (exit $ac_status); }; }; then
64670   glibcxx_cv_func_long_double_trig_use=yes
64671 else
64672   echo "$as_me: failed program was:" >&5
64673 sed 's/^/| /' conftest.$ac_ext >&5
64674
64675 glibcxx_cv_func_long_double_trig_use=no
64676 fi
64677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64678     ac_ext=c
64679 ac_cpp='$CPP $CPPFLAGS'
64680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64683
64684 fi
64685
64686   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
64687 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
64688   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64689
64690
64691
64692
64693
64694
64695
64696
64697
64698 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64699 do
64700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64701 echo "$as_me:$LINENO: checking for $ac_func" >&5
64702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64703 if eval "test \"\${$as_ac_var+set}\" = set"; then
64704   echo $ECHO_N "(cached) $ECHO_C" >&6
64705 else
64706   if test x$gcc_no_link = xyes; then
64707   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64709    { (exit 1); exit 1; }; }
64710 fi
64711 cat >conftest.$ac_ext <<_ACEOF
64712 /* confdefs.h.  */
64713 _ACEOF
64714 cat confdefs.h >>conftest.$ac_ext
64715 cat >>conftest.$ac_ext <<_ACEOF
64716 /* end confdefs.h.  */
64717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64718    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64719 #define $ac_func innocuous_$ac_func
64720
64721 /* System header to define __stub macros and hopefully few prototypes,
64722     which can conflict with char $ac_func (); below.
64723     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64724     <limits.h> exists even on freestanding compilers.  */
64725
64726 #ifdef __STDC__
64727 # include <limits.h>
64728 #else
64729 # include <assert.h>
64730 #endif
64731
64732 #undef $ac_func
64733
64734 /* Override any gcc2 internal prototype to avoid an error.  */
64735 #ifdef __cplusplus
64736 extern "C"
64737 {
64738 #endif
64739 /* We use char because int might match the return type of a gcc2
64740    builtin and then its argument prototype would still apply.  */
64741 char $ac_func ();
64742 /* The GNU C library defines this for functions which it implements
64743     to always fail with ENOSYS.  Some functions are actually named
64744     something starting with __ and the normal name is an alias.  */
64745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64746 choke me
64747 #else
64748 char (*f) () = $ac_func;
64749 #endif
64750 #ifdef __cplusplus
64751 }
64752 #endif
64753
64754 int
64755 main ()
64756 {
64757 return f != $ac_func;
64758   ;
64759   return 0;
64760 }
64761 _ACEOF
64762 rm -f conftest.$ac_objext conftest$ac_exeext
64763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64764   (eval $ac_link) 2>conftest.er1
64765   ac_status=$?
64766   grep -v '^ *+' conftest.er1 >conftest.err
64767   rm -f conftest.er1
64768   cat conftest.err >&5
64769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64770   (exit $ac_status); } &&
64771          { ac_try='test -z "$ac_c_werror_flag"
64772                          || test ! -s conftest.err'
64773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64774   (eval $ac_try) 2>&5
64775   ac_status=$?
64776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64777   (exit $ac_status); }; } &&
64778          { ac_try='test -s conftest$ac_exeext'
64779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64780   (eval $ac_try) 2>&5
64781   ac_status=$?
64782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64783   (exit $ac_status); }; }; then
64784   eval "$as_ac_var=yes"
64785 else
64786   echo "$as_me: failed program was:" >&5
64787 sed 's/^/| /' conftest.$ac_ext >&5
64788
64789 eval "$as_ac_var=no"
64790 fi
64791 rm -f conftest.err conftest.$ac_objext \
64792       conftest$ac_exeext conftest.$ac_ext
64793 fi
64794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64796 if test `eval echo '${'$as_ac_var'}'` = yes; then
64797   cat >>confdefs.h <<_ACEOF
64798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64799 _ACEOF
64800
64801 fi
64802 done
64803
64804   else
64805     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
64806 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
64807     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
64808   echo $ECHO_N "(cached) $ECHO_C" >&6
64809 else
64810
64811
64812
64813       ac_ext=cc
64814 ac_cpp='$CXXCPP $CPPFLAGS'
64815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64818
64819       cat >conftest.$ac_ext <<_ACEOF
64820 /* confdefs.h.  */
64821 _ACEOF
64822 cat confdefs.h >>conftest.$ac_ext
64823 cat >>conftest.$ac_ext <<_ACEOF
64824 /* end confdefs.h.  */
64825 #include <math.h>
64826 int
64827 main ()
64828 {
64829 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64830   ;
64831   return 0;
64832 }
64833 _ACEOF
64834 rm -f conftest.$ac_objext
64835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64836   (eval $ac_compile) 2>conftest.er1
64837   ac_status=$?
64838   grep -v '^ *+' conftest.er1 >conftest.err
64839   rm -f conftest.er1
64840   cat conftest.err >&5
64841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64842   (exit $ac_status); } &&
64843          { ac_try='test -z "$ac_cxx_werror_flag"
64844                          || test ! -s conftest.err'
64845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64846   (eval $ac_try) 2>&5
64847   ac_status=$?
64848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64849   (exit $ac_status); }; } &&
64850          { ac_try='test -s conftest.$ac_objext'
64851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64852   (eval $ac_try) 2>&5
64853   ac_status=$?
64854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64855   (exit $ac_status); }; }; then
64856   glibcxx_cv_func__long_double_trig_use=yes
64857 else
64858   echo "$as_me: failed program was:" >&5
64859 sed 's/^/| /' conftest.$ac_ext >&5
64860
64861 glibcxx_cv_func__long_double_trig_use=no
64862 fi
64863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64864       ac_ext=c
64865 ac_cpp='$CPP $CPPFLAGS'
64866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64869
64870 fi
64871
64872     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
64873 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
64874     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64875
64876
64877
64878
64879
64880
64881
64882
64883
64884 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64885 do
64886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64887 echo "$as_me:$LINENO: checking for $ac_func" >&5
64888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64889 if eval "test \"\${$as_ac_var+set}\" = set"; then
64890   echo $ECHO_N "(cached) $ECHO_C" >&6
64891 else
64892   if test x$gcc_no_link = xyes; then
64893   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64895    { (exit 1); exit 1; }; }
64896 fi
64897 cat >conftest.$ac_ext <<_ACEOF
64898 /* confdefs.h.  */
64899 _ACEOF
64900 cat confdefs.h >>conftest.$ac_ext
64901 cat >>conftest.$ac_ext <<_ACEOF
64902 /* end confdefs.h.  */
64903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64904    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64905 #define $ac_func innocuous_$ac_func
64906
64907 /* System header to define __stub macros and hopefully few prototypes,
64908     which can conflict with char $ac_func (); below.
64909     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64910     <limits.h> exists even on freestanding compilers.  */
64911
64912 #ifdef __STDC__
64913 # include <limits.h>
64914 #else
64915 # include <assert.h>
64916 #endif
64917
64918 #undef $ac_func
64919
64920 /* Override any gcc2 internal prototype to avoid an error.  */
64921 #ifdef __cplusplus
64922 extern "C"
64923 {
64924 #endif
64925 /* We use char because int might match the return type of a gcc2
64926    builtin and then its argument prototype would still apply.  */
64927 char $ac_func ();
64928 /* The GNU C library defines this for functions which it implements
64929     to always fail with ENOSYS.  Some functions are actually named
64930     something starting with __ and the normal name is an alias.  */
64931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64932 choke me
64933 #else
64934 char (*f) () = $ac_func;
64935 #endif
64936 #ifdef __cplusplus
64937 }
64938 #endif
64939
64940 int
64941 main ()
64942 {
64943 return f != $ac_func;
64944   ;
64945   return 0;
64946 }
64947 _ACEOF
64948 rm -f conftest.$ac_objext conftest$ac_exeext
64949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64950   (eval $ac_link) 2>conftest.er1
64951   ac_status=$?
64952   grep -v '^ *+' conftest.er1 >conftest.err
64953   rm -f conftest.er1
64954   cat conftest.err >&5
64955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64956   (exit $ac_status); } &&
64957          { ac_try='test -z "$ac_c_werror_flag"
64958                          || test ! -s conftest.err'
64959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64960   (eval $ac_try) 2>&5
64961   ac_status=$?
64962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64963   (exit $ac_status); }; } &&
64964          { ac_try='test -s conftest$ac_exeext'
64965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64966   (eval $ac_try) 2>&5
64967   ac_status=$?
64968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64969   (exit $ac_status); }; }; then
64970   eval "$as_ac_var=yes"
64971 else
64972   echo "$as_me: failed program was:" >&5
64973 sed 's/^/| /' conftest.$ac_ext >&5
64974
64975 eval "$as_ac_var=no"
64976 fi
64977 rm -f conftest.err conftest.$ac_objext \
64978       conftest$ac_exeext conftest.$ac_ext
64979 fi
64980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64982 if test `eval echo '${'$as_ac_var'}'` = yes; then
64983   cat >>confdefs.h <<_ACEOF
64984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64985 _ACEOF
64986
64987 fi
64988 done
64989
64990     fi
64991   fi
64992
64993
64994
64995
64996
64997
64998
64999
65000
65001
65002
65003
65004
65005
65006     echo "$as_me:$LINENO: checking for long double round functions" >&5
65007 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
65008   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
65009   echo $ECHO_N "(cached) $ECHO_C" >&6
65010 else
65011
65012
65013
65014     ac_ext=cc
65015 ac_cpp='$CXXCPP $CPPFLAGS'
65016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65019
65020     cat >conftest.$ac_ext <<_ACEOF
65021 /* confdefs.h.  */
65022 _ACEOF
65023 cat confdefs.h >>conftest.$ac_ext
65024 cat >>conftest.$ac_ext <<_ACEOF
65025 /* end confdefs.h.  */
65026 #include <math.h>
65027 int
65028 main ()
65029 {
65030 ceill (0); floorl (0);
65031   ;
65032   return 0;
65033 }
65034 _ACEOF
65035 rm -f conftest.$ac_objext
65036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65037   (eval $ac_compile) 2>conftest.er1
65038   ac_status=$?
65039   grep -v '^ *+' conftest.er1 >conftest.err
65040   rm -f conftest.er1
65041   cat conftest.err >&5
65042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65043   (exit $ac_status); } &&
65044          { ac_try='test -z "$ac_cxx_werror_flag"
65045                          || test ! -s conftest.err'
65046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65047   (eval $ac_try) 2>&5
65048   ac_status=$?
65049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65050   (exit $ac_status); }; } &&
65051          { ac_try='test -s conftest.$ac_objext'
65052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65053   (eval $ac_try) 2>&5
65054   ac_status=$?
65055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65056   (exit $ac_status); }; }; then
65057   glibcxx_cv_func_long_double_round_use=yes
65058 else
65059   echo "$as_me: failed program was:" >&5
65060 sed 's/^/| /' conftest.$ac_ext >&5
65061
65062 glibcxx_cv_func_long_double_round_use=no
65063 fi
65064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65065     ac_ext=c
65066 ac_cpp='$CPP $CPPFLAGS'
65067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65070
65071 fi
65072
65073   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
65074 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
65075   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
65076
65077
65078 for ac_func in ceill floorl
65079 do
65080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65081 echo "$as_me:$LINENO: checking for $ac_func" >&5
65082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65083 if eval "test \"\${$as_ac_var+set}\" = set"; then
65084   echo $ECHO_N "(cached) $ECHO_C" >&6
65085 else
65086   if test x$gcc_no_link = xyes; then
65087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65089    { (exit 1); exit 1; }; }
65090 fi
65091 cat >conftest.$ac_ext <<_ACEOF
65092 /* confdefs.h.  */
65093 _ACEOF
65094 cat confdefs.h >>conftest.$ac_ext
65095 cat >>conftest.$ac_ext <<_ACEOF
65096 /* end confdefs.h.  */
65097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65098    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65099 #define $ac_func innocuous_$ac_func
65100
65101 /* System header to define __stub macros and hopefully few prototypes,
65102     which can conflict with char $ac_func (); below.
65103     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65104     <limits.h> exists even on freestanding compilers.  */
65105
65106 #ifdef __STDC__
65107 # include <limits.h>
65108 #else
65109 # include <assert.h>
65110 #endif
65111
65112 #undef $ac_func
65113
65114 /* Override any gcc2 internal prototype to avoid an error.  */
65115 #ifdef __cplusplus
65116 extern "C"
65117 {
65118 #endif
65119 /* We use char because int might match the return type of a gcc2
65120    builtin and then its argument prototype would still apply.  */
65121 char $ac_func ();
65122 /* The GNU C library defines this for functions which it implements
65123     to always fail with ENOSYS.  Some functions are actually named
65124     something starting with __ and the normal name is an alias.  */
65125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65126 choke me
65127 #else
65128 char (*f) () = $ac_func;
65129 #endif
65130 #ifdef __cplusplus
65131 }
65132 #endif
65133
65134 int
65135 main ()
65136 {
65137 return f != $ac_func;
65138   ;
65139   return 0;
65140 }
65141 _ACEOF
65142 rm -f conftest.$ac_objext conftest$ac_exeext
65143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65144   (eval $ac_link) 2>conftest.er1
65145   ac_status=$?
65146   grep -v '^ *+' conftest.er1 >conftest.err
65147   rm -f conftest.er1
65148   cat conftest.err >&5
65149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65150   (exit $ac_status); } &&
65151          { ac_try='test -z "$ac_c_werror_flag"
65152                          || test ! -s conftest.err'
65153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65154   (eval $ac_try) 2>&5
65155   ac_status=$?
65156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65157   (exit $ac_status); }; } &&
65158          { ac_try='test -s conftest$ac_exeext'
65159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65160   (eval $ac_try) 2>&5
65161   ac_status=$?
65162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65163   (exit $ac_status); }; }; then
65164   eval "$as_ac_var=yes"
65165 else
65166   echo "$as_me: failed program was:" >&5
65167 sed 's/^/| /' conftest.$ac_ext >&5
65168
65169 eval "$as_ac_var=no"
65170 fi
65171 rm -f conftest.err conftest.$ac_objext \
65172       conftest$ac_exeext conftest.$ac_ext
65173 fi
65174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65176 if test `eval echo '${'$as_ac_var'}'` = yes; then
65177   cat >>confdefs.h <<_ACEOF
65178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65179 _ACEOF
65180
65181 fi
65182 done
65183
65184   else
65185     echo "$as_me:$LINENO: checking for _long double round functions" >&5
65186 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
65187     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
65188   echo $ECHO_N "(cached) $ECHO_C" >&6
65189 else
65190
65191
65192
65193       ac_ext=cc
65194 ac_cpp='$CXXCPP $CPPFLAGS'
65195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65198
65199       cat >conftest.$ac_ext <<_ACEOF
65200 /* confdefs.h.  */
65201 _ACEOF
65202 cat confdefs.h >>conftest.$ac_ext
65203 cat >>conftest.$ac_ext <<_ACEOF
65204 /* end confdefs.h.  */
65205 #include <math.h>
65206 int
65207 main ()
65208 {
65209 _ceill (0); _floorl (0);
65210   ;
65211   return 0;
65212 }
65213 _ACEOF
65214 rm -f conftest.$ac_objext
65215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65216   (eval $ac_compile) 2>conftest.er1
65217   ac_status=$?
65218   grep -v '^ *+' conftest.er1 >conftest.err
65219   rm -f conftest.er1
65220   cat conftest.err >&5
65221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65222   (exit $ac_status); } &&
65223          { ac_try='test -z "$ac_cxx_werror_flag"
65224                          || test ! -s conftest.err'
65225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65226   (eval $ac_try) 2>&5
65227   ac_status=$?
65228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65229   (exit $ac_status); }; } &&
65230          { ac_try='test -s conftest.$ac_objext'
65231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65232   (eval $ac_try) 2>&5
65233   ac_status=$?
65234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65235   (exit $ac_status); }; }; then
65236   glibcxx_cv_func__long_double_round_use=yes
65237 else
65238   echo "$as_me: failed program was:" >&5
65239 sed 's/^/| /' conftest.$ac_ext >&5
65240
65241 glibcxx_cv_func__long_double_round_use=no
65242 fi
65243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65244       ac_ext=c
65245 ac_cpp='$CPP $CPPFLAGS'
65246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65249
65250 fi
65251
65252     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
65253 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
65254     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
65255
65256
65257 for ac_func in _ceill _floorl
65258 do
65259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65260 echo "$as_me:$LINENO: checking for $ac_func" >&5
65261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65262 if eval "test \"\${$as_ac_var+set}\" = set"; then
65263   echo $ECHO_N "(cached) $ECHO_C" >&6
65264 else
65265   if test x$gcc_no_link = xyes; then
65266   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65268    { (exit 1); exit 1; }; }
65269 fi
65270 cat >conftest.$ac_ext <<_ACEOF
65271 /* confdefs.h.  */
65272 _ACEOF
65273 cat confdefs.h >>conftest.$ac_ext
65274 cat >>conftest.$ac_ext <<_ACEOF
65275 /* end confdefs.h.  */
65276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65277    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65278 #define $ac_func innocuous_$ac_func
65279
65280 /* System header to define __stub macros and hopefully few prototypes,
65281     which can conflict with char $ac_func (); below.
65282     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65283     <limits.h> exists even on freestanding compilers.  */
65284
65285 #ifdef __STDC__
65286 # include <limits.h>
65287 #else
65288 # include <assert.h>
65289 #endif
65290
65291 #undef $ac_func
65292
65293 /* Override any gcc2 internal prototype to avoid an error.  */
65294 #ifdef __cplusplus
65295 extern "C"
65296 {
65297 #endif
65298 /* We use char because int might match the return type of a gcc2
65299    builtin and then its argument prototype would still apply.  */
65300 char $ac_func ();
65301 /* The GNU C library defines this for functions which it implements
65302     to always fail with ENOSYS.  Some functions are actually named
65303     something starting with __ and the normal name is an alias.  */
65304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65305 choke me
65306 #else
65307 char (*f) () = $ac_func;
65308 #endif
65309 #ifdef __cplusplus
65310 }
65311 #endif
65312
65313 int
65314 main ()
65315 {
65316 return f != $ac_func;
65317   ;
65318   return 0;
65319 }
65320 _ACEOF
65321 rm -f conftest.$ac_objext conftest$ac_exeext
65322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65323   (eval $ac_link) 2>conftest.er1
65324   ac_status=$?
65325   grep -v '^ *+' conftest.er1 >conftest.err
65326   rm -f conftest.er1
65327   cat conftest.err >&5
65328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65329   (exit $ac_status); } &&
65330          { ac_try='test -z "$ac_c_werror_flag"
65331                          || test ! -s conftest.err'
65332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65333   (eval $ac_try) 2>&5
65334   ac_status=$?
65335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65336   (exit $ac_status); }; } &&
65337          { ac_try='test -s conftest$ac_exeext'
65338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65339   (eval $ac_try) 2>&5
65340   ac_status=$?
65341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65342   (exit $ac_status); }; }; then
65343   eval "$as_ac_var=yes"
65344 else
65345   echo "$as_me: failed program was:" >&5
65346 sed 's/^/| /' conftest.$ac_ext >&5
65347
65348 eval "$as_ac_var=no"
65349 fi
65350 rm -f conftest.err conftest.$ac_objext \
65351       conftest$ac_exeext conftest.$ac_ext
65352 fi
65353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65355 if test `eval echo '${'$as_ac_var'}'` = yes; then
65356   cat >>confdefs.h <<_ACEOF
65357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65358 _ACEOF
65359
65360 fi
65361 done
65362
65363     fi
65364   fi
65365
65366
65367
65368
65369
65370
65371
65372
65373   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
65374 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
65375   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
65376     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
65377   echo $ECHO_N "(cached) $ECHO_C" >&6
65378 else
65379
65380
65381
65382       ac_ext=cc
65383 ac_cpp='$CXXCPP $CPPFLAGS'
65384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65387
65388       cat >conftest.$ac_ext <<_ACEOF
65389 /* confdefs.h.  */
65390 _ACEOF
65391 cat confdefs.h >>conftest.$ac_ext
65392 cat >>conftest.$ac_ext <<_ACEOF
65393 /* end confdefs.h.  */
65394 #include <math.h>
65395                       #ifdef HAVE_IEEEFP_H
65396                       #include <ieeefp.h>
65397                       #endif
65398
65399 int
65400 main ()
65401 {
65402  isnanl(0);
65403   ;
65404   return 0;
65405 }
65406 _ACEOF
65407 rm -f conftest.$ac_objext
65408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65409   (eval $ac_compile) 2>conftest.er1
65410   ac_status=$?
65411   grep -v '^ *+' conftest.er1 >conftest.err
65412   rm -f conftest.er1
65413   cat conftest.err >&5
65414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65415   (exit $ac_status); } &&
65416          { ac_try='test -z "$ac_cxx_werror_flag"
65417                          || test ! -s conftest.err'
65418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65419   (eval $ac_try) 2>&5
65420   ac_status=$?
65421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65422   (exit $ac_status); }; } &&
65423          { ac_try='test -s conftest.$ac_objext'
65424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65425   (eval $ac_try) 2>&5
65426   ac_status=$?
65427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65428   (exit $ac_status); }; }; then
65429   glibcxx_cv_func_isnanl_use=yes
65430 else
65431   echo "$as_me: failed program was:" >&5
65432 sed 's/^/| /' conftest.$ac_ext >&5
65433
65434 glibcxx_cv_func_isnanl_use=no
65435 fi
65436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65437       ac_ext=c
65438 ac_cpp='$CPP $CPPFLAGS'
65439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65442
65443
65444 fi
65445
65446   fi
65447   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
65448 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
65449
65450   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
65451
65452 for ac_func in isnanl
65453 do
65454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65455 echo "$as_me:$LINENO: checking for $ac_func" >&5
65456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65457 if eval "test \"\${$as_ac_var+set}\" = set"; then
65458   echo $ECHO_N "(cached) $ECHO_C" >&6
65459 else
65460   if test x$gcc_no_link = xyes; then
65461   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65463    { (exit 1); exit 1; }; }
65464 fi
65465 cat >conftest.$ac_ext <<_ACEOF
65466 /* confdefs.h.  */
65467 _ACEOF
65468 cat confdefs.h >>conftest.$ac_ext
65469 cat >>conftest.$ac_ext <<_ACEOF
65470 /* end confdefs.h.  */
65471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65472    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65473 #define $ac_func innocuous_$ac_func
65474
65475 /* System header to define __stub macros and hopefully few prototypes,
65476     which can conflict with char $ac_func (); below.
65477     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65478     <limits.h> exists even on freestanding compilers.  */
65479
65480 #ifdef __STDC__
65481 # include <limits.h>
65482 #else
65483 # include <assert.h>
65484 #endif
65485
65486 #undef $ac_func
65487
65488 /* Override any gcc2 internal prototype to avoid an error.  */
65489 #ifdef __cplusplus
65490 extern "C"
65491 {
65492 #endif
65493 /* We use char because int might match the return type of a gcc2
65494    builtin and then its argument prototype would still apply.  */
65495 char $ac_func ();
65496 /* The GNU C library defines this for functions which it implements
65497     to always fail with ENOSYS.  Some functions are actually named
65498     something starting with __ and the normal name is an alias.  */
65499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65500 choke me
65501 #else
65502 char (*f) () = $ac_func;
65503 #endif
65504 #ifdef __cplusplus
65505 }
65506 #endif
65507
65508 int
65509 main ()
65510 {
65511 return f != $ac_func;
65512   ;
65513   return 0;
65514 }
65515 _ACEOF
65516 rm -f conftest.$ac_objext conftest$ac_exeext
65517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65518   (eval $ac_link) 2>conftest.er1
65519   ac_status=$?
65520   grep -v '^ *+' conftest.er1 >conftest.err
65521   rm -f conftest.er1
65522   cat conftest.err >&5
65523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65524   (exit $ac_status); } &&
65525          { ac_try='test -z "$ac_c_werror_flag"
65526                          || test ! -s conftest.err'
65527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65528   (eval $ac_try) 2>&5
65529   ac_status=$?
65530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65531   (exit $ac_status); }; } &&
65532          { ac_try='test -s conftest$ac_exeext'
65533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65534   (eval $ac_try) 2>&5
65535   ac_status=$?
65536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65537   (exit $ac_status); }; }; then
65538   eval "$as_ac_var=yes"
65539 else
65540   echo "$as_me: failed program was:" >&5
65541 sed 's/^/| /' conftest.$ac_ext >&5
65542
65543 eval "$as_ac_var=no"
65544 fi
65545 rm -f conftest.err conftest.$ac_objext \
65546       conftest$ac_exeext conftest.$ac_ext
65547 fi
65548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65550 if test `eval echo '${'$as_ac_var'}'` = yes; then
65551   cat >>confdefs.h <<_ACEOF
65552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65553 _ACEOF
65554
65555 fi
65556 done
65557
65558   else
65559
65560   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
65561 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
65562   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
65563     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
65564   echo $ECHO_N "(cached) $ECHO_C" >&6
65565 else
65566
65567
65568
65569       ac_ext=cc
65570 ac_cpp='$CXXCPP $CPPFLAGS'
65571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65574
65575       cat >conftest.$ac_ext <<_ACEOF
65576 /* confdefs.h.  */
65577 _ACEOF
65578 cat confdefs.h >>conftest.$ac_ext
65579 cat >>conftest.$ac_ext <<_ACEOF
65580 /* end confdefs.h.  */
65581 #include <math.h>
65582                       #ifdef HAVE_IEEEFP_H
65583                       #include <ieeefp.h>
65584                       #endif
65585
65586 int
65587 main ()
65588 {
65589  _isnanl(0);
65590   ;
65591   return 0;
65592 }
65593 _ACEOF
65594 rm -f conftest.$ac_objext
65595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65596   (eval $ac_compile) 2>conftest.er1
65597   ac_status=$?
65598   grep -v '^ *+' conftest.er1 >conftest.err
65599   rm -f conftest.er1
65600   cat conftest.err >&5
65601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65602   (exit $ac_status); } &&
65603          { ac_try='test -z "$ac_cxx_werror_flag"
65604                          || test ! -s conftest.err'
65605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65606   (eval $ac_try) 2>&5
65607   ac_status=$?
65608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65609   (exit $ac_status); }; } &&
65610          { ac_try='test -s conftest.$ac_objext'
65611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65612   (eval $ac_try) 2>&5
65613   ac_status=$?
65614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65615   (exit $ac_status); }; }; then
65616   glibcxx_cv_func__isnanl_use=yes
65617 else
65618   echo "$as_me: failed program was:" >&5
65619 sed 's/^/| /' conftest.$ac_ext >&5
65620
65621 glibcxx_cv_func__isnanl_use=no
65622 fi
65623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65624       ac_ext=c
65625 ac_cpp='$CPP $CPPFLAGS'
65626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65629
65630
65631 fi
65632
65633   fi
65634   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
65635 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
65636
65637     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
65638
65639 for ac_func in _isnanl
65640 do
65641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65642 echo "$as_me:$LINENO: checking for $ac_func" >&5
65643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65644 if eval "test \"\${$as_ac_var+set}\" = set"; then
65645   echo $ECHO_N "(cached) $ECHO_C" >&6
65646 else
65647   if test x$gcc_no_link = xyes; then
65648   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65650    { (exit 1); exit 1; }; }
65651 fi
65652 cat >conftest.$ac_ext <<_ACEOF
65653 /* confdefs.h.  */
65654 _ACEOF
65655 cat confdefs.h >>conftest.$ac_ext
65656 cat >>conftest.$ac_ext <<_ACEOF
65657 /* end confdefs.h.  */
65658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65659    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65660 #define $ac_func innocuous_$ac_func
65661
65662 /* System header to define __stub macros and hopefully few prototypes,
65663     which can conflict with char $ac_func (); below.
65664     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65665     <limits.h> exists even on freestanding compilers.  */
65666
65667 #ifdef __STDC__
65668 # include <limits.h>
65669 #else
65670 # include <assert.h>
65671 #endif
65672
65673 #undef $ac_func
65674
65675 /* Override any gcc2 internal prototype to avoid an error.  */
65676 #ifdef __cplusplus
65677 extern "C"
65678 {
65679 #endif
65680 /* We use char because int might match the return type of a gcc2
65681    builtin and then its argument prototype would still apply.  */
65682 char $ac_func ();
65683 /* The GNU C library defines this for functions which it implements
65684     to always fail with ENOSYS.  Some functions are actually named
65685     something starting with __ and the normal name is an alias.  */
65686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65687 choke me
65688 #else
65689 char (*f) () = $ac_func;
65690 #endif
65691 #ifdef __cplusplus
65692 }
65693 #endif
65694
65695 int
65696 main ()
65697 {
65698 return f != $ac_func;
65699   ;
65700   return 0;
65701 }
65702 _ACEOF
65703 rm -f conftest.$ac_objext conftest$ac_exeext
65704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65705   (eval $ac_link) 2>conftest.er1
65706   ac_status=$?
65707   grep -v '^ *+' conftest.er1 >conftest.err
65708   rm -f conftest.er1
65709   cat conftest.err >&5
65710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65711   (exit $ac_status); } &&
65712          { ac_try='test -z "$ac_c_werror_flag"
65713                          || test ! -s conftest.err'
65714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65715   (eval $ac_try) 2>&5
65716   ac_status=$?
65717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65718   (exit $ac_status); }; } &&
65719          { ac_try='test -s conftest$ac_exeext'
65720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65721   (eval $ac_try) 2>&5
65722   ac_status=$?
65723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65724   (exit $ac_status); }; }; then
65725   eval "$as_ac_var=yes"
65726 else
65727   echo "$as_me: failed program was:" >&5
65728 sed 's/^/| /' conftest.$ac_ext >&5
65729
65730 eval "$as_ac_var=no"
65731 fi
65732 rm -f conftest.err conftest.$ac_objext \
65733       conftest$ac_exeext conftest.$ac_ext
65734 fi
65735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65737 if test `eval echo '${'$as_ac_var'}'` = yes; then
65738   cat >>confdefs.h <<_ACEOF
65739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65740 _ACEOF
65741
65742 fi
65743 done
65744
65745     fi
65746   fi
65747
65748
65749
65750
65751
65752
65753   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
65754 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
65755   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65756     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
65757   echo $ECHO_N "(cached) $ECHO_C" >&6
65758 else
65759
65760
65761
65762       ac_ext=cc
65763 ac_cpp='$CXXCPP $CPPFLAGS'
65764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65767
65768       cat >conftest.$ac_ext <<_ACEOF
65769 /* confdefs.h.  */
65770 _ACEOF
65771 cat confdefs.h >>conftest.$ac_ext
65772 cat >>conftest.$ac_ext <<_ACEOF
65773 /* end confdefs.h.  */
65774 #include <math.h>
65775                       #ifdef HAVE_IEEEFP_H
65776                       #include <ieeefp.h>
65777                       #endif
65778
65779 int
65780 main ()
65781 {
65782  isinfl(0);
65783   ;
65784   return 0;
65785 }
65786 _ACEOF
65787 rm -f conftest.$ac_objext
65788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65789   (eval $ac_compile) 2>conftest.er1
65790   ac_status=$?
65791   grep -v '^ *+' conftest.er1 >conftest.err
65792   rm -f conftest.er1
65793   cat conftest.err >&5
65794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65795   (exit $ac_status); } &&
65796          { ac_try='test -z "$ac_cxx_werror_flag"
65797                          || test ! -s conftest.err'
65798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65799   (eval $ac_try) 2>&5
65800   ac_status=$?
65801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65802   (exit $ac_status); }; } &&
65803          { ac_try='test -s conftest.$ac_objext'
65804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65805   (eval $ac_try) 2>&5
65806   ac_status=$?
65807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65808   (exit $ac_status); }; }; then
65809   glibcxx_cv_func_isinfl_use=yes
65810 else
65811   echo "$as_me: failed program was:" >&5
65812 sed 's/^/| /' conftest.$ac_ext >&5
65813
65814 glibcxx_cv_func_isinfl_use=no
65815 fi
65816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65817       ac_ext=c
65818 ac_cpp='$CPP $CPPFLAGS'
65819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65822
65823
65824 fi
65825
65826   fi
65827   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
65828 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
65829
65830   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
65831
65832 for ac_func in isinfl
65833 do
65834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65835 echo "$as_me:$LINENO: checking for $ac_func" >&5
65836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65837 if eval "test \"\${$as_ac_var+set}\" = set"; then
65838   echo $ECHO_N "(cached) $ECHO_C" >&6
65839 else
65840   if test x$gcc_no_link = xyes; then
65841   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65843    { (exit 1); exit 1; }; }
65844 fi
65845 cat >conftest.$ac_ext <<_ACEOF
65846 /* confdefs.h.  */
65847 _ACEOF
65848 cat confdefs.h >>conftest.$ac_ext
65849 cat >>conftest.$ac_ext <<_ACEOF
65850 /* end confdefs.h.  */
65851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65852    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65853 #define $ac_func innocuous_$ac_func
65854
65855 /* System header to define __stub macros and hopefully few prototypes,
65856     which can conflict with char $ac_func (); below.
65857     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65858     <limits.h> exists even on freestanding compilers.  */
65859
65860 #ifdef __STDC__
65861 # include <limits.h>
65862 #else
65863 # include <assert.h>
65864 #endif
65865
65866 #undef $ac_func
65867
65868 /* Override any gcc2 internal prototype to avoid an error.  */
65869 #ifdef __cplusplus
65870 extern "C"
65871 {
65872 #endif
65873 /* We use char because int might match the return type of a gcc2
65874    builtin and then its argument prototype would still apply.  */
65875 char $ac_func ();
65876 /* The GNU C library defines this for functions which it implements
65877     to always fail with ENOSYS.  Some functions are actually named
65878     something starting with __ and the normal name is an alias.  */
65879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65880 choke me
65881 #else
65882 char (*f) () = $ac_func;
65883 #endif
65884 #ifdef __cplusplus
65885 }
65886 #endif
65887
65888 int
65889 main ()
65890 {
65891 return f != $ac_func;
65892   ;
65893   return 0;
65894 }
65895 _ACEOF
65896 rm -f conftest.$ac_objext conftest$ac_exeext
65897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65898   (eval $ac_link) 2>conftest.er1
65899   ac_status=$?
65900   grep -v '^ *+' conftest.er1 >conftest.err
65901   rm -f conftest.er1
65902   cat conftest.err >&5
65903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65904   (exit $ac_status); } &&
65905          { ac_try='test -z "$ac_c_werror_flag"
65906                          || test ! -s conftest.err'
65907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65908   (eval $ac_try) 2>&5
65909   ac_status=$?
65910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65911   (exit $ac_status); }; } &&
65912          { ac_try='test -s conftest$ac_exeext'
65913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65914   (eval $ac_try) 2>&5
65915   ac_status=$?
65916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65917   (exit $ac_status); }; }; then
65918   eval "$as_ac_var=yes"
65919 else
65920   echo "$as_me: failed program was:" >&5
65921 sed 's/^/| /' conftest.$ac_ext >&5
65922
65923 eval "$as_ac_var=no"
65924 fi
65925 rm -f conftest.err conftest.$ac_objext \
65926       conftest$ac_exeext conftest.$ac_ext
65927 fi
65928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65930 if test `eval echo '${'$as_ac_var'}'` = yes; then
65931   cat >>confdefs.h <<_ACEOF
65932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65933 _ACEOF
65934
65935 fi
65936 done
65937
65938   else
65939
65940   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
65941 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
65942   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
65943     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
65944   echo $ECHO_N "(cached) $ECHO_C" >&6
65945 else
65946
65947
65948
65949       ac_ext=cc
65950 ac_cpp='$CXXCPP $CPPFLAGS'
65951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65954
65955       cat >conftest.$ac_ext <<_ACEOF
65956 /* confdefs.h.  */
65957 _ACEOF
65958 cat confdefs.h >>conftest.$ac_ext
65959 cat >>conftest.$ac_ext <<_ACEOF
65960 /* end confdefs.h.  */
65961 #include <math.h>
65962                       #ifdef HAVE_IEEEFP_H
65963                       #include <ieeefp.h>
65964                       #endif
65965
65966 int
65967 main ()
65968 {
65969  _isinfl(0);
65970   ;
65971   return 0;
65972 }
65973 _ACEOF
65974 rm -f conftest.$ac_objext
65975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65976   (eval $ac_compile) 2>conftest.er1
65977   ac_status=$?
65978   grep -v '^ *+' conftest.er1 >conftest.err
65979   rm -f conftest.er1
65980   cat conftest.err >&5
65981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65982   (exit $ac_status); } &&
65983          { ac_try='test -z "$ac_cxx_werror_flag"
65984                          || test ! -s conftest.err'
65985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65986   (eval $ac_try) 2>&5
65987   ac_status=$?
65988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65989   (exit $ac_status); }; } &&
65990          { ac_try='test -s conftest.$ac_objext'
65991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65992   (eval $ac_try) 2>&5
65993   ac_status=$?
65994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65995   (exit $ac_status); }; }; then
65996   glibcxx_cv_func__isinfl_use=yes
65997 else
65998   echo "$as_me: failed program was:" >&5
65999 sed 's/^/| /' conftest.$ac_ext >&5
66000
66001 glibcxx_cv_func__isinfl_use=no
66002 fi
66003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66004       ac_ext=c
66005 ac_cpp='$CPP $CPPFLAGS'
66006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66009
66010
66011 fi
66012
66013   fi
66014   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
66015 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
66016
66017     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
66018
66019 for ac_func in _isinfl
66020 do
66021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66022 echo "$as_me:$LINENO: checking for $ac_func" >&5
66023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66024 if eval "test \"\${$as_ac_var+set}\" = set"; then
66025   echo $ECHO_N "(cached) $ECHO_C" >&6
66026 else
66027   if test x$gcc_no_link = xyes; then
66028   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66030    { (exit 1); exit 1; }; }
66031 fi
66032 cat >conftest.$ac_ext <<_ACEOF
66033 /* confdefs.h.  */
66034 _ACEOF
66035 cat confdefs.h >>conftest.$ac_ext
66036 cat >>conftest.$ac_ext <<_ACEOF
66037 /* end confdefs.h.  */
66038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66039    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66040 #define $ac_func innocuous_$ac_func
66041
66042 /* System header to define __stub macros and hopefully few prototypes,
66043     which can conflict with char $ac_func (); below.
66044     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66045     <limits.h> exists even on freestanding compilers.  */
66046
66047 #ifdef __STDC__
66048 # include <limits.h>
66049 #else
66050 # include <assert.h>
66051 #endif
66052
66053 #undef $ac_func
66054
66055 /* Override any gcc2 internal prototype to avoid an error.  */
66056 #ifdef __cplusplus
66057 extern "C"
66058 {
66059 #endif
66060 /* We use char because int might match the return type of a gcc2
66061    builtin and then its argument prototype would still apply.  */
66062 char $ac_func ();
66063 /* The GNU C library defines this for functions which it implements
66064     to always fail with ENOSYS.  Some functions are actually named
66065     something starting with __ and the normal name is an alias.  */
66066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66067 choke me
66068 #else
66069 char (*f) () = $ac_func;
66070 #endif
66071 #ifdef __cplusplus
66072 }
66073 #endif
66074
66075 int
66076 main ()
66077 {
66078 return f != $ac_func;
66079   ;
66080   return 0;
66081 }
66082 _ACEOF
66083 rm -f conftest.$ac_objext conftest$ac_exeext
66084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66085   (eval $ac_link) 2>conftest.er1
66086   ac_status=$?
66087   grep -v '^ *+' conftest.er1 >conftest.err
66088   rm -f conftest.er1
66089   cat conftest.err >&5
66090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66091   (exit $ac_status); } &&
66092          { ac_try='test -z "$ac_c_werror_flag"
66093                          || test ! -s conftest.err'
66094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66095   (eval $ac_try) 2>&5
66096   ac_status=$?
66097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66098   (exit $ac_status); }; } &&
66099          { ac_try='test -s conftest$ac_exeext'
66100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66101   (eval $ac_try) 2>&5
66102   ac_status=$?
66103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66104   (exit $ac_status); }; }; then
66105   eval "$as_ac_var=yes"
66106 else
66107   echo "$as_me: failed program was:" >&5
66108 sed 's/^/| /' conftest.$ac_ext >&5
66109
66110 eval "$as_ac_var=no"
66111 fi
66112 rm -f conftest.err conftest.$ac_objext \
66113       conftest$ac_exeext conftest.$ac_ext
66114 fi
66115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66117 if test `eval echo '${'$as_ac_var'}'` = yes; then
66118   cat >>confdefs.h <<_ACEOF
66119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66120 _ACEOF
66121
66122 fi
66123 done
66124
66125     fi
66126   fi
66127
66128
66129
66130
66131
66132
66133   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
66134 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
66135   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
66136     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
66137   echo $ECHO_N "(cached) $ECHO_C" >&6
66138 else
66139
66140
66141
66142       ac_ext=cc
66143 ac_cpp='$CXXCPP $CPPFLAGS'
66144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66147
66148       cat >conftest.$ac_ext <<_ACEOF
66149 /* confdefs.h.  */
66150 _ACEOF
66151 cat confdefs.h >>conftest.$ac_ext
66152 cat >>conftest.$ac_ext <<_ACEOF
66153 /* end confdefs.h.  */
66154 #include <math.h>
66155 int
66156 main ()
66157 {
66158  copysignl(0, 0);
66159   ;
66160   return 0;
66161 }
66162 _ACEOF
66163 rm -f conftest.$ac_objext
66164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66165   (eval $ac_compile) 2>conftest.er1
66166   ac_status=$?
66167   grep -v '^ *+' conftest.er1 >conftest.err
66168   rm -f conftest.er1
66169   cat conftest.err >&5
66170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66171   (exit $ac_status); } &&
66172          { ac_try='test -z "$ac_cxx_werror_flag"
66173                          || test ! -s conftest.err'
66174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66175   (eval $ac_try) 2>&5
66176   ac_status=$?
66177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66178   (exit $ac_status); }; } &&
66179          { ac_try='test -s conftest.$ac_objext'
66180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66181   (eval $ac_try) 2>&5
66182   ac_status=$?
66183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66184   (exit $ac_status); }; }; then
66185   glibcxx_cv_func_copysignl_use=yes
66186 else
66187   echo "$as_me: failed program was:" >&5
66188 sed 's/^/| /' conftest.$ac_ext >&5
66189
66190 glibcxx_cv_func_copysignl_use=no
66191 fi
66192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66193       ac_ext=c
66194 ac_cpp='$CPP $CPPFLAGS'
66195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66198
66199
66200 fi
66201
66202   fi
66203   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
66204 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
66205
66206   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
66207
66208 for ac_func in copysignl
66209 do
66210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66211 echo "$as_me:$LINENO: checking for $ac_func" >&5
66212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66213 if eval "test \"\${$as_ac_var+set}\" = set"; then
66214   echo $ECHO_N "(cached) $ECHO_C" >&6
66215 else
66216   if test x$gcc_no_link = xyes; then
66217   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66219    { (exit 1); exit 1; }; }
66220 fi
66221 cat >conftest.$ac_ext <<_ACEOF
66222 /* confdefs.h.  */
66223 _ACEOF
66224 cat confdefs.h >>conftest.$ac_ext
66225 cat >>conftest.$ac_ext <<_ACEOF
66226 /* end confdefs.h.  */
66227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66228    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66229 #define $ac_func innocuous_$ac_func
66230
66231 /* System header to define __stub macros and hopefully few prototypes,
66232     which can conflict with char $ac_func (); below.
66233     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66234     <limits.h> exists even on freestanding compilers.  */
66235
66236 #ifdef __STDC__
66237 # include <limits.h>
66238 #else
66239 # include <assert.h>
66240 #endif
66241
66242 #undef $ac_func
66243
66244 /* Override any gcc2 internal prototype to avoid an error.  */
66245 #ifdef __cplusplus
66246 extern "C"
66247 {
66248 #endif
66249 /* We use char because int might match the return type of a gcc2
66250    builtin and then its argument prototype would still apply.  */
66251 char $ac_func ();
66252 /* The GNU C library defines this for functions which it implements
66253     to always fail with ENOSYS.  Some functions are actually named
66254     something starting with __ and the normal name is an alias.  */
66255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66256 choke me
66257 #else
66258 char (*f) () = $ac_func;
66259 #endif
66260 #ifdef __cplusplus
66261 }
66262 #endif
66263
66264 int
66265 main ()
66266 {
66267 return f != $ac_func;
66268   ;
66269   return 0;
66270 }
66271 _ACEOF
66272 rm -f conftest.$ac_objext conftest$ac_exeext
66273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66274   (eval $ac_link) 2>conftest.er1
66275   ac_status=$?
66276   grep -v '^ *+' conftest.er1 >conftest.err
66277   rm -f conftest.er1
66278   cat conftest.err >&5
66279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66280   (exit $ac_status); } &&
66281          { ac_try='test -z "$ac_c_werror_flag"
66282                          || test ! -s conftest.err'
66283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66284   (eval $ac_try) 2>&5
66285   ac_status=$?
66286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66287   (exit $ac_status); }; } &&
66288          { ac_try='test -s conftest$ac_exeext'
66289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66290   (eval $ac_try) 2>&5
66291   ac_status=$?
66292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66293   (exit $ac_status); }; }; then
66294   eval "$as_ac_var=yes"
66295 else
66296   echo "$as_me: failed program was:" >&5
66297 sed 's/^/| /' conftest.$ac_ext >&5
66298
66299 eval "$as_ac_var=no"
66300 fi
66301 rm -f conftest.err conftest.$ac_objext \
66302       conftest$ac_exeext conftest.$ac_ext
66303 fi
66304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66306 if test `eval echo '${'$as_ac_var'}'` = yes; then
66307   cat >>confdefs.h <<_ACEOF
66308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66309 _ACEOF
66310
66311 fi
66312 done
66313
66314   else
66315
66316   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
66317 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
66318   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
66319     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
66320   echo $ECHO_N "(cached) $ECHO_C" >&6
66321 else
66322
66323
66324
66325       ac_ext=cc
66326 ac_cpp='$CXXCPP $CPPFLAGS'
66327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66330
66331       cat >conftest.$ac_ext <<_ACEOF
66332 /* confdefs.h.  */
66333 _ACEOF
66334 cat confdefs.h >>conftest.$ac_ext
66335 cat >>conftest.$ac_ext <<_ACEOF
66336 /* end confdefs.h.  */
66337 #include <math.h>
66338 int
66339 main ()
66340 {
66341  _copysignl(0, 0);
66342   ;
66343   return 0;
66344 }
66345 _ACEOF
66346 rm -f conftest.$ac_objext
66347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66348   (eval $ac_compile) 2>conftest.er1
66349   ac_status=$?
66350   grep -v '^ *+' conftest.er1 >conftest.err
66351   rm -f conftest.er1
66352   cat conftest.err >&5
66353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66354   (exit $ac_status); } &&
66355          { ac_try='test -z "$ac_cxx_werror_flag"
66356                          || test ! -s conftest.err'
66357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66358   (eval $ac_try) 2>&5
66359   ac_status=$?
66360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66361   (exit $ac_status); }; } &&
66362          { ac_try='test -s conftest.$ac_objext'
66363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66364   (eval $ac_try) 2>&5
66365   ac_status=$?
66366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66367   (exit $ac_status); }; }; then
66368   glibcxx_cv_func__copysignl_use=yes
66369 else
66370   echo "$as_me: failed program was:" >&5
66371 sed 's/^/| /' conftest.$ac_ext >&5
66372
66373 glibcxx_cv_func__copysignl_use=no
66374 fi
66375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66376       ac_ext=c
66377 ac_cpp='$CPP $CPPFLAGS'
66378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66381
66382
66383 fi
66384
66385   fi
66386   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
66387 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
66388
66389     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
66390
66391 for ac_func in _copysignl
66392 do
66393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66394 echo "$as_me:$LINENO: checking for $ac_func" >&5
66395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66396 if eval "test \"\${$as_ac_var+set}\" = set"; then
66397   echo $ECHO_N "(cached) $ECHO_C" >&6
66398 else
66399   if test x$gcc_no_link = xyes; then
66400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66402    { (exit 1); exit 1; }; }
66403 fi
66404 cat >conftest.$ac_ext <<_ACEOF
66405 /* confdefs.h.  */
66406 _ACEOF
66407 cat confdefs.h >>conftest.$ac_ext
66408 cat >>conftest.$ac_ext <<_ACEOF
66409 /* end confdefs.h.  */
66410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66411    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66412 #define $ac_func innocuous_$ac_func
66413
66414 /* System header to define __stub macros and hopefully few prototypes,
66415     which can conflict with char $ac_func (); below.
66416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66417     <limits.h> exists even on freestanding compilers.  */
66418
66419 #ifdef __STDC__
66420 # include <limits.h>
66421 #else
66422 # include <assert.h>
66423 #endif
66424
66425 #undef $ac_func
66426
66427 /* Override any gcc2 internal prototype to avoid an error.  */
66428 #ifdef __cplusplus
66429 extern "C"
66430 {
66431 #endif
66432 /* We use char because int might match the return type of a gcc2
66433    builtin and then its argument prototype would still apply.  */
66434 char $ac_func ();
66435 /* The GNU C library defines this for functions which it implements
66436     to always fail with ENOSYS.  Some functions are actually named
66437     something starting with __ and the normal name is an alias.  */
66438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66439 choke me
66440 #else
66441 char (*f) () = $ac_func;
66442 #endif
66443 #ifdef __cplusplus
66444 }
66445 #endif
66446
66447 int
66448 main ()
66449 {
66450 return f != $ac_func;
66451   ;
66452   return 0;
66453 }
66454 _ACEOF
66455 rm -f conftest.$ac_objext conftest$ac_exeext
66456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66457   (eval $ac_link) 2>conftest.er1
66458   ac_status=$?
66459   grep -v '^ *+' conftest.er1 >conftest.err
66460   rm -f conftest.er1
66461   cat conftest.err >&5
66462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66463   (exit $ac_status); } &&
66464          { ac_try='test -z "$ac_c_werror_flag"
66465                          || test ! -s conftest.err'
66466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66467   (eval $ac_try) 2>&5
66468   ac_status=$?
66469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66470   (exit $ac_status); }; } &&
66471          { ac_try='test -s conftest$ac_exeext'
66472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66473   (eval $ac_try) 2>&5
66474   ac_status=$?
66475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66476   (exit $ac_status); }; }; then
66477   eval "$as_ac_var=yes"
66478 else
66479   echo "$as_me: failed program was:" >&5
66480 sed 's/^/| /' conftest.$ac_ext >&5
66481
66482 eval "$as_ac_var=no"
66483 fi
66484 rm -f conftest.err conftest.$ac_objext \
66485       conftest$ac_exeext conftest.$ac_ext
66486 fi
66487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66489 if test `eval echo '${'$as_ac_var'}'` = yes; then
66490   cat >>confdefs.h <<_ACEOF
66491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66492 _ACEOF
66493
66494 fi
66495 done
66496
66497     fi
66498   fi
66499
66500
66501
66502
66503
66504
66505   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
66506 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
66507   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
66508     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
66509   echo $ECHO_N "(cached) $ECHO_C" >&6
66510 else
66511
66512
66513
66514       ac_ext=cc
66515 ac_cpp='$CXXCPP $CPPFLAGS'
66516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66519
66520       cat >conftest.$ac_ext <<_ACEOF
66521 /* confdefs.h.  */
66522 _ACEOF
66523 cat confdefs.h >>conftest.$ac_ext
66524 cat >>conftest.$ac_ext <<_ACEOF
66525 /* end confdefs.h.  */
66526 #include <math.h>
66527 int
66528 main ()
66529 {
66530  atan2l(0, 0);
66531   ;
66532   return 0;
66533 }
66534 _ACEOF
66535 rm -f conftest.$ac_objext
66536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66537   (eval $ac_compile) 2>conftest.er1
66538   ac_status=$?
66539   grep -v '^ *+' conftest.er1 >conftest.err
66540   rm -f conftest.er1
66541   cat conftest.err >&5
66542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66543   (exit $ac_status); } &&
66544          { ac_try='test -z "$ac_cxx_werror_flag"
66545                          || test ! -s conftest.err'
66546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66547   (eval $ac_try) 2>&5
66548   ac_status=$?
66549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66550   (exit $ac_status); }; } &&
66551          { ac_try='test -s conftest.$ac_objext'
66552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66553   (eval $ac_try) 2>&5
66554   ac_status=$?
66555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66556   (exit $ac_status); }; }; then
66557   glibcxx_cv_func_atan2l_use=yes
66558 else
66559   echo "$as_me: failed program was:" >&5
66560 sed 's/^/| /' conftest.$ac_ext >&5
66561
66562 glibcxx_cv_func_atan2l_use=no
66563 fi
66564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66565       ac_ext=c
66566 ac_cpp='$CPP $CPPFLAGS'
66567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66570
66571
66572 fi
66573
66574   fi
66575   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
66576 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
66577
66578   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
66579
66580 for ac_func in atan2l
66581 do
66582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66583 echo "$as_me:$LINENO: checking for $ac_func" >&5
66584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66585 if eval "test \"\${$as_ac_var+set}\" = set"; then
66586   echo $ECHO_N "(cached) $ECHO_C" >&6
66587 else
66588   if test x$gcc_no_link = xyes; then
66589   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66591    { (exit 1); exit 1; }; }
66592 fi
66593 cat >conftest.$ac_ext <<_ACEOF
66594 /* confdefs.h.  */
66595 _ACEOF
66596 cat confdefs.h >>conftest.$ac_ext
66597 cat >>conftest.$ac_ext <<_ACEOF
66598 /* end confdefs.h.  */
66599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66600    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66601 #define $ac_func innocuous_$ac_func
66602
66603 /* System header to define __stub macros and hopefully few prototypes,
66604     which can conflict with char $ac_func (); below.
66605     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66606     <limits.h> exists even on freestanding compilers.  */
66607
66608 #ifdef __STDC__
66609 # include <limits.h>
66610 #else
66611 # include <assert.h>
66612 #endif
66613
66614 #undef $ac_func
66615
66616 /* Override any gcc2 internal prototype to avoid an error.  */
66617 #ifdef __cplusplus
66618 extern "C"
66619 {
66620 #endif
66621 /* We use char because int might match the return type of a gcc2
66622    builtin and then its argument prototype would still apply.  */
66623 char $ac_func ();
66624 /* The GNU C library defines this for functions which it implements
66625     to always fail with ENOSYS.  Some functions are actually named
66626     something starting with __ and the normal name is an alias.  */
66627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66628 choke me
66629 #else
66630 char (*f) () = $ac_func;
66631 #endif
66632 #ifdef __cplusplus
66633 }
66634 #endif
66635
66636 int
66637 main ()
66638 {
66639 return f != $ac_func;
66640   ;
66641   return 0;
66642 }
66643 _ACEOF
66644 rm -f conftest.$ac_objext conftest$ac_exeext
66645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66646   (eval $ac_link) 2>conftest.er1
66647   ac_status=$?
66648   grep -v '^ *+' conftest.er1 >conftest.err
66649   rm -f conftest.er1
66650   cat conftest.err >&5
66651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66652   (exit $ac_status); } &&
66653          { ac_try='test -z "$ac_c_werror_flag"
66654                          || test ! -s conftest.err'
66655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66656   (eval $ac_try) 2>&5
66657   ac_status=$?
66658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66659   (exit $ac_status); }; } &&
66660          { ac_try='test -s conftest$ac_exeext'
66661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66662   (eval $ac_try) 2>&5
66663   ac_status=$?
66664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66665   (exit $ac_status); }; }; then
66666   eval "$as_ac_var=yes"
66667 else
66668   echo "$as_me: failed program was:" >&5
66669 sed 's/^/| /' conftest.$ac_ext >&5
66670
66671 eval "$as_ac_var=no"
66672 fi
66673 rm -f conftest.err conftest.$ac_objext \
66674       conftest$ac_exeext conftest.$ac_ext
66675 fi
66676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66678 if test `eval echo '${'$as_ac_var'}'` = yes; then
66679   cat >>confdefs.h <<_ACEOF
66680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66681 _ACEOF
66682
66683 fi
66684 done
66685
66686   else
66687
66688   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
66689 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
66690   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
66691     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
66692   echo $ECHO_N "(cached) $ECHO_C" >&6
66693 else
66694
66695
66696
66697       ac_ext=cc
66698 ac_cpp='$CXXCPP $CPPFLAGS'
66699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66702
66703       cat >conftest.$ac_ext <<_ACEOF
66704 /* confdefs.h.  */
66705 _ACEOF
66706 cat confdefs.h >>conftest.$ac_ext
66707 cat >>conftest.$ac_ext <<_ACEOF
66708 /* end confdefs.h.  */
66709 #include <math.h>
66710 int
66711 main ()
66712 {
66713  _atan2l(0, 0);
66714   ;
66715   return 0;
66716 }
66717 _ACEOF
66718 rm -f conftest.$ac_objext
66719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66720   (eval $ac_compile) 2>conftest.er1
66721   ac_status=$?
66722   grep -v '^ *+' conftest.er1 >conftest.err
66723   rm -f conftest.er1
66724   cat conftest.err >&5
66725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66726   (exit $ac_status); } &&
66727          { ac_try='test -z "$ac_cxx_werror_flag"
66728                          || test ! -s conftest.err'
66729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66730   (eval $ac_try) 2>&5
66731   ac_status=$?
66732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66733   (exit $ac_status); }; } &&
66734          { ac_try='test -s conftest.$ac_objext'
66735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66736   (eval $ac_try) 2>&5
66737   ac_status=$?
66738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66739   (exit $ac_status); }; }; then
66740   glibcxx_cv_func__atan2l_use=yes
66741 else
66742   echo "$as_me: failed program was:" >&5
66743 sed 's/^/| /' conftest.$ac_ext >&5
66744
66745 glibcxx_cv_func__atan2l_use=no
66746 fi
66747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66748       ac_ext=c
66749 ac_cpp='$CPP $CPPFLAGS'
66750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66753
66754
66755 fi
66756
66757   fi
66758   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
66759 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
66760
66761     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
66762
66763 for ac_func in _atan2l
66764 do
66765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66766 echo "$as_me:$LINENO: checking for $ac_func" >&5
66767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66768 if eval "test \"\${$as_ac_var+set}\" = set"; then
66769   echo $ECHO_N "(cached) $ECHO_C" >&6
66770 else
66771   if test x$gcc_no_link = xyes; then
66772   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66774    { (exit 1); exit 1; }; }
66775 fi
66776 cat >conftest.$ac_ext <<_ACEOF
66777 /* confdefs.h.  */
66778 _ACEOF
66779 cat confdefs.h >>conftest.$ac_ext
66780 cat >>conftest.$ac_ext <<_ACEOF
66781 /* end confdefs.h.  */
66782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66783    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66784 #define $ac_func innocuous_$ac_func
66785
66786 /* System header to define __stub macros and hopefully few prototypes,
66787     which can conflict with char $ac_func (); below.
66788     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66789     <limits.h> exists even on freestanding compilers.  */
66790
66791 #ifdef __STDC__
66792 # include <limits.h>
66793 #else
66794 # include <assert.h>
66795 #endif
66796
66797 #undef $ac_func
66798
66799 /* Override any gcc2 internal prototype to avoid an error.  */
66800 #ifdef __cplusplus
66801 extern "C"
66802 {
66803 #endif
66804 /* We use char because int might match the return type of a gcc2
66805    builtin and then its argument prototype would still apply.  */
66806 char $ac_func ();
66807 /* The GNU C library defines this for functions which it implements
66808     to always fail with ENOSYS.  Some functions are actually named
66809     something starting with __ and the normal name is an alias.  */
66810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66811 choke me
66812 #else
66813 char (*f) () = $ac_func;
66814 #endif
66815 #ifdef __cplusplus
66816 }
66817 #endif
66818
66819 int
66820 main ()
66821 {
66822 return f != $ac_func;
66823   ;
66824   return 0;
66825 }
66826 _ACEOF
66827 rm -f conftest.$ac_objext conftest$ac_exeext
66828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66829   (eval $ac_link) 2>conftest.er1
66830   ac_status=$?
66831   grep -v '^ *+' conftest.er1 >conftest.err
66832   rm -f conftest.er1
66833   cat conftest.err >&5
66834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66835   (exit $ac_status); } &&
66836          { ac_try='test -z "$ac_c_werror_flag"
66837                          || test ! -s conftest.err'
66838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66839   (eval $ac_try) 2>&5
66840   ac_status=$?
66841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66842   (exit $ac_status); }; } &&
66843          { ac_try='test -s conftest$ac_exeext'
66844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66845   (eval $ac_try) 2>&5
66846   ac_status=$?
66847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66848   (exit $ac_status); }; }; then
66849   eval "$as_ac_var=yes"
66850 else
66851   echo "$as_me: failed program was:" >&5
66852 sed 's/^/| /' conftest.$ac_ext >&5
66853
66854 eval "$as_ac_var=no"
66855 fi
66856 rm -f conftest.err conftest.$ac_objext \
66857       conftest$ac_exeext conftest.$ac_ext
66858 fi
66859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66861 if test `eval echo '${'$as_ac_var'}'` = yes; then
66862   cat >>confdefs.h <<_ACEOF
66863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66864 _ACEOF
66865
66866 fi
66867 done
66868
66869     fi
66870   fi
66871
66872
66873
66874
66875
66876
66877   echo "$as_me:$LINENO: checking for expl declaration" >&5
66878 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
66879   if test x${glibcxx_cv_func_expl_use+set} != xset; then
66880     if test "${glibcxx_cv_func_expl_use+set}" = set; then
66881   echo $ECHO_N "(cached) $ECHO_C" >&6
66882 else
66883
66884
66885
66886       ac_ext=cc
66887 ac_cpp='$CXXCPP $CPPFLAGS'
66888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66891
66892       cat >conftest.$ac_ext <<_ACEOF
66893 /* confdefs.h.  */
66894 _ACEOF
66895 cat confdefs.h >>conftest.$ac_ext
66896 cat >>conftest.$ac_ext <<_ACEOF
66897 /* end confdefs.h.  */
66898 #include <math.h>
66899                       #ifdef HAVE_IEEEFP_H
66900                       #include <ieeefp.h>
66901                       #endif
66902
66903 int
66904 main ()
66905 {
66906  expl(0);
66907   ;
66908   return 0;
66909 }
66910 _ACEOF
66911 rm -f conftest.$ac_objext
66912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66913   (eval $ac_compile) 2>conftest.er1
66914   ac_status=$?
66915   grep -v '^ *+' conftest.er1 >conftest.err
66916   rm -f conftest.er1
66917   cat conftest.err >&5
66918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66919   (exit $ac_status); } &&
66920          { ac_try='test -z "$ac_cxx_werror_flag"
66921                          || test ! -s conftest.err'
66922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66923   (eval $ac_try) 2>&5
66924   ac_status=$?
66925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66926   (exit $ac_status); }; } &&
66927          { ac_try='test -s conftest.$ac_objext'
66928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66929   (eval $ac_try) 2>&5
66930   ac_status=$?
66931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66932   (exit $ac_status); }; }; then
66933   glibcxx_cv_func_expl_use=yes
66934 else
66935   echo "$as_me: failed program was:" >&5
66936 sed 's/^/| /' conftest.$ac_ext >&5
66937
66938 glibcxx_cv_func_expl_use=no
66939 fi
66940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66941       ac_ext=c
66942 ac_cpp='$CPP $CPPFLAGS'
66943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66946
66947
66948 fi
66949
66950   fi
66951   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
66952 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
66953
66954   if test x$glibcxx_cv_func_expl_use = x"yes"; then
66955
66956 for ac_func in expl
66957 do
66958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66959 echo "$as_me:$LINENO: checking for $ac_func" >&5
66960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66961 if eval "test \"\${$as_ac_var+set}\" = set"; then
66962   echo $ECHO_N "(cached) $ECHO_C" >&6
66963 else
66964   if test x$gcc_no_link = xyes; then
66965   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66967    { (exit 1); exit 1; }; }
66968 fi
66969 cat >conftest.$ac_ext <<_ACEOF
66970 /* confdefs.h.  */
66971 _ACEOF
66972 cat confdefs.h >>conftest.$ac_ext
66973 cat >>conftest.$ac_ext <<_ACEOF
66974 /* end confdefs.h.  */
66975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66976    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66977 #define $ac_func innocuous_$ac_func
66978
66979 /* System header to define __stub macros and hopefully few prototypes,
66980     which can conflict with char $ac_func (); below.
66981     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66982     <limits.h> exists even on freestanding compilers.  */
66983
66984 #ifdef __STDC__
66985 # include <limits.h>
66986 #else
66987 # include <assert.h>
66988 #endif
66989
66990 #undef $ac_func
66991
66992 /* Override any gcc2 internal prototype to avoid an error.  */
66993 #ifdef __cplusplus
66994 extern "C"
66995 {
66996 #endif
66997 /* We use char because int might match the return type of a gcc2
66998    builtin and then its argument prototype would still apply.  */
66999 char $ac_func ();
67000 /* The GNU C library defines this for functions which it implements
67001     to always fail with ENOSYS.  Some functions are actually named
67002     something starting with __ and the normal name is an alias.  */
67003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67004 choke me
67005 #else
67006 char (*f) () = $ac_func;
67007 #endif
67008 #ifdef __cplusplus
67009 }
67010 #endif
67011
67012 int
67013 main ()
67014 {
67015 return f != $ac_func;
67016   ;
67017   return 0;
67018 }
67019 _ACEOF
67020 rm -f conftest.$ac_objext conftest$ac_exeext
67021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67022   (eval $ac_link) 2>conftest.er1
67023   ac_status=$?
67024   grep -v '^ *+' conftest.er1 >conftest.err
67025   rm -f conftest.er1
67026   cat conftest.err >&5
67027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67028   (exit $ac_status); } &&
67029          { ac_try='test -z "$ac_c_werror_flag"
67030                          || test ! -s conftest.err'
67031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67032   (eval $ac_try) 2>&5
67033   ac_status=$?
67034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67035   (exit $ac_status); }; } &&
67036          { ac_try='test -s conftest$ac_exeext'
67037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67038   (eval $ac_try) 2>&5
67039   ac_status=$?
67040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67041   (exit $ac_status); }; }; then
67042   eval "$as_ac_var=yes"
67043 else
67044   echo "$as_me: failed program was:" >&5
67045 sed 's/^/| /' conftest.$ac_ext >&5
67046
67047 eval "$as_ac_var=no"
67048 fi
67049 rm -f conftest.err conftest.$ac_objext \
67050       conftest$ac_exeext conftest.$ac_ext
67051 fi
67052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67054 if test `eval echo '${'$as_ac_var'}'` = yes; then
67055   cat >>confdefs.h <<_ACEOF
67056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67057 _ACEOF
67058
67059 fi
67060 done
67061
67062   else
67063
67064   echo "$as_me:$LINENO: checking for _expl declaration" >&5
67065 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
67066   if test x${glibcxx_cv_func__expl_use+set} != xset; then
67067     if test "${glibcxx_cv_func__expl_use+set}" = set; then
67068   echo $ECHO_N "(cached) $ECHO_C" >&6
67069 else
67070
67071
67072
67073       ac_ext=cc
67074 ac_cpp='$CXXCPP $CPPFLAGS'
67075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67078
67079       cat >conftest.$ac_ext <<_ACEOF
67080 /* confdefs.h.  */
67081 _ACEOF
67082 cat confdefs.h >>conftest.$ac_ext
67083 cat >>conftest.$ac_ext <<_ACEOF
67084 /* end confdefs.h.  */
67085 #include <math.h>
67086                       #ifdef HAVE_IEEEFP_H
67087                       #include <ieeefp.h>
67088                       #endif
67089
67090 int
67091 main ()
67092 {
67093  _expl(0);
67094   ;
67095   return 0;
67096 }
67097 _ACEOF
67098 rm -f conftest.$ac_objext
67099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67100   (eval $ac_compile) 2>conftest.er1
67101   ac_status=$?
67102   grep -v '^ *+' conftest.er1 >conftest.err
67103   rm -f conftest.er1
67104   cat conftest.err >&5
67105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67106   (exit $ac_status); } &&
67107          { ac_try='test -z "$ac_cxx_werror_flag"
67108                          || test ! -s conftest.err'
67109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67110   (eval $ac_try) 2>&5
67111   ac_status=$?
67112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67113   (exit $ac_status); }; } &&
67114          { ac_try='test -s conftest.$ac_objext'
67115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67116   (eval $ac_try) 2>&5
67117   ac_status=$?
67118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67119   (exit $ac_status); }; }; then
67120   glibcxx_cv_func__expl_use=yes
67121 else
67122   echo "$as_me: failed program was:" >&5
67123 sed 's/^/| /' conftest.$ac_ext >&5
67124
67125 glibcxx_cv_func__expl_use=no
67126 fi
67127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67128       ac_ext=c
67129 ac_cpp='$CPP $CPPFLAGS'
67130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67133
67134
67135 fi
67136
67137   fi
67138   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
67139 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
67140
67141     if test x$glibcxx_cv_func__expl_use = x"yes"; then
67142
67143 for ac_func in _expl
67144 do
67145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67146 echo "$as_me:$LINENO: checking for $ac_func" >&5
67147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67148 if eval "test \"\${$as_ac_var+set}\" = set"; then
67149   echo $ECHO_N "(cached) $ECHO_C" >&6
67150 else
67151   if test x$gcc_no_link = xyes; then
67152   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67154    { (exit 1); exit 1; }; }
67155 fi
67156 cat >conftest.$ac_ext <<_ACEOF
67157 /* confdefs.h.  */
67158 _ACEOF
67159 cat confdefs.h >>conftest.$ac_ext
67160 cat >>conftest.$ac_ext <<_ACEOF
67161 /* end confdefs.h.  */
67162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67163    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67164 #define $ac_func innocuous_$ac_func
67165
67166 /* System header to define __stub macros and hopefully few prototypes,
67167     which can conflict with char $ac_func (); below.
67168     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67169     <limits.h> exists even on freestanding compilers.  */
67170
67171 #ifdef __STDC__
67172 # include <limits.h>
67173 #else
67174 # include <assert.h>
67175 #endif
67176
67177 #undef $ac_func
67178
67179 /* Override any gcc2 internal prototype to avoid an error.  */
67180 #ifdef __cplusplus
67181 extern "C"
67182 {
67183 #endif
67184 /* We use char because int might match the return type of a gcc2
67185    builtin and then its argument prototype would still apply.  */
67186 char $ac_func ();
67187 /* The GNU C library defines this for functions which it implements
67188     to always fail with ENOSYS.  Some functions are actually named
67189     something starting with __ and the normal name is an alias.  */
67190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67191 choke me
67192 #else
67193 char (*f) () = $ac_func;
67194 #endif
67195 #ifdef __cplusplus
67196 }
67197 #endif
67198
67199 int
67200 main ()
67201 {
67202 return f != $ac_func;
67203   ;
67204   return 0;
67205 }
67206 _ACEOF
67207 rm -f conftest.$ac_objext conftest$ac_exeext
67208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67209   (eval $ac_link) 2>conftest.er1
67210   ac_status=$?
67211   grep -v '^ *+' conftest.er1 >conftest.err
67212   rm -f conftest.er1
67213   cat conftest.err >&5
67214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67215   (exit $ac_status); } &&
67216          { ac_try='test -z "$ac_c_werror_flag"
67217                          || test ! -s conftest.err'
67218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67219   (eval $ac_try) 2>&5
67220   ac_status=$?
67221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67222   (exit $ac_status); }; } &&
67223          { ac_try='test -s conftest$ac_exeext'
67224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67225   (eval $ac_try) 2>&5
67226   ac_status=$?
67227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67228   (exit $ac_status); }; }; then
67229   eval "$as_ac_var=yes"
67230 else
67231   echo "$as_me: failed program was:" >&5
67232 sed 's/^/| /' conftest.$ac_ext >&5
67233
67234 eval "$as_ac_var=no"
67235 fi
67236 rm -f conftest.err conftest.$ac_objext \
67237       conftest$ac_exeext conftest.$ac_ext
67238 fi
67239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67241 if test `eval echo '${'$as_ac_var'}'` = yes; then
67242   cat >>confdefs.h <<_ACEOF
67243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67244 _ACEOF
67245
67246 fi
67247 done
67248
67249     fi
67250   fi
67251
67252
67253
67254
67255
67256
67257   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
67258 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
67259   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67260     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
67261   echo $ECHO_N "(cached) $ECHO_C" >&6
67262 else
67263
67264
67265
67266       ac_ext=cc
67267 ac_cpp='$CXXCPP $CPPFLAGS'
67268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67271
67272       cat >conftest.$ac_ext <<_ACEOF
67273 /* confdefs.h.  */
67274 _ACEOF
67275 cat confdefs.h >>conftest.$ac_ext
67276 cat >>conftest.$ac_ext <<_ACEOF
67277 /* end confdefs.h.  */
67278 #include <math.h>
67279                       #ifdef HAVE_IEEEFP_H
67280                       #include <ieeefp.h>
67281                       #endif
67282
67283 int
67284 main ()
67285 {
67286  fabsl(0);
67287   ;
67288   return 0;
67289 }
67290 _ACEOF
67291 rm -f conftest.$ac_objext
67292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67293   (eval $ac_compile) 2>conftest.er1
67294   ac_status=$?
67295   grep -v '^ *+' conftest.er1 >conftest.err
67296   rm -f conftest.er1
67297   cat conftest.err >&5
67298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67299   (exit $ac_status); } &&
67300          { ac_try='test -z "$ac_cxx_werror_flag"
67301                          || test ! -s conftest.err'
67302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67303   (eval $ac_try) 2>&5
67304   ac_status=$?
67305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67306   (exit $ac_status); }; } &&
67307          { ac_try='test -s conftest.$ac_objext'
67308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67309   (eval $ac_try) 2>&5
67310   ac_status=$?
67311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67312   (exit $ac_status); }; }; then
67313   glibcxx_cv_func_fabsl_use=yes
67314 else
67315   echo "$as_me: failed program was:" >&5
67316 sed 's/^/| /' conftest.$ac_ext >&5
67317
67318 glibcxx_cv_func_fabsl_use=no
67319 fi
67320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67321       ac_ext=c
67322 ac_cpp='$CPP $CPPFLAGS'
67323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67326
67327
67328 fi
67329
67330   fi
67331   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
67332 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
67333
67334   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67335
67336 for ac_func in fabsl
67337 do
67338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67339 echo "$as_me:$LINENO: checking for $ac_func" >&5
67340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67341 if eval "test \"\${$as_ac_var+set}\" = set"; then
67342   echo $ECHO_N "(cached) $ECHO_C" >&6
67343 else
67344   if test x$gcc_no_link = xyes; then
67345   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67347    { (exit 1); exit 1; }; }
67348 fi
67349 cat >conftest.$ac_ext <<_ACEOF
67350 /* confdefs.h.  */
67351 _ACEOF
67352 cat confdefs.h >>conftest.$ac_ext
67353 cat >>conftest.$ac_ext <<_ACEOF
67354 /* end confdefs.h.  */
67355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67356    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67357 #define $ac_func innocuous_$ac_func
67358
67359 /* System header to define __stub macros and hopefully few prototypes,
67360     which can conflict with char $ac_func (); below.
67361     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67362     <limits.h> exists even on freestanding compilers.  */
67363
67364 #ifdef __STDC__
67365 # include <limits.h>
67366 #else
67367 # include <assert.h>
67368 #endif
67369
67370 #undef $ac_func
67371
67372 /* Override any gcc2 internal prototype to avoid an error.  */
67373 #ifdef __cplusplus
67374 extern "C"
67375 {
67376 #endif
67377 /* We use char because int might match the return type of a gcc2
67378    builtin and then its argument prototype would still apply.  */
67379 char $ac_func ();
67380 /* The GNU C library defines this for functions which it implements
67381     to always fail with ENOSYS.  Some functions are actually named
67382     something starting with __ and the normal name is an alias.  */
67383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67384 choke me
67385 #else
67386 char (*f) () = $ac_func;
67387 #endif
67388 #ifdef __cplusplus
67389 }
67390 #endif
67391
67392 int
67393 main ()
67394 {
67395 return f != $ac_func;
67396   ;
67397   return 0;
67398 }
67399 _ACEOF
67400 rm -f conftest.$ac_objext conftest$ac_exeext
67401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67402   (eval $ac_link) 2>conftest.er1
67403   ac_status=$?
67404   grep -v '^ *+' conftest.er1 >conftest.err
67405   rm -f conftest.er1
67406   cat conftest.err >&5
67407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67408   (exit $ac_status); } &&
67409          { ac_try='test -z "$ac_c_werror_flag"
67410                          || test ! -s conftest.err'
67411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67412   (eval $ac_try) 2>&5
67413   ac_status=$?
67414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67415   (exit $ac_status); }; } &&
67416          { ac_try='test -s conftest$ac_exeext'
67417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67418   (eval $ac_try) 2>&5
67419   ac_status=$?
67420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67421   (exit $ac_status); }; }; then
67422   eval "$as_ac_var=yes"
67423 else
67424   echo "$as_me: failed program was:" >&5
67425 sed 's/^/| /' conftest.$ac_ext >&5
67426
67427 eval "$as_ac_var=no"
67428 fi
67429 rm -f conftest.err conftest.$ac_objext \
67430       conftest$ac_exeext conftest.$ac_ext
67431 fi
67432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67434 if test `eval echo '${'$as_ac_var'}'` = yes; then
67435   cat >>confdefs.h <<_ACEOF
67436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67437 _ACEOF
67438
67439 fi
67440 done
67441
67442   else
67443
67444   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
67445 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
67446   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67447     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
67448   echo $ECHO_N "(cached) $ECHO_C" >&6
67449 else
67450
67451
67452
67453       ac_ext=cc
67454 ac_cpp='$CXXCPP $CPPFLAGS'
67455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67458
67459       cat >conftest.$ac_ext <<_ACEOF
67460 /* confdefs.h.  */
67461 _ACEOF
67462 cat confdefs.h >>conftest.$ac_ext
67463 cat >>conftest.$ac_ext <<_ACEOF
67464 /* end confdefs.h.  */
67465 #include <math.h>
67466                       #ifdef HAVE_IEEEFP_H
67467                       #include <ieeefp.h>
67468                       #endif
67469
67470 int
67471 main ()
67472 {
67473  _fabsl(0);
67474   ;
67475   return 0;
67476 }
67477 _ACEOF
67478 rm -f conftest.$ac_objext
67479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67480   (eval $ac_compile) 2>conftest.er1
67481   ac_status=$?
67482   grep -v '^ *+' conftest.er1 >conftest.err
67483   rm -f conftest.er1
67484   cat conftest.err >&5
67485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67486   (exit $ac_status); } &&
67487          { ac_try='test -z "$ac_cxx_werror_flag"
67488                          || test ! -s conftest.err'
67489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67490   (eval $ac_try) 2>&5
67491   ac_status=$?
67492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67493   (exit $ac_status); }; } &&
67494          { ac_try='test -s conftest.$ac_objext'
67495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67496   (eval $ac_try) 2>&5
67497   ac_status=$?
67498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67499   (exit $ac_status); }; }; then
67500   glibcxx_cv_func__fabsl_use=yes
67501 else
67502   echo "$as_me: failed program was:" >&5
67503 sed 's/^/| /' conftest.$ac_ext >&5
67504
67505 glibcxx_cv_func__fabsl_use=no
67506 fi
67507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67508       ac_ext=c
67509 ac_cpp='$CPP $CPPFLAGS'
67510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67513
67514
67515 fi
67516
67517   fi
67518   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
67519 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
67520
67521     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
67522
67523 for ac_func in _fabsl
67524 do
67525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67526 echo "$as_me:$LINENO: checking for $ac_func" >&5
67527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67528 if eval "test \"\${$as_ac_var+set}\" = set"; then
67529   echo $ECHO_N "(cached) $ECHO_C" >&6
67530 else
67531   if test x$gcc_no_link = xyes; then
67532   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67534    { (exit 1); exit 1; }; }
67535 fi
67536 cat >conftest.$ac_ext <<_ACEOF
67537 /* confdefs.h.  */
67538 _ACEOF
67539 cat confdefs.h >>conftest.$ac_ext
67540 cat >>conftest.$ac_ext <<_ACEOF
67541 /* end confdefs.h.  */
67542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67543    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67544 #define $ac_func innocuous_$ac_func
67545
67546 /* System header to define __stub macros and hopefully few prototypes,
67547     which can conflict with char $ac_func (); below.
67548     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67549     <limits.h> exists even on freestanding compilers.  */
67550
67551 #ifdef __STDC__
67552 # include <limits.h>
67553 #else
67554 # include <assert.h>
67555 #endif
67556
67557 #undef $ac_func
67558
67559 /* Override any gcc2 internal prototype to avoid an error.  */
67560 #ifdef __cplusplus
67561 extern "C"
67562 {
67563 #endif
67564 /* We use char because int might match the return type of a gcc2
67565    builtin and then its argument prototype would still apply.  */
67566 char $ac_func ();
67567 /* The GNU C library defines this for functions which it implements
67568     to always fail with ENOSYS.  Some functions are actually named
67569     something starting with __ and the normal name is an alias.  */
67570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67571 choke me
67572 #else
67573 char (*f) () = $ac_func;
67574 #endif
67575 #ifdef __cplusplus
67576 }
67577 #endif
67578
67579 int
67580 main ()
67581 {
67582 return f != $ac_func;
67583   ;
67584   return 0;
67585 }
67586 _ACEOF
67587 rm -f conftest.$ac_objext conftest$ac_exeext
67588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67589   (eval $ac_link) 2>conftest.er1
67590   ac_status=$?
67591   grep -v '^ *+' conftest.er1 >conftest.err
67592   rm -f conftest.er1
67593   cat conftest.err >&5
67594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67595   (exit $ac_status); } &&
67596          { ac_try='test -z "$ac_c_werror_flag"
67597                          || test ! -s conftest.err'
67598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67599   (eval $ac_try) 2>&5
67600   ac_status=$?
67601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67602   (exit $ac_status); }; } &&
67603          { ac_try='test -s conftest$ac_exeext'
67604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67605   (eval $ac_try) 2>&5
67606   ac_status=$?
67607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67608   (exit $ac_status); }; }; then
67609   eval "$as_ac_var=yes"
67610 else
67611   echo "$as_me: failed program was:" >&5
67612 sed 's/^/| /' conftest.$ac_ext >&5
67613
67614 eval "$as_ac_var=no"
67615 fi
67616 rm -f conftest.err conftest.$ac_objext \
67617       conftest$ac_exeext conftest.$ac_ext
67618 fi
67619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67621 if test `eval echo '${'$as_ac_var'}'` = yes; then
67622   cat >>confdefs.h <<_ACEOF
67623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67624 _ACEOF
67625
67626 fi
67627 done
67628
67629     fi
67630   fi
67631
67632
67633
67634
67635
67636
67637   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
67638 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
67639   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
67640     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
67641   echo $ECHO_N "(cached) $ECHO_C" >&6
67642 else
67643
67644
67645
67646       ac_ext=cc
67647 ac_cpp='$CXXCPP $CPPFLAGS'
67648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67651
67652       cat >conftest.$ac_ext <<_ACEOF
67653 /* confdefs.h.  */
67654 _ACEOF
67655 cat confdefs.h >>conftest.$ac_ext
67656 cat >>conftest.$ac_ext <<_ACEOF
67657 /* end confdefs.h.  */
67658 #include <math.h>
67659 int
67660 main ()
67661 {
67662  fmodl(0, 0);
67663   ;
67664   return 0;
67665 }
67666 _ACEOF
67667 rm -f conftest.$ac_objext
67668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67669   (eval $ac_compile) 2>conftest.er1
67670   ac_status=$?
67671   grep -v '^ *+' conftest.er1 >conftest.err
67672   rm -f conftest.er1
67673   cat conftest.err >&5
67674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67675   (exit $ac_status); } &&
67676          { ac_try='test -z "$ac_cxx_werror_flag"
67677                          || test ! -s conftest.err'
67678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67679   (eval $ac_try) 2>&5
67680   ac_status=$?
67681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67682   (exit $ac_status); }; } &&
67683          { ac_try='test -s conftest.$ac_objext'
67684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67685   (eval $ac_try) 2>&5
67686   ac_status=$?
67687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67688   (exit $ac_status); }; }; then
67689   glibcxx_cv_func_fmodl_use=yes
67690 else
67691   echo "$as_me: failed program was:" >&5
67692 sed 's/^/| /' conftest.$ac_ext >&5
67693
67694 glibcxx_cv_func_fmodl_use=no
67695 fi
67696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67697       ac_ext=c
67698 ac_cpp='$CPP $CPPFLAGS'
67699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67702
67703
67704 fi
67705
67706   fi
67707   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
67708 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
67709
67710   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
67711
67712 for ac_func in fmodl
67713 do
67714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67715 echo "$as_me:$LINENO: checking for $ac_func" >&5
67716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67717 if eval "test \"\${$as_ac_var+set}\" = set"; then
67718   echo $ECHO_N "(cached) $ECHO_C" >&6
67719 else
67720   if test x$gcc_no_link = xyes; then
67721   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67723    { (exit 1); exit 1; }; }
67724 fi
67725 cat >conftest.$ac_ext <<_ACEOF
67726 /* confdefs.h.  */
67727 _ACEOF
67728 cat confdefs.h >>conftest.$ac_ext
67729 cat >>conftest.$ac_ext <<_ACEOF
67730 /* end confdefs.h.  */
67731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67733 #define $ac_func innocuous_$ac_func
67734
67735 /* System header to define __stub macros and hopefully few prototypes,
67736     which can conflict with char $ac_func (); below.
67737     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67738     <limits.h> exists even on freestanding compilers.  */
67739
67740 #ifdef __STDC__
67741 # include <limits.h>
67742 #else
67743 # include <assert.h>
67744 #endif
67745
67746 #undef $ac_func
67747
67748 /* Override any gcc2 internal prototype to avoid an error.  */
67749 #ifdef __cplusplus
67750 extern "C"
67751 {
67752 #endif
67753 /* We use char because int might match the return type of a gcc2
67754    builtin and then its argument prototype would still apply.  */
67755 char $ac_func ();
67756 /* The GNU C library defines this for functions which it implements
67757     to always fail with ENOSYS.  Some functions are actually named
67758     something starting with __ and the normal name is an alias.  */
67759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67760 choke me
67761 #else
67762 char (*f) () = $ac_func;
67763 #endif
67764 #ifdef __cplusplus
67765 }
67766 #endif
67767
67768 int
67769 main ()
67770 {
67771 return f != $ac_func;
67772   ;
67773   return 0;
67774 }
67775 _ACEOF
67776 rm -f conftest.$ac_objext conftest$ac_exeext
67777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67778   (eval $ac_link) 2>conftest.er1
67779   ac_status=$?
67780   grep -v '^ *+' conftest.er1 >conftest.err
67781   rm -f conftest.er1
67782   cat conftest.err >&5
67783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67784   (exit $ac_status); } &&
67785          { ac_try='test -z "$ac_c_werror_flag"
67786                          || test ! -s conftest.err'
67787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67788   (eval $ac_try) 2>&5
67789   ac_status=$?
67790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67791   (exit $ac_status); }; } &&
67792          { ac_try='test -s conftest$ac_exeext'
67793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67794   (eval $ac_try) 2>&5
67795   ac_status=$?
67796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67797   (exit $ac_status); }; }; then
67798   eval "$as_ac_var=yes"
67799 else
67800   echo "$as_me: failed program was:" >&5
67801 sed 's/^/| /' conftest.$ac_ext >&5
67802
67803 eval "$as_ac_var=no"
67804 fi
67805 rm -f conftest.err conftest.$ac_objext \
67806       conftest$ac_exeext conftest.$ac_ext
67807 fi
67808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67810 if test `eval echo '${'$as_ac_var'}'` = yes; then
67811   cat >>confdefs.h <<_ACEOF
67812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67813 _ACEOF
67814
67815 fi
67816 done
67817
67818   else
67819
67820   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
67821 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
67822   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
67823     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
67824   echo $ECHO_N "(cached) $ECHO_C" >&6
67825 else
67826
67827
67828
67829       ac_ext=cc
67830 ac_cpp='$CXXCPP $CPPFLAGS'
67831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67834
67835       cat >conftest.$ac_ext <<_ACEOF
67836 /* confdefs.h.  */
67837 _ACEOF
67838 cat confdefs.h >>conftest.$ac_ext
67839 cat >>conftest.$ac_ext <<_ACEOF
67840 /* end confdefs.h.  */
67841 #include <math.h>
67842 int
67843 main ()
67844 {
67845  _fmodl(0, 0);
67846   ;
67847   return 0;
67848 }
67849 _ACEOF
67850 rm -f conftest.$ac_objext
67851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67852   (eval $ac_compile) 2>conftest.er1
67853   ac_status=$?
67854   grep -v '^ *+' conftest.er1 >conftest.err
67855   rm -f conftest.er1
67856   cat conftest.err >&5
67857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67858   (exit $ac_status); } &&
67859          { ac_try='test -z "$ac_cxx_werror_flag"
67860                          || test ! -s conftest.err'
67861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67862   (eval $ac_try) 2>&5
67863   ac_status=$?
67864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67865   (exit $ac_status); }; } &&
67866          { ac_try='test -s conftest.$ac_objext'
67867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67868   (eval $ac_try) 2>&5
67869   ac_status=$?
67870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67871   (exit $ac_status); }; }; then
67872   glibcxx_cv_func__fmodl_use=yes
67873 else
67874   echo "$as_me: failed program was:" >&5
67875 sed 's/^/| /' conftest.$ac_ext >&5
67876
67877 glibcxx_cv_func__fmodl_use=no
67878 fi
67879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67880       ac_ext=c
67881 ac_cpp='$CPP $CPPFLAGS'
67882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67885
67886
67887 fi
67888
67889   fi
67890   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
67891 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
67892
67893     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
67894
67895 for ac_func in _fmodl
67896 do
67897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67898 echo "$as_me:$LINENO: checking for $ac_func" >&5
67899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67900 if eval "test \"\${$as_ac_var+set}\" = set"; then
67901   echo $ECHO_N "(cached) $ECHO_C" >&6
67902 else
67903   if test x$gcc_no_link = xyes; then
67904   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67906    { (exit 1); exit 1; }; }
67907 fi
67908 cat >conftest.$ac_ext <<_ACEOF
67909 /* confdefs.h.  */
67910 _ACEOF
67911 cat confdefs.h >>conftest.$ac_ext
67912 cat >>conftest.$ac_ext <<_ACEOF
67913 /* end confdefs.h.  */
67914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67915    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67916 #define $ac_func innocuous_$ac_func
67917
67918 /* System header to define __stub macros and hopefully few prototypes,
67919     which can conflict with char $ac_func (); below.
67920     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67921     <limits.h> exists even on freestanding compilers.  */
67922
67923 #ifdef __STDC__
67924 # include <limits.h>
67925 #else
67926 # include <assert.h>
67927 #endif
67928
67929 #undef $ac_func
67930
67931 /* Override any gcc2 internal prototype to avoid an error.  */
67932 #ifdef __cplusplus
67933 extern "C"
67934 {
67935 #endif
67936 /* We use char because int might match the return type of a gcc2
67937    builtin and then its argument prototype would still apply.  */
67938 char $ac_func ();
67939 /* The GNU C library defines this for functions which it implements
67940     to always fail with ENOSYS.  Some functions are actually named
67941     something starting with __ and the normal name is an alias.  */
67942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67943 choke me
67944 #else
67945 char (*f) () = $ac_func;
67946 #endif
67947 #ifdef __cplusplus
67948 }
67949 #endif
67950
67951 int
67952 main ()
67953 {
67954 return f != $ac_func;
67955   ;
67956   return 0;
67957 }
67958 _ACEOF
67959 rm -f conftest.$ac_objext conftest$ac_exeext
67960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67961   (eval $ac_link) 2>conftest.er1
67962   ac_status=$?
67963   grep -v '^ *+' conftest.er1 >conftest.err
67964   rm -f conftest.er1
67965   cat conftest.err >&5
67966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67967   (exit $ac_status); } &&
67968          { ac_try='test -z "$ac_c_werror_flag"
67969                          || test ! -s conftest.err'
67970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67971   (eval $ac_try) 2>&5
67972   ac_status=$?
67973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67974   (exit $ac_status); }; } &&
67975          { ac_try='test -s conftest$ac_exeext'
67976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67977   (eval $ac_try) 2>&5
67978   ac_status=$?
67979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67980   (exit $ac_status); }; }; then
67981   eval "$as_ac_var=yes"
67982 else
67983   echo "$as_me: failed program was:" >&5
67984 sed 's/^/| /' conftest.$ac_ext >&5
67985
67986 eval "$as_ac_var=no"
67987 fi
67988 rm -f conftest.err conftest.$ac_objext \
67989       conftest$ac_exeext conftest.$ac_ext
67990 fi
67991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67993 if test `eval echo '${'$as_ac_var'}'` = yes; then
67994   cat >>confdefs.h <<_ACEOF
67995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67996 _ACEOF
67997
67998 fi
67999 done
68000
68001     fi
68002   fi
68003
68004
68005
68006
68007
68008
68009   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
68010 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
68011   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68012     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
68013   echo $ECHO_N "(cached) $ECHO_C" >&6
68014 else
68015
68016
68017
68018       ac_ext=cc
68019 ac_cpp='$CXXCPP $CPPFLAGS'
68020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68023
68024       cat >conftest.$ac_ext <<_ACEOF
68025 /* confdefs.h.  */
68026 _ACEOF
68027 cat confdefs.h >>conftest.$ac_ext
68028 cat >>conftest.$ac_ext <<_ACEOF
68029 /* end confdefs.h.  */
68030 #include <math.h>
68031 int
68032 main ()
68033 {
68034  frexpl(0, 0);
68035   ;
68036   return 0;
68037 }
68038 _ACEOF
68039 rm -f conftest.$ac_objext
68040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68041   (eval $ac_compile) 2>conftest.er1
68042   ac_status=$?
68043   grep -v '^ *+' conftest.er1 >conftest.err
68044   rm -f conftest.er1
68045   cat conftest.err >&5
68046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68047   (exit $ac_status); } &&
68048          { ac_try='test -z "$ac_cxx_werror_flag"
68049                          || test ! -s conftest.err'
68050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68051   (eval $ac_try) 2>&5
68052   ac_status=$?
68053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68054   (exit $ac_status); }; } &&
68055          { ac_try='test -s conftest.$ac_objext'
68056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68057   (eval $ac_try) 2>&5
68058   ac_status=$?
68059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68060   (exit $ac_status); }; }; then
68061   glibcxx_cv_func_frexpl_use=yes
68062 else
68063   echo "$as_me: failed program was:" >&5
68064 sed 's/^/| /' conftest.$ac_ext >&5
68065
68066 glibcxx_cv_func_frexpl_use=no
68067 fi
68068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68069       ac_ext=c
68070 ac_cpp='$CPP $CPPFLAGS'
68071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68074
68075
68076 fi
68077
68078   fi
68079   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
68080 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
68081
68082   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68083
68084 for ac_func in frexpl
68085 do
68086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68087 echo "$as_me:$LINENO: checking for $ac_func" >&5
68088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68089 if eval "test \"\${$as_ac_var+set}\" = set"; then
68090   echo $ECHO_N "(cached) $ECHO_C" >&6
68091 else
68092   if test x$gcc_no_link = xyes; then
68093   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68095    { (exit 1); exit 1; }; }
68096 fi
68097 cat >conftest.$ac_ext <<_ACEOF
68098 /* confdefs.h.  */
68099 _ACEOF
68100 cat confdefs.h >>conftest.$ac_ext
68101 cat >>conftest.$ac_ext <<_ACEOF
68102 /* end confdefs.h.  */
68103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68104    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68105 #define $ac_func innocuous_$ac_func
68106
68107 /* System header to define __stub macros and hopefully few prototypes,
68108     which can conflict with char $ac_func (); below.
68109     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68110     <limits.h> exists even on freestanding compilers.  */
68111
68112 #ifdef __STDC__
68113 # include <limits.h>
68114 #else
68115 # include <assert.h>
68116 #endif
68117
68118 #undef $ac_func
68119
68120 /* Override any gcc2 internal prototype to avoid an error.  */
68121 #ifdef __cplusplus
68122 extern "C"
68123 {
68124 #endif
68125 /* We use char because int might match the return type of a gcc2
68126    builtin and then its argument prototype would still apply.  */
68127 char $ac_func ();
68128 /* The GNU C library defines this for functions which it implements
68129     to always fail with ENOSYS.  Some functions are actually named
68130     something starting with __ and the normal name is an alias.  */
68131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68132 choke me
68133 #else
68134 char (*f) () = $ac_func;
68135 #endif
68136 #ifdef __cplusplus
68137 }
68138 #endif
68139
68140 int
68141 main ()
68142 {
68143 return f != $ac_func;
68144   ;
68145   return 0;
68146 }
68147 _ACEOF
68148 rm -f conftest.$ac_objext conftest$ac_exeext
68149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68150   (eval $ac_link) 2>conftest.er1
68151   ac_status=$?
68152   grep -v '^ *+' conftest.er1 >conftest.err
68153   rm -f conftest.er1
68154   cat conftest.err >&5
68155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68156   (exit $ac_status); } &&
68157          { ac_try='test -z "$ac_c_werror_flag"
68158                          || test ! -s conftest.err'
68159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68160   (eval $ac_try) 2>&5
68161   ac_status=$?
68162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68163   (exit $ac_status); }; } &&
68164          { ac_try='test -s conftest$ac_exeext'
68165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68166   (eval $ac_try) 2>&5
68167   ac_status=$?
68168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68169   (exit $ac_status); }; }; then
68170   eval "$as_ac_var=yes"
68171 else
68172   echo "$as_me: failed program was:" >&5
68173 sed 's/^/| /' conftest.$ac_ext >&5
68174
68175 eval "$as_ac_var=no"
68176 fi
68177 rm -f conftest.err conftest.$ac_objext \
68178       conftest$ac_exeext conftest.$ac_ext
68179 fi
68180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68182 if test `eval echo '${'$as_ac_var'}'` = yes; then
68183   cat >>confdefs.h <<_ACEOF
68184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68185 _ACEOF
68186
68187 fi
68188 done
68189
68190   else
68191
68192   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
68193 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
68194   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68195     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
68196   echo $ECHO_N "(cached) $ECHO_C" >&6
68197 else
68198
68199
68200
68201       ac_ext=cc
68202 ac_cpp='$CXXCPP $CPPFLAGS'
68203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68206
68207       cat >conftest.$ac_ext <<_ACEOF
68208 /* confdefs.h.  */
68209 _ACEOF
68210 cat confdefs.h >>conftest.$ac_ext
68211 cat >>conftest.$ac_ext <<_ACEOF
68212 /* end confdefs.h.  */
68213 #include <math.h>
68214 int
68215 main ()
68216 {
68217  _frexpl(0, 0);
68218   ;
68219   return 0;
68220 }
68221 _ACEOF
68222 rm -f conftest.$ac_objext
68223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68224   (eval $ac_compile) 2>conftest.er1
68225   ac_status=$?
68226   grep -v '^ *+' conftest.er1 >conftest.err
68227   rm -f conftest.er1
68228   cat conftest.err >&5
68229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68230   (exit $ac_status); } &&
68231          { ac_try='test -z "$ac_cxx_werror_flag"
68232                          || test ! -s conftest.err'
68233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68234   (eval $ac_try) 2>&5
68235   ac_status=$?
68236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68237   (exit $ac_status); }; } &&
68238          { ac_try='test -s conftest.$ac_objext'
68239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68240   (eval $ac_try) 2>&5
68241   ac_status=$?
68242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68243   (exit $ac_status); }; }; then
68244   glibcxx_cv_func__frexpl_use=yes
68245 else
68246   echo "$as_me: failed program was:" >&5
68247 sed 's/^/| /' conftest.$ac_ext >&5
68248
68249 glibcxx_cv_func__frexpl_use=no
68250 fi
68251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68252       ac_ext=c
68253 ac_cpp='$CPP $CPPFLAGS'
68254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68257
68258
68259 fi
68260
68261   fi
68262   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
68263 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
68264
68265     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68266
68267 for ac_func in _frexpl
68268 do
68269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68270 echo "$as_me:$LINENO: checking for $ac_func" >&5
68271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68272 if eval "test \"\${$as_ac_var+set}\" = set"; then
68273   echo $ECHO_N "(cached) $ECHO_C" >&6
68274 else
68275   if test x$gcc_no_link = xyes; then
68276   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68278    { (exit 1); exit 1; }; }
68279 fi
68280 cat >conftest.$ac_ext <<_ACEOF
68281 /* confdefs.h.  */
68282 _ACEOF
68283 cat confdefs.h >>conftest.$ac_ext
68284 cat >>conftest.$ac_ext <<_ACEOF
68285 /* end confdefs.h.  */
68286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68287    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68288 #define $ac_func innocuous_$ac_func
68289
68290 /* System header to define __stub macros and hopefully few prototypes,
68291     which can conflict with char $ac_func (); below.
68292     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68293     <limits.h> exists even on freestanding compilers.  */
68294
68295 #ifdef __STDC__
68296 # include <limits.h>
68297 #else
68298 # include <assert.h>
68299 #endif
68300
68301 #undef $ac_func
68302
68303 /* Override any gcc2 internal prototype to avoid an error.  */
68304 #ifdef __cplusplus
68305 extern "C"
68306 {
68307 #endif
68308 /* We use char because int might match the return type of a gcc2
68309    builtin and then its argument prototype would still apply.  */
68310 char $ac_func ();
68311 /* The GNU C library defines this for functions which it implements
68312     to always fail with ENOSYS.  Some functions are actually named
68313     something starting with __ and the normal name is an alias.  */
68314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68315 choke me
68316 #else
68317 char (*f) () = $ac_func;
68318 #endif
68319 #ifdef __cplusplus
68320 }
68321 #endif
68322
68323 int
68324 main ()
68325 {
68326 return f != $ac_func;
68327   ;
68328   return 0;
68329 }
68330 _ACEOF
68331 rm -f conftest.$ac_objext conftest$ac_exeext
68332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68333   (eval $ac_link) 2>conftest.er1
68334   ac_status=$?
68335   grep -v '^ *+' conftest.er1 >conftest.err
68336   rm -f conftest.er1
68337   cat conftest.err >&5
68338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68339   (exit $ac_status); } &&
68340          { ac_try='test -z "$ac_c_werror_flag"
68341                          || test ! -s conftest.err'
68342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68343   (eval $ac_try) 2>&5
68344   ac_status=$?
68345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68346   (exit $ac_status); }; } &&
68347          { ac_try='test -s conftest$ac_exeext'
68348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68349   (eval $ac_try) 2>&5
68350   ac_status=$?
68351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68352   (exit $ac_status); }; }; then
68353   eval "$as_ac_var=yes"
68354 else
68355   echo "$as_me: failed program was:" >&5
68356 sed 's/^/| /' conftest.$ac_ext >&5
68357
68358 eval "$as_ac_var=no"
68359 fi
68360 rm -f conftest.err conftest.$ac_objext \
68361       conftest$ac_exeext conftest.$ac_ext
68362 fi
68363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68365 if test `eval echo '${'$as_ac_var'}'` = yes; then
68366   cat >>confdefs.h <<_ACEOF
68367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68368 _ACEOF
68369
68370 fi
68371 done
68372
68373     fi
68374   fi
68375
68376
68377
68378
68379
68380
68381   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
68382 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
68383   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68384     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
68385   echo $ECHO_N "(cached) $ECHO_C" >&6
68386 else
68387
68388
68389
68390       ac_ext=cc
68391 ac_cpp='$CXXCPP $CPPFLAGS'
68392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68395
68396       cat >conftest.$ac_ext <<_ACEOF
68397 /* confdefs.h.  */
68398 _ACEOF
68399 cat confdefs.h >>conftest.$ac_ext
68400 cat >>conftest.$ac_ext <<_ACEOF
68401 /* end confdefs.h.  */
68402 #include <math.h>
68403 int
68404 main ()
68405 {
68406  hypotl(0, 0);
68407   ;
68408   return 0;
68409 }
68410 _ACEOF
68411 rm -f conftest.$ac_objext
68412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68413   (eval $ac_compile) 2>conftest.er1
68414   ac_status=$?
68415   grep -v '^ *+' conftest.er1 >conftest.err
68416   rm -f conftest.er1
68417   cat conftest.err >&5
68418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68419   (exit $ac_status); } &&
68420          { ac_try='test -z "$ac_cxx_werror_flag"
68421                          || test ! -s conftest.err'
68422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68423   (eval $ac_try) 2>&5
68424   ac_status=$?
68425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68426   (exit $ac_status); }; } &&
68427          { ac_try='test -s conftest.$ac_objext'
68428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68429   (eval $ac_try) 2>&5
68430   ac_status=$?
68431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68432   (exit $ac_status); }; }; then
68433   glibcxx_cv_func_hypotl_use=yes
68434 else
68435   echo "$as_me: failed program was:" >&5
68436 sed 's/^/| /' conftest.$ac_ext >&5
68437
68438 glibcxx_cv_func_hypotl_use=no
68439 fi
68440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68441       ac_ext=c
68442 ac_cpp='$CPP $CPPFLAGS'
68443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68446
68447
68448 fi
68449
68450   fi
68451   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
68452 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
68453
68454   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68455
68456 for ac_func in hypotl
68457 do
68458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68459 echo "$as_me:$LINENO: checking for $ac_func" >&5
68460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68461 if eval "test \"\${$as_ac_var+set}\" = set"; then
68462   echo $ECHO_N "(cached) $ECHO_C" >&6
68463 else
68464   if test x$gcc_no_link = xyes; then
68465   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68467    { (exit 1); exit 1; }; }
68468 fi
68469 cat >conftest.$ac_ext <<_ACEOF
68470 /* confdefs.h.  */
68471 _ACEOF
68472 cat confdefs.h >>conftest.$ac_ext
68473 cat >>conftest.$ac_ext <<_ACEOF
68474 /* end confdefs.h.  */
68475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68476    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68477 #define $ac_func innocuous_$ac_func
68478
68479 /* System header to define __stub macros and hopefully few prototypes,
68480     which can conflict with char $ac_func (); below.
68481     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68482     <limits.h> exists even on freestanding compilers.  */
68483
68484 #ifdef __STDC__
68485 # include <limits.h>
68486 #else
68487 # include <assert.h>
68488 #endif
68489
68490 #undef $ac_func
68491
68492 /* Override any gcc2 internal prototype to avoid an error.  */
68493 #ifdef __cplusplus
68494 extern "C"
68495 {
68496 #endif
68497 /* We use char because int might match the return type of a gcc2
68498    builtin and then its argument prototype would still apply.  */
68499 char $ac_func ();
68500 /* The GNU C library defines this for functions which it implements
68501     to always fail with ENOSYS.  Some functions are actually named
68502     something starting with __ and the normal name is an alias.  */
68503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68504 choke me
68505 #else
68506 char (*f) () = $ac_func;
68507 #endif
68508 #ifdef __cplusplus
68509 }
68510 #endif
68511
68512 int
68513 main ()
68514 {
68515 return f != $ac_func;
68516   ;
68517   return 0;
68518 }
68519 _ACEOF
68520 rm -f conftest.$ac_objext conftest$ac_exeext
68521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68522   (eval $ac_link) 2>conftest.er1
68523   ac_status=$?
68524   grep -v '^ *+' conftest.er1 >conftest.err
68525   rm -f conftest.er1
68526   cat conftest.err >&5
68527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68528   (exit $ac_status); } &&
68529          { ac_try='test -z "$ac_c_werror_flag"
68530                          || test ! -s conftest.err'
68531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68532   (eval $ac_try) 2>&5
68533   ac_status=$?
68534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68535   (exit $ac_status); }; } &&
68536          { ac_try='test -s conftest$ac_exeext'
68537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68538   (eval $ac_try) 2>&5
68539   ac_status=$?
68540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68541   (exit $ac_status); }; }; then
68542   eval "$as_ac_var=yes"
68543 else
68544   echo "$as_me: failed program was:" >&5
68545 sed 's/^/| /' conftest.$ac_ext >&5
68546
68547 eval "$as_ac_var=no"
68548 fi
68549 rm -f conftest.err conftest.$ac_objext \
68550       conftest$ac_exeext conftest.$ac_ext
68551 fi
68552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68554 if test `eval echo '${'$as_ac_var'}'` = yes; then
68555   cat >>confdefs.h <<_ACEOF
68556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68557 _ACEOF
68558
68559 fi
68560 done
68561
68562   else
68563
68564   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
68565 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
68566   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68567     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
68568   echo $ECHO_N "(cached) $ECHO_C" >&6
68569 else
68570
68571
68572
68573       ac_ext=cc
68574 ac_cpp='$CXXCPP $CPPFLAGS'
68575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68578
68579       cat >conftest.$ac_ext <<_ACEOF
68580 /* confdefs.h.  */
68581 _ACEOF
68582 cat confdefs.h >>conftest.$ac_ext
68583 cat >>conftest.$ac_ext <<_ACEOF
68584 /* end confdefs.h.  */
68585 #include <math.h>
68586 int
68587 main ()
68588 {
68589  _hypotl(0, 0);
68590   ;
68591   return 0;
68592 }
68593 _ACEOF
68594 rm -f conftest.$ac_objext
68595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68596   (eval $ac_compile) 2>conftest.er1
68597   ac_status=$?
68598   grep -v '^ *+' conftest.er1 >conftest.err
68599   rm -f conftest.er1
68600   cat conftest.err >&5
68601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68602   (exit $ac_status); } &&
68603          { ac_try='test -z "$ac_cxx_werror_flag"
68604                          || test ! -s conftest.err'
68605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68606   (eval $ac_try) 2>&5
68607   ac_status=$?
68608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68609   (exit $ac_status); }; } &&
68610          { ac_try='test -s conftest.$ac_objext'
68611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68612   (eval $ac_try) 2>&5
68613   ac_status=$?
68614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68615   (exit $ac_status); }; }; then
68616   glibcxx_cv_func__hypotl_use=yes
68617 else
68618   echo "$as_me: failed program was:" >&5
68619 sed 's/^/| /' conftest.$ac_ext >&5
68620
68621 glibcxx_cv_func__hypotl_use=no
68622 fi
68623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68624       ac_ext=c
68625 ac_cpp='$CPP $CPPFLAGS'
68626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68629
68630
68631 fi
68632
68633   fi
68634   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
68635 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
68636
68637     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68638
68639 for ac_func in _hypotl
68640 do
68641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68642 echo "$as_me:$LINENO: checking for $ac_func" >&5
68643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68644 if eval "test \"\${$as_ac_var+set}\" = set"; then
68645   echo $ECHO_N "(cached) $ECHO_C" >&6
68646 else
68647   if test x$gcc_no_link = xyes; then
68648   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68650    { (exit 1); exit 1; }; }
68651 fi
68652 cat >conftest.$ac_ext <<_ACEOF
68653 /* confdefs.h.  */
68654 _ACEOF
68655 cat confdefs.h >>conftest.$ac_ext
68656 cat >>conftest.$ac_ext <<_ACEOF
68657 /* end confdefs.h.  */
68658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68659    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68660 #define $ac_func innocuous_$ac_func
68661
68662 /* System header to define __stub macros and hopefully few prototypes,
68663     which can conflict with char $ac_func (); below.
68664     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68665     <limits.h> exists even on freestanding compilers.  */
68666
68667 #ifdef __STDC__
68668 # include <limits.h>
68669 #else
68670 # include <assert.h>
68671 #endif
68672
68673 #undef $ac_func
68674
68675 /* Override any gcc2 internal prototype to avoid an error.  */
68676 #ifdef __cplusplus
68677 extern "C"
68678 {
68679 #endif
68680 /* We use char because int might match the return type of a gcc2
68681    builtin and then its argument prototype would still apply.  */
68682 char $ac_func ();
68683 /* The GNU C library defines this for functions which it implements
68684     to always fail with ENOSYS.  Some functions are actually named
68685     something starting with __ and the normal name is an alias.  */
68686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68687 choke me
68688 #else
68689 char (*f) () = $ac_func;
68690 #endif
68691 #ifdef __cplusplus
68692 }
68693 #endif
68694
68695 int
68696 main ()
68697 {
68698 return f != $ac_func;
68699   ;
68700   return 0;
68701 }
68702 _ACEOF
68703 rm -f conftest.$ac_objext conftest$ac_exeext
68704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68705   (eval $ac_link) 2>conftest.er1
68706   ac_status=$?
68707   grep -v '^ *+' conftest.er1 >conftest.err
68708   rm -f conftest.er1
68709   cat conftest.err >&5
68710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68711   (exit $ac_status); } &&
68712          { ac_try='test -z "$ac_c_werror_flag"
68713                          || test ! -s conftest.err'
68714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68715   (eval $ac_try) 2>&5
68716   ac_status=$?
68717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68718   (exit $ac_status); }; } &&
68719          { ac_try='test -s conftest$ac_exeext'
68720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68721   (eval $ac_try) 2>&5
68722   ac_status=$?
68723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68724   (exit $ac_status); }; }; then
68725   eval "$as_ac_var=yes"
68726 else
68727   echo "$as_me: failed program was:" >&5
68728 sed 's/^/| /' conftest.$ac_ext >&5
68729
68730 eval "$as_ac_var=no"
68731 fi
68732 rm -f conftest.err conftest.$ac_objext \
68733       conftest$ac_exeext conftest.$ac_ext
68734 fi
68735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68737 if test `eval echo '${'$as_ac_var'}'` = yes; then
68738   cat >>confdefs.h <<_ACEOF
68739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68740 _ACEOF
68741
68742 fi
68743 done
68744
68745     fi
68746   fi
68747
68748
68749
68750
68751
68752
68753   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
68754 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
68755   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68756     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
68757   echo $ECHO_N "(cached) $ECHO_C" >&6
68758 else
68759
68760
68761
68762       ac_ext=cc
68763 ac_cpp='$CXXCPP $CPPFLAGS'
68764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68767
68768       cat >conftest.$ac_ext <<_ACEOF
68769 /* confdefs.h.  */
68770 _ACEOF
68771 cat confdefs.h >>conftest.$ac_ext
68772 cat >>conftest.$ac_ext <<_ACEOF
68773 /* end confdefs.h.  */
68774 #include <math.h>
68775 int
68776 main ()
68777 {
68778  ldexpl(0, 0);
68779   ;
68780   return 0;
68781 }
68782 _ACEOF
68783 rm -f conftest.$ac_objext
68784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68785   (eval $ac_compile) 2>conftest.er1
68786   ac_status=$?
68787   grep -v '^ *+' conftest.er1 >conftest.err
68788   rm -f conftest.er1
68789   cat conftest.err >&5
68790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68791   (exit $ac_status); } &&
68792          { ac_try='test -z "$ac_cxx_werror_flag"
68793                          || test ! -s conftest.err'
68794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68795   (eval $ac_try) 2>&5
68796   ac_status=$?
68797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68798   (exit $ac_status); }; } &&
68799          { ac_try='test -s conftest.$ac_objext'
68800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68801   (eval $ac_try) 2>&5
68802   ac_status=$?
68803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68804   (exit $ac_status); }; }; then
68805   glibcxx_cv_func_ldexpl_use=yes
68806 else
68807   echo "$as_me: failed program was:" >&5
68808 sed 's/^/| /' conftest.$ac_ext >&5
68809
68810 glibcxx_cv_func_ldexpl_use=no
68811 fi
68812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68813       ac_ext=c
68814 ac_cpp='$CPP $CPPFLAGS'
68815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68818
68819
68820 fi
68821
68822   fi
68823   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
68824 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
68825
68826   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68827
68828 for ac_func in ldexpl
68829 do
68830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68831 echo "$as_me:$LINENO: checking for $ac_func" >&5
68832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68833 if eval "test \"\${$as_ac_var+set}\" = set"; then
68834   echo $ECHO_N "(cached) $ECHO_C" >&6
68835 else
68836   if test x$gcc_no_link = xyes; then
68837   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68839    { (exit 1); exit 1; }; }
68840 fi
68841 cat >conftest.$ac_ext <<_ACEOF
68842 /* confdefs.h.  */
68843 _ACEOF
68844 cat confdefs.h >>conftest.$ac_ext
68845 cat >>conftest.$ac_ext <<_ACEOF
68846 /* end confdefs.h.  */
68847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68848    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68849 #define $ac_func innocuous_$ac_func
68850
68851 /* System header to define __stub macros and hopefully few prototypes,
68852     which can conflict with char $ac_func (); below.
68853     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68854     <limits.h> exists even on freestanding compilers.  */
68855
68856 #ifdef __STDC__
68857 # include <limits.h>
68858 #else
68859 # include <assert.h>
68860 #endif
68861
68862 #undef $ac_func
68863
68864 /* Override any gcc2 internal prototype to avoid an error.  */
68865 #ifdef __cplusplus
68866 extern "C"
68867 {
68868 #endif
68869 /* We use char because int might match the return type of a gcc2
68870    builtin and then its argument prototype would still apply.  */
68871 char $ac_func ();
68872 /* The GNU C library defines this for functions which it implements
68873     to always fail with ENOSYS.  Some functions are actually named
68874     something starting with __ and the normal name is an alias.  */
68875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68876 choke me
68877 #else
68878 char (*f) () = $ac_func;
68879 #endif
68880 #ifdef __cplusplus
68881 }
68882 #endif
68883
68884 int
68885 main ()
68886 {
68887 return f != $ac_func;
68888   ;
68889   return 0;
68890 }
68891 _ACEOF
68892 rm -f conftest.$ac_objext conftest$ac_exeext
68893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68894   (eval $ac_link) 2>conftest.er1
68895   ac_status=$?
68896   grep -v '^ *+' conftest.er1 >conftest.err
68897   rm -f conftest.er1
68898   cat conftest.err >&5
68899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68900   (exit $ac_status); } &&
68901          { ac_try='test -z "$ac_c_werror_flag"
68902                          || test ! -s conftest.err'
68903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68904   (eval $ac_try) 2>&5
68905   ac_status=$?
68906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68907   (exit $ac_status); }; } &&
68908          { ac_try='test -s conftest$ac_exeext'
68909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68910   (eval $ac_try) 2>&5
68911   ac_status=$?
68912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68913   (exit $ac_status); }; }; then
68914   eval "$as_ac_var=yes"
68915 else
68916   echo "$as_me: failed program was:" >&5
68917 sed 's/^/| /' conftest.$ac_ext >&5
68918
68919 eval "$as_ac_var=no"
68920 fi
68921 rm -f conftest.err conftest.$ac_objext \
68922       conftest$ac_exeext conftest.$ac_ext
68923 fi
68924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68926 if test `eval echo '${'$as_ac_var'}'` = yes; then
68927   cat >>confdefs.h <<_ACEOF
68928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68929 _ACEOF
68930
68931 fi
68932 done
68933
68934   else
68935
68936   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
68937 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
68938   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68939     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
68940   echo $ECHO_N "(cached) $ECHO_C" >&6
68941 else
68942
68943
68944
68945       ac_ext=cc
68946 ac_cpp='$CXXCPP $CPPFLAGS'
68947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68950
68951       cat >conftest.$ac_ext <<_ACEOF
68952 /* confdefs.h.  */
68953 _ACEOF
68954 cat confdefs.h >>conftest.$ac_ext
68955 cat >>conftest.$ac_ext <<_ACEOF
68956 /* end confdefs.h.  */
68957 #include <math.h>
68958 int
68959 main ()
68960 {
68961  _ldexpl(0, 0);
68962   ;
68963   return 0;
68964 }
68965 _ACEOF
68966 rm -f conftest.$ac_objext
68967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68968   (eval $ac_compile) 2>conftest.er1
68969   ac_status=$?
68970   grep -v '^ *+' conftest.er1 >conftest.err
68971   rm -f conftest.er1
68972   cat conftest.err >&5
68973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68974   (exit $ac_status); } &&
68975          { ac_try='test -z "$ac_cxx_werror_flag"
68976                          || test ! -s conftest.err'
68977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68978   (eval $ac_try) 2>&5
68979   ac_status=$?
68980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68981   (exit $ac_status); }; } &&
68982          { ac_try='test -s conftest.$ac_objext'
68983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68984   (eval $ac_try) 2>&5
68985   ac_status=$?
68986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68987   (exit $ac_status); }; }; then
68988   glibcxx_cv_func__ldexpl_use=yes
68989 else
68990   echo "$as_me: failed program was:" >&5
68991 sed 's/^/| /' conftest.$ac_ext >&5
68992
68993 glibcxx_cv_func__ldexpl_use=no
68994 fi
68995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68996       ac_ext=c
68997 ac_cpp='$CPP $CPPFLAGS'
68998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69001
69002
69003 fi
69004
69005   fi
69006   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
69007 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
69008
69009     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69010
69011 for ac_func in _ldexpl
69012 do
69013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69014 echo "$as_me:$LINENO: checking for $ac_func" >&5
69015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69016 if eval "test \"\${$as_ac_var+set}\" = set"; then
69017   echo $ECHO_N "(cached) $ECHO_C" >&6
69018 else
69019   if test x$gcc_no_link = xyes; then
69020   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69022    { (exit 1); exit 1; }; }
69023 fi
69024 cat >conftest.$ac_ext <<_ACEOF
69025 /* confdefs.h.  */
69026 _ACEOF
69027 cat confdefs.h >>conftest.$ac_ext
69028 cat >>conftest.$ac_ext <<_ACEOF
69029 /* end confdefs.h.  */
69030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69031    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69032 #define $ac_func innocuous_$ac_func
69033
69034 /* System header to define __stub macros and hopefully few prototypes,
69035     which can conflict with char $ac_func (); below.
69036     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69037     <limits.h> exists even on freestanding compilers.  */
69038
69039 #ifdef __STDC__
69040 # include <limits.h>
69041 #else
69042 # include <assert.h>
69043 #endif
69044
69045 #undef $ac_func
69046
69047 /* Override any gcc2 internal prototype to avoid an error.  */
69048 #ifdef __cplusplus
69049 extern "C"
69050 {
69051 #endif
69052 /* We use char because int might match the return type of a gcc2
69053    builtin and then its argument prototype would still apply.  */
69054 char $ac_func ();
69055 /* The GNU C library defines this for functions which it implements
69056     to always fail with ENOSYS.  Some functions are actually named
69057     something starting with __ and the normal name is an alias.  */
69058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69059 choke me
69060 #else
69061 char (*f) () = $ac_func;
69062 #endif
69063 #ifdef __cplusplus
69064 }
69065 #endif
69066
69067 int
69068 main ()
69069 {
69070 return f != $ac_func;
69071   ;
69072   return 0;
69073 }
69074 _ACEOF
69075 rm -f conftest.$ac_objext conftest$ac_exeext
69076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69077   (eval $ac_link) 2>conftest.er1
69078   ac_status=$?
69079   grep -v '^ *+' conftest.er1 >conftest.err
69080   rm -f conftest.er1
69081   cat conftest.err >&5
69082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69083   (exit $ac_status); } &&
69084          { ac_try='test -z "$ac_c_werror_flag"
69085                          || test ! -s conftest.err'
69086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69087   (eval $ac_try) 2>&5
69088   ac_status=$?
69089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69090   (exit $ac_status); }; } &&
69091          { ac_try='test -s conftest$ac_exeext'
69092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69093   (eval $ac_try) 2>&5
69094   ac_status=$?
69095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69096   (exit $ac_status); }; }; then
69097   eval "$as_ac_var=yes"
69098 else
69099   echo "$as_me: failed program was:" >&5
69100 sed 's/^/| /' conftest.$ac_ext >&5
69101
69102 eval "$as_ac_var=no"
69103 fi
69104 rm -f conftest.err conftest.$ac_objext \
69105       conftest$ac_exeext conftest.$ac_ext
69106 fi
69107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69109 if test `eval echo '${'$as_ac_var'}'` = yes; then
69110   cat >>confdefs.h <<_ACEOF
69111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69112 _ACEOF
69113
69114 fi
69115 done
69116
69117     fi
69118   fi
69119
69120
69121
69122
69123
69124
69125   echo "$as_me:$LINENO: checking for logl declaration" >&5
69126 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
69127   if test x${glibcxx_cv_func_logl_use+set} != xset; then
69128     if test "${glibcxx_cv_func_logl_use+set}" = set; then
69129   echo $ECHO_N "(cached) $ECHO_C" >&6
69130 else
69131
69132
69133
69134       ac_ext=cc
69135 ac_cpp='$CXXCPP $CPPFLAGS'
69136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69139
69140       cat >conftest.$ac_ext <<_ACEOF
69141 /* confdefs.h.  */
69142 _ACEOF
69143 cat confdefs.h >>conftest.$ac_ext
69144 cat >>conftest.$ac_ext <<_ACEOF
69145 /* end confdefs.h.  */
69146 #include <math.h>
69147                       #ifdef HAVE_IEEEFP_H
69148                       #include <ieeefp.h>
69149                       #endif
69150
69151 int
69152 main ()
69153 {
69154  logl(0);
69155   ;
69156   return 0;
69157 }
69158 _ACEOF
69159 rm -f conftest.$ac_objext
69160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69161   (eval $ac_compile) 2>conftest.er1
69162   ac_status=$?
69163   grep -v '^ *+' conftest.er1 >conftest.err
69164   rm -f conftest.er1
69165   cat conftest.err >&5
69166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69167   (exit $ac_status); } &&
69168          { ac_try='test -z "$ac_cxx_werror_flag"
69169                          || test ! -s conftest.err'
69170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69171   (eval $ac_try) 2>&5
69172   ac_status=$?
69173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69174   (exit $ac_status); }; } &&
69175          { ac_try='test -s conftest.$ac_objext'
69176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69177   (eval $ac_try) 2>&5
69178   ac_status=$?
69179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69180   (exit $ac_status); }; }; then
69181   glibcxx_cv_func_logl_use=yes
69182 else
69183   echo "$as_me: failed program was:" >&5
69184 sed 's/^/| /' conftest.$ac_ext >&5
69185
69186 glibcxx_cv_func_logl_use=no
69187 fi
69188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69189       ac_ext=c
69190 ac_cpp='$CPP $CPPFLAGS'
69191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69194
69195
69196 fi
69197
69198   fi
69199   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
69200 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
69201
69202   if test x$glibcxx_cv_func_logl_use = x"yes"; then
69203
69204 for ac_func in logl
69205 do
69206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69207 echo "$as_me:$LINENO: checking for $ac_func" >&5
69208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69209 if eval "test \"\${$as_ac_var+set}\" = set"; then
69210   echo $ECHO_N "(cached) $ECHO_C" >&6
69211 else
69212   if test x$gcc_no_link = xyes; then
69213   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69215    { (exit 1); exit 1; }; }
69216 fi
69217 cat >conftest.$ac_ext <<_ACEOF
69218 /* confdefs.h.  */
69219 _ACEOF
69220 cat confdefs.h >>conftest.$ac_ext
69221 cat >>conftest.$ac_ext <<_ACEOF
69222 /* end confdefs.h.  */
69223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69224    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69225 #define $ac_func innocuous_$ac_func
69226
69227 /* System header to define __stub macros and hopefully few prototypes,
69228     which can conflict with char $ac_func (); below.
69229     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69230     <limits.h> exists even on freestanding compilers.  */
69231
69232 #ifdef __STDC__
69233 # include <limits.h>
69234 #else
69235 # include <assert.h>
69236 #endif
69237
69238 #undef $ac_func
69239
69240 /* Override any gcc2 internal prototype to avoid an error.  */
69241 #ifdef __cplusplus
69242 extern "C"
69243 {
69244 #endif
69245 /* We use char because int might match the return type of a gcc2
69246    builtin and then its argument prototype would still apply.  */
69247 char $ac_func ();
69248 /* The GNU C library defines this for functions which it implements
69249     to always fail with ENOSYS.  Some functions are actually named
69250     something starting with __ and the normal name is an alias.  */
69251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69252 choke me
69253 #else
69254 char (*f) () = $ac_func;
69255 #endif
69256 #ifdef __cplusplus
69257 }
69258 #endif
69259
69260 int
69261 main ()
69262 {
69263 return f != $ac_func;
69264   ;
69265   return 0;
69266 }
69267 _ACEOF
69268 rm -f conftest.$ac_objext conftest$ac_exeext
69269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69270   (eval $ac_link) 2>conftest.er1
69271   ac_status=$?
69272   grep -v '^ *+' conftest.er1 >conftest.err
69273   rm -f conftest.er1
69274   cat conftest.err >&5
69275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69276   (exit $ac_status); } &&
69277          { ac_try='test -z "$ac_c_werror_flag"
69278                          || test ! -s conftest.err'
69279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69280   (eval $ac_try) 2>&5
69281   ac_status=$?
69282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69283   (exit $ac_status); }; } &&
69284          { ac_try='test -s conftest$ac_exeext'
69285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69286   (eval $ac_try) 2>&5
69287   ac_status=$?
69288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69289   (exit $ac_status); }; }; then
69290   eval "$as_ac_var=yes"
69291 else
69292   echo "$as_me: failed program was:" >&5
69293 sed 's/^/| /' conftest.$ac_ext >&5
69294
69295 eval "$as_ac_var=no"
69296 fi
69297 rm -f conftest.err conftest.$ac_objext \
69298       conftest$ac_exeext conftest.$ac_ext
69299 fi
69300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69302 if test `eval echo '${'$as_ac_var'}'` = yes; then
69303   cat >>confdefs.h <<_ACEOF
69304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69305 _ACEOF
69306
69307 fi
69308 done
69309
69310   else
69311
69312   echo "$as_me:$LINENO: checking for _logl declaration" >&5
69313 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
69314   if test x${glibcxx_cv_func__logl_use+set} != xset; then
69315     if test "${glibcxx_cv_func__logl_use+set}" = set; then
69316   echo $ECHO_N "(cached) $ECHO_C" >&6
69317 else
69318
69319
69320
69321       ac_ext=cc
69322 ac_cpp='$CXXCPP $CPPFLAGS'
69323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69326
69327       cat >conftest.$ac_ext <<_ACEOF
69328 /* confdefs.h.  */
69329 _ACEOF
69330 cat confdefs.h >>conftest.$ac_ext
69331 cat >>conftest.$ac_ext <<_ACEOF
69332 /* end confdefs.h.  */
69333 #include <math.h>
69334                       #ifdef HAVE_IEEEFP_H
69335                       #include <ieeefp.h>
69336                       #endif
69337
69338 int
69339 main ()
69340 {
69341  _logl(0);
69342   ;
69343   return 0;
69344 }
69345 _ACEOF
69346 rm -f conftest.$ac_objext
69347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69348   (eval $ac_compile) 2>conftest.er1
69349   ac_status=$?
69350   grep -v '^ *+' conftest.er1 >conftest.err
69351   rm -f conftest.er1
69352   cat conftest.err >&5
69353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69354   (exit $ac_status); } &&
69355          { ac_try='test -z "$ac_cxx_werror_flag"
69356                          || test ! -s conftest.err'
69357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69358   (eval $ac_try) 2>&5
69359   ac_status=$?
69360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69361   (exit $ac_status); }; } &&
69362          { ac_try='test -s conftest.$ac_objext'
69363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69364   (eval $ac_try) 2>&5
69365   ac_status=$?
69366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69367   (exit $ac_status); }; }; then
69368   glibcxx_cv_func__logl_use=yes
69369 else
69370   echo "$as_me: failed program was:" >&5
69371 sed 's/^/| /' conftest.$ac_ext >&5
69372
69373 glibcxx_cv_func__logl_use=no
69374 fi
69375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69376       ac_ext=c
69377 ac_cpp='$CPP $CPPFLAGS'
69378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69381
69382
69383 fi
69384
69385   fi
69386   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
69387 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
69388
69389     if test x$glibcxx_cv_func__logl_use = x"yes"; then
69390
69391 for ac_func in _logl
69392 do
69393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69394 echo "$as_me:$LINENO: checking for $ac_func" >&5
69395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69396 if eval "test \"\${$as_ac_var+set}\" = set"; then
69397   echo $ECHO_N "(cached) $ECHO_C" >&6
69398 else
69399   if test x$gcc_no_link = xyes; then
69400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69402    { (exit 1); exit 1; }; }
69403 fi
69404 cat >conftest.$ac_ext <<_ACEOF
69405 /* confdefs.h.  */
69406 _ACEOF
69407 cat confdefs.h >>conftest.$ac_ext
69408 cat >>conftest.$ac_ext <<_ACEOF
69409 /* end confdefs.h.  */
69410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69411    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69412 #define $ac_func innocuous_$ac_func
69413
69414 /* System header to define __stub macros and hopefully few prototypes,
69415     which can conflict with char $ac_func (); below.
69416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69417     <limits.h> exists even on freestanding compilers.  */
69418
69419 #ifdef __STDC__
69420 # include <limits.h>
69421 #else
69422 # include <assert.h>
69423 #endif
69424
69425 #undef $ac_func
69426
69427 /* Override any gcc2 internal prototype to avoid an error.  */
69428 #ifdef __cplusplus
69429 extern "C"
69430 {
69431 #endif
69432 /* We use char because int might match the return type of a gcc2
69433    builtin and then its argument prototype would still apply.  */
69434 char $ac_func ();
69435 /* The GNU C library defines this for functions which it implements
69436     to always fail with ENOSYS.  Some functions are actually named
69437     something starting with __ and the normal name is an alias.  */
69438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69439 choke me
69440 #else
69441 char (*f) () = $ac_func;
69442 #endif
69443 #ifdef __cplusplus
69444 }
69445 #endif
69446
69447 int
69448 main ()
69449 {
69450 return f != $ac_func;
69451   ;
69452   return 0;
69453 }
69454 _ACEOF
69455 rm -f conftest.$ac_objext conftest$ac_exeext
69456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69457   (eval $ac_link) 2>conftest.er1
69458   ac_status=$?
69459   grep -v '^ *+' conftest.er1 >conftest.err
69460   rm -f conftest.er1
69461   cat conftest.err >&5
69462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69463   (exit $ac_status); } &&
69464          { ac_try='test -z "$ac_c_werror_flag"
69465                          || test ! -s conftest.err'
69466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69467   (eval $ac_try) 2>&5
69468   ac_status=$?
69469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69470   (exit $ac_status); }; } &&
69471          { ac_try='test -s conftest$ac_exeext'
69472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69473   (eval $ac_try) 2>&5
69474   ac_status=$?
69475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69476   (exit $ac_status); }; }; then
69477   eval "$as_ac_var=yes"
69478 else
69479   echo "$as_me: failed program was:" >&5
69480 sed 's/^/| /' conftest.$ac_ext >&5
69481
69482 eval "$as_ac_var=no"
69483 fi
69484 rm -f conftest.err conftest.$ac_objext \
69485       conftest$ac_exeext conftest.$ac_ext
69486 fi
69487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69489 if test `eval echo '${'$as_ac_var'}'` = yes; then
69490   cat >>confdefs.h <<_ACEOF
69491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69492 _ACEOF
69493
69494 fi
69495 done
69496
69497     fi
69498   fi
69499
69500
69501
69502
69503
69504
69505   echo "$as_me:$LINENO: checking for log10l declaration" >&5
69506 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
69507   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69508     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
69509   echo $ECHO_N "(cached) $ECHO_C" >&6
69510 else
69511
69512
69513
69514       ac_ext=cc
69515 ac_cpp='$CXXCPP $CPPFLAGS'
69516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69519
69520       cat >conftest.$ac_ext <<_ACEOF
69521 /* confdefs.h.  */
69522 _ACEOF
69523 cat confdefs.h >>conftest.$ac_ext
69524 cat >>conftest.$ac_ext <<_ACEOF
69525 /* end confdefs.h.  */
69526 #include <math.h>
69527                       #ifdef HAVE_IEEEFP_H
69528                       #include <ieeefp.h>
69529                       #endif
69530
69531 int
69532 main ()
69533 {
69534  log10l(0);
69535   ;
69536   return 0;
69537 }
69538 _ACEOF
69539 rm -f conftest.$ac_objext
69540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69541   (eval $ac_compile) 2>conftest.er1
69542   ac_status=$?
69543   grep -v '^ *+' conftest.er1 >conftest.err
69544   rm -f conftest.er1
69545   cat conftest.err >&5
69546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69547   (exit $ac_status); } &&
69548          { ac_try='test -z "$ac_cxx_werror_flag"
69549                          || test ! -s conftest.err'
69550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69551   (eval $ac_try) 2>&5
69552   ac_status=$?
69553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69554   (exit $ac_status); }; } &&
69555          { ac_try='test -s conftest.$ac_objext'
69556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69557   (eval $ac_try) 2>&5
69558   ac_status=$?
69559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69560   (exit $ac_status); }; }; then
69561   glibcxx_cv_func_log10l_use=yes
69562 else
69563   echo "$as_me: failed program was:" >&5
69564 sed 's/^/| /' conftest.$ac_ext >&5
69565
69566 glibcxx_cv_func_log10l_use=no
69567 fi
69568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69569       ac_ext=c
69570 ac_cpp='$CPP $CPPFLAGS'
69571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69574
69575
69576 fi
69577
69578   fi
69579   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
69580 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
69581
69582   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69583
69584 for ac_func in log10l
69585 do
69586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69587 echo "$as_me:$LINENO: checking for $ac_func" >&5
69588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69589 if eval "test \"\${$as_ac_var+set}\" = set"; then
69590   echo $ECHO_N "(cached) $ECHO_C" >&6
69591 else
69592   if test x$gcc_no_link = xyes; then
69593   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69595    { (exit 1); exit 1; }; }
69596 fi
69597 cat >conftest.$ac_ext <<_ACEOF
69598 /* confdefs.h.  */
69599 _ACEOF
69600 cat confdefs.h >>conftest.$ac_ext
69601 cat >>conftest.$ac_ext <<_ACEOF
69602 /* end confdefs.h.  */
69603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69604    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69605 #define $ac_func innocuous_$ac_func
69606
69607 /* System header to define __stub macros and hopefully few prototypes,
69608     which can conflict with char $ac_func (); below.
69609     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69610     <limits.h> exists even on freestanding compilers.  */
69611
69612 #ifdef __STDC__
69613 # include <limits.h>
69614 #else
69615 # include <assert.h>
69616 #endif
69617
69618 #undef $ac_func
69619
69620 /* Override any gcc2 internal prototype to avoid an error.  */
69621 #ifdef __cplusplus
69622 extern "C"
69623 {
69624 #endif
69625 /* We use char because int might match the return type of a gcc2
69626    builtin and then its argument prototype would still apply.  */
69627 char $ac_func ();
69628 /* The GNU C library defines this for functions which it implements
69629     to always fail with ENOSYS.  Some functions are actually named
69630     something starting with __ and the normal name is an alias.  */
69631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69632 choke me
69633 #else
69634 char (*f) () = $ac_func;
69635 #endif
69636 #ifdef __cplusplus
69637 }
69638 #endif
69639
69640 int
69641 main ()
69642 {
69643 return f != $ac_func;
69644   ;
69645   return 0;
69646 }
69647 _ACEOF
69648 rm -f conftest.$ac_objext conftest$ac_exeext
69649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69650   (eval $ac_link) 2>conftest.er1
69651   ac_status=$?
69652   grep -v '^ *+' conftest.er1 >conftest.err
69653   rm -f conftest.er1
69654   cat conftest.err >&5
69655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69656   (exit $ac_status); } &&
69657          { ac_try='test -z "$ac_c_werror_flag"
69658                          || test ! -s conftest.err'
69659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69660   (eval $ac_try) 2>&5
69661   ac_status=$?
69662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69663   (exit $ac_status); }; } &&
69664          { ac_try='test -s conftest$ac_exeext'
69665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69666   (eval $ac_try) 2>&5
69667   ac_status=$?
69668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69669   (exit $ac_status); }; }; then
69670   eval "$as_ac_var=yes"
69671 else
69672   echo "$as_me: failed program was:" >&5
69673 sed 's/^/| /' conftest.$ac_ext >&5
69674
69675 eval "$as_ac_var=no"
69676 fi
69677 rm -f conftest.err conftest.$ac_objext \
69678       conftest$ac_exeext conftest.$ac_ext
69679 fi
69680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69682 if test `eval echo '${'$as_ac_var'}'` = yes; then
69683   cat >>confdefs.h <<_ACEOF
69684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69685 _ACEOF
69686
69687 fi
69688 done
69689
69690   else
69691
69692   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
69693 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
69694   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69695     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
69696   echo $ECHO_N "(cached) $ECHO_C" >&6
69697 else
69698
69699
69700
69701       ac_ext=cc
69702 ac_cpp='$CXXCPP $CPPFLAGS'
69703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69706
69707       cat >conftest.$ac_ext <<_ACEOF
69708 /* confdefs.h.  */
69709 _ACEOF
69710 cat confdefs.h >>conftest.$ac_ext
69711 cat >>conftest.$ac_ext <<_ACEOF
69712 /* end confdefs.h.  */
69713 #include <math.h>
69714                       #ifdef HAVE_IEEEFP_H
69715                       #include <ieeefp.h>
69716                       #endif
69717
69718 int
69719 main ()
69720 {
69721  _log10l(0);
69722   ;
69723   return 0;
69724 }
69725 _ACEOF
69726 rm -f conftest.$ac_objext
69727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69728   (eval $ac_compile) 2>conftest.er1
69729   ac_status=$?
69730   grep -v '^ *+' conftest.er1 >conftest.err
69731   rm -f conftest.er1
69732   cat conftest.err >&5
69733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69734   (exit $ac_status); } &&
69735          { ac_try='test -z "$ac_cxx_werror_flag"
69736                          || test ! -s conftest.err'
69737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69738   (eval $ac_try) 2>&5
69739   ac_status=$?
69740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69741   (exit $ac_status); }; } &&
69742          { ac_try='test -s conftest.$ac_objext'
69743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69744   (eval $ac_try) 2>&5
69745   ac_status=$?
69746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69747   (exit $ac_status); }; }; then
69748   glibcxx_cv_func__log10l_use=yes
69749 else
69750   echo "$as_me: failed program was:" >&5
69751 sed 's/^/| /' conftest.$ac_ext >&5
69752
69753 glibcxx_cv_func__log10l_use=no
69754 fi
69755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69756       ac_ext=c
69757 ac_cpp='$CPP $CPPFLAGS'
69758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69761
69762
69763 fi
69764
69765   fi
69766   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
69767 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
69768
69769     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69770
69771 for ac_func in _log10l
69772 do
69773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69774 echo "$as_me:$LINENO: checking for $ac_func" >&5
69775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69776 if eval "test \"\${$as_ac_var+set}\" = set"; then
69777   echo $ECHO_N "(cached) $ECHO_C" >&6
69778 else
69779   if test x$gcc_no_link = xyes; then
69780   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69782    { (exit 1); exit 1; }; }
69783 fi
69784 cat >conftest.$ac_ext <<_ACEOF
69785 /* confdefs.h.  */
69786 _ACEOF
69787 cat confdefs.h >>conftest.$ac_ext
69788 cat >>conftest.$ac_ext <<_ACEOF
69789 /* end confdefs.h.  */
69790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69791    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69792 #define $ac_func innocuous_$ac_func
69793
69794 /* System header to define __stub macros and hopefully few prototypes,
69795     which can conflict with char $ac_func (); below.
69796     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69797     <limits.h> exists even on freestanding compilers.  */
69798
69799 #ifdef __STDC__
69800 # include <limits.h>
69801 #else
69802 # include <assert.h>
69803 #endif
69804
69805 #undef $ac_func
69806
69807 /* Override any gcc2 internal prototype to avoid an error.  */
69808 #ifdef __cplusplus
69809 extern "C"
69810 {
69811 #endif
69812 /* We use char because int might match the return type of a gcc2
69813    builtin and then its argument prototype would still apply.  */
69814 char $ac_func ();
69815 /* The GNU C library defines this for functions which it implements
69816     to always fail with ENOSYS.  Some functions are actually named
69817     something starting with __ and the normal name is an alias.  */
69818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69819 choke me
69820 #else
69821 char (*f) () = $ac_func;
69822 #endif
69823 #ifdef __cplusplus
69824 }
69825 #endif
69826
69827 int
69828 main ()
69829 {
69830 return f != $ac_func;
69831   ;
69832   return 0;
69833 }
69834 _ACEOF
69835 rm -f conftest.$ac_objext conftest$ac_exeext
69836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69837   (eval $ac_link) 2>conftest.er1
69838   ac_status=$?
69839   grep -v '^ *+' conftest.er1 >conftest.err
69840   rm -f conftest.er1
69841   cat conftest.err >&5
69842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69843   (exit $ac_status); } &&
69844          { ac_try='test -z "$ac_c_werror_flag"
69845                          || test ! -s conftest.err'
69846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69847   (eval $ac_try) 2>&5
69848   ac_status=$?
69849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69850   (exit $ac_status); }; } &&
69851          { ac_try='test -s conftest$ac_exeext'
69852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69853   (eval $ac_try) 2>&5
69854   ac_status=$?
69855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69856   (exit $ac_status); }; }; then
69857   eval "$as_ac_var=yes"
69858 else
69859   echo "$as_me: failed program was:" >&5
69860 sed 's/^/| /' conftest.$ac_ext >&5
69861
69862 eval "$as_ac_var=no"
69863 fi
69864 rm -f conftest.err conftest.$ac_objext \
69865       conftest$ac_exeext conftest.$ac_ext
69866 fi
69867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69869 if test `eval echo '${'$as_ac_var'}'` = yes; then
69870   cat >>confdefs.h <<_ACEOF
69871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69872 _ACEOF
69873
69874 fi
69875 done
69876
69877     fi
69878   fi
69879
69880
69881
69882
69883
69884
69885   echo "$as_me:$LINENO: checking for modfl declaration" >&5
69886 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
69887   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69888     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
69889   echo $ECHO_N "(cached) $ECHO_C" >&6
69890 else
69891
69892
69893
69894       ac_ext=cc
69895 ac_cpp='$CXXCPP $CPPFLAGS'
69896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69899
69900       cat >conftest.$ac_ext <<_ACEOF
69901 /* confdefs.h.  */
69902 _ACEOF
69903 cat confdefs.h >>conftest.$ac_ext
69904 cat >>conftest.$ac_ext <<_ACEOF
69905 /* end confdefs.h.  */
69906 #include <math.h>
69907 int
69908 main ()
69909 {
69910  modfl(0, 0);
69911   ;
69912   return 0;
69913 }
69914 _ACEOF
69915 rm -f conftest.$ac_objext
69916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69917   (eval $ac_compile) 2>conftest.er1
69918   ac_status=$?
69919   grep -v '^ *+' conftest.er1 >conftest.err
69920   rm -f conftest.er1
69921   cat conftest.err >&5
69922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69923   (exit $ac_status); } &&
69924          { ac_try='test -z "$ac_cxx_werror_flag"
69925                          || test ! -s conftest.err'
69926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69927   (eval $ac_try) 2>&5
69928   ac_status=$?
69929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69930   (exit $ac_status); }; } &&
69931          { ac_try='test -s conftest.$ac_objext'
69932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69933   (eval $ac_try) 2>&5
69934   ac_status=$?
69935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69936   (exit $ac_status); }; }; then
69937   glibcxx_cv_func_modfl_use=yes
69938 else
69939   echo "$as_me: failed program was:" >&5
69940 sed 's/^/| /' conftest.$ac_ext >&5
69941
69942 glibcxx_cv_func_modfl_use=no
69943 fi
69944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69945       ac_ext=c
69946 ac_cpp='$CPP $CPPFLAGS'
69947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69950
69951
69952 fi
69953
69954   fi
69955   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
69956 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
69957
69958   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69959
69960 for ac_func in modfl
69961 do
69962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69963 echo "$as_me:$LINENO: checking for $ac_func" >&5
69964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69965 if eval "test \"\${$as_ac_var+set}\" = set"; then
69966   echo $ECHO_N "(cached) $ECHO_C" >&6
69967 else
69968   if test x$gcc_no_link = xyes; then
69969   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69971    { (exit 1); exit 1; }; }
69972 fi
69973 cat >conftest.$ac_ext <<_ACEOF
69974 /* confdefs.h.  */
69975 _ACEOF
69976 cat confdefs.h >>conftest.$ac_ext
69977 cat >>conftest.$ac_ext <<_ACEOF
69978 /* end confdefs.h.  */
69979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69980    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69981 #define $ac_func innocuous_$ac_func
69982
69983 /* System header to define __stub macros and hopefully few prototypes,
69984     which can conflict with char $ac_func (); below.
69985     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69986     <limits.h> exists even on freestanding compilers.  */
69987
69988 #ifdef __STDC__
69989 # include <limits.h>
69990 #else
69991 # include <assert.h>
69992 #endif
69993
69994 #undef $ac_func
69995
69996 /* Override any gcc2 internal prototype to avoid an error.  */
69997 #ifdef __cplusplus
69998 extern "C"
69999 {
70000 #endif
70001 /* We use char because int might match the return type of a gcc2
70002    builtin and then its argument prototype would still apply.  */
70003 char $ac_func ();
70004 /* The GNU C library defines this for functions which it implements
70005     to always fail with ENOSYS.  Some functions are actually named
70006     something starting with __ and the normal name is an alias.  */
70007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70008 choke me
70009 #else
70010 char (*f) () = $ac_func;
70011 #endif
70012 #ifdef __cplusplus
70013 }
70014 #endif
70015
70016 int
70017 main ()
70018 {
70019 return f != $ac_func;
70020   ;
70021   return 0;
70022 }
70023 _ACEOF
70024 rm -f conftest.$ac_objext conftest$ac_exeext
70025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70026   (eval $ac_link) 2>conftest.er1
70027   ac_status=$?
70028   grep -v '^ *+' conftest.er1 >conftest.err
70029   rm -f conftest.er1
70030   cat conftest.err >&5
70031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70032   (exit $ac_status); } &&
70033          { ac_try='test -z "$ac_c_werror_flag"
70034                          || test ! -s conftest.err'
70035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70036   (eval $ac_try) 2>&5
70037   ac_status=$?
70038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70039   (exit $ac_status); }; } &&
70040          { ac_try='test -s conftest$ac_exeext'
70041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70042   (eval $ac_try) 2>&5
70043   ac_status=$?
70044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70045   (exit $ac_status); }; }; then
70046   eval "$as_ac_var=yes"
70047 else
70048   echo "$as_me: failed program was:" >&5
70049 sed 's/^/| /' conftest.$ac_ext >&5
70050
70051 eval "$as_ac_var=no"
70052 fi
70053 rm -f conftest.err conftest.$ac_objext \
70054       conftest$ac_exeext conftest.$ac_ext
70055 fi
70056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70058 if test `eval echo '${'$as_ac_var'}'` = yes; then
70059   cat >>confdefs.h <<_ACEOF
70060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70061 _ACEOF
70062
70063 fi
70064 done
70065
70066   else
70067
70068   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
70069 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
70070   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70071     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
70072   echo $ECHO_N "(cached) $ECHO_C" >&6
70073 else
70074
70075
70076
70077       ac_ext=cc
70078 ac_cpp='$CXXCPP $CPPFLAGS'
70079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70082
70083       cat >conftest.$ac_ext <<_ACEOF
70084 /* confdefs.h.  */
70085 _ACEOF
70086 cat confdefs.h >>conftest.$ac_ext
70087 cat >>conftest.$ac_ext <<_ACEOF
70088 /* end confdefs.h.  */
70089 #include <math.h>
70090 int
70091 main ()
70092 {
70093  _modfl(0, 0);
70094   ;
70095   return 0;
70096 }
70097 _ACEOF
70098 rm -f conftest.$ac_objext
70099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70100   (eval $ac_compile) 2>conftest.er1
70101   ac_status=$?
70102   grep -v '^ *+' conftest.er1 >conftest.err
70103   rm -f conftest.er1
70104   cat conftest.err >&5
70105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70106   (exit $ac_status); } &&
70107          { ac_try='test -z "$ac_cxx_werror_flag"
70108                          || test ! -s conftest.err'
70109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70110   (eval $ac_try) 2>&5
70111   ac_status=$?
70112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70113   (exit $ac_status); }; } &&
70114          { ac_try='test -s conftest.$ac_objext'
70115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70116   (eval $ac_try) 2>&5
70117   ac_status=$?
70118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70119   (exit $ac_status); }; }; then
70120   glibcxx_cv_func__modfl_use=yes
70121 else
70122   echo "$as_me: failed program was:" >&5
70123 sed 's/^/| /' conftest.$ac_ext >&5
70124
70125 glibcxx_cv_func__modfl_use=no
70126 fi
70127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70128       ac_ext=c
70129 ac_cpp='$CPP $CPPFLAGS'
70130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70133
70134
70135 fi
70136
70137   fi
70138   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
70139 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
70140
70141     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70142
70143 for ac_func in _modfl
70144 do
70145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70146 echo "$as_me:$LINENO: checking for $ac_func" >&5
70147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70148 if eval "test \"\${$as_ac_var+set}\" = set"; then
70149   echo $ECHO_N "(cached) $ECHO_C" >&6
70150 else
70151   if test x$gcc_no_link = xyes; then
70152   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70154    { (exit 1); exit 1; }; }
70155 fi
70156 cat >conftest.$ac_ext <<_ACEOF
70157 /* confdefs.h.  */
70158 _ACEOF
70159 cat confdefs.h >>conftest.$ac_ext
70160 cat >>conftest.$ac_ext <<_ACEOF
70161 /* end confdefs.h.  */
70162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70163    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70164 #define $ac_func innocuous_$ac_func
70165
70166 /* System header to define __stub macros and hopefully few prototypes,
70167     which can conflict with char $ac_func (); below.
70168     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70169     <limits.h> exists even on freestanding compilers.  */
70170
70171 #ifdef __STDC__
70172 # include <limits.h>
70173 #else
70174 # include <assert.h>
70175 #endif
70176
70177 #undef $ac_func
70178
70179 /* Override any gcc2 internal prototype to avoid an error.  */
70180 #ifdef __cplusplus
70181 extern "C"
70182 {
70183 #endif
70184 /* We use char because int might match the return type of a gcc2
70185    builtin and then its argument prototype would still apply.  */
70186 char $ac_func ();
70187 /* The GNU C library defines this for functions which it implements
70188     to always fail with ENOSYS.  Some functions are actually named
70189     something starting with __ and the normal name is an alias.  */
70190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70191 choke me
70192 #else
70193 char (*f) () = $ac_func;
70194 #endif
70195 #ifdef __cplusplus
70196 }
70197 #endif
70198
70199 int
70200 main ()
70201 {
70202 return f != $ac_func;
70203   ;
70204   return 0;
70205 }
70206 _ACEOF
70207 rm -f conftest.$ac_objext conftest$ac_exeext
70208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70209   (eval $ac_link) 2>conftest.er1
70210   ac_status=$?
70211   grep -v '^ *+' conftest.er1 >conftest.err
70212   rm -f conftest.er1
70213   cat conftest.err >&5
70214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70215   (exit $ac_status); } &&
70216          { ac_try='test -z "$ac_c_werror_flag"
70217                          || test ! -s conftest.err'
70218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70219   (eval $ac_try) 2>&5
70220   ac_status=$?
70221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70222   (exit $ac_status); }; } &&
70223          { ac_try='test -s conftest$ac_exeext'
70224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70225   (eval $ac_try) 2>&5
70226   ac_status=$?
70227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70228   (exit $ac_status); }; }; then
70229   eval "$as_ac_var=yes"
70230 else
70231   echo "$as_me: failed program was:" >&5
70232 sed 's/^/| /' conftest.$ac_ext >&5
70233
70234 eval "$as_ac_var=no"
70235 fi
70236 rm -f conftest.err conftest.$ac_objext \
70237       conftest$ac_exeext conftest.$ac_ext
70238 fi
70239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70241 if test `eval echo '${'$as_ac_var'}'` = yes; then
70242   cat >>confdefs.h <<_ACEOF
70243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70244 _ACEOF
70245
70246 fi
70247 done
70248
70249     fi
70250   fi
70251
70252
70253
70254
70255
70256
70257   echo "$as_me:$LINENO: checking for powl declaration" >&5
70258 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
70259   if test x${glibcxx_cv_func_powl_use+set} != xset; then
70260     if test "${glibcxx_cv_func_powl_use+set}" = set; then
70261   echo $ECHO_N "(cached) $ECHO_C" >&6
70262 else
70263
70264
70265
70266       ac_ext=cc
70267 ac_cpp='$CXXCPP $CPPFLAGS'
70268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70271
70272       cat >conftest.$ac_ext <<_ACEOF
70273 /* confdefs.h.  */
70274 _ACEOF
70275 cat confdefs.h >>conftest.$ac_ext
70276 cat >>conftest.$ac_ext <<_ACEOF
70277 /* end confdefs.h.  */
70278 #include <math.h>
70279 int
70280 main ()
70281 {
70282  powl(0, 0);
70283   ;
70284   return 0;
70285 }
70286 _ACEOF
70287 rm -f conftest.$ac_objext
70288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70289   (eval $ac_compile) 2>conftest.er1
70290   ac_status=$?
70291   grep -v '^ *+' conftest.er1 >conftest.err
70292   rm -f conftest.er1
70293   cat conftest.err >&5
70294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70295   (exit $ac_status); } &&
70296          { ac_try='test -z "$ac_cxx_werror_flag"
70297                          || test ! -s conftest.err'
70298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70299   (eval $ac_try) 2>&5
70300   ac_status=$?
70301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70302   (exit $ac_status); }; } &&
70303          { ac_try='test -s conftest.$ac_objext'
70304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70305   (eval $ac_try) 2>&5
70306   ac_status=$?
70307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70308   (exit $ac_status); }; }; then
70309   glibcxx_cv_func_powl_use=yes
70310 else
70311   echo "$as_me: failed program was:" >&5
70312 sed 's/^/| /' conftest.$ac_ext >&5
70313
70314 glibcxx_cv_func_powl_use=no
70315 fi
70316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70317       ac_ext=c
70318 ac_cpp='$CPP $CPPFLAGS'
70319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70322
70323
70324 fi
70325
70326   fi
70327   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
70328 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
70329
70330   if test x$glibcxx_cv_func_powl_use = x"yes"; then
70331
70332 for ac_func in powl
70333 do
70334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70335 echo "$as_me:$LINENO: checking for $ac_func" >&5
70336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70337 if eval "test \"\${$as_ac_var+set}\" = set"; then
70338   echo $ECHO_N "(cached) $ECHO_C" >&6
70339 else
70340   if test x$gcc_no_link = xyes; then
70341   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70343    { (exit 1); exit 1; }; }
70344 fi
70345 cat >conftest.$ac_ext <<_ACEOF
70346 /* confdefs.h.  */
70347 _ACEOF
70348 cat confdefs.h >>conftest.$ac_ext
70349 cat >>conftest.$ac_ext <<_ACEOF
70350 /* end confdefs.h.  */
70351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70352    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70353 #define $ac_func innocuous_$ac_func
70354
70355 /* System header to define __stub macros and hopefully few prototypes,
70356     which can conflict with char $ac_func (); below.
70357     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70358     <limits.h> exists even on freestanding compilers.  */
70359
70360 #ifdef __STDC__
70361 # include <limits.h>
70362 #else
70363 # include <assert.h>
70364 #endif
70365
70366 #undef $ac_func
70367
70368 /* Override any gcc2 internal prototype to avoid an error.  */
70369 #ifdef __cplusplus
70370 extern "C"
70371 {
70372 #endif
70373 /* We use char because int might match the return type of a gcc2
70374    builtin and then its argument prototype would still apply.  */
70375 char $ac_func ();
70376 /* The GNU C library defines this for functions which it implements
70377     to always fail with ENOSYS.  Some functions are actually named
70378     something starting with __ and the normal name is an alias.  */
70379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70380 choke me
70381 #else
70382 char (*f) () = $ac_func;
70383 #endif
70384 #ifdef __cplusplus
70385 }
70386 #endif
70387
70388 int
70389 main ()
70390 {
70391 return f != $ac_func;
70392   ;
70393   return 0;
70394 }
70395 _ACEOF
70396 rm -f conftest.$ac_objext conftest$ac_exeext
70397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70398   (eval $ac_link) 2>conftest.er1
70399   ac_status=$?
70400   grep -v '^ *+' conftest.er1 >conftest.err
70401   rm -f conftest.er1
70402   cat conftest.err >&5
70403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70404   (exit $ac_status); } &&
70405          { ac_try='test -z "$ac_c_werror_flag"
70406                          || test ! -s conftest.err'
70407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70408   (eval $ac_try) 2>&5
70409   ac_status=$?
70410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70411   (exit $ac_status); }; } &&
70412          { ac_try='test -s conftest$ac_exeext'
70413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70414   (eval $ac_try) 2>&5
70415   ac_status=$?
70416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70417   (exit $ac_status); }; }; then
70418   eval "$as_ac_var=yes"
70419 else
70420   echo "$as_me: failed program was:" >&5
70421 sed 's/^/| /' conftest.$ac_ext >&5
70422
70423 eval "$as_ac_var=no"
70424 fi
70425 rm -f conftest.err conftest.$ac_objext \
70426       conftest$ac_exeext conftest.$ac_ext
70427 fi
70428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70430 if test `eval echo '${'$as_ac_var'}'` = yes; then
70431   cat >>confdefs.h <<_ACEOF
70432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70433 _ACEOF
70434
70435 fi
70436 done
70437
70438   else
70439
70440   echo "$as_me:$LINENO: checking for _powl declaration" >&5
70441 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
70442   if test x${glibcxx_cv_func__powl_use+set} != xset; then
70443     if test "${glibcxx_cv_func__powl_use+set}" = set; then
70444   echo $ECHO_N "(cached) $ECHO_C" >&6
70445 else
70446
70447
70448
70449       ac_ext=cc
70450 ac_cpp='$CXXCPP $CPPFLAGS'
70451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70454
70455       cat >conftest.$ac_ext <<_ACEOF
70456 /* confdefs.h.  */
70457 _ACEOF
70458 cat confdefs.h >>conftest.$ac_ext
70459 cat >>conftest.$ac_ext <<_ACEOF
70460 /* end confdefs.h.  */
70461 #include <math.h>
70462 int
70463 main ()
70464 {
70465  _powl(0, 0);
70466   ;
70467   return 0;
70468 }
70469 _ACEOF
70470 rm -f conftest.$ac_objext
70471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70472   (eval $ac_compile) 2>conftest.er1
70473   ac_status=$?
70474   grep -v '^ *+' conftest.er1 >conftest.err
70475   rm -f conftest.er1
70476   cat conftest.err >&5
70477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70478   (exit $ac_status); } &&
70479          { ac_try='test -z "$ac_cxx_werror_flag"
70480                          || test ! -s conftest.err'
70481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70482   (eval $ac_try) 2>&5
70483   ac_status=$?
70484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70485   (exit $ac_status); }; } &&
70486          { ac_try='test -s conftest.$ac_objext'
70487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70488   (eval $ac_try) 2>&5
70489   ac_status=$?
70490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70491   (exit $ac_status); }; }; then
70492   glibcxx_cv_func__powl_use=yes
70493 else
70494   echo "$as_me: failed program was:" >&5
70495 sed 's/^/| /' conftest.$ac_ext >&5
70496
70497 glibcxx_cv_func__powl_use=no
70498 fi
70499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70500       ac_ext=c
70501 ac_cpp='$CPP $CPPFLAGS'
70502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70505
70506
70507 fi
70508
70509   fi
70510   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
70511 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
70512
70513     if test x$glibcxx_cv_func__powl_use = x"yes"; then
70514
70515 for ac_func in _powl
70516 do
70517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70518 echo "$as_me:$LINENO: checking for $ac_func" >&5
70519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70520 if eval "test \"\${$as_ac_var+set}\" = set"; then
70521   echo $ECHO_N "(cached) $ECHO_C" >&6
70522 else
70523   if test x$gcc_no_link = xyes; then
70524   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70526    { (exit 1); exit 1; }; }
70527 fi
70528 cat >conftest.$ac_ext <<_ACEOF
70529 /* confdefs.h.  */
70530 _ACEOF
70531 cat confdefs.h >>conftest.$ac_ext
70532 cat >>conftest.$ac_ext <<_ACEOF
70533 /* end confdefs.h.  */
70534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70535    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70536 #define $ac_func innocuous_$ac_func
70537
70538 /* System header to define __stub macros and hopefully few prototypes,
70539     which can conflict with char $ac_func (); below.
70540     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70541     <limits.h> exists even on freestanding compilers.  */
70542
70543 #ifdef __STDC__
70544 # include <limits.h>
70545 #else
70546 # include <assert.h>
70547 #endif
70548
70549 #undef $ac_func
70550
70551 /* Override any gcc2 internal prototype to avoid an error.  */
70552 #ifdef __cplusplus
70553 extern "C"
70554 {
70555 #endif
70556 /* We use char because int might match the return type of a gcc2
70557    builtin and then its argument prototype would still apply.  */
70558 char $ac_func ();
70559 /* The GNU C library defines this for functions which it implements
70560     to always fail with ENOSYS.  Some functions are actually named
70561     something starting with __ and the normal name is an alias.  */
70562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70563 choke me
70564 #else
70565 char (*f) () = $ac_func;
70566 #endif
70567 #ifdef __cplusplus
70568 }
70569 #endif
70570
70571 int
70572 main ()
70573 {
70574 return f != $ac_func;
70575   ;
70576   return 0;
70577 }
70578 _ACEOF
70579 rm -f conftest.$ac_objext conftest$ac_exeext
70580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70581   (eval $ac_link) 2>conftest.er1
70582   ac_status=$?
70583   grep -v '^ *+' conftest.er1 >conftest.err
70584   rm -f conftest.er1
70585   cat conftest.err >&5
70586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70587   (exit $ac_status); } &&
70588          { ac_try='test -z "$ac_c_werror_flag"
70589                          || test ! -s conftest.err'
70590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70591   (eval $ac_try) 2>&5
70592   ac_status=$?
70593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70594   (exit $ac_status); }; } &&
70595          { ac_try='test -s conftest$ac_exeext'
70596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70597   (eval $ac_try) 2>&5
70598   ac_status=$?
70599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70600   (exit $ac_status); }; }; then
70601   eval "$as_ac_var=yes"
70602 else
70603   echo "$as_me: failed program was:" >&5
70604 sed 's/^/| /' conftest.$ac_ext >&5
70605
70606 eval "$as_ac_var=no"
70607 fi
70608 rm -f conftest.err conftest.$ac_objext \
70609       conftest$ac_exeext conftest.$ac_ext
70610 fi
70611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70613 if test `eval echo '${'$as_ac_var'}'` = yes; then
70614   cat >>confdefs.h <<_ACEOF
70615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70616 _ACEOF
70617
70618 fi
70619 done
70620
70621     fi
70622   fi
70623
70624
70625
70626
70627
70628
70629   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
70630 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
70631   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70632     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
70633   echo $ECHO_N "(cached) $ECHO_C" >&6
70634 else
70635
70636
70637
70638       ac_ext=cc
70639 ac_cpp='$CXXCPP $CPPFLAGS'
70640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70643
70644       cat >conftest.$ac_ext <<_ACEOF
70645 /* confdefs.h.  */
70646 _ACEOF
70647 cat confdefs.h >>conftest.$ac_ext
70648 cat >>conftest.$ac_ext <<_ACEOF
70649 /* end confdefs.h.  */
70650 #include <math.h>
70651                       #ifdef HAVE_IEEEFP_H
70652                       #include <ieeefp.h>
70653                       #endif
70654
70655 int
70656 main ()
70657 {
70658  sqrtl(0);
70659   ;
70660   return 0;
70661 }
70662 _ACEOF
70663 rm -f conftest.$ac_objext
70664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70665   (eval $ac_compile) 2>conftest.er1
70666   ac_status=$?
70667   grep -v '^ *+' conftest.er1 >conftest.err
70668   rm -f conftest.er1
70669   cat conftest.err >&5
70670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70671   (exit $ac_status); } &&
70672          { ac_try='test -z "$ac_cxx_werror_flag"
70673                          || test ! -s conftest.err'
70674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70675   (eval $ac_try) 2>&5
70676   ac_status=$?
70677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70678   (exit $ac_status); }; } &&
70679          { ac_try='test -s conftest.$ac_objext'
70680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70681   (eval $ac_try) 2>&5
70682   ac_status=$?
70683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70684   (exit $ac_status); }; }; then
70685   glibcxx_cv_func_sqrtl_use=yes
70686 else
70687   echo "$as_me: failed program was:" >&5
70688 sed 's/^/| /' conftest.$ac_ext >&5
70689
70690 glibcxx_cv_func_sqrtl_use=no
70691 fi
70692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70693       ac_ext=c
70694 ac_cpp='$CPP $CPPFLAGS'
70695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70698
70699
70700 fi
70701
70702   fi
70703   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
70704 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
70705
70706   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70707
70708 for ac_func in sqrtl
70709 do
70710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70711 echo "$as_me:$LINENO: checking for $ac_func" >&5
70712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70713 if eval "test \"\${$as_ac_var+set}\" = set"; then
70714   echo $ECHO_N "(cached) $ECHO_C" >&6
70715 else
70716   if test x$gcc_no_link = xyes; then
70717   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70719    { (exit 1); exit 1; }; }
70720 fi
70721 cat >conftest.$ac_ext <<_ACEOF
70722 /* confdefs.h.  */
70723 _ACEOF
70724 cat confdefs.h >>conftest.$ac_ext
70725 cat >>conftest.$ac_ext <<_ACEOF
70726 /* end confdefs.h.  */
70727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70728    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70729 #define $ac_func innocuous_$ac_func
70730
70731 /* System header to define __stub macros and hopefully few prototypes,
70732     which can conflict with char $ac_func (); below.
70733     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70734     <limits.h> exists even on freestanding compilers.  */
70735
70736 #ifdef __STDC__
70737 # include <limits.h>
70738 #else
70739 # include <assert.h>
70740 #endif
70741
70742 #undef $ac_func
70743
70744 /* Override any gcc2 internal prototype to avoid an error.  */
70745 #ifdef __cplusplus
70746 extern "C"
70747 {
70748 #endif
70749 /* We use char because int might match the return type of a gcc2
70750    builtin and then its argument prototype would still apply.  */
70751 char $ac_func ();
70752 /* The GNU C library defines this for functions which it implements
70753     to always fail with ENOSYS.  Some functions are actually named
70754     something starting with __ and the normal name is an alias.  */
70755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70756 choke me
70757 #else
70758 char (*f) () = $ac_func;
70759 #endif
70760 #ifdef __cplusplus
70761 }
70762 #endif
70763
70764 int
70765 main ()
70766 {
70767 return f != $ac_func;
70768   ;
70769   return 0;
70770 }
70771 _ACEOF
70772 rm -f conftest.$ac_objext conftest$ac_exeext
70773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70774   (eval $ac_link) 2>conftest.er1
70775   ac_status=$?
70776   grep -v '^ *+' conftest.er1 >conftest.err
70777   rm -f conftest.er1
70778   cat conftest.err >&5
70779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70780   (exit $ac_status); } &&
70781          { ac_try='test -z "$ac_c_werror_flag"
70782                          || test ! -s conftest.err'
70783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70784   (eval $ac_try) 2>&5
70785   ac_status=$?
70786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70787   (exit $ac_status); }; } &&
70788          { ac_try='test -s conftest$ac_exeext'
70789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70790   (eval $ac_try) 2>&5
70791   ac_status=$?
70792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70793   (exit $ac_status); }; }; then
70794   eval "$as_ac_var=yes"
70795 else
70796   echo "$as_me: failed program was:" >&5
70797 sed 's/^/| /' conftest.$ac_ext >&5
70798
70799 eval "$as_ac_var=no"
70800 fi
70801 rm -f conftest.err conftest.$ac_objext \
70802       conftest$ac_exeext conftest.$ac_ext
70803 fi
70804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70806 if test `eval echo '${'$as_ac_var'}'` = yes; then
70807   cat >>confdefs.h <<_ACEOF
70808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70809 _ACEOF
70810
70811 fi
70812 done
70813
70814   else
70815
70816   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
70817 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
70818   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70819     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
70820   echo $ECHO_N "(cached) $ECHO_C" >&6
70821 else
70822
70823
70824
70825       ac_ext=cc
70826 ac_cpp='$CXXCPP $CPPFLAGS'
70827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70830
70831       cat >conftest.$ac_ext <<_ACEOF
70832 /* confdefs.h.  */
70833 _ACEOF
70834 cat confdefs.h >>conftest.$ac_ext
70835 cat >>conftest.$ac_ext <<_ACEOF
70836 /* end confdefs.h.  */
70837 #include <math.h>
70838                       #ifdef HAVE_IEEEFP_H
70839                       #include <ieeefp.h>
70840                       #endif
70841
70842 int
70843 main ()
70844 {
70845  _sqrtl(0);
70846   ;
70847   return 0;
70848 }
70849 _ACEOF
70850 rm -f conftest.$ac_objext
70851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70852   (eval $ac_compile) 2>conftest.er1
70853   ac_status=$?
70854   grep -v '^ *+' conftest.er1 >conftest.err
70855   rm -f conftest.er1
70856   cat conftest.err >&5
70857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70858   (exit $ac_status); } &&
70859          { ac_try='test -z "$ac_cxx_werror_flag"
70860                          || test ! -s conftest.err'
70861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70862   (eval $ac_try) 2>&5
70863   ac_status=$?
70864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70865   (exit $ac_status); }; } &&
70866          { ac_try='test -s conftest.$ac_objext'
70867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70868   (eval $ac_try) 2>&5
70869   ac_status=$?
70870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70871   (exit $ac_status); }; }; then
70872   glibcxx_cv_func__sqrtl_use=yes
70873 else
70874   echo "$as_me: failed program was:" >&5
70875 sed 's/^/| /' conftest.$ac_ext >&5
70876
70877 glibcxx_cv_func__sqrtl_use=no
70878 fi
70879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70880       ac_ext=c
70881 ac_cpp='$CPP $CPPFLAGS'
70882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70885
70886
70887 fi
70888
70889   fi
70890   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
70891 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
70892
70893     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70894
70895 for ac_func in _sqrtl
70896 do
70897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70898 echo "$as_me:$LINENO: checking for $ac_func" >&5
70899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70900 if eval "test \"\${$as_ac_var+set}\" = set"; then
70901   echo $ECHO_N "(cached) $ECHO_C" >&6
70902 else
70903   if test x$gcc_no_link = xyes; then
70904   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70906    { (exit 1); exit 1; }; }
70907 fi
70908 cat >conftest.$ac_ext <<_ACEOF
70909 /* confdefs.h.  */
70910 _ACEOF
70911 cat confdefs.h >>conftest.$ac_ext
70912 cat >>conftest.$ac_ext <<_ACEOF
70913 /* end confdefs.h.  */
70914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70915    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70916 #define $ac_func innocuous_$ac_func
70917
70918 /* System header to define __stub macros and hopefully few prototypes,
70919     which can conflict with char $ac_func (); below.
70920     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70921     <limits.h> exists even on freestanding compilers.  */
70922
70923 #ifdef __STDC__
70924 # include <limits.h>
70925 #else
70926 # include <assert.h>
70927 #endif
70928
70929 #undef $ac_func
70930
70931 /* Override any gcc2 internal prototype to avoid an error.  */
70932 #ifdef __cplusplus
70933 extern "C"
70934 {
70935 #endif
70936 /* We use char because int might match the return type of a gcc2
70937    builtin and then its argument prototype would still apply.  */
70938 char $ac_func ();
70939 /* The GNU C library defines this for functions which it implements
70940     to always fail with ENOSYS.  Some functions are actually named
70941     something starting with __ and the normal name is an alias.  */
70942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70943 choke me
70944 #else
70945 char (*f) () = $ac_func;
70946 #endif
70947 #ifdef __cplusplus
70948 }
70949 #endif
70950
70951 int
70952 main ()
70953 {
70954 return f != $ac_func;
70955   ;
70956   return 0;
70957 }
70958 _ACEOF
70959 rm -f conftest.$ac_objext conftest$ac_exeext
70960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70961   (eval $ac_link) 2>conftest.er1
70962   ac_status=$?
70963   grep -v '^ *+' conftest.er1 >conftest.err
70964   rm -f conftest.er1
70965   cat conftest.err >&5
70966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70967   (exit $ac_status); } &&
70968          { ac_try='test -z "$ac_c_werror_flag"
70969                          || test ! -s conftest.err'
70970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70971   (eval $ac_try) 2>&5
70972   ac_status=$?
70973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70974   (exit $ac_status); }; } &&
70975          { ac_try='test -s conftest$ac_exeext'
70976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70977   (eval $ac_try) 2>&5
70978   ac_status=$?
70979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70980   (exit $ac_status); }; }; then
70981   eval "$as_ac_var=yes"
70982 else
70983   echo "$as_me: failed program was:" >&5
70984 sed 's/^/| /' conftest.$ac_ext >&5
70985
70986 eval "$as_ac_var=no"
70987 fi
70988 rm -f conftest.err conftest.$ac_objext \
70989       conftest$ac_exeext conftest.$ac_ext
70990 fi
70991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70993 if test `eval echo '${'$as_ac_var'}'` = yes; then
70994   cat >>confdefs.h <<_ACEOF
70995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70996 _ACEOF
70997
70998 fi
70999 done
71000
71001     fi
71002   fi
71003
71004
71005
71006
71007
71008
71009   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
71010 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
71011   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71012     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
71013   echo $ECHO_N "(cached) $ECHO_C" >&6
71014 else
71015
71016
71017
71018       ac_ext=cc
71019 ac_cpp='$CXXCPP $CPPFLAGS'
71020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71023
71024       cat >conftest.$ac_ext <<_ACEOF
71025 /* confdefs.h.  */
71026 _ACEOF
71027 cat confdefs.h >>conftest.$ac_ext
71028 cat >>conftest.$ac_ext <<_ACEOF
71029 /* end confdefs.h.  */
71030 #include <math.h>
71031 int
71032 main ()
71033 {
71034  sincosl(0, 0, 0);
71035   ;
71036   return 0;
71037 }
71038 _ACEOF
71039 rm -f conftest.$ac_objext
71040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71041   (eval $ac_compile) 2>conftest.er1
71042   ac_status=$?
71043   grep -v '^ *+' conftest.er1 >conftest.err
71044   rm -f conftest.er1
71045   cat conftest.err >&5
71046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71047   (exit $ac_status); } &&
71048          { ac_try='test -z "$ac_cxx_werror_flag"
71049                          || test ! -s conftest.err'
71050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71051   (eval $ac_try) 2>&5
71052   ac_status=$?
71053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71054   (exit $ac_status); }; } &&
71055          { ac_try='test -s conftest.$ac_objext'
71056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71057   (eval $ac_try) 2>&5
71058   ac_status=$?
71059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71060   (exit $ac_status); }; }; then
71061   glibcxx_cv_func_sincosl_use=yes
71062 else
71063   echo "$as_me: failed program was:" >&5
71064 sed 's/^/| /' conftest.$ac_ext >&5
71065
71066 glibcxx_cv_func_sincosl_use=no
71067 fi
71068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71069       ac_ext=c
71070 ac_cpp='$CPP $CPPFLAGS'
71071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71074
71075
71076 fi
71077
71078   fi
71079   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
71080 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
71081
71082   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71083
71084 for ac_func in sincosl
71085 do
71086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71087 echo "$as_me:$LINENO: checking for $ac_func" >&5
71088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71089 if eval "test \"\${$as_ac_var+set}\" = set"; then
71090   echo $ECHO_N "(cached) $ECHO_C" >&6
71091 else
71092   if test x$gcc_no_link = xyes; then
71093   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71095    { (exit 1); exit 1; }; }
71096 fi
71097 cat >conftest.$ac_ext <<_ACEOF
71098 /* confdefs.h.  */
71099 _ACEOF
71100 cat confdefs.h >>conftest.$ac_ext
71101 cat >>conftest.$ac_ext <<_ACEOF
71102 /* end confdefs.h.  */
71103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71104    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71105 #define $ac_func innocuous_$ac_func
71106
71107 /* System header to define __stub macros and hopefully few prototypes,
71108     which can conflict with char $ac_func (); below.
71109     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71110     <limits.h> exists even on freestanding compilers.  */
71111
71112 #ifdef __STDC__
71113 # include <limits.h>
71114 #else
71115 # include <assert.h>
71116 #endif
71117
71118 #undef $ac_func
71119
71120 /* Override any gcc2 internal prototype to avoid an error.  */
71121 #ifdef __cplusplus
71122 extern "C"
71123 {
71124 #endif
71125 /* We use char because int might match the return type of a gcc2
71126    builtin and then its argument prototype would still apply.  */
71127 char $ac_func ();
71128 /* The GNU C library defines this for functions which it implements
71129     to always fail with ENOSYS.  Some functions are actually named
71130     something starting with __ and the normal name is an alias.  */
71131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71132 choke me
71133 #else
71134 char (*f) () = $ac_func;
71135 #endif
71136 #ifdef __cplusplus
71137 }
71138 #endif
71139
71140 int
71141 main ()
71142 {
71143 return f != $ac_func;
71144   ;
71145   return 0;
71146 }
71147 _ACEOF
71148 rm -f conftest.$ac_objext conftest$ac_exeext
71149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71150   (eval $ac_link) 2>conftest.er1
71151   ac_status=$?
71152   grep -v '^ *+' conftest.er1 >conftest.err
71153   rm -f conftest.er1
71154   cat conftest.err >&5
71155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71156   (exit $ac_status); } &&
71157          { ac_try='test -z "$ac_c_werror_flag"
71158                          || test ! -s conftest.err'
71159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71160   (eval $ac_try) 2>&5
71161   ac_status=$?
71162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71163   (exit $ac_status); }; } &&
71164          { ac_try='test -s conftest$ac_exeext'
71165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71166   (eval $ac_try) 2>&5
71167   ac_status=$?
71168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71169   (exit $ac_status); }; }; then
71170   eval "$as_ac_var=yes"
71171 else
71172   echo "$as_me: failed program was:" >&5
71173 sed 's/^/| /' conftest.$ac_ext >&5
71174
71175 eval "$as_ac_var=no"
71176 fi
71177 rm -f conftest.err conftest.$ac_objext \
71178       conftest$ac_exeext conftest.$ac_ext
71179 fi
71180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71182 if test `eval echo '${'$as_ac_var'}'` = yes; then
71183   cat >>confdefs.h <<_ACEOF
71184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71185 _ACEOF
71186
71187 fi
71188 done
71189
71190   else
71191
71192   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
71193 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
71194   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71195     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
71196   echo $ECHO_N "(cached) $ECHO_C" >&6
71197 else
71198
71199
71200
71201       ac_ext=cc
71202 ac_cpp='$CXXCPP $CPPFLAGS'
71203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71206
71207       cat >conftest.$ac_ext <<_ACEOF
71208 /* confdefs.h.  */
71209 _ACEOF
71210 cat confdefs.h >>conftest.$ac_ext
71211 cat >>conftest.$ac_ext <<_ACEOF
71212 /* end confdefs.h.  */
71213 #include <math.h>
71214 int
71215 main ()
71216 {
71217  _sincosl(0, 0, 0);
71218   ;
71219   return 0;
71220 }
71221 _ACEOF
71222 rm -f conftest.$ac_objext
71223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71224   (eval $ac_compile) 2>conftest.er1
71225   ac_status=$?
71226   grep -v '^ *+' conftest.er1 >conftest.err
71227   rm -f conftest.er1
71228   cat conftest.err >&5
71229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71230   (exit $ac_status); } &&
71231          { ac_try='test -z "$ac_cxx_werror_flag"
71232                          || test ! -s conftest.err'
71233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71234   (eval $ac_try) 2>&5
71235   ac_status=$?
71236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71237   (exit $ac_status); }; } &&
71238          { ac_try='test -s conftest.$ac_objext'
71239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71240   (eval $ac_try) 2>&5
71241   ac_status=$?
71242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71243   (exit $ac_status); }; }; then
71244   glibcxx_cv_func__sincosl_use=yes
71245 else
71246   echo "$as_me: failed program was:" >&5
71247 sed 's/^/| /' conftest.$ac_ext >&5
71248
71249 glibcxx_cv_func__sincosl_use=no
71250 fi
71251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71252       ac_ext=c
71253 ac_cpp='$CPP $CPPFLAGS'
71254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71257
71258
71259 fi
71260
71261   fi
71262   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
71263 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
71264
71265     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71266
71267 for ac_func in _sincosl
71268 do
71269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71270 echo "$as_me:$LINENO: checking for $ac_func" >&5
71271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71272 if eval "test \"\${$as_ac_var+set}\" = set"; then
71273   echo $ECHO_N "(cached) $ECHO_C" >&6
71274 else
71275   if test x$gcc_no_link = xyes; then
71276   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71278    { (exit 1); exit 1; }; }
71279 fi
71280 cat >conftest.$ac_ext <<_ACEOF
71281 /* confdefs.h.  */
71282 _ACEOF
71283 cat confdefs.h >>conftest.$ac_ext
71284 cat >>conftest.$ac_ext <<_ACEOF
71285 /* end confdefs.h.  */
71286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71287    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71288 #define $ac_func innocuous_$ac_func
71289
71290 /* System header to define __stub macros and hopefully few prototypes,
71291     which can conflict with char $ac_func (); below.
71292     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71293     <limits.h> exists even on freestanding compilers.  */
71294
71295 #ifdef __STDC__
71296 # include <limits.h>
71297 #else
71298 # include <assert.h>
71299 #endif
71300
71301 #undef $ac_func
71302
71303 /* Override any gcc2 internal prototype to avoid an error.  */
71304 #ifdef __cplusplus
71305 extern "C"
71306 {
71307 #endif
71308 /* We use char because int might match the return type of a gcc2
71309    builtin and then its argument prototype would still apply.  */
71310 char $ac_func ();
71311 /* The GNU C library defines this for functions which it implements
71312     to always fail with ENOSYS.  Some functions are actually named
71313     something starting with __ and the normal name is an alias.  */
71314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71315 choke me
71316 #else
71317 char (*f) () = $ac_func;
71318 #endif
71319 #ifdef __cplusplus
71320 }
71321 #endif
71322
71323 int
71324 main ()
71325 {
71326 return f != $ac_func;
71327   ;
71328   return 0;
71329 }
71330 _ACEOF
71331 rm -f conftest.$ac_objext conftest$ac_exeext
71332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71333   (eval $ac_link) 2>conftest.er1
71334   ac_status=$?
71335   grep -v '^ *+' conftest.er1 >conftest.err
71336   rm -f conftest.er1
71337   cat conftest.err >&5
71338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71339   (exit $ac_status); } &&
71340          { ac_try='test -z "$ac_c_werror_flag"
71341                          || test ! -s conftest.err'
71342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71343   (eval $ac_try) 2>&5
71344   ac_status=$?
71345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71346   (exit $ac_status); }; } &&
71347          { ac_try='test -s conftest$ac_exeext'
71348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71349   (eval $ac_try) 2>&5
71350   ac_status=$?
71351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71352   (exit $ac_status); }; }; then
71353   eval "$as_ac_var=yes"
71354 else
71355   echo "$as_me: failed program was:" >&5
71356 sed 's/^/| /' conftest.$ac_ext >&5
71357
71358 eval "$as_ac_var=no"
71359 fi
71360 rm -f conftest.err conftest.$ac_objext \
71361       conftest$ac_exeext conftest.$ac_ext
71362 fi
71363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71365 if test `eval echo '${'$as_ac_var'}'` = yes; then
71366   cat >>confdefs.h <<_ACEOF
71367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71368 _ACEOF
71369
71370 fi
71371 done
71372
71373     fi
71374   fi
71375
71376
71377
71378
71379
71380
71381   echo "$as_me:$LINENO: checking for finitel declaration" >&5
71382 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
71383   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71384     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
71385   echo $ECHO_N "(cached) $ECHO_C" >&6
71386 else
71387
71388
71389
71390       ac_ext=cc
71391 ac_cpp='$CXXCPP $CPPFLAGS'
71392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71395
71396       cat >conftest.$ac_ext <<_ACEOF
71397 /* confdefs.h.  */
71398 _ACEOF
71399 cat confdefs.h >>conftest.$ac_ext
71400 cat >>conftest.$ac_ext <<_ACEOF
71401 /* end confdefs.h.  */
71402 #include <math.h>
71403                       #ifdef HAVE_IEEEFP_H
71404                       #include <ieeefp.h>
71405                       #endif
71406
71407 int
71408 main ()
71409 {
71410  finitel(0);
71411   ;
71412   return 0;
71413 }
71414 _ACEOF
71415 rm -f conftest.$ac_objext
71416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71417   (eval $ac_compile) 2>conftest.er1
71418   ac_status=$?
71419   grep -v '^ *+' conftest.er1 >conftest.err
71420   rm -f conftest.er1
71421   cat conftest.err >&5
71422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71423   (exit $ac_status); } &&
71424          { ac_try='test -z "$ac_cxx_werror_flag"
71425                          || test ! -s conftest.err'
71426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71427   (eval $ac_try) 2>&5
71428   ac_status=$?
71429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71430   (exit $ac_status); }; } &&
71431          { ac_try='test -s conftest.$ac_objext'
71432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71433   (eval $ac_try) 2>&5
71434   ac_status=$?
71435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71436   (exit $ac_status); }; }; then
71437   glibcxx_cv_func_finitel_use=yes
71438 else
71439   echo "$as_me: failed program was:" >&5
71440 sed 's/^/| /' conftest.$ac_ext >&5
71441
71442 glibcxx_cv_func_finitel_use=no
71443 fi
71444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71445       ac_ext=c
71446 ac_cpp='$CPP $CPPFLAGS'
71447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71450
71451
71452 fi
71453
71454   fi
71455   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
71456 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
71457
71458   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71459
71460 for ac_func in finitel
71461 do
71462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71463 echo "$as_me:$LINENO: checking for $ac_func" >&5
71464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71465 if eval "test \"\${$as_ac_var+set}\" = set"; then
71466   echo $ECHO_N "(cached) $ECHO_C" >&6
71467 else
71468   if test x$gcc_no_link = xyes; then
71469   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71471    { (exit 1); exit 1; }; }
71472 fi
71473 cat >conftest.$ac_ext <<_ACEOF
71474 /* confdefs.h.  */
71475 _ACEOF
71476 cat confdefs.h >>conftest.$ac_ext
71477 cat >>conftest.$ac_ext <<_ACEOF
71478 /* end confdefs.h.  */
71479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71480    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71481 #define $ac_func innocuous_$ac_func
71482
71483 /* System header to define __stub macros and hopefully few prototypes,
71484     which can conflict with char $ac_func (); below.
71485     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71486     <limits.h> exists even on freestanding compilers.  */
71487
71488 #ifdef __STDC__
71489 # include <limits.h>
71490 #else
71491 # include <assert.h>
71492 #endif
71493
71494 #undef $ac_func
71495
71496 /* Override any gcc2 internal prototype to avoid an error.  */
71497 #ifdef __cplusplus
71498 extern "C"
71499 {
71500 #endif
71501 /* We use char because int might match the return type of a gcc2
71502    builtin and then its argument prototype would still apply.  */
71503 char $ac_func ();
71504 /* The GNU C library defines this for functions which it implements
71505     to always fail with ENOSYS.  Some functions are actually named
71506     something starting with __ and the normal name is an alias.  */
71507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71508 choke me
71509 #else
71510 char (*f) () = $ac_func;
71511 #endif
71512 #ifdef __cplusplus
71513 }
71514 #endif
71515
71516 int
71517 main ()
71518 {
71519 return f != $ac_func;
71520   ;
71521   return 0;
71522 }
71523 _ACEOF
71524 rm -f conftest.$ac_objext conftest$ac_exeext
71525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71526   (eval $ac_link) 2>conftest.er1
71527   ac_status=$?
71528   grep -v '^ *+' conftest.er1 >conftest.err
71529   rm -f conftest.er1
71530   cat conftest.err >&5
71531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71532   (exit $ac_status); } &&
71533          { ac_try='test -z "$ac_c_werror_flag"
71534                          || test ! -s conftest.err'
71535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71536   (eval $ac_try) 2>&5
71537   ac_status=$?
71538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71539   (exit $ac_status); }; } &&
71540          { ac_try='test -s conftest$ac_exeext'
71541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71542   (eval $ac_try) 2>&5
71543   ac_status=$?
71544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71545   (exit $ac_status); }; }; then
71546   eval "$as_ac_var=yes"
71547 else
71548   echo "$as_me: failed program was:" >&5
71549 sed 's/^/| /' conftest.$ac_ext >&5
71550
71551 eval "$as_ac_var=no"
71552 fi
71553 rm -f conftest.err conftest.$ac_objext \
71554       conftest$ac_exeext conftest.$ac_ext
71555 fi
71556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71558 if test `eval echo '${'$as_ac_var'}'` = yes; then
71559   cat >>confdefs.h <<_ACEOF
71560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71561 _ACEOF
71562
71563 fi
71564 done
71565
71566   else
71567
71568   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
71569 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
71570   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71571     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
71572   echo $ECHO_N "(cached) $ECHO_C" >&6
71573 else
71574
71575
71576
71577       ac_ext=cc
71578 ac_cpp='$CXXCPP $CPPFLAGS'
71579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71582
71583       cat >conftest.$ac_ext <<_ACEOF
71584 /* confdefs.h.  */
71585 _ACEOF
71586 cat confdefs.h >>conftest.$ac_ext
71587 cat >>conftest.$ac_ext <<_ACEOF
71588 /* end confdefs.h.  */
71589 #include <math.h>
71590                       #ifdef HAVE_IEEEFP_H
71591                       #include <ieeefp.h>
71592                       #endif
71593
71594 int
71595 main ()
71596 {
71597  _finitel(0);
71598   ;
71599   return 0;
71600 }
71601 _ACEOF
71602 rm -f conftest.$ac_objext
71603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71604   (eval $ac_compile) 2>conftest.er1
71605   ac_status=$?
71606   grep -v '^ *+' conftest.er1 >conftest.err
71607   rm -f conftest.er1
71608   cat conftest.err >&5
71609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71610   (exit $ac_status); } &&
71611          { ac_try='test -z "$ac_cxx_werror_flag"
71612                          || test ! -s conftest.err'
71613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71614   (eval $ac_try) 2>&5
71615   ac_status=$?
71616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71617   (exit $ac_status); }; } &&
71618          { ac_try='test -s conftest.$ac_objext'
71619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71620   (eval $ac_try) 2>&5
71621   ac_status=$?
71622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71623   (exit $ac_status); }; }; then
71624   glibcxx_cv_func__finitel_use=yes
71625 else
71626   echo "$as_me: failed program was:" >&5
71627 sed 's/^/| /' conftest.$ac_ext >&5
71628
71629 glibcxx_cv_func__finitel_use=no
71630 fi
71631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71632       ac_ext=c
71633 ac_cpp='$CPP $CPPFLAGS'
71634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71637
71638
71639 fi
71640
71641   fi
71642   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
71643 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
71644
71645     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71646
71647 for ac_func in _finitel
71648 do
71649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71650 echo "$as_me:$LINENO: checking for $ac_func" >&5
71651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71652 if eval "test \"\${$as_ac_var+set}\" = set"; then
71653   echo $ECHO_N "(cached) $ECHO_C" >&6
71654 else
71655   if test x$gcc_no_link = xyes; then
71656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71658    { (exit 1); exit 1; }; }
71659 fi
71660 cat >conftest.$ac_ext <<_ACEOF
71661 /* confdefs.h.  */
71662 _ACEOF
71663 cat confdefs.h >>conftest.$ac_ext
71664 cat >>conftest.$ac_ext <<_ACEOF
71665 /* end confdefs.h.  */
71666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71667    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71668 #define $ac_func innocuous_$ac_func
71669
71670 /* System header to define __stub macros and hopefully few prototypes,
71671     which can conflict with char $ac_func (); below.
71672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71673     <limits.h> exists even on freestanding compilers.  */
71674
71675 #ifdef __STDC__
71676 # include <limits.h>
71677 #else
71678 # include <assert.h>
71679 #endif
71680
71681 #undef $ac_func
71682
71683 /* Override any gcc2 internal prototype to avoid an error.  */
71684 #ifdef __cplusplus
71685 extern "C"
71686 {
71687 #endif
71688 /* We use char because int might match the return type of a gcc2
71689    builtin and then its argument prototype would still apply.  */
71690 char $ac_func ();
71691 /* The GNU C library defines this for functions which it implements
71692     to always fail with ENOSYS.  Some functions are actually named
71693     something starting with __ and the normal name is an alias.  */
71694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71695 choke me
71696 #else
71697 char (*f) () = $ac_func;
71698 #endif
71699 #ifdef __cplusplus
71700 }
71701 #endif
71702
71703 int
71704 main ()
71705 {
71706 return f != $ac_func;
71707   ;
71708   return 0;
71709 }
71710 _ACEOF
71711 rm -f conftest.$ac_objext conftest$ac_exeext
71712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71713   (eval $ac_link) 2>conftest.er1
71714   ac_status=$?
71715   grep -v '^ *+' conftest.er1 >conftest.err
71716   rm -f conftest.er1
71717   cat conftest.err >&5
71718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71719   (exit $ac_status); } &&
71720          { ac_try='test -z "$ac_c_werror_flag"
71721                          || test ! -s conftest.err'
71722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71723   (eval $ac_try) 2>&5
71724   ac_status=$?
71725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71726   (exit $ac_status); }; } &&
71727          { ac_try='test -s conftest$ac_exeext'
71728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71729   (eval $ac_try) 2>&5
71730   ac_status=$?
71731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71732   (exit $ac_status); }; }; then
71733   eval "$as_ac_var=yes"
71734 else
71735   echo "$as_me: failed program was:" >&5
71736 sed 's/^/| /' conftest.$ac_ext >&5
71737
71738 eval "$as_ac_var=no"
71739 fi
71740 rm -f conftest.err conftest.$ac_objext \
71741       conftest$ac_exeext conftest.$ac_ext
71742 fi
71743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71745 if test `eval echo '${'$as_ac_var'}'` = yes; then
71746   cat >>confdefs.h <<_ACEOF
71747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71748 _ACEOF
71749
71750 fi
71751 done
71752
71753     fi
71754   fi
71755
71756
71757
71758
71759
71760   LIBS="$ac_save_LIBS"
71761   CXXFLAGS="$ac_save_CXXFLAGS"
71762
71763
71764
71765   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
71766 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
71767   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
71768     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
71769   echo $ECHO_N "(cached) $ECHO_C" >&6
71770 else
71771
71772
71773
71774       ac_ext=cc
71775 ac_cpp='$CXXCPP $CPPFLAGS'
71776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71779
71780       cat >conftest.$ac_ext <<_ACEOF
71781 /* confdefs.h.  */
71782 _ACEOF
71783 cat confdefs.h >>conftest.$ac_ext
71784 cat >>conftest.$ac_ext <<_ACEOF
71785 /* end confdefs.h.  */
71786 #include <math.h>
71787 int
71788 main ()
71789 {
71790  __builtin_abs(0);
71791   ;
71792   return 0;
71793 }
71794 _ACEOF
71795 rm -f conftest.$ac_objext
71796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71797   (eval $ac_compile) 2>conftest.er1
71798   ac_status=$?
71799   grep -v '^ *+' conftest.er1 >conftest.err
71800   rm -f conftest.er1
71801   cat conftest.err >&5
71802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71803   (exit $ac_status); } &&
71804          { ac_try='test -z "$ac_cxx_werror_flag"
71805                          || test ! -s conftest.err'
71806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71807   (eval $ac_try) 2>&5
71808   ac_status=$?
71809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71810   (exit $ac_status); }; } &&
71811          { ac_try='test -s conftest.$ac_objext'
71812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71813   (eval $ac_try) 2>&5
71814   ac_status=$?
71815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71816   (exit $ac_status); }; }; then
71817   glibcxx_cv_func___builtin_abs_use=yes
71818 else
71819   echo "$as_me: failed program was:" >&5
71820 sed 's/^/| /' conftest.$ac_ext >&5
71821
71822 glibcxx_cv_func___builtin_abs_use=no
71823 fi
71824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71825       ac_ext=c
71826 ac_cpp='$CPP $CPPFLAGS'
71827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71830
71831
71832 fi
71833
71834   fi
71835   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
71836 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
71837   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
71838     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
71839 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
71840     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
71841       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
71842   echo $ECHO_N "(cached) $ECHO_C" >&6
71843 else
71844
71845         if test x$gcc_no_link = xyes; then
71846   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71848    { (exit 1); exit 1; }; }
71849 fi
71850 cat >conftest.$ac_ext <<_ACEOF
71851 /* confdefs.h.  */
71852 _ACEOF
71853 cat confdefs.h >>conftest.$ac_ext
71854 cat >>conftest.$ac_ext <<_ACEOF
71855 /* end confdefs.h.  */
71856 #include <math.h>
71857 int
71858 main ()
71859 {
71860  __builtin_abs(0);
71861   ;
71862   return 0;
71863 }
71864 _ACEOF
71865 rm -f conftest.$ac_objext conftest$ac_exeext
71866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71867   (eval $ac_link) 2>conftest.er1
71868   ac_status=$?
71869   grep -v '^ *+' conftest.er1 >conftest.err
71870   rm -f conftest.er1
71871   cat conftest.err >&5
71872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71873   (exit $ac_status); } &&
71874          { ac_try='test -z "$ac_c_werror_flag"
71875                          || test ! -s conftest.err'
71876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71877   (eval $ac_try) 2>&5
71878   ac_status=$?
71879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71880   (exit $ac_status); }; } &&
71881          { ac_try='test -s conftest$ac_exeext'
71882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71883   (eval $ac_try) 2>&5
71884   ac_status=$?
71885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71886   (exit $ac_status); }; }; then
71887   glibcxx_cv_func___builtin_abs_link=yes
71888 else
71889   echo "$as_me: failed program was:" >&5
71890 sed 's/^/| /' conftest.$ac_ext >&5
71891
71892 glibcxx_cv_func___builtin_abs_link=no
71893 fi
71894 rm -f conftest.err conftest.$ac_objext \
71895       conftest$ac_exeext conftest.$ac_ext
71896
71897 fi
71898
71899     fi
71900     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
71901 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
71902
71903     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
71904
71905 cat >>confdefs.h <<\_ACEOF
71906 #define HAVE___BUILTIN_ABS 1
71907 _ACEOF
71908
71909     fi
71910
71911   fi
71912
71913
71914   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
71915 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
71916   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
71917     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
71918   echo $ECHO_N "(cached) $ECHO_C" >&6
71919 else
71920
71921
71922
71923       ac_ext=cc
71924 ac_cpp='$CXXCPP $CPPFLAGS'
71925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71928
71929       cat >conftest.$ac_ext <<_ACEOF
71930 /* confdefs.h.  */
71931 _ACEOF
71932 cat confdefs.h >>conftest.$ac_ext
71933 cat >>conftest.$ac_ext <<_ACEOF
71934 /* end confdefs.h.  */
71935 #include <math.h>
71936 int
71937 main ()
71938 {
71939  __builtin_fabsf(0);
71940   ;
71941   return 0;
71942 }
71943 _ACEOF
71944 rm -f conftest.$ac_objext
71945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71946   (eval $ac_compile) 2>conftest.er1
71947   ac_status=$?
71948   grep -v '^ *+' conftest.er1 >conftest.err
71949   rm -f conftest.er1
71950   cat conftest.err >&5
71951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71952   (exit $ac_status); } &&
71953          { ac_try='test -z "$ac_cxx_werror_flag"
71954                          || test ! -s conftest.err'
71955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71956   (eval $ac_try) 2>&5
71957   ac_status=$?
71958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71959   (exit $ac_status); }; } &&
71960          { ac_try='test -s conftest.$ac_objext'
71961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71962   (eval $ac_try) 2>&5
71963   ac_status=$?
71964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71965   (exit $ac_status); }; }; then
71966   glibcxx_cv_func___builtin_fabsf_use=yes
71967 else
71968   echo "$as_me: failed program was:" >&5
71969 sed 's/^/| /' conftest.$ac_ext >&5
71970
71971 glibcxx_cv_func___builtin_fabsf_use=no
71972 fi
71973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71974       ac_ext=c
71975 ac_cpp='$CPP $CPPFLAGS'
71976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71979
71980
71981 fi
71982
71983   fi
71984   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
71985 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
71986   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
71987     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
71988 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
71989     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
71990       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
71991   echo $ECHO_N "(cached) $ECHO_C" >&6
71992 else
71993
71994         if test x$gcc_no_link = xyes; then
71995   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71997    { (exit 1); exit 1; }; }
71998 fi
71999 cat >conftest.$ac_ext <<_ACEOF
72000 /* confdefs.h.  */
72001 _ACEOF
72002 cat confdefs.h >>conftest.$ac_ext
72003 cat >>conftest.$ac_ext <<_ACEOF
72004 /* end confdefs.h.  */
72005 #include <math.h>
72006 int
72007 main ()
72008 {
72009  __builtin_fabsf(0);
72010   ;
72011   return 0;
72012 }
72013 _ACEOF
72014 rm -f conftest.$ac_objext conftest$ac_exeext
72015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72016   (eval $ac_link) 2>conftest.er1
72017   ac_status=$?
72018   grep -v '^ *+' conftest.er1 >conftest.err
72019   rm -f conftest.er1
72020   cat conftest.err >&5
72021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72022   (exit $ac_status); } &&
72023          { ac_try='test -z "$ac_c_werror_flag"
72024                          || test ! -s conftest.err'
72025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72026   (eval $ac_try) 2>&5
72027   ac_status=$?
72028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72029   (exit $ac_status); }; } &&
72030          { ac_try='test -s conftest$ac_exeext'
72031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72032   (eval $ac_try) 2>&5
72033   ac_status=$?
72034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72035   (exit $ac_status); }; }; then
72036   glibcxx_cv_func___builtin_fabsf_link=yes
72037 else
72038   echo "$as_me: failed program was:" >&5
72039 sed 's/^/| /' conftest.$ac_ext >&5
72040
72041 glibcxx_cv_func___builtin_fabsf_link=no
72042 fi
72043 rm -f conftest.err conftest.$ac_objext \
72044       conftest$ac_exeext conftest.$ac_ext
72045
72046 fi
72047
72048     fi
72049     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
72050 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
72051
72052     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
72053
72054 cat >>confdefs.h <<\_ACEOF
72055 #define HAVE___BUILTIN_FABSF 1
72056 _ACEOF
72057
72058     fi
72059
72060   fi
72061
72062
72063   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
72064 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
72065   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
72066     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
72067   echo $ECHO_N "(cached) $ECHO_C" >&6
72068 else
72069
72070
72071
72072       ac_ext=cc
72073 ac_cpp='$CXXCPP $CPPFLAGS'
72074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72077
72078       cat >conftest.$ac_ext <<_ACEOF
72079 /* confdefs.h.  */
72080 _ACEOF
72081 cat confdefs.h >>conftest.$ac_ext
72082 cat >>conftest.$ac_ext <<_ACEOF
72083 /* end confdefs.h.  */
72084 #include <math.h>
72085 int
72086 main ()
72087 {
72088  __builtin_fabs(0);
72089   ;
72090   return 0;
72091 }
72092 _ACEOF
72093 rm -f conftest.$ac_objext
72094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72095   (eval $ac_compile) 2>conftest.er1
72096   ac_status=$?
72097   grep -v '^ *+' conftest.er1 >conftest.err
72098   rm -f conftest.er1
72099   cat conftest.err >&5
72100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72101   (exit $ac_status); } &&
72102          { ac_try='test -z "$ac_cxx_werror_flag"
72103                          || test ! -s conftest.err'
72104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72105   (eval $ac_try) 2>&5
72106   ac_status=$?
72107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72108   (exit $ac_status); }; } &&
72109          { ac_try='test -s conftest.$ac_objext'
72110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72111   (eval $ac_try) 2>&5
72112   ac_status=$?
72113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72114   (exit $ac_status); }; }; then
72115   glibcxx_cv_func___builtin_fabs_use=yes
72116 else
72117   echo "$as_me: failed program was:" >&5
72118 sed 's/^/| /' conftest.$ac_ext >&5
72119
72120 glibcxx_cv_func___builtin_fabs_use=no
72121 fi
72122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72123       ac_ext=c
72124 ac_cpp='$CPP $CPPFLAGS'
72125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72128
72129
72130 fi
72131
72132   fi
72133   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
72134 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
72135   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
72136     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
72137 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
72138     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
72139       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
72140   echo $ECHO_N "(cached) $ECHO_C" >&6
72141 else
72142
72143         if test x$gcc_no_link = xyes; then
72144   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72146    { (exit 1); exit 1; }; }
72147 fi
72148 cat >conftest.$ac_ext <<_ACEOF
72149 /* confdefs.h.  */
72150 _ACEOF
72151 cat confdefs.h >>conftest.$ac_ext
72152 cat >>conftest.$ac_ext <<_ACEOF
72153 /* end confdefs.h.  */
72154 #include <math.h>
72155 int
72156 main ()
72157 {
72158  __builtin_fabs(0);
72159   ;
72160   return 0;
72161 }
72162 _ACEOF
72163 rm -f conftest.$ac_objext conftest$ac_exeext
72164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72165   (eval $ac_link) 2>conftest.er1
72166   ac_status=$?
72167   grep -v '^ *+' conftest.er1 >conftest.err
72168   rm -f conftest.er1
72169   cat conftest.err >&5
72170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72171   (exit $ac_status); } &&
72172          { ac_try='test -z "$ac_c_werror_flag"
72173                          || test ! -s conftest.err'
72174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72175   (eval $ac_try) 2>&5
72176   ac_status=$?
72177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72178   (exit $ac_status); }; } &&
72179          { ac_try='test -s conftest$ac_exeext'
72180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72181   (eval $ac_try) 2>&5
72182   ac_status=$?
72183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72184   (exit $ac_status); }; }; then
72185   glibcxx_cv_func___builtin_fabs_link=yes
72186 else
72187   echo "$as_me: failed program was:" >&5
72188 sed 's/^/| /' conftest.$ac_ext >&5
72189
72190 glibcxx_cv_func___builtin_fabs_link=no
72191 fi
72192 rm -f conftest.err conftest.$ac_objext \
72193       conftest$ac_exeext conftest.$ac_ext
72194
72195 fi
72196
72197     fi
72198     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
72199 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
72200
72201     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
72202
72203 cat >>confdefs.h <<\_ACEOF
72204 #define HAVE___BUILTIN_FABS 1
72205 _ACEOF
72206
72207     fi
72208
72209   fi
72210
72211
72212   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
72213 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
72214   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
72215     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
72216   echo $ECHO_N "(cached) $ECHO_C" >&6
72217 else
72218
72219
72220
72221       ac_ext=cc
72222 ac_cpp='$CXXCPP $CPPFLAGS'
72223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72226
72227       cat >conftest.$ac_ext <<_ACEOF
72228 /* confdefs.h.  */
72229 _ACEOF
72230 cat confdefs.h >>conftest.$ac_ext
72231 cat >>conftest.$ac_ext <<_ACEOF
72232 /* end confdefs.h.  */
72233 #include <math.h>
72234 int
72235 main ()
72236 {
72237  __builtin_fabsl(0);
72238   ;
72239   return 0;
72240 }
72241 _ACEOF
72242 rm -f conftest.$ac_objext
72243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72244   (eval $ac_compile) 2>conftest.er1
72245   ac_status=$?
72246   grep -v '^ *+' conftest.er1 >conftest.err
72247   rm -f conftest.er1
72248   cat conftest.err >&5
72249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72250   (exit $ac_status); } &&
72251          { ac_try='test -z "$ac_cxx_werror_flag"
72252                          || test ! -s conftest.err'
72253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72254   (eval $ac_try) 2>&5
72255   ac_status=$?
72256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72257   (exit $ac_status); }; } &&
72258          { ac_try='test -s conftest.$ac_objext'
72259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72260   (eval $ac_try) 2>&5
72261   ac_status=$?
72262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72263   (exit $ac_status); }; }; then
72264   glibcxx_cv_func___builtin_fabsl_use=yes
72265 else
72266   echo "$as_me: failed program was:" >&5
72267 sed 's/^/| /' conftest.$ac_ext >&5
72268
72269 glibcxx_cv_func___builtin_fabsl_use=no
72270 fi
72271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72272       ac_ext=c
72273 ac_cpp='$CPP $CPPFLAGS'
72274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72277
72278
72279 fi
72280
72281   fi
72282   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
72283 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
72284   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
72285     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
72286 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
72287     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
72288       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
72289   echo $ECHO_N "(cached) $ECHO_C" >&6
72290 else
72291
72292         if test x$gcc_no_link = xyes; then
72293   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72295    { (exit 1); exit 1; }; }
72296 fi
72297 cat >conftest.$ac_ext <<_ACEOF
72298 /* confdefs.h.  */
72299 _ACEOF
72300 cat confdefs.h >>conftest.$ac_ext
72301 cat >>conftest.$ac_ext <<_ACEOF
72302 /* end confdefs.h.  */
72303 #include <math.h>
72304 int
72305 main ()
72306 {
72307  __builtin_fabsl(0);
72308   ;
72309   return 0;
72310 }
72311 _ACEOF
72312 rm -f conftest.$ac_objext conftest$ac_exeext
72313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72314   (eval $ac_link) 2>conftest.er1
72315   ac_status=$?
72316   grep -v '^ *+' conftest.er1 >conftest.err
72317   rm -f conftest.er1
72318   cat conftest.err >&5
72319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72320   (exit $ac_status); } &&
72321          { ac_try='test -z "$ac_c_werror_flag"
72322                          || test ! -s conftest.err'
72323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72324   (eval $ac_try) 2>&5
72325   ac_status=$?
72326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72327   (exit $ac_status); }; } &&
72328          { ac_try='test -s conftest$ac_exeext'
72329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72330   (eval $ac_try) 2>&5
72331   ac_status=$?
72332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72333   (exit $ac_status); }; }; then
72334   glibcxx_cv_func___builtin_fabsl_link=yes
72335 else
72336   echo "$as_me: failed program was:" >&5
72337 sed 's/^/| /' conftest.$ac_ext >&5
72338
72339 glibcxx_cv_func___builtin_fabsl_link=no
72340 fi
72341 rm -f conftest.err conftest.$ac_objext \
72342       conftest$ac_exeext conftest.$ac_ext
72343
72344 fi
72345
72346     fi
72347     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
72348 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
72349
72350     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
72351
72352 cat >>confdefs.h <<\_ACEOF
72353 #define HAVE___BUILTIN_FABSL 1
72354 _ACEOF
72355
72356     fi
72357
72358   fi
72359
72360
72361   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
72362 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
72363   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
72364     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
72365   echo $ECHO_N "(cached) $ECHO_C" >&6
72366 else
72367
72368
72369
72370       ac_ext=cc
72371 ac_cpp='$CXXCPP $CPPFLAGS'
72372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72375
72376       cat >conftest.$ac_ext <<_ACEOF
72377 /* confdefs.h.  */
72378 _ACEOF
72379 cat confdefs.h >>conftest.$ac_ext
72380 cat >>conftest.$ac_ext <<_ACEOF
72381 /* end confdefs.h.  */
72382 #include <math.h>
72383 int
72384 main ()
72385 {
72386  __builtin_labs(0);
72387   ;
72388   return 0;
72389 }
72390 _ACEOF
72391 rm -f conftest.$ac_objext
72392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72393   (eval $ac_compile) 2>conftest.er1
72394   ac_status=$?
72395   grep -v '^ *+' conftest.er1 >conftest.err
72396   rm -f conftest.er1
72397   cat conftest.err >&5
72398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72399   (exit $ac_status); } &&
72400          { ac_try='test -z "$ac_cxx_werror_flag"
72401                          || test ! -s conftest.err'
72402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72403   (eval $ac_try) 2>&5
72404   ac_status=$?
72405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72406   (exit $ac_status); }; } &&
72407          { ac_try='test -s conftest.$ac_objext'
72408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72409   (eval $ac_try) 2>&5
72410   ac_status=$?
72411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72412   (exit $ac_status); }; }; then
72413   glibcxx_cv_func___builtin_labs_use=yes
72414 else
72415   echo "$as_me: failed program was:" >&5
72416 sed 's/^/| /' conftest.$ac_ext >&5
72417
72418 glibcxx_cv_func___builtin_labs_use=no
72419 fi
72420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72421       ac_ext=c
72422 ac_cpp='$CPP $CPPFLAGS'
72423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72426
72427
72428 fi
72429
72430   fi
72431   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
72432 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
72433   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
72434     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
72435 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
72436     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
72437       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
72438   echo $ECHO_N "(cached) $ECHO_C" >&6
72439 else
72440
72441         if test x$gcc_no_link = xyes; then
72442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72444    { (exit 1); exit 1; }; }
72445 fi
72446 cat >conftest.$ac_ext <<_ACEOF
72447 /* confdefs.h.  */
72448 _ACEOF
72449 cat confdefs.h >>conftest.$ac_ext
72450 cat >>conftest.$ac_ext <<_ACEOF
72451 /* end confdefs.h.  */
72452 #include <math.h>
72453 int
72454 main ()
72455 {
72456  __builtin_labs(0);
72457   ;
72458   return 0;
72459 }
72460 _ACEOF
72461 rm -f conftest.$ac_objext conftest$ac_exeext
72462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72463   (eval $ac_link) 2>conftest.er1
72464   ac_status=$?
72465   grep -v '^ *+' conftest.er1 >conftest.err
72466   rm -f conftest.er1
72467   cat conftest.err >&5
72468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72469   (exit $ac_status); } &&
72470          { ac_try='test -z "$ac_c_werror_flag"
72471                          || test ! -s conftest.err'
72472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72473   (eval $ac_try) 2>&5
72474   ac_status=$?
72475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72476   (exit $ac_status); }; } &&
72477          { ac_try='test -s conftest$ac_exeext'
72478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72479   (eval $ac_try) 2>&5
72480   ac_status=$?
72481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72482   (exit $ac_status); }; }; then
72483   glibcxx_cv_func___builtin_labs_link=yes
72484 else
72485   echo "$as_me: failed program was:" >&5
72486 sed 's/^/| /' conftest.$ac_ext >&5
72487
72488 glibcxx_cv_func___builtin_labs_link=no
72489 fi
72490 rm -f conftest.err conftest.$ac_objext \
72491       conftest$ac_exeext conftest.$ac_ext
72492
72493 fi
72494
72495     fi
72496     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
72497 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
72498
72499     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
72500
72501 cat >>confdefs.h <<\_ACEOF
72502 #define HAVE___BUILTIN_LABS 1
72503 _ACEOF
72504
72505     fi
72506
72507   fi
72508
72509
72510
72511   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
72512 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
72513   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
72514     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
72515   echo $ECHO_N "(cached) $ECHO_C" >&6
72516 else
72517
72518
72519
72520       ac_ext=cc
72521 ac_cpp='$CXXCPP $CPPFLAGS'
72522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72525
72526       cat >conftest.$ac_ext <<_ACEOF
72527 /* confdefs.h.  */
72528 _ACEOF
72529 cat confdefs.h >>conftest.$ac_ext
72530 cat >>conftest.$ac_ext <<_ACEOF
72531 /* end confdefs.h.  */
72532 #include <math.h>
72533 int
72534 main ()
72535 {
72536  __builtin_sqrtf(0);
72537   ;
72538   return 0;
72539 }
72540 _ACEOF
72541 rm -f conftest.$ac_objext
72542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72543   (eval $ac_compile) 2>conftest.er1
72544   ac_status=$?
72545   grep -v '^ *+' conftest.er1 >conftest.err
72546   rm -f conftest.er1
72547   cat conftest.err >&5
72548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72549   (exit $ac_status); } &&
72550          { ac_try='test -z "$ac_cxx_werror_flag"
72551                          || test ! -s conftest.err'
72552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72553   (eval $ac_try) 2>&5
72554   ac_status=$?
72555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72556   (exit $ac_status); }; } &&
72557          { ac_try='test -s conftest.$ac_objext'
72558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72559   (eval $ac_try) 2>&5
72560   ac_status=$?
72561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72562   (exit $ac_status); }; }; then
72563   glibcxx_cv_func___builtin_sqrtf_use=yes
72564 else
72565   echo "$as_me: failed program was:" >&5
72566 sed 's/^/| /' conftest.$ac_ext >&5
72567
72568 glibcxx_cv_func___builtin_sqrtf_use=no
72569 fi
72570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72571       ac_ext=c
72572 ac_cpp='$CPP $CPPFLAGS'
72573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72576
72577
72578 fi
72579
72580   fi
72581   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
72582 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
72583   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
72584     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
72585 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
72586     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
72587       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
72588   echo $ECHO_N "(cached) $ECHO_C" >&6
72589 else
72590
72591         if test x$gcc_no_link = xyes; then
72592   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72594    { (exit 1); exit 1; }; }
72595 fi
72596 cat >conftest.$ac_ext <<_ACEOF
72597 /* confdefs.h.  */
72598 _ACEOF
72599 cat confdefs.h >>conftest.$ac_ext
72600 cat >>conftest.$ac_ext <<_ACEOF
72601 /* end confdefs.h.  */
72602 #include <math.h>
72603 int
72604 main ()
72605 {
72606  __builtin_sqrtf(0);
72607   ;
72608   return 0;
72609 }
72610 _ACEOF
72611 rm -f conftest.$ac_objext conftest$ac_exeext
72612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72613   (eval $ac_link) 2>conftest.er1
72614   ac_status=$?
72615   grep -v '^ *+' conftest.er1 >conftest.err
72616   rm -f conftest.er1
72617   cat conftest.err >&5
72618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72619   (exit $ac_status); } &&
72620          { ac_try='test -z "$ac_c_werror_flag"
72621                          || test ! -s conftest.err'
72622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72623   (eval $ac_try) 2>&5
72624   ac_status=$?
72625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72626   (exit $ac_status); }; } &&
72627          { ac_try='test -s conftest$ac_exeext'
72628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72629   (eval $ac_try) 2>&5
72630   ac_status=$?
72631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72632   (exit $ac_status); }; }; then
72633   glibcxx_cv_func___builtin_sqrtf_link=yes
72634 else
72635   echo "$as_me: failed program was:" >&5
72636 sed 's/^/| /' conftest.$ac_ext >&5
72637
72638 glibcxx_cv_func___builtin_sqrtf_link=no
72639 fi
72640 rm -f conftest.err conftest.$ac_objext \
72641       conftest$ac_exeext conftest.$ac_ext
72642
72643 fi
72644
72645     fi
72646     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
72647 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
72648
72649     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
72650
72651 cat >>confdefs.h <<\_ACEOF
72652 #define HAVE___BUILTIN_SQRTF 1
72653 _ACEOF
72654
72655     fi
72656
72657   fi
72658
72659
72660   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
72661 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
72662   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
72663     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
72664   echo $ECHO_N "(cached) $ECHO_C" >&6
72665 else
72666
72667
72668
72669       ac_ext=cc
72670 ac_cpp='$CXXCPP $CPPFLAGS'
72671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72674
72675       cat >conftest.$ac_ext <<_ACEOF
72676 /* confdefs.h.  */
72677 _ACEOF
72678 cat confdefs.h >>conftest.$ac_ext
72679 cat >>conftest.$ac_ext <<_ACEOF
72680 /* end confdefs.h.  */
72681 #include <math.h>
72682 int
72683 main ()
72684 {
72685  __builtin_sqrt(0);
72686   ;
72687   return 0;
72688 }
72689 _ACEOF
72690 rm -f conftest.$ac_objext
72691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72692   (eval $ac_compile) 2>conftest.er1
72693   ac_status=$?
72694   grep -v '^ *+' conftest.er1 >conftest.err
72695   rm -f conftest.er1
72696   cat conftest.err >&5
72697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72698   (exit $ac_status); } &&
72699          { ac_try='test -z "$ac_cxx_werror_flag"
72700                          || test ! -s conftest.err'
72701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72702   (eval $ac_try) 2>&5
72703   ac_status=$?
72704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72705   (exit $ac_status); }; } &&
72706          { ac_try='test -s conftest.$ac_objext'
72707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72708   (eval $ac_try) 2>&5
72709   ac_status=$?
72710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72711   (exit $ac_status); }; }; then
72712   glibcxx_cv_func___builtin_sqrt_use=yes
72713 else
72714   echo "$as_me: failed program was:" >&5
72715 sed 's/^/| /' conftest.$ac_ext >&5
72716
72717 glibcxx_cv_func___builtin_sqrt_use=no
72718 fi
72719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72720       ac_ext=c
72721 ac_cpp='$CPP $CPPFLAGS'
72722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72725
72726
72727 fi
72728
72729   fi
72730   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
72731 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
72732   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
72733     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
72734 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
72735     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
72736       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
72737   echo $ECHO_N "(cached) $ECHO_C" >&6
72738 else
72739
72740         if test x$gcc_no_link = xyes; then
72741   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72743    { (exit 1); exit 1; }; }
72744 fi
72745 cat >conftest.$ac_ext <<_ACEOF
72746 /* confdefs.h.  */
72747 _ACEOF
72748 cat confdefs.h >>conftest.$ac_ext
72749 cat >>conftest.$ac_ext <<_ACEOF
72750 /* end confdefs.h.  */
72751 #include <math.h>
72752 int
72753 main ()
72754 {
72755  __builtin_sqrt(0);
72756   ;
72757   return 0;
72758 }
72759 _ACEOF
72760 rm -f conftest.$ac_objext conftest$ac_exeext
72761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72762   (eval $ac_link) 2>conftest.er1
72763   ac_status=$?
72764   grep -v '^ *+' conftest.er1 >conftest.err
72765   rm -f conftest.er1
72766   cat conftest.err >&5
72767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72768   (exit $ac_status); } &&
72769          { ac_try='test -z "$ac_c_werror_flag"
72770                          || test ! -s conftest.err'
72771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72772   (eval $ac_try) 2>&5
72773   ac_status=$?
72774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72775   (exit $ac_status); }; } &&
72776          { ac_try='test -s conftest$ac_exeext'
72777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72778   (eval $ac_try) 2>&5
72779   ac_status=$?
72780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72781   (exit $ac_status); }; }; then
72782   glibcxx_cv_func___builtin_sqrt_link=yes
72783 else
72784   echo "$as_me: failed program was:" >&5
72785 sed 's/^/| /' conftest.$ac_ext >&5
72786
72787 glibcxx_cv_func___builtin_sqrt_link=no
72788 fi
72789 rm -f conftest.err conftest.$ac_objext \
72790       conftest$ac_exeext conftest.$ac_ext
72791
72792 fi
72793
72794     fi
72795     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
72796 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
72797
72798     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
72799
72800 cat >>confdefs.h <<\_ACEOF
72801 #define HAVE___BUILTIN_SQRT 1
72802 _ACEOF
72803
72804     fi
72805
72806   fi
72807
72808
72809   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
72810 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
72811   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
72812     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
72813   echo $ECHO_N "(cached) $ECHO_C" >&6
72814 else
72815
72816
72817
72818       ac_ext=cc
72819 ac_cpp='$CXXCPP $CPPFLAGS'
72820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72823
72824       cat >conftest.$ac_ext <<_ACEOF
72825 /* confdefs.h.  */
72826 _ACEOF
72827 cat confdefs.h >>conftest.$ac_ext
72828 cat >>conftest.$ac_ext <<_ACEOF
72829 /* end confdefs.h.  */
72830 #include <math.h>
72831 int
72832 main ()
72833 {
72834  __builtin_sqrtl(0);
72835   ;
72836   return 0;
72837 }
72838 _ACEOF
72839 rm -f conftest.$ac_objext
72840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72841   (eval $ac_compile) 2>conftest.er1
72842   ac_status=$?
72843   grep -v '^ *+' conftest.er1 >conftest.err
72844   rm -f conftest.er1
72845   cat conftest.err >&5
72846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72847   (exit $ac_status); } &&
72848          { ac_try='test -z "$ac_cxx_werror_flag"
72849                          || test ! -s conftest.err'
72850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72851   (eval $ac_try) 2>&5
72852   ac_status=$?
72853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72854   (exit $ac_status); }; } &&
72855          { ac_try='test -s conftest.$ac_objext'
72856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72857   (eval $ac_try) 2>&5
72858   ac_status=$?
72859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72860   (exit $ac_status); }; }; then
72861   glibcxx_cv_func___builtin_sqrtl_use=yes
72862 else
72863   echo "$as_me: failed program was:" >&5
72864 sed 's/^/| /' conftest.$ac_ext >&5
72865
72866 glibcxx_cv_func___builtin_sqrtl_use=no
72867 fi
72868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72869       ac_ext=c
72870 ac_cpp='$CPP $CPPFLAGS'
72871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72874
72875
72876 fi
72877
72878   fi
72879   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
72880 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
72881   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
72882     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
72883 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
72884     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
72885       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
72886   echo $ECHO_N "(cached) $ECHO_C" >&6
72887 else
72888
72889         if test x$gcc_no_link = xyes; then
72890   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72892    { (exit 1); exit 1; }; }
72893 fi
72894 cat >conftest.$ac_ext <<_ACEOF
72895 /* confdefs.h.  */
72896 _ACEOF
72897 cat confdefs.h >>conftest.$ac_ext
72898 cat >>conftest.$ac_ext <<_ACEOF
72899 /* end confdefs.h.  */
72900 #include <math.h>
72901 int
72902 main ()
72903 {
72904  __builtin_sqrtl(0);
72905   ;
72906   return 0;
72907 }
72908 _ACEOF
72909 rm -f conftest.$ac_objext conftest$ac_exeext
72910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72911   (eval $ac_link) 2>conftest.er1
72912   ac_status=$?
72913   grep -v '^ *+' conftest.er1 >conftest.err
72914   rm -f conftest.er1
72915   cat conftest.err >&5
72916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72917   (exit $ac_status); } &&
72918          { ac_try='test -z "$ac_c_werror_flag"
72919                          || test ! -s conftest.err'
72920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72921   (eval $ac_try) 2>&5
72922   ac_status=$?
72923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72924   (exit $ac_status); }; } &&
72925          { ac_try='test -s conftest$ac_exeext'
72926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72927   (eval $ac_try) 2>&5
72928   ac_status=$?
72929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72930   (exit $ac_status); }; }; then
72931   glibcxx_cv_func___builtin_sqrtl_link=yes
72932 else
72933   echo "$as_me: failed program was:" >&5
72934 sed 's/^/| /' conftest.$ac_ext >&5
72935
72936 glibcxx_cv_func___builtin_sqrtl_link=no
72937 fi
72938 rm -f conftest.err conftest.$ac_objext \
72939       conftest$ac_exeext conftest.$ac_ext
72940
72941 fi
72942
72943     fi
72944     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
72945 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
72946
72947     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
72948
72949 cat >>confdefs.h <<\_ACEOF
72950 #define HAVE___BUILTIN_SQRTL 1
72951 _ACEOF
72952
72953     fi
72954
72955   fi
72956
72957
72958
72959   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
72960 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
72961   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
72962     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
72963   echo $ECHO_N "(cached) $ECHO_C" >&6
72964 else
72965
72966
72967
72968       ac_ext=cc
72969 ac_cpp='$CXXCPP $CPPFLAGS'
72970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72973
72974       cat >conftest.$ac_ext <<_ACEOF
72975 /* confdefs.h.  */
72976 _ACEOF
72977 cat confdefs.h >>conftest.$ac_ext
72978 cat >>conftest.$ac_ext <<_ACEOF
72979 /* end confdefs.h.  */
72980 #include <math.h>
72981 int
72982 main ()
72983 {
72984  __builtin_sinf(0);
72985   ;
72986   return 0;
72987 }
72988 _ACEOF
72989 rm -f conftest.$ac_objext
72990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72991   (eval $ac_compile) 2>conftest.er1
72992   ac_status=$?
72993   grep -v '^ *+' conftest.er1 >conftest.err
72994   rm -f conftest.er1
72995   cat conftest.err >&5
72996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72997   (exit $ac_status); } &&
72998          { ac_try='test -z "$ac_cxx_werror_flag"
72999                          || test ! -s conftest.err'
73000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73001   (eval $ac_try) 2>&5
73002   ac_status=$?
73003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73004   (exit $ac_status); }; } &&
73005          { ac_try='test -s conftest.$ac_objext'
73006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73007   (eval $ac_try) 2>&5
73008   ac_status=$?
73009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73010   (exit $ac_status); }; }; then
73011   glibcxx_cv_func___builtin_sinf_use=yes
73012 else
73013   echo "$as_me: failed program was:" >&5
73014 sed 's/^/| /' conftest.$ac_ext >&5
73015
73016 glibcxx_cv_func___builtin_sinf_use=no
73017 fi
73018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73019       ac_ext=c
73020 ac_cpp='$CPP $CPPFLAGS'
73021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73024
73025
73026 fi
73027
73028   fi
73029   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
73030 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
73031   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
73032     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
73033 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
73034     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
73035       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
73036   echo $ECHO_N "(cached) $ECHO_C" >&6
73037 else
73038
73039         if test x$gcc_no_link = xyes; then
73040   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73042    { (exit 1); exit 1; }; }
73043 fi
73044 cat >conftest.$ac_ext <<_ACEOF
73045 /* confdefs.h.  */
73046 _ACEOF
73047 cat confdefs.h >>conftest.$ac_ext
73048 cat >>conftest.$ac_ext <<_ACEOF
73049 /* end confdefs.h.  */
73050 #include <math.h>
73051 int
73052 main ()
73053 {
73054  __builtin_sinf(0);
73055   ;
73056   return 0;
73057 }
73058 _ACEOF
73059 rm -f conftest.$ac_objext conftest$ac_exeext
73060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73061   (eval $ac_link) 2>conftest.er1
73062   ac_status=$?
73063   grep -v '^ *+' conftest.er1 >conftest.err
73064   rm -f conftest.er1
73065   cat conftest.err >&5
73066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73067   (exit $ac_status); } &&
73068          { ac_try='test -z "$ac_c_werror_flag"
73069                          || test ! -s conftest.err'
73070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73071   (eval $ac_try) 2>&5
73072   ac_status=$?
73073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73074   (exit $ac_status); }; } &&
73075          { ac_try='test -s conftest$ac_exeext'
73076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73077   (eval $ac_try) 2>&5
73078   ac_status=$?
73079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73080   (exit $ac_status); }; }; then
73081   glibcxx_cv_func___builtin_sinf_link=yes
73082 else
73083   echo "$as_me: failed program was:" >&5
73084 sed 's/^/| /' conftest.$ac_ext >&5
73085
73086 glibcxx_cv_func___builtin_sinf_link=no
73087 fi
73088 rm -f conftest.err conftest.$ac_objext \
73089       conftest$ac_exeext conftest.$ac_ext
73090
73091 fi
73092
73093     fi
73094     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
73095 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
73096
73097     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
73098
73099 cat >>confdefs.h <<\_ACEOF
73100 #define HAVE___BUILTIN_SINF 1
73101 _ACEOF
73102
73103     fi
73104
73105   fi
73106
73107
73108   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
73109 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
73110   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
73111     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
73112   echo $ECHO_N "(cached) $ECHO_C" >&6
73113 else
73114
73115
73116
73117       ac_ext=cc
73118 ac_cpp='$CXXCPP $CPPFLAGS'
73119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73122
73123       cat >conftest.$ac_ext <<_ACEOF
73124 /* confdefs.h.  */
73125 _ACEOF
73126 cat confdefs.h >>conftest.$ac_ext
73127 cat >>conftest.$ac_ext <<_ACEOF
73128 /* end confdefs.h.  */
73129 #include <math.h>
73130 int
73131 main ()
73132 {
73133  __builtin_sin(0);
73134   ;
73135   return 0;
73136 }
73137 _ACEOF
73138 rm -f conftest.$ac_objext
73139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73140   (eval $ac_compile) 2>conftest.er1
73141   ac_status=$?
73142   grep -v '^ *+' conftest.er1 >conftest.err
73143   rm -f conftest.er1
73144   cat conftest.err >&5
73145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73146   (exit $ac_status); } &&
73147          { ac_try='test -z "$ac_cxx_werror_flag"
73148                          || test ! -s conftest.err'
73149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73150   (eval $ac_try) 2>&5
73151   ac_status=$?
73152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73153   (exit $ac_status); }; } &&
73154          { ac_try='test -s conftest.$ac_objext'
73155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73156   (eval $ac_try) 2>&5
73157   ac_status=$?
73158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73159   (exit $ac_status); }; }; then
73160   glibcxx_cv_func___builtin_sin_use=yes
73161 else
73162   echo "$as_me: failed program was:" >&5
73163 sed 's/^/| /' conftest.$ac_ext >&5
73164
73165 glibcxx_cv_func___builtin_sin_use=no
73166 fi
73167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73168       ac_ext=c
73169 ac_cpp='$CPP $CPPFLAGS'
73170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73173
73174
73175 fi
73176
73177   fi
73178   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
73179 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
73180   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
73181     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
73182 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
73183     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
73184       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
73185   echo $ECHO_N "(cached) $ECHO_C" >&6
73186 else
73187
73188         if test x$gcc_no_link = xyes; then
73189   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73191    { (exit 1); exit 1; }; }
73192 fi
73193 cat >conftest.$ac_ext <<_ACEOF
73194 /* confdefs.h.  */
73195 _ACEOF
73196 cat confdefs.h >>conftest.$ac_ext
73197 cat >>conftest.$ac_ext <<_ACEOF
73198 /* end confdefs.h.  */
73199 #include <math.h>
73200 int
73201 main ()
73202 {
73203  __builtin_sin(0);
73204   ;
73205   return 0;
73206 }
73207 _ACEOF
73208 rm -f conftest.$ac_objext conftest$ac_exeext
73209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73210   (eval $ac_link) 2>conftest.er1
73211   ac_status=$?
73212   grep -v '^ *+' conftest.er1 >conftest.err
73213   rm -f conftest.er1
73214   cat conftest.err >&5
73215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73216   (exit $ac_status); } &&
73217          { ac_try='test -z "$ac_c_werror_flag"
73218                          || test ! -s conftest.err'
73219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73220   (eval $ac_try) 2>&5
73221   ac_status=$?
73222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73223   (exit $ac_status); }; } &&
73224          { ac_try='test -s conftest$ac_exeext'
73225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73226   (eval $ac_try) 2>&5
73227   ac_status=$?
73228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73229   (exit $ac_status); }; }; then
73230   glibcxx_cv_func___builtin_sin_link=yes
73231 else
73232   echo "$as_me: failed program was:" >&5
73233 sed 's/^/| /' conftest.$ac_ext >&5
73234
73235 glibcxx_cv_func___builtin_sin_link=no
73236 fi
73237 rm -f conftest.err conftest.$ac_objext \
73238       conftest$ac_exeext conftest.$ac_ext
73239
73240 fi
73241
73242     fi
73243     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
73244 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
73245
73246     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
73247
73248 cat >>confdefs.h <<\_ACEOF
73249 #define HAVE___BUILTIN_SIN 1
73250 _ACEOF
73251
73252     fi
73253
73254   fi
73255
73256
73257   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
73258 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
73259   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
73260     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
73261   echo $ECHO_N "(cached) $ECHO_C" >&6
73262 else
73263
73264
73265
73266       ac_ext=cc
73267 ac_cpp='$CXXCPP $CPPFLAGS'
73268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73271
73272       cat >conftest.$ac_ext <<_ACEOF
73273 /* confdefs.h.  */
73274 _ACEOF
73275 cat confdefs.h >>conftest.$ac_ext
73276 cat >>conftest.$ac_ext <<_ACEOF
73277 /* end confdefs.h.  */
73278 #include <math.h>
73279 int
73280 main ()
73281 {
73282  __builtin_sinl(0);
73283   ;
73284   return 0;
73285 }
73286 _ACEOF
73287 rm -f conftest.$ac_objext
73288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73289   (eval $ac_compile) 2>conftest.er1
73290   ac_status=$?
73291   grep -v '^ *+' conftest.er1 >conftest.err
73292   rm -f conftest.er1
73293   cat conftest.err >&5
73294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73295   (exit $ac_status); } &&
73296          { ac_try='test -z "$ac_cxx_werror_flag"
73297                          || test ! -s conftest.err'
73298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73299   (eval $ac_try) 2>&5
73300   ac_status=$?
73301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73302   (exit $ac_status); }; } &&
73303          { ac_try='test -s conftest.$ac_objext'
73304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73305   (eval $ac_try) 2>&5
73306   ac_status=$?
73307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73308   (exit $ac_status); }; }; then
73309   glibcxx_cv_func___builtin_sinl_use=yes
73310 else
73311   echo "$as_me: failed program was:" >&5
73312 sed 's/^/| /' conftest.$ac_ext >&5
73313
73314 glibcxx_cv_func___builtin_sinl_use=no
73315 fi
73316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73317       ac_ext=c
73318 ac_cpp='$CPP $CPPFLAGS'
73319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73322
73323
73324 fi
73325
73326   fi
73327   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
73328 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
73329   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
73330     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
73331 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
73332     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
73333       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
73334   echo $ECHO_N "(cached) $ECHO_C" >&6
73335 else
73336
73337         if test x$gcc_no_link = xyes; then
73338   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73340    { (exit 1); exit 1; }; }
73341 fi
73342 cat >conftest.$ac_ext <<_ACEOF
73343 /* confdefs.h.  */
73344 _ACEOF
73345 cat confdefs.h >>conftest.$ac_ext
73346 cat >>conftest.$ac_ext <<_ACEOF
73347 /* end confdefs.h.  */
73348 #include <math.h>
73349 int
73350 main ()
73351 {
73352  __builtin_sinl(0);
73353   ;
73354   return 0;
73355 }
73356 _ACEOF
73357 rm -f conftest.$ac_objext conftest$ac_exeext
73358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73359   (eval $ac_link) 2>conftest.er1
73360   ac_status=$?
73361   grep -v '^ *+' conftest.er1 >conftest.err
73362   rm -f conftest.er1
73363   cat conftest.err >&5
73364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73365   (exit $ac_status); } &&
73366          { ac_try='test -z "$ac_c_werror_flag"
73367                          || test ! -s conftest.err'
73368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73369   (eval $ac_try) 2>&5
73370   ac_status=$?
73371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73372   (exit $ac_status); }; } &&
73373          { ac_try='test -s conftest$ac_exeext'
73374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73375   (eval $ac_try) 2>&5
73376   ac_status=$?
73377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73378   (exit $ac_status); }; }; then
73379   glibcxx_cv_func___builtin_sinl_link=yes
73380 else
73381   echo "$as_me: failed program was:" >&5
73382 sed 's/^/| /' conftest.$ac_ext >&5
73383
73384 glibcxx_cv_func___builtin_sinl_link=no
73385 fi
73386 rm -f conftest.err conftest.$ac_objext \
73387       conftest$ac_exeext conftest.$ac_ext
73388
73389 fi
73390
73391     fi
73392     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
73393 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
73394
73395     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
73396
73397 cat >>confdefs.h <<\_ACEOF
73398 #define HAVE___BUILTIN_SINL 1
73399 _ACEOF
73400
73401     fi
73402
73403   fi
73404
73405
73406
73407   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
73408 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
73409   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
73410     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
73411   echo $ECHO_N "(cached) $ECHO_C" >&6
73412 else
73413
73414
73415
73416       ac_ext=cc
73417 ac_cpp='$CXXCPP $CPPFLAGS'
73418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73421
73422       cat >conftest.$ac_ext <<_ACEOF
73423 /* confdefs.h.  */
73424 _ACEOF
73425 cat confdefs.h >>conftest.$ac_ext
73426 cat >>conftest.$ac_ext <<_ACEOF
73427 /* end confdefs.h.  */
73428 #include <math.h>
73429 int
73430 main ()
73431 {
73432  __builtin_cosf(0);
73433   ;
73434   return 0;
73435 }
73436 _ACEOF
73437 rm -f conftest.$ac_objext
73438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73439   (eval $ac_compile) 2>conftest.er1
73440   ac_status=$?
73441   grep -v '^ *+' conftest.er1 >conftest.err
73442   rm -f conftest.er1
73443   cat conftest.err >&5
73444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73445   (exit $ac_status); } &&
73446          { ac_try='test -z "$ac_cxx_werror_flag"
73447                          || test ! -s conftest.err'
73448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73449   (eval $ac_try) 2>&5
73450   ac_status=$?
73451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73452   (exit $ac_status); }; } &&
73453          { ac_try='test -s conftest.$ac_objext'
73454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73455   (eval $ac_try) 2>&5
73456   ac_status=$?
73457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73458   (exit $ac_status); }; }; then
73459   glibcxx_cv_func___builtin_cosf_use=yes
73460 else
73461   echo "$as_me: failed program was:" >&5
73462 sed 's/^/| /' conftest.$ac_ext >&5
73463
73464 glibcxx_cv_func___builtin_cosf_use=no
73465 fi
73466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73467       ac_ext=c
73468 ac_cpp='$CPP $CPPFLAGS'
73469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73472
73473
73474 fi
73475
73476   fi
73477   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
73478 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
73479   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
73480     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
73481 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
73482     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
73483       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
73484   echo $ECHO_N "(cached) $ECHO_C" >&6
73485 else
73486
73487         if test x$gcc_no_link = xyes; then
73488   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73490    { (exit 1); exit 1; }; }
73491 fi
73492 cat >conftest.$ac_ext <<_ACEOF
73493 /* confdefs.h.  */
73494 _ACEOF
73495 cat confdefs.h >>conftest.$ac_ext
73496 cat >>conftest.$ac_ext <<_ACEOF
73497 /* end confdefs.h.  */
73498 #include <math.h>
73499 int
73500 main ()
73501 {
73502  __builtin_cosf(0);
73503   ;
73504   return 0;
73505 }
73506 _ACEOF
73507 rm -f conftest.$ac_objext conftest$ac_exeext
73508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73509   (eval $ac_link) 2>conftest.er1
73510   ac_status=$?
73511   grep -v '^ *+' conftest.er1 >conftest.err
73512   rm -f conftest.er1
73513   cat conftest.err >&5
73514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73515   (exit $ac_status); } &&
73516          { ac_try='test -z "$ac_c_werror_flag"
73517                          || test ! -s conftest.err'
73518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73519   (eval $ac_try) 2>&5
73520   ac_status=$?
73521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73522   (exit $ac_status); }; } &&
73523          { ac_try='test -s conftest$ac_exeext'
73524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73525   (eval $ac_try) 2>&5
73526   ac_status=$?
73527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73528   (exit $ac_status); }; }; then
73529   glibcxx_cv_func___builtin_cosf_link=yes
73530 else
73531   echo "$as_me: failed program was:" >&5
73532 sed 's/^/| /' conftest.$ac_ext >&5
73533
73534 glibcxx_cv_func___builtin_cosf_link=no
73535 fi
73536 rm -f conftest.err conftest.$ac_objext \
73537       conftest$ac_exeext conftest.$ac_ext
73538
73539 fi
73540
73541     fi
73542     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
73543 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
73544
73545     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
73546
73547 cat >>confdefs.h <<\_ACEOF
73548 #define HAVE___BUILTIN_COSF 1
73549 _ACEOF
73550
73551     fi
73552
73553   fi
73554
73555
73556   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
73557 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
73558   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
73559     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
73560   echo $ECHO_N "(cached) $ECHO_C" >&6
73561 else
73562
73563
73564
73565       ac_ext=cc
73566 ac_cpp='$CXXCPP $CPPFLAGS'
73567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73570
73571       cat >conftest.$ac_ext <<_ACEOF
73572 /* confdefs.h.  */
73573 _ACEOF
73574 cat confdefs.h >>conftest.$ac_ext
73575 cat >>conftest.$ac_ext <<_ACEOF
73576 /* end confdefs.h.  */
73577 #include <math.h>
73578 int
73579 main ()
73580 {
73581  __builtin_cos(0);
73582   ;
73583   return 0;
73584 }
73585 _ACEOF
73586 rm -f conftest.$ac_objext
73587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73588   (eval $ac_compile) 2>conftest.er1
73589   ac_status=$?
73590   grep -v '^ *+' conftest.er1 >conftest.err
73591   rm -f conftest.er1
73592   cat conftest.err >&5
73593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73594   (exit $ac_status); } &&
73595          { ac_try='test -z "$ac_cxx_werror_flag"
73596                          || test ! -s conftest.err'
73597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73598   (eval $ac_try) 2>&5
73599   ac_status=$?
73600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73601   (exit $ac_status); }; } &&
73602          { ac_try='test -s conftest.$ac_objext'
73603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73604   (eval $ac_try) 2>&5
73605   ac_status=$?
73606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73607   (exit $ac_status); }; }; then
73608   glibcxx_cv_func___builtin_cos_use=yes
73609 else
73610   echo "$as_me: failed program was:" >&5
73611 sed 's/^/| /' conftest.$ac_ext >&5
73612
73613 glibcxx_cv_func___builtin_cos_use=no
73614 fi
73615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73616       ac_ext=c
73617 ac_cpp='$CPP $CPPFLAGS'
73618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73621
73622
73623 fi
73624
73625   fi
73626   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
73627 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
73628   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
73629     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
73630 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
73631     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
73632       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
73633   echo $ECHO_N "(cached) $ECHO_C" >&6
73634 else
73635
73636         if test x$gcc_no_link = xyes; then
73637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73639    { (exit 1); exit 1; }; }
73640 fi
73641 cat >conftest.$ac_ext <<_ACEOF
73642 /* confdefs.h.  */
73643 _ACEOF
73644 cat confdefs.h >>conftest.$ac_ext
73645 cat >>conftest.$ac_ext <<_ACEOF
73646 /* end confdefs.h.  */
73647 #include <math.h>
73648 int
73649 main ()
73650 {
73651  __builtin_cos(0);
73652   ;
73653   return 0;
73654 }
73655 _ACEOF
73656 rm -f conftest.$ac_objext conftest$ac_exeext
73657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73658   (eval $ac_link) 2>conftest.er1
73659   ac_status=$?
73660   grep -v '^ *+' conftest.er1 >conftest.err
73661   rm -f conftest.er1
73662   cat conftest.err >&5
73663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73664   (exit $ac_status); } &&
73665          { ac_try='test -z "$ac_c_werror_flag"
73666                          || test ! -s conftest.err'
73667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73668   (eval $ac_try) 2>&5
73669   ac_status=$?
73670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73671   (exit $ac_status); }; } &&
73672          { ac_try='test -s conftest$ac_exeext'
73673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73674   (eval $ac_try) 2>&5
73675   ac_status=$?
73676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73677   (exit $ac_status); }; }; then
73678   glibcxx_cv_func___builtin_cos_link=yes
73679 else
73680   echo "$as_me: failed program was:" >&5
73681 sed 's/^/| /' conftest.$ac_ext >&5
73682
73683 glibcxx_cv_func___builtin_cos_link=no
73684 fi
73685 rm -f conftest.err conftest.$ac_objext \
73686       conftest$ac_exeext conftest.$ac_ext
73687
73688 fi
73689
73690     fi
73691     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
73692 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
73693
73694     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
73695
73696 cat >>confdefs.h <<\_ACEOF
73697 #define HAVE___BUILTIN_COS 1
73698 _ACEOF
73699
73700     fi
73701
73702   fi
73703
73704
73705   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
73706 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
73707   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
73708     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
73709   echo $ECHO_N "(cached) $ECHO_C" >&6
73710 else
73711
73712
73713
73714       ac_ext=cc
73715 ac_cpp='$CXXCPP $CPPFLAGS'
73716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73719
73720       cat >conftest.$ac_ext <<_ACEOF
73721 /* confdefs.h.  */
73722 _ACEOF
73723 cat confdefs.h >>conftest.$ac_ext
73724 cat >>conftest.$ac_ext <<_ACEOF
73725 /* end confdefs.h.  */
73726 #include <math.h>
73727 int
73728 main ()
73729 {
73730  __builtin_cosl(0);
73731   ;
73732   return 0;
73733 }
73734 _ACEOF
73735 rm -f conftest.$ac_objext
73736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73737   (eval $ac_compile) 2>conftest.er1
73738   ac_status=$?
73739   grep -v '^ *+' conftest.er1 >conftest.err
73740   rm -f conftest.er1
73741   cat conftest.err >&5
73742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73743   (exit $ac_status); } &&
73744          { ac_try='test -z "$ac_cxx_werror_flag"
73745                          || test ! -s conftest.err'
73746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73747   (eval $ac_try) 2>&5
73748   ac_status=$?
73749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73750   (exit $ac_status); }; } &&
73751          { ac_try='test -s conftest.$ac_objext'
73752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73753   (eval $ac_try) 2>&5
73754   ac_status=$?
73755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73756   (exit $ac_status); }; }; then
73757   glibcxx_cv_func___builtin_cosl_use=yes
73758 else
73759   echo "$as_me: failed program was:" >&5
73760 sed 's/^/| /' conftest.$ac_ext >&5
73761
73762 glibcxx_cv_func___builtin_cosl_use=no
73763 fi
73764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73765       ac_ext=c
73766 ac_cpp='$CPP $CPPFLAGS'
73767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73770
73771
73772 fi
73773
73774   fi
73775   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
73776 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
73777   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
73778     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
73779 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
73780     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
73781       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
73782   echo $ECHO_N "(cached) $ECHO_C" >&6
73783 else
73784
73785         if test x$gcc_no_link = xyes; then
73786   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73788    { (exit 1); exit 1; }; }
73789 fi
73790 cat >conftest.$ac_ext <<_ACEOF
73791 /* confdefs.h.  */
73792 _ACEOF
73793 cat confdefs.h >>conftest.$ac_ext
73794 cat >>conftest.$ac_ext <<_ACEOF
73795 /* end confdefs.h.  */
73796 #include <math.h>
73797 int
73798 main ()
73799 {
73800  __builtin_cosl(0);
73801   ;
73802   return 0;
73803 }
73804 _ACEOF
73805 rm -f conftest.$ac_objext conftest$ac_exeext
73806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73807   (eval $ac_link) 2>conftest.er1
73808   ac_status=$?
73809   grep -v '^ *+' conftest.er1 >conftest.err
73810   rm -f conftest.er1
73811   cat conftest.err >&5
73812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73813   (exit $ac_status); } &&
73814          { ac_try='test -z "$ac_c_werror_flag"
73815                          || test ! -s conftest.err'
73816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73817   (eval $ac_try) 2>&5
73818   ac_status=$?
73819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73820   (exit $ac_status); }; } &&
73821          { ac_try='test -s conftest$ac_exeext'
73822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73823   (eval $ac_try) 2>&5
73824   ac_status=$?
73825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73826   (exit $ac_status); }; }; then
73827   glibcxx_cv_func___builtin_cosl_link=yes
73828 else
73829   echo "$as_me: failed program was:" >&5
73830 sed 's/^/| /' conftest.$ac_ext >&5
73831
73832 glibcxx_cv_func___builtin_cosl_link=no
73833 fi
73834 rm -f conftest.err conftest.$ac_objext \
73835       conftest$ac_exeext conftest.$ac_ext
73836
73837 fi
73838
73839     fi
73840     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
73841 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
73842
73843     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
73844
73845 cat >>confdefs.h <<\_ACEOF
73846 #define HAVE___BUILTIN_COSL 1
73847 _ACEOF
73848
73849     fi
73850
73851   fi
73852
73853
73854
73855
73856 echo "$as_me:$LINENO: checking for main in -lm" >&5
73857 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
73858 if test "${ac_cv_lib_m_main+set}" = set; then
73859   echo $ECHO_N "(cached) $ECHO_C" >&6
73860 else
73861   ac_check_lib_save_LIBS=$LIBS
73862 LIBS="-lm  $LIBS"
73863 if test x$gcc_no_link = xyes; then
73864   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73866    { (exit 1); exit 1; }; }
73867 fi
73868 cat >conftest.$ac_ext <<_ACEOF
73869 /* confdefs.h.  */
73870 _ACEOF
73871 cat confdefs.h >>conftest.$ac_ext
73872 cat >>conftest.$ac_ext <<_ACEOF
73873 /* end confdefs.h.  */
73874
73875
73876 int
73877 main ()
73878 {
73879 main ();
73880   ;
73881   return 0;
73882 }
73883 _ACEOF
73884 rm -f conftest.$ac_objext conftest$ac_exeext
73885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73886   (eval $ac_link) 2>conftest.er1
73887   ac_status=$?
73888   grep -v '^ *+' conftest.er1 >conftest.err
73889   rm -f conftest.er1
73890   cat conftest.err >&5
73891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73892   (exit $ac_status); } &&
73893          { ac_try='test -z "$ac_c_werror_flag"
73894                          || test ! -s conftest.err'
73895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73896   (eval $ac_try) 2>&5
73897   ac_status=$?
73898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73899   (exit $ac_status); }; } &&
73900          { ac_try='test -s conftest$ac_exeext'
73901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73902   (eval $ac_try) 2>&5
73903   ac_status=$?
73904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73905   (exit $ac_status); }; }; then
73906   ac_cv_lib_m_main=yes
73907 else
73908   echo "$as_me: failed program was:" >&5
73909 sed 's/^/| /' conftest.$ac_ext >&5
73910
73911 ac_cv_lib_m_main=no
73912 fi
73913 rm -f conftest.err conftest.$ac_objext \
73914       conftest$ac_exeext conftest.$ac_ext
73915 LIBS=$ac_check_lib_save_LIBS
73916 fi
73917 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
73918 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
73919 if test $ac_cv_lib_m_main = yes; then
73920   cat >>confdefs.h <<_ACEOF
73921 #define HAVE_LIBM 1
73922 _ACEOF
73923
73924   LIBS="-lm $LIBS"
73925
73926 fi
73927
73928
73929 for ac_func in copysignf
73930 do
73931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73932 echo "$as_me:$LINENO: checking for $ac_func" >&5
73933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73934 if eval "test \"\${$as_ac_var+set}\" = set"; then
73935   echo $ECHO_N "(cached) $ECHO_C" >&6
73936 else
73937   if test x$gcc_no_link = xyes; then
73938   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73940    { (exit 1); exit 1; }; }
73941 fi
73942 cat >conftest.$ac_ext <<_ACEOF
73943 /* confdefs.h.  */
73944 _ACEOF
73945 cat confdefs.h >>conftest.$ac_ext
73946 cat >>conftest.$ac_ext <<_ACEOF
73947 /* end confdefs.h.  */
73948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73949    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73950 #define $ac_func innocuous_$ac_func
73951
73952 /* System header to define __stub macros and hopefully few prototypes,
73953     which can conflict with char $ac_func (); below.
73954     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73955     <limits.h> exists even on freestanding compilers.  */
73956
73957 #ifdef __STDC__
73958 # include <limits.h>
73959 #else
73960 # include <assert.h>
73961 #endif
73962
73963 #undef $ac_func
73964
73965 /* Override any gcc2 internal prototype to avoid an error.  */
73966 #ifdef __cplusplus
73967 extern "C"
73968 {
73969 #endif
73970 /* We use char because int might match the return type of a gcc2
73971    builtin and then its argument prototype would still apply.  */
73972 char $ac_func ();
73973 /* The GNU C library defines this for functions which it implements
73974     to always fail with ENOSYS.  Some functions are actually named
73975     something starting with __ and the normal name is an alias.  */
73976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73977 choke me
73978 #else
73979 char (*f) () = $ac_func;
73980 #endif
73981 #ifdef __cplusplus
73982 }
73983 #endif
73984
73985 int
73986 main ()
73987 {
73988 return f != $ac_func;
73989   ;
73990   return 0;
73991 }
73992 _ACEOF
73993 rm -f conftest.$ac_objext conftest$ac_exeext
73994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73995   (eval $ac_link) 2>conftest.er1
73996   ac_status=$?
73997   grep -v '^ *+' conftest.er1 >conftest.err
73998   rm -f conftest.er1
73999   cat conftest.err >&5
74000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74001   (exit $ac_status); } &&
74002          { ac_try='test -z "$ac_c_werror_flag"
74003                          || test ! -s conftest.err'
74004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74005   (eval $ac_try) 2>&5
74006   ac_status=$?
74007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74008   (exit $ac_status); }; } &&
74009          { ac_try='test -s conftest$ac_exeext'
74010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74011   (eval $ac_try) 2>&5
74012   ac_status=$?
74013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74014   (exit $ac_status); }; }; then
74015   eval "$as_ac_var=yes"
74016 else
74017   echo "$as_me: failed program was:" >&5
74018 sed 's/^/| /' conftest.$ac_ext >&5
74019
74020 eval "$as_ac_var=no"
74021 fi
74022 rm -f conftest.err conftest.$ac_objext \
74023       conftest$ac_exeext conftest.$ac_ext
74024 fi
74025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74027 if test `eval echo '${'$as_ac_var'}'` = yes; then
74028   cat >>confdefs.h <<_ACEOF
74029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74030 _ACEOF
74031
74032 else
74033   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74034 fi
74035 done
74036
74037
74038
74039 for ac_func in __signbit
74040 do
74041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74042 echo "$as_me:$LINENO: checking for $ac_func" >&5
74043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74044 if eval "test \"\${$as_ac_var+set}\" = set"; then
74045   echo $ECHO_N "(cached) $ECHO_C" >&6
74046 else
74047   if test x$gcc_no_link = xyes; then
74048   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74050    { (exit 1); exit 1; }; }
74051 fi
74052 cat >conftest.$ac_ext <<_ACEOF
74053 /* confdefs.h.  */
74054 _ACEOF
74055 cat confdefs.h >>conftest.$ac_ext
74056 cat >>conftest.$ac_ext <<_ACEOF
74057 /* end confdefs.h.  */
74058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74059    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74060 #define $ac_func innocuous_$ac_func
74061
74062 /* System header to define __stub macros and hopefully few prototypes,
74063     which can conflict with char $ac_func (); below.
74064     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74065     <limits.h> exists even on freestanding compilers.  */
74066
74067 #ifdef __STDC__
74068 # include <limits.h>
74069 #else
74070 # include <assert.h>
74071 #endif
74072
74073 #undef $ac_func
74074
74075 /* Override any gcc2 internal prototype to avoid an error.  */
74076 #ifdef __cplusplus
74077 extern "C"
74078 {
74079 #endif
74080 /* We use char because int might match the return type of a gcc2
74081    builtin and then its argument prototype would still apply.  */
74082 char $ac_func ();
74083 /* The GNU C library defines this for functions which it implements
74084     to always fail with ENOSYS.  Some functions are actually named
74085     something starting with __ and the normal name is an alias.  */
74086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74087 choke me
74088 #else
74089 char (*f) () = $ac_func;
74090 #endif
74091 #ifdef __cplusplus
74092 }
74093 #endif
74094
74095 int
74096 main ()
74097 {
74098 return f != $ac_func;
74099   ;
74100   return 0;
74101 }
74102 _ACEOF
74103 rm -f conftest.$ac_objext conftest$ac_exeext
74104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74105   (eval $ac_link) 2>conftest.er1
74106   ac_status=$?
74107   grep -v '^ *+' conftest.er1 >conftest.err
74108   rm -f conftest.er1
74109   cat conftest.err >&5
74110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74111   (exit $ac_status); } &&
74112          { ac_try='test -z "$ac_c_werror_flag"
74113                          || test ! -s conftest.err'
74114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74115   (eval $ac_try) 2>&5
74116   ac_status=$?
74117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74118   (exit $ac_status); }; } &&
74119          { ac_try='test -s conftest$ac_exeext'
74120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74121   (eval $ac_try) 2>&5
74122   ac_status=$?
74123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74124   (exit $ac_status); }; }; then
74125   eval "$as_ac_var=yes"
74126 else
74127   echo "$as_me: failed program was:" >&5
74128 sed 's/^/| /' conftest.$ac_ext >&5
74129
74130 eval "$as_ac_var=no"
74131 fi
74132 rm -f conftest.err conftest.$ac_objext \
74133       conftest$ac_exeext conftest.$ac_ext
74134 fi
74135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74137 if test `eval echo '${'$as_ac_var'}'` = yes; then
74138   cat >>confdefs.h <<_ACEOF
74139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74140 _ACEOF
74141
74142 else
74143   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74144 fi
74145 done
74146
74147
74148
74149 for ac_func in __signbitf
74150 do
74151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74152 echo "$as_me:$LINENO: checking for $ac_func" >&5
74153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74154 if eval "test \"\${$as_ac_var+set}\" = set"; then
74155   echo $ECHO_N "(cached) $ECHO_C" >&6
74156 else
74157   if test x$gcc_no_link = xyes; then
74158   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74160    { (exit 1); exit 1; }; }
74161 fi
74162 cat >conftest.$ac_ext <<_ACEOF
74163 /* confdefs.h.  */
74164 _ACEOF
74165 cat confdefs.h >>conftest.$ac_ext
74166 cat >>conftest.$ac_ext <<_ACEOF
74167 /* end confdefs.h.  */
74168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74169    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74170 #define $ac_func innocuous_$ac_func
74171
74172 /* System header to define __stub macros and hopefully few prototypes,
74173     which can conflict with char $ac_func (); below.
74174     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74175     <limits.h> exists even on freestanding compilers.  */
74176
74177 #ifdef __STDC__
74178 # include <limits.h>
74179 #else
74180 # include <assert.h>
74181 #endif
74182
74183 #undef $ac_func
74184
74185 /* Override any gcc2 internal prototype to avoid an error.  */
74186 #ifdef __cplusplus
74187 extern "C"
74188 {
74189 #endif
74190 /* We use char because int might match the return type of a gcc2
74191    builtin and then its argument prototype would still apply.  */
74192 char $ac_func ();
74193 /* The GNU C library defines this for functions which it implements
74194     to always fail with ENOSYS.  Some functions are actually named
74195     something starting with __ and the normal name is an alias.  */
74196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74197 choke me
74198 #else
74199 char (*f) () = $ac_func;
74200 #endif
74201 #ifdef __cplusplus
74202 }
74203 #endif
74204
74205 int
74206 main ()
74207 {
74208 return f != $ac_func;
74209   ;
74210   return 0;
74211 }
74212 _ACEOF
74213 rm -f conftest.$ac_objext conftest$ac_exeext
74214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74215   (eval $ac_link) 2>conftest.er1
74216   ac_status=$?
74217   grep -v '^ *+' conftest.er1 >conftest.err
74218   rm -f conftest.er1
74219   cat conftest.err >&5
74220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74221   (exit $ac_status); } &&
74222          { ac_try='test -z "$ac_c_werror_flag"
74223                          || test ! -s conftest.err'
74224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74225   (eval $ac_try) 2>&5
74226   ac_status=$?
74227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74228   (exit $ac_status); }; } &&
74229          { ac_try='test -s conftest$ac_exeext'
74230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74231   (eval $ac_try) 2>&5
74232   ac_status=$?
74233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74234   (exit $ac_status); }; }; then
74235   eval "$as_ac_var=yes"
74236 else
74237   echo "$as_me: failed program was:" >&5
74238 sed 's/^/| /' conftest.$ac_ext >&5
74239
74240 eval "$as_ac_var=no"
74241 fi
74242 rm -f conftest.err conftest.$ac_objext \
74243       conftest$ac_exeext conftest.$ac_ext
74244 fi
74245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74247 if test `eval echo '${'$as_ac_var'}'` = yes; then
74248   cat >>confdefs.h <<_ACEOF
74249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74250 _ACEOF
74251
74252 else
74253   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74254 fi
74255 done
74256
74257
74258           if test x$ac_cv_func_copysignl = x"yes"; then
74259
74260 for ac_func in __signbitl
74261 do
74262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74263 echo "$as_me:$LINENO: checking for $ac_func" >&5
74264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74265 if eval "test \"\${$as_ac_var+set}\" = set"; then
74266   echo $ECHO_N "(cached) $ECHO_C" >&6
74267 else
74268   if test x$gcc_no_link = xyes; then
74269   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74271    { (exit 1); exit 1; }; }
74272 fi
74273 cat >conftest.$ac_ext <<_ACEOF
74274 /* confdefs.h.  */
74275 _ACEOF
74276 cat confdefs.h >>conftest.$ac_ext
74277 cat >>conftest.$ac_ext <<_ACEOF
74278 /* end confdefs.h.  */
74279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74280    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74281 #define $ac_func innocuous_$ac_func
74282
74283 /* System header to define __stub macros and hopefully few prototypes,
74284     which can conflict with char $ac_func (); below.
74285     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74286     <limits.h> exists even on freestanding compilers.  */
74287
74288 #ifdef __STDC__
74289 # include <limits.h>
74290 #else
74291 # include <assert.h>
74292 #endif
74293
74294 #undef $ac_func
74295
74296 /* Override any gcc2 internal prototype to avoid an error.  */
74297 #ifdef __cplusplus
74298 extern "C"
74299 {
74300 #endif
74301 /* We use char because int might match the return type of a gcc2
74302    builtin and then its argument prototype would still apply.  */
74303 char $ac_func ();
74304 /* The GNU C library defines this for functions which it implements
74305     to always fail with ENOSYS.  Some functions are actually named
74306     something starting with __ and the normal name is an alias.  */
74307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74308 choke me
74309 #else
74310 char (*f) () = $ac_func;
74311 #endif
74312 #ifdef __cplusplus
74313 }
74314 #endif
74315
74316 int
74317 main ()
74318 {
74319 return f != $ac_func;
74320   ;
74321   return 0;
74322 }
74323 _ACEOF
74324 rm -f conftest.$ac_objext conftest$ac_exeext
74325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74326   (eval $ac_link) 2>conftest.er1
74327   ac_status=$?
74328   grep -v '^ *+' conftest.er1 >conftest.err
74329   rm -f conftest.er1
74330   cat conftest.err >&5
74331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74332   (exit $ac_status); } &&
74333          { ac_try='test -z "$ac_c_werror_flag"
74334                          || test ! -s conftest.err'
74335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74336   (eval $ac_try) 2>&5
74337   ac_status=$?
74338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74339   (exit $ac_status); }; } &&
74340          { ac_try='test -s conftest$ac_exeext'
74341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74342   (eval $ac_try) 2>&5
74343   ac_status=$?
74344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74345   (exit $ac_status); }; }; then
74346   eval "$as_ac_var=yes"
74347 else
74348   echo "$as_me: failed program was:" >&5
74349 sed 's/^/| /' conftest.$ac_ext >&5
74350
74351 eval "$as_ac_var=no"
74352 fi
74353 rm -f conftest.err conftest.$ac_objext \
74354       conftest$ac_exeext conftest.$ac_ext
74355 fi
74356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74358 if test `eval echo '${'$as_ac_var'}'` = yes; then
74359   cat >>confdefs.h <<_ACEOF
74360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74361 _ACEOF
74362
74363 else
74364   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74365 fi
74366 done
74367
74368   fi
74369
74370   # Used in libmath/Makefile.am.
74371   if test -n "$LIBMATHOBJS"; then
74372     need_libmath=yes
74373   fi
74374
74375
74376
74377
74378   enable_iconv=no
74379   # Only continue checking if the ISO C99 headers exist and support is on.
74380   if test x"$enable_wchar_t" = xyes; then
74381
74382     # Use iconv for wchar_t to char conversions. As such, check for
74383     # X/Open Portability Guide, version 2 features (XPG2).
74384     if test "${ac_cv_header_iconv_h+set}" = set; then
74385   echo "$as_me:$LINENO: checking for iconv.h" >&5
74386 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74387 if test "${ac_cv_header_iconv_h+set}" = set; then
74388   echo $ECHO_N "(cached) $ECHO_C" >&6
74389 fi
74390 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74391 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74392 else
74393   # Is the header compilable?
74394 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74395 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74396 cat >conftest.$ac_ext <<_ACEOF
74397 /* confdefs.h.  */
74398 _ACEOF
74399 cat confdefs.h >>conftest.$ac_ext
74400 cat >>conftest.$ac_ext <<_ACEOF
74401 /* end confdefs.h.  */
74402 $ac_includes_default
74403 #include <iconv.h>
74404 _ACEOF
74405 rm -f conftest.$ac_objext
74406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74407   (eval $ac_compile) 2>conftest.er1
74408   ac_status=$?
74409   grep -v '^ *+' conftest.er1 >conftest.err
74410   rm -f conftest.er1
74411   cat conftest.err >&5
74412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74413   (exit $ac_status); } &&
74414          { ac_try='test -z "$ac_c_werror_flag"
74415                          || test ! -s conftest.err'
74416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74417   (eval $ac_try) 2>&5
74418   ac_status=$?
74419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74420   (exit $ac_status); }; } &&
74421          { ac_try='test -s conftest.$ac_objext'
74422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74423   (eval $ac_try) 2>&5
74424   ac_status=$?
74425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74426   (exit $ac_status); }; }; then
74427   ac_header_compiler=yes
74428 else
74429   echo "$as_me: failed program was:" >&5
74430 sed 's/^/| /' conftest.$ac_ext >&5
74431
74432 ac_header_compiler=no
74433 fi
74434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74435 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74436 echo "${ECHO_T}$ac_header_compiler" >&6
74437
74438 # Is the header present?
74439 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74440 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74441 cat >conftest.$ac_ext <<_ACEOF
74442 /* confdefs.h.  */
74443 _ACEOF
74444 cat confdefs.h >>conftest.$ac_ext
74445 cat >>conftest.$ac_ext <<_ACEOF
74446 /* end confdefs.h.  */
74447 #include <iconv.h>
74448 _ACEOF
74449 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74450   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74451   ac_status=$?
74452   grep -v '^ *+' conftest.er1 >conftest.err
74453   rm -f conftest.er1
74454   cat conftest.err >&5
74455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74456   (exit $ac_status); } >/dev/null; then
74457   if test -s conftest.err; then
74458     ac_cpp_err=$ac_c_preproc_warn_flag
74459     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74460   else
74461     ac_cpp_err=
74462   fi
74463 else
74464   ac_cpp_err=yes
74465 fi
74466 if test -z "$ac_cpp_err"; then
74467   ac_header_preproc=yes
74468 else
74469   echo "$as_me: failed program was:" >&5
74470 sed 's/^/| /' conftest.$ac_ext >&5
74471
74472   ac_header_preproc=no
74473 fi
74474 rm -f conftest.err conftest.$ac_ext
74475 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74476 echo "${ECHO_T}$ac_header_preproc" >&6
74477
74478 # So?  What about this header?
74479 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74480   yes:no: )
74481     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74482 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74483     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74484 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74485     ac_header_preproc=yes
74486     ;;
74487   no:yes:* )
74488     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74489 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74490     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
74491 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
74492     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74493 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74494     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
74495 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
74496     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74497 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74498     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74499 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74500     (
74501       cat <<\_ASBOX
74502 ## ----------------------------------------- ##
74503 ## Report this to the package-unused lists.  ##
74504 ## ----------------------------------------- ##
74505 _ASBOX
74506     ) |
74507       sed "s/^/$as_me: WARNING:     /" >&2
74508     ;;
74509 esac
74510 echo "$as_me:$LINENO: checking for iconv.h" >&5
74511 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74512 if test "${ac_cv_header_iconv_h+set}" = set; then
74513   echo $ECHO_N "(cached) $ECHO_C" >&6
74514 else
74515   ac_cv_header_iconv_h=$ac_header_preproc
74516 fi
74517 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74518 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74519
74520 fi
74521 if test $ac_cv_header_iconv_h = yes; then
74522   ac_has_iconv_h=yes
74523 else
74524   ac_has_iconv_h=no
74525 fi
74526
74527
74528     if test "${ac_cv_header_langinfo_h+set}" = set; then
74529   echo "$as_me:$LINENO: checking for langinfo.h" >&5
74530 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74531 if test "${ac_cv_header_langinfo_h+set}" = set; then
74532   echo $ECHO_N "(cached) $ECHO_C" >&6
74533 fi
74534 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74535 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74536 else
74537   # Is the header compilable?
74538 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74539 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74540 cat >conftest.$ac_ext <<_ACEOF
74541 /* confdefs.h.  */
74542 _ACEOF
74543 cat confdefs.h >>conftest.$ac_ext
74544 cat >>conftest.$ac_ext <<_ACEOF
74545 /* end confdefs.h.  */
74546 $ac_includes_default
74547 #include <langinfo.h>
74548 _ACEOF
74549 rm -f conftest.$ac_objext
74550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74551   (eval $ac_compile) 2>conftest.er1
74552   ac_status=$?
74553   grep -v '^ *+' conftest.er1 >conftest.err
74554   rm -f conftest.er1
74555   cat conftest.err >&5
74556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74557   (exit $ac_status); } &&
74558          { ac_try='test -z "$ac_c_werror_flag"
74559                          || test ! -s conftest.err'
74560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74561   (eval $ac_try) 2>&5
74562   ac_status=$?
74563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74564   (exit $ac_status); }; } &&
74565          { ac_try='test -s conftest.$ac_objext'
74566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74567   (eval $ac_try) 2>&5
74568   ac_status=$?
74569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74570   (exit $ac_status); }; }; then
74571   ac_header_compiler=yes
74572 else
74573   echo "$as_me: failed program was:" >&5
74574 sed 's/^/| /' conftest.$ac_ext >&5
74575
74576 ac_header_compiler=no
74577 fi
74578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74579 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74580 echo "${ECHO_T}$ac_header_compiler" >&6
74581
74582 # Is the header present?
74583 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74584 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74585 cat >conftest.$ac_ext <<_ACEOF
74586 /* confdefs.h.  */
74587 _ACEOF
74588 cat confdefs.h >>conftest.$ac_ext
74589 cat >>conftest.$ac_ext <<_ACEOF
74590 /* end confdefs.h.  */
74591 #include <langinfo.h>
74592 _ACEOF
74593 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74594   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74595   ac_status=$?
74596   grep -v '^ *+' conftest.er1 >conftest.err
74597   rm -f conftest.er1
74598   cat conftest.err >&5
74599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74600   (exit $ac_status); } >/dev/null; then
74601   if test -s conftest.err; then
74602     ac_cpp_err=$ac_c_preproc_warn_flag
74603     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74604   else
74605     ac_cpp_err=
74606   fi
74607 else
74608   ac_cpp_err=yes
74609 fi
74610 if test -z "$ac_cpp_err"; then
74611   ac_header_preproc=yes
74612 else
74613   echo "$as_me: failed program was:" >&5
74614 sed 's/^/| /' conftest.$ac_ext >&5
74615
74616   ac_header_preproc=no
74617 fi
74618 rm -f conftest.err conftest.$ac_ext
74619 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74620 echo "${ECHO_T}$ac_header_preproc" >&6
74621
74622 # So?  What about this header?
74623 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74624   yes:no: )
74625     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74626 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74627     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74628 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74629     ac_header_preproc=yes
74630     ;;
74631   no:yes:* )
74632     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74633 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74634     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
74635 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
74636     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74637 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74638     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
74639 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
74640     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74641 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74642     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74643 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74644     (
74645       cat <<\_ASBOX
74646 ## ----------------------------------------- ##
74647 ## Report this to the package-unused lists.  ##
74648 ## ----------------------------------------- ##
74649 _ASBOX
74650     ) |
74651       sed "s/^/$as_me: WARNING:     /" >&2
74652     ;;
74653 esac
74654 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74655 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74656 if test "${ac_cv_header_langinfo_h+set}" = set; then
74657   echo $ECHO_N "(cached) $ECHO_C" >&6
74658 else
74659   ac_cv_header_langinfo_h=$ac_header_preproc
74660 fi
74661 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74662 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74663
74664 fi
74665 if test $ac_cv_header_langinfo_h = yes; then
74666   ac_has_langinfo_h=yes
74667 else
74668   ac_has_langinfo_h=no
74669 fi
74670
74671
74672
74673     # Check for existence of libiconv.a providing XPG2 wchar_t support.
74674     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74675 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74676 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74677   echo $ECHO_N "(cached) $ECHO_C" >&6
74678 else
74679   ac_check_lib_save_LIBS=$LIBS
74680 LIBS="-liconv  $LIBS"
74681 if test x$gcc_no_link = xyes; then
74682   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74684    { (exit 1); exit 1; }; }
74685 fi
74686 cat >conftest.$ac_ext <<_ACEOF
74687 /* confdefs.h.  */
74688 _ACEOF
74689 cat confdefs.h >>conftest.$ac_ext
74690 cat >>conftest.$ac_ext <<_ACEOF
74691 /* end confdefs.h.  */
74692
74693 /* Override any gcc2 internal prototype to avoid an error.  */
74694 #ifdef __cplusplus
74695 extern "C"
74696 #endif
74697 /* We use char because int might match the return type of a gcc2
74698    builtin and then its argument prototype would still apply.  */
74699 char iconv ();
74700 int
74701 main ()
74702 {
74703 iconv ();
74704   ;
74705   return 0;
74706 }
74707 _ACEOF
74708 rm -f conftest.$ac_objext conftest$ac_exeext
74709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74710   (eval $ac_link) 2>conftest.er1
74711   ac_status=$?
74712   grep -v '^ *+' conftest.er1 >conftest.err
74713   rm -f conftest.er1
74714   cat conftest.err >&5
74715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74716   (exit $ac_status); } &&
74717          { ac_try='test -z "$ac_c_werror_flag"
74718                          || test ! -s conftest.err'
74719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74720   (eval $ac_try) 2>&5
74721   ac_status=$?
74722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74723   (exit $ac_status); }; } &&
74724          { ac_try='test -s conftest$ac_exeext'
74725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74726   (eval $ac_try) 2>&5
74727   ac_status=$?
74728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74729   (exit $ac_status); }; }; then
74730   ac_cv_lib_iconv_iconv=yes
74731 else
74732   echo "$as_me: failed program was:" >&5
74733 sed 's/^/| /' conftest.$ac_ext >&5
74734
74735 ac_cv_lib_iconv_iconv=no
74736 fi
74737 rm -f conftest.err conftest.$ac_objext \
74738       conftest$ac_exeext conftest.$ac_ext
74739 LIBS=$ac_check_lib_save_LIBS
74740 fi
74741 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74742 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74743 if test $ac_cv_lib_iconv_iconv = yes; then
74744   LIBICONV="-liconv"
74745 fi
74746
74747     ac_save_LIBS="$LIBS"
74748     LIBS="$LIBS $LIBICONV"
74749
74750
74751
74752
74753
74754
74755 for ac_func in iconv_open iconv_close iconv nl_langinfo
74756 do
74757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74758 echo "$as_me:$LINENO: checking for $ac_func" >&5
74759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74760 if eval "test \"\${$as_ac_var+set}\" = set"; then
74761   echo $ECHO_N "(cached) $ECHO_C" >&6
74762 else
74763   if test x$gcc_no_link = xyes; then
74764   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74766    { (exit 1); exit 1; }; }
74767 fi
74768 cat >conftest.$ac_ext <<_ACEOF
74769 /* confdefs.h.  */
74770 _ACEOF
74771 cat confdefs.h >>conftest.$ac_ext
74772 cat >>conftest.$ac_ext <<_ACEOF
74773 /* end confdefs.h.  */
74774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74775    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74776 #define $ac_func innocuous_$ac_func
74777
74778 /* System header to define __stub macros and hopefully few prototypes,
74779     which can conflict with char $ac_func (); below.
74780     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74781     <limits.h> exists even on freestanding compilers.  */
74782
74783 #ifdef __STDC__
74784 # include <limits.h>
74785 #else
74786 # include <assert.h>
74787 #endif
74788
74789 #undef $ac_func
74790
74791 /* Override any gcc2 internal prototype to avoid an error.  */
74792 #ifdef __cplusplus
74793 extern "C"
74794 {
74795 #endif
74796 /* We use char because int might match the return type of a gcc2
74797    builtin and then its argument prototype would still apply.  */
74798 char $ac_func ();
74799 /* The GNU C library defines this for functions which it implements
74800     to always fail with ENOSYS.  Some functions are actually named
74801     something starting with __ and the normal name is an alias.  */
74802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74803 choke me
74804 #else
74805 char (*f) () = $ac_func;
74806 #endif
74807 #ifdef __cplusplus
74808 }
74809 #endif
74810
74811 int
74812 main ()
74813 {
74814 return f != $ac_func;
74815   ;
74816   return 0;
74817 }
74818 _ACEOF
74819 rm -f conftest.$ac_objext conftest$ac_exeext
74820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74821   (eval $ac_link) 2>conftest.er1
74822   ac_status=$?
74823   grep -v '^ *+' conftest.er1 >conftest.err
74824   rm -f conftest.er1
74825   cat conftest.err >&5
74826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74827   (exit $ac_status); } &&
74828          { ac_try='test -z "$ac_c_werror_flag"
74829                          || test ! -s conftest.err'
74830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74831   (eval $ac_try) 2>&5
74832   ac_status=$?
74833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74834   (exit $ac_status); }; } &&
74835          { ac_try='test -s conftest$ac_exeext'
74836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74837   (eval $ac_try) 2>&5
74838   ac_status=$?
74839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74840   (exit $ac_status); }; }; then
74841   eval "$as_ac_var=yes"
74842 else
74843   echo "$as_me: failed program was:" >&5
74844 sed 's/^/| /' conftest.$ac_ext >&5
74845
74846 eval "$as_ac_var=no"
74847 fi
74848 rm -f conftest.err conftest.$ac_objext \
74849       conftest$ac_exeext conftest.$ac_ext
74850 fi
74851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74853 if test `eval echo '${'$as_ac_var'}'` = yes; then
74854   cat >>confdefs.h <<_ACEOF
74855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74856 _ACEOF
74857  ac_XPG2funcs=yes
74858 else
74859   ac_XPG2funcs=no
74860 fi
74861 done
74862
74863
74864     LIBS="$ac_save_LIBS"
74865
74866     if test x"$ac_has_iconv_h" = xyes &&
74867        test x"$ac_has_langinfo_h" = xyes &&
74868        test x"$ac_XPG2funcs" = xyes;
74869     then
74870
74871 cat >>confdefs.h <<\_ACEOF
74872 #define _GLIBCXX_USE_ICONV 1
74873 _ACEOF
74874
74875       enable_iconv=yes
74876     fi
74877   fi
74878   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
74879 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
74880   echo "$as_me:$LINENO: result: $enable_iconv" >&5
74881 echo "${ECHO_T}$enable_iconv" >&6
74882
74883
74884   ac_test_CXXFLAGS="${CXXFLAGS+set}"
74885   ac_save_CXXFLAGS="$CXXFLAGS"
74886   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74887
74888
74889   echo "$as_me:$LINENO: checking for strtold declaration" >&5
74890 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74891   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74892     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74893   echo $ECHO_N "(cached) $ECHO_C" >&6
74894 else
74895
74896
74897
74898       ac_ext=cc
74899 ac_cpp='$CXXCPP $CPPFLAGS'
74900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74903
74904       cat >conftest.$ac_ext <<_ACEOF
74905 /* confdefs.h.  */
74906 _ACEOF
74907 cat confdefs.h >>conftest.$ac_ext
74908 cat >>conftest.$ac_ext <<_ACEOF
74909 /* end confdefs.h.  */
74910 #include <stdlib.h>
74911 int
74912 main ()
74913 {
74914  strtold(0, 0);
74915   ;
74916   return 0;
74917 }
74918 _ACEOF
74919 rm -f conftest.$ac_objext
74920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74921   (eval $ac_compile) 2>conftest.er1
74922   ac_status=$?
74923   grep -v '^ *+' conftest.er1 >conftest.err
74924   rm -f conftest.er1
74925   cat conftest.err >&5
74926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74927   (exit $ac_status); } &&
74928          { ac_try='test -z "$ac_cxx_werror_flag"
74929                          || test ! -s conftest.err'
74930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74931   (eval $ac_try) 2>&5
74932   ac_status=$?
74933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74934   (exit $ac_status); }; } &&
74935          { ac_try='test -s conftest.$ac_objext'
74936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74937   (eval $ac_try) 2>&5
74938   ac_status=$?
74939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74940   (exit $ac_status); }; }; then
74941   glibcxx_cv_func_strtold_use=yes
74942 else
74943   echo "$as_me: failed program was:" >&5
74944 sed 's/^/| /' conftest.$ac_ext >&5
74945
74946 glibcxx_cv_func_strtold_use=no
74947 fi
74948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74949       ac_ext=c
74950 ac_cpp='$CPP $CPPFLAGS'
74951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74954
74955
74956 fi
74957
74958   fi
74959   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
74960 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
74961   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
74962
74963 for ac_func in strtold
74964 do
74965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74966 echo "$as_me:$LINENO: checking for $ac_func" >&5
74967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74968 if eval "test \"\${$as_ac_var+set}\" = set"; then
74969   echo $ECHO_N "(cached) $ECHO_C" >&6
74970 else
74971   if test x$gcc_no_link = xyes; then
74972   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74974    { (exit 1); exit 1; }; }
74975 fi
74976 cat >conftest.$ac_ext <<_ACEOF
74977 /* confdefs.h.  */
74978 _ACEOF
74979 cat confdefs.h >>conftest.$ac_ext
74980 cat >>conftest.$ac_ext <<_ACEOF
74981 /* end confdefs.h.  */
74982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74983    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74984 #define $ac_func innocuous_$ac_func
74985
74986 /* System header to define __stub macros and hopefully few prototypes,
74987     which can conflict with char $ac_func (); below.
74988     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74989     <limits.h> exists even on freestanding compilers.  */
74990
74991 #ifdef __STDC__
74992 # include <limits.h>
74993 #else
74994 # include <assert.h>
74995 #endif
74996
74997 #undef $ac_func
74998
74999 /* Override any gcc2 internal prototype to avoid an error.  */
75000 #ifdef __cplusplus
75001 extern "C"
75002 {
75003 #endif
75004 /* We use char because int might match the return type of a gcc2
75005    builtin and then its argument prototype would still apply.  */
75006 char $ac_func ();
75007 /* The GNU C library defines this for functions which it implements
75008     to always fail with ENOSYS.  Some functions are actually named
75009     something starting with __ and the normal name is an alias.  */
75010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75011 choke me
75012 #else
75013 char (*f) () = $ac_func;
75014 #endif
75015 #ifdef __cplusplus
75016 }
75017 #endif
75018
75019 int
75020 main ()
75021 {
75022 return f != $ac_func;
75023   ;
75024   return 0;
75025 }
75026 _ACEOF
75027 rm -f conftest.$ac_objext conftest$ac_exeext
75028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75029   (eval $ac_link) 2>conftest.er1
75030   ac_status=$?
75031   grep -v '^ *+' conftest.er1 >conftest.err
75032   rm -f conftest.er1
75033   cat conftest.err >&5
75034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75035   (exit $ac_status); } &&
75036          { ac_try='test -z "$ac_c_werror_flag"
75037                          || test ! -s conftest.err'
75038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75039   (eval $ac_try) 2>&5
75040   ac_status=$?
75041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75042   (exit $ac_status); }; } &&
75043          { ac_try='test -s conftest$ac_exeext'
75044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75045   (eval $ac_try) 2>&5
75046   ac_status=$?
75047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75048   (exit $ac_status); }; }; then
75049   eval "$as_ac_var=yes"
75050 else
75051   echo "$as_me: failed program was:" >&5
75052 sed 's/^/| /' conftest.$ac_ext >&5
75053
75054 eval "$as_ac_var=no"
75055 fi
75056 rm -f conftest.err conftest.$ac_objext \
75057       conftest$ac_exeext conftest.$ac_ext
75058 fi
75059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75061 if test `eval echo '${'$as_ac_var'}'` = yes; then
75062   cat >>confdefs.h <<_ACEOF
75063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75064 _ACEOF
75065
75066 fi
75067 done
75068
75069   fi
75070
75071
75072
75073
75074
75075   echo "$as_me:$LINENO: checking for strtof declaration" >&5
75076 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
75077   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
75078     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
75079   echo $ECHO_N "(cached) $ECHO_C" >&6
75080 else
75081
75082
75083
75084       ac_ext=cc
75085 ac_cpp='$CXXCPP $CPPFLAGS'
75086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75089
75090       cat >conftest.$ac_ext <<_ACEOF
75091 /* confdefs.h.  */
75092 _ACEOF
75093 cat confdefs.h >>conftest.$ac_ext
75094 cat >>conftest.$ac_ext <<_ACEOF
75095 /* end confdefs.h.  */
75096 #include <stdlib.h>
75097 int
75098 main ()
75099 {
75100  strtof(0, 0);
75101   ;
75102   return 0;
75103 }
75104 _ACEOF
75105 rm -f conftest.$ac_objext
75106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75107   (eval $ac_compile) 2>conftest.er1
75108   ac_status=$?
75109   grep -v '^ *+' conftest.er1 >conftest.err
75110   rm -f conftest.er1
75111   cat conftest.err >&5
75112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75113   (exit $ac_status); } &&
75114          { ac_try='test -z "$ac_cxx_werror_flag"
75115                          || test ! -s conftest.err'
75116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75117   (eval $ac_try) 2>&5
75118   ac_status=$?
75119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75120   (exit $ac_status); }; } &&
75121          { ac_try='test -s conftest.$ac_objext'
75122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75123   (eval $ac_try) 2>&5
75124   ac_status=$?
75125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75126   (exit $ac_status); }; }; then
75127   glibcxx_cv_func_strtof_use=yes
75128 else
75129   echo "$as_me: failed program was:" >&5
75130 sed 's/^/| /' conftest.$ac_ext >&5
75131
75132 glibcxx_cv_func_strtof_use=no
75133 fi
75134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75135       ac_ext=c
75136 ac_cpp='$CPP $CPPFLAGS'
75137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75140
75141
75142 fi
75143
75144   fi
75145   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
75146 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
75147   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
75148
75149 for ac_func in strtof
75150 do
75151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75152 echo "$as_me:$LINENO: checking for $ac_func" >&5
75153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75154 if eval "test \"\${$as_ac_var+set}\" = set"; then
75155   echo $ECHO_N "(cached) $ECHO_C" >&6
75156 else
75157   if test x$gcc_no_link = xyes; then
75158   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75160    { (exit 1); exit 1; }; }
75161 fi
75162 cat >conftest.$ac_ext <<_ACEOF
75163 /* confdefs.h.  */
75164 _ACEOF
75165 cat confdefs.h >>conftest.$ac_ext
75166 cat >>conftest.$ac_ext <<_ACEOF
75167 /* end confdefs.h.  */
75168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75169    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75170 #define $ac_func innocuous_$ac_func
75171
75172 /* System header to define __stub macros and hopefully few prototypes,
75173     which can conflict with char $ac_func (); below.
75174     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75175     <limits.h> exists even on freestanding compilers.  */
75176
75177 #ifdef __STDC__
75178 # include <limits.h>
75179 #else
75180 # include <assert.h>
75181 #endif
75182
75183 #undef $ac_func
75184
75185 /* Override any gcc2 internal prototype to avoid an error.  */
75186 #ifdef __cplusplus
75187 extern "C"
75188 {
75189 #endif
75190 /* We use char because int might match the return type of a gcc2
75191    builtin and then its argument prototype would still apply.  */
75192 char $ac_func ();
75193 /* The GNU C library defines this for functions which it implements
75194     to always fail with ENOSYS.  Some functions are actually named
75195     something starting with __ and the normal name is an alias.  */
75196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75197 choke me
75198 #else
75199 char (*f) () = $ac_func;
75200 #endif
75201 #ifdef __cplusplus
75202 }
75203 #endif
75204
75205 int
75206 main ()
75207 {
75208 return f != $ac_func;
75209   ;
75210   return 0;
75211 }
75212 _ACEOF
75213 rm -f conftest.$ac_objext conftest$ac_exeext
75214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75215   (eval $ac_link) 2>conftest.er1
75216   ac_status=$?
75217   grep -v '^ *+' conftest.er1 >conftest.err
75218   rm -f conftest.er1
75219   cat conftest.err >&5
75220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75221   (exit $ac_status); } &&
75222          { ac_try='test -z "$ac_c_werror_flag"
75223                          || test ! -s conftest.err'
75224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75225   (eval $ac_try) 2>&5
75226   ac_status=$?
75227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75228   (exit $ac_status); }; } &&
75229          { ac_try='test -s conftest$ac_exeext'
75230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75231   (eval $ac_try) 2>&5
75232   ac_status=$?
75233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75234   (exit $ac_status); }; }; then
75235   eval "$as_ac_var=yes"
75236 else
75237   echo "$as_me: failed program was:" >&5
75238 sed 's/^/| /' conftest.$ac_ext >&5
75239
75240 eval "$as_ac_var=no"
75241 fi
75242 rm -f conftest.err conftest.$ac_objext \
75243       conftest$ac_exeext conftest.$ac_ext
75244 fi
75245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75247 if test `eval echo '${'$as_ac_var'}'` = yes; then
75248   cat >>confdefs.h <<_ACEOF
75249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75250 _ACEOF
75251
75252 fi
75253 done
75254
75255   fi
75256
75257
75258
75259
75260
75261   CXXFLAGS="$ac_save_CXXFLAGS"
75262
75263
75264   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
75265 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
75266   if test "${glibcxx_cv_S_ISREG+set}" = set; then
75267   echo $ECHO_N "(cached) $ECHO_C" >&6
75268 else
75269
75270     if test x$gcc_no_link = xyes; then
75271   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75273    { (exit 1); exit 1; }; }
75274 fi
75275 cat >conftest.$ac_ext <<_ACEOF
75276 /* confdefs.h.  */
75277 _ACEOF
75278 cat confdefs.h >>conftest.$ac_ext
75279 cat >>conftest.$ac_ext <<_ACEOF
75280 /* end confdefs.h.  */
75281 #include <sys/stat.h>
75282 int
75283 main ()
75284 {
75285 struct stat buffer;
75286        fstat(0, &buffer);
75287        S_ISREG(buffer.st_mode);
75288   ;
75289   return 0;
75290 }
75291 _ACEOF
75292 rm -f conftest.$ac_objext conftest$ac_exeext
75293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75294   (eval $ac_link) 2>conftest.er1
75295   ac_status=$?
75296   grep -v '^ *+' conftest.er1 >conftest.err
75297   rm -f conftest.er1
75298   cat conftest.err >&5
75299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75300   (exit $ac_status); } &&
75301          { ac_try='test -z "$ac_c_werror_flag"
75302                          || test ! -s conftest.err'
75303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75304   (eval $ac_try) 2>&5
75305   ac_status=$?
75306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75307   (exit $ac_status); }; } &&
75308          { ac_try='test -s conftest$ac_exeext'
75309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75310   (eval $ac_try) 2>&5
75311   ac_status=$?
75312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75313   (exit $ac_status); }; }; then
75314   glibcxx_cv_S_ISREG=yes
75315 else
75316   echo "$as_me: failed program was:" >&5
75317 sed 's/^/| /' conftest.$ac_ext >&5
75318
75319 glibcxx_cv_S_ISREG=no
75320 fi
75321 rm -f conftest.err conftest.$ac_objext \
75322       conftest$ac_exeext conftest.$ac_ext
75323
75324 fi
75325
75326   if test "${glibcxx_cv_S_IFREG+set}" = set; then
75327   echo $ECHO_N "(cached) $ECHO_C" >&6
75328 else
75329
75330     if test x$gcc_no_link = xyes; then
75331   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75333    { (exit 1); exit 1; }; }
75334 fi
75335 cat >conftest.$ac_ext <<_ACEOF
75336 /* confdefs.h.  */
75337 _ACEOF
75338 cat confdefs.h >>conftest.$ac_ext
75339 cat >>conftest.$ac_ext <<_ACEOF
75340 /* end confdefs.h.  */
75341 #include <sys/stat.h>
75342 int
75343 main ()
75344 {
75345 struct stat buffer;
75346        fstat(0, &buffer);
75347        S_IFREG & buffer.st_mode;
75348   ;
75349   return 0;
75350 }
75351 _ACEOF
75352 rm -f conftest.$ac_objext conftest$ac_exeext
75353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75354   (eval $ac_link) 2>conftest.er1
75355   ac_status=$?
75356   grep -v '^ *+' conftest.er1 >conftest.err
75357   rm -f conftest.er1
75358   cat conftest.err >&5
75359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75360   (exit $ac_status); } &&
75361          { ac_try='test -z "$ac_c_werror_flag"
75362                          || test ! -s conftest.err'
75363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75364   (eval $ac_try) 2>&5
75365   ac_status=$?
75366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75367   (exit $ac_status); }; } &&
75368          { ac_try='test -s conftest$ac_exeext'
75369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75370   (eval $ac_try) 2>&5
75371   ac_status=$?
75372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75373   (exit $ac_status); }; }; then
75374   glibcxx_cv_S_IFREG=yes
75375 else
75376   echo "$as_me: failed program was:" >&5
75377 sed 's/^/| /' conftest.$ac_ext >&5
75378
75379 glibcxx_cv_S_IFREG=no
75380 fi
75381 rm -f conftest.err conftest.$ac_objext \
75382       conftest$ac_exeext conftest.$ac_ext
75383
75384 fi
75385
75386   res=no
75387   if test $glibcxx_cv_S_ISREG = yes; then
75388
75389 cat >>confdefs.h <<\_ACEOF
75390 #define HAVE_S_ISREG 1
75391 _ACEOF
75392
75393     res=S_ISREG
75394   elif test $glibcxx_cv_S_IFREG = yes; then
75395
75396 cat >>confdefs.h <<\_ACEOF
75397 #define HAVE_S_IFREG 1
75398 _ACEOF
75399
75400     res=S_IFREG
75401   fi
75402   echo "$as_me:$LINENO: result: $res" >&5
75403 echo "${ECHO_T}$res" >&6
75404
75405     cat >>confdefs.h <<\_ACEOF
75406 #define HAVE_WRITEV 1
75407 _ACEOF
75408
75409     ;;
75410
75411   *-freebsd*)
75412
75413
75414
75415
75416
75417
75418
75419
75420
75421
75422
75423
75424
75425
75426
75427
75428 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75429       machine/endian.h machine/param.h sys/machine.h sys/types.h \
75430       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
75431       sys/time.h unistd.h
75432 do
75433 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75435   echo "$as_me:$LINENO: checking for $ac_header" >&5
75436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75438   echo $ECHO_N "(cached) $ECHO_C" >&6
75439 fi
75440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75442 else
75443   # Is the header compilable?
75444 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75445 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75446 cat >conftest.$ac_ext <<_ACEOF
75447 /* confdefs.h.  */
75448 _ACEOF
75449 cat confdefs.h >>conftest.$ac_ext
75450 cat >>conftest.$ac_ext <<_ACEOF
75451 /* end confdefs.h.  */
75452 $ac_includes_default
75453 #include <$ac_header>
75454 _ACEOF
75455 rm -f conftest.$ac_objext
75456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75457   (eval $ac_compile) 2>conftest.er1
75458   ac_status=$?
75459   grep -v '^ *+' conftest.er1 >conftest.err
75460   rm -f conftest.er1
75461   cat conftest.err >&5
75462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75463   (exit $ac_status); } &&
75464          { ac_try='test -z "$ac_c_werror_flag"
75465                          || test ! -s conftest.err'
75466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75467   (eval $ac_try) 2>&5
75468   ac_status=$?
75469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75470   (exit $ac_status); }; } &&
75471          { ac_try='test -s conftest.$ac_objext'
75472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75473   (eval $ac_try) 2>&5
75474   ac_status=$?
75475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75476   (exit $ac_status); }; }; then
75477   ac_header_compiler=yes
75478 else
75479   echo "$as_me: failed program was:" >&5
75480 sed 's/^/| /' conftest.$ac_ext >&5
75481
75482 ac_header_compiler=no
75483 fi
75484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75485 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75486 echo "${ECHO_T}$ac_header_compiler" >&6
75487
75488 # Is the header present?
75489 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75490 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75491 cat >conftest.$ac_ext <<_ACEOF
75492 /* confdefs.h.  */
75493 _ACEOF
75494 cat confdefs.h >>conftest.$ac_ext
75495 cat >>conftest.$ac_ext <<_ACEOF
75496 /* end confdefs.h.  */
75497 #include <$ac_header>
75498 _ACEOF
75499 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75500   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75501   ac_status=$?
75502   grep -v '^ *+' conftest.er1 >conftest.err
75503   rm -f conftest.er1
75504   cat conftest.err >&5
75505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75506   (exit $ac_status); } >/dev/null; then
75507   if test -s conftest.err; then
75508     ac_cpp_err=$ac_c_preproc_warn_flag
75509     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75510   else
75511     ac_cpp_err=
75512   fi
75513 else
75514   ac_cpp_err=yes
75515 fi
75516 if test -z "$ac_cpp_err"; then
75517   ac_header_preproc=yes
75518 else
75519   echo "$as_me: failed program was:" >&5
75520 sed 's/^/| /' conftest.$ac_ext >&5
75521
75522   ac_header_preproc=no
75523 fi
75524 rm -f conftest.err conftest.$ac_ext
75525 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75526 echo "${ECHO_T}$ac_header_preproc" >&6
75527
75528 # So?  What about this header?
75529 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75530   yes:no: )
75531     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75532 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75533     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75534 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75535     ac_header_preproc=yes
75536     ;;
75537   no:yes:* )
75538     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75539 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75540     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
75541 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
75542     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75543 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75544     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
75545 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
75546     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75547 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75548     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75549 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75550     (
75551       cat <<\_ASBOX
75552 ## ----------------------------------------- ##
75553 ## Report this to the package-unused lists.  ##
75554 ## ----------------------------------------- ##
75555 _ASBOX
75556     ) |
75557       sed "s/^/$as_me: WARNING:     /" >&2
75558     ;;
75559 esac
75560 echo "$as_me:$LINENO: checking for $ac_header" >&5
75561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75563   echo $ECHO_N "(cached) $ECHO_C" >&6
75564 else
75565   eval "$as_ac_Header=\$ac_header_preproc"
75566 fi
75567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75569
75570 fi
75571 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75572   cat >>confdefs.h <<_ACEOF
75573 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75574 _ACEOF
75575
75576 fi
75577
75578 done
75579
75580     SECTION_FLAGS='-ffunction-sections -fdata-sections'
75581
75582
75583   # If we're not using GNU ld, then there's no point in even trying these
75584   # tests.  Check for that first.  We should have already tested for gld
75585   # by now (in libtool), but require it now just to be safe...
75586   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75587   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75588
75589
75590
75591   # The name set by libtool depends on the version of libtool.  Shame on us
75592   # for depending on an impl detail, but c'est la vie.  Older versions used
75593   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75594   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75595   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
75596   # set (hence we're using an older libtool), then set it.
75597   if test x${with_gnu_ld+set} != xset; then
75598     if test x${ac_cv_prog_gnu_ld+set} != xset; then
75599       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
75600       with_gnu_ld=no
75601     else
75602       with_gnu_ld=$ac_cv_prog_gnu_ld
75603     fi
75604   fi
75605
75606   # Start by getting the version number.  I think the libtool test already
75607   # does some of this, but throws away the result.
75608   echo "$as_me:$LINENO: checking for ld version" >&5
75609 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
75610
75611   ldver=`$LD --version 2>/dev/null | head -1 | \
75612          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75613
75614   glibcxx_gnu_ld_version=`echo $ldver | \
75615          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75616   echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
75617 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
75618
75619   # Set --gc-sections.
75620   glibcxx_gcsections_min_ld=21602
75621   if test x"$with_gnu_ld" = x"yes" &&
75622         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
75623
75624     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
75625     # NB: This flag only works reliably after 2.16.1. Configure tests
75626     # for this are difficult, so hard wire a value that should work.
75627
75628     # All these tests are for C++, but run with the "C" compiler driver.
75629     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
75630     ac_test_CFLAGS="${CFLAGS+set}"
75631     ac_save_CFLAGS="$CFLAGS"
75632     CFLAGS='-x c++ -Wl,--gc-sections'
75633
75634     # Check for -Wl,--gc-sections
75635     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75636 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75637     if test x$gcc_no_link = xyes; then
75638   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75640    { (exit 1); exit 1; }; }
75641 fi
75642 cat >conftest.$ac_ext <<_ACEOF
75643 /* confdefs.h.  */
75644 _ACEOF
75645 cat confdefs.h >>conftest.$ac_ext
75646 cat >>conftest.$ac_ext <<_ACEOF
75647 /* end confdefs.h.  */
75648  int one(void) { return 1; }
75649      int two(void) { return 2; }
75650
75651 int
75652 main ()
75653 {
75654  two();
75655   ;
75656   return 0;
75657 }
75658 _ACEOF
75659 rm -f conftest.$ac_objext conftest$ac_exeext
75660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75661   (eval $ac_link) 2>conftest.er1
75662   ac_status=$?
75663   grep -v '^ *+' conftest.er1 >conftest.err
75664   rm -f conftest.er1
75665   cat conftest.err >&5
75666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75667   (exit $ac_status); } &&
75668          { ac_try='test -z "$ac_c_werror_flag"
75669                          || test ! -s conftest.err'
75670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75671   (eval $ac_try) 2>&5
75672   ac_status=$?
75673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75674   (exit $ac_status); }; } &&
75675          { ac_try='test -s conftest$ac_exeext'
75676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75677   (eval $ac_try) 2>&5
75678   ac_status=$?
75679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75680   (exit $ac_status); }; }; then
75681   ac_gcsections=yes
75682 else
75683   echo "$as_me: failed program was:" >&5
75684 sed 's/^/| /' conftest.$ac_ext >&5
75685
75686 ac_gcsections=no
75687 fi
75688 rm -f conftest.err conftest.$ac_objext \
75689       conftest$ac_exeext conftest.$ac_ext
75690     if test "$ac_gcsections" = "yes"; then
75691       rm -f conftest.c
75692       touch conftest.c
75693       if $CC -c conftest.c; then
75694         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
75695            grep "Warning: gc-sections option ignored" > /dev/null; then
75696           ac_gcsections=no
75697         fi
75698       fi
75699       rm -f conftest.c conftest.o conftest
75700     fi
75701     if test "$ac_gcsections" = "yes"; then
75702       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75703     fi
75704     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
75705 echo "${ECHO_T}$ac_gcsections" >&6
75706
75707     if test "$ac_test_CFLAGS" = set; then
75708       CFLAGS="$ac_save_CFLAGS"
75709     else
75710       # this is the suspicious part
75711       CFLAGS=''
75712     fi
75713   fi
75714
75715   # Set -z,relro.
75716   # Note this is only for shared objects.
75717   ac_ld_relro=no
75718   if test x"$with_gnu_ld" = x"yes"; then
75719     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
75720 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
75721     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
75722     if test -n "$cxx_z_relo"; then
75723       OPT_LDFLAGS="-Wl,-z,relro"
75724       ac_ld_relro=yes
75725     fi
75726     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
75727 echo "${ECHO_T}$ac_ld_relro" >&6
75728   fi
75729
75730   # Set linker optimization flags.
75731   if test x"$with_gnu_ld" = x"yes"; then
75732     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75733   fi
75734
75735
75736
75737
75738
75739
75740 echo "$as_me:$LINENO: checking for main in -lm" >&5
75741 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75742 if test "${ac_cv_lib_m_main+set}" = set; then
75743   echo $ECHO_N "(cached) $ECHO_C" >&6
75744 else
75745   ac_check_lib_save_LIBS=$LIBS
75746 LIBS="-lm  $LIBS"
75747 if test x$gcc_no_link = xyes; then
75748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75750    { (exit 1); exit 1; }; }
75751 fi
75752 cat >conftest.$ac_ext <<_ACEOF
75753 /* confdefs.h.  */
75754 _ACEOF
75755 cat confdefs.h >>conftest.$ac_ext
75756 cat >>conftest.$ac_ext <<_ACEOF
75757 /* end confdefs.h.  */
75758
75759
75760 int
75761 main ()
75762 {
75763 main ();
75764   ;
75765   return 0;
75766 }
75767 _ACEOF
75768 rm -f conftest.$ac_objext conftest$ac_exeext
75769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75770   (eval $ac_link) 2>conftest.er1
75771   ac_status=$?
75772   grep -v '^ *+' conftest.er1 >conftest.err
75773   rm -f conftest.er1
75774   cat conftest.err >&5
75775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75776   (exit $ac_status); } &&
75777          { ac_try='test -z "$ac_c_werror_flag"
75778                          || test ! -s conftest.err'
75779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75780   (eval $ac_try) 2>&5
75781   ac_status=$?
75782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75783   (exit $ac_status); }; } &&
75784          { ac_try='test -s conftest$ac_exeext'
75785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75786   (eval $ac_try) 2>&5
75787   ac_status=$?
75788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75789   (exit $ac_status); }; }; then
75790   ac_cv_lib_m_main=yes
75791 else
75792   echo "$as_me: failed program was:" >&5
75793 sed 's/^/| /' conftest.$ac_ext >&5
75794
75795 ac_cv_lib_m_main=no
75796 fi
75797 rm -f conftest.err conftest.$ac_objext \
75798       conftest$ac_exeext conftest.$ac_ext
75799 LIBS=$ac_check_lib_save_LIBS
75800 fi
75801 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75802 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75803 if test $ac_cv_lib_m_main = yes; then
75804   cat >>confdefs.h <<_ACEOF
75805 #define HAVE_LIBM 1
75806 _ACEOF
75807
75808   LIBS="-lm $LIBS"
75809
75810 fi
75811
75812
75813 for ac_func in copysignf
75814 do
75815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75816 echo "$as_me:$LINENO: checking for $ac_func" >&5
75817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75818 if eval "test \"\${$as_ac_var+set}\" = set"; then
75819   echo $ECHO_N "(cached) $ECHO_C" >&6
75820 else
75821   if test x$gcc_no_link = xyes; then
75822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75824    { (exit 1); exit 1; }; }
75825 fi
75826 cat >conftest.$ac_ext <<_ACEOF
75827 /* confdefs.h.  */
75828 _ACEOF
75829 cat confdefs.h >>conftest.$ac_ext
75830 cat >>conftest.$ac_ext <<_ACEOF
75831 /* end confdefs.h.  */
75832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75833    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75834 #define $ac_func innocuous_$ac_func
75835
75836 /* System header to define __stub macros and hopefully few prototypes,
75837     which can conflict with char $ac_func (); below.
75838     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75839     <limits.h> exists even on freestanding compilers.  */
75840
75841 #ifdef __STDC__
75842 # include <limits.h>
75843 #else
75844 # include <assert.h>
75845 #endif
75846
75847 #undef $ac_func
75848
75849 /* Override any gcc2 internal prototype to avoid an error.  */
75850 #ifdef __cplusplus
75851 extern "C"
75852 {
75853 #endif
75854 /* We use char because int might match the return type of a gcc2
75855    builtin and then its argument prototype would still apply.  */
75856 char $ac_func ();
75857 /* The GNU C library defines this for functions which it implements
75858     to always fail with ENOSYS.  Some functions are actually named
75859     something starting with __ and the normal name is an alias.  */
75860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75861 choke me
75862 #else
75863 char (*f) () = $ac_func;
75864 #endif
75865 #ifdef __cplusplus
75866 }
75867 #endif
75868
75869 int
75870 main ()
75871 {
75872 return f != $ac_func;
75873   ;
75874   return 0;
75875 }
75876 _ACEOF
75877 rm -f conftest.$ac_objext conftest$ac_exeext
75878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75879   (eval $ac_link) 2>conftest.er1
75880   ac_status=$?
75881   grep -v '^ *+' conftest.er1 >conftest.err
75882   rm -f conftest.er1
75883   cat conftest.err >&5
75884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75885   (exit $ac_status); } &&
75886          { ac_try='test -z "$ac_c_werror_flag"
75887                          || test ! -s conftest.err'
75888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75889   (eval $ac_try) 2>&5
75890   ac_status=$?
75891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75892   (exit $ac_status); }; } &&
75893          { ac_try='test -s conftest$ac_exeext'
75894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75895   (eval $ac_try) 2>&5
75896   ac_status=$?
75897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75898   (exit $ac_status); }; }; then
75899   eval "$as_ac_var=yes"
75900 else
75901   echo "$as_me: failed program was:" >&5
75902 sed 's/^/| /' conftest.$ac_ext >&5
75903
75904 eval "$as_ac_var=no"
75905 fi
75906 rm -f conftest.err conftest.$ac_objext \
75907       conftest$ac_exeext conftest.$ac_ext
75908 fi
75909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75911 if test `eval echo '${'$as_ac_var'}'` = yes; then
75912   cat >>confdefs.h <<_ACEOF
75913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75914 _ACEOF
75915
75916 else
75917   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75918 fi
75919 done
75920
75921
75922
75923 for ac_func in __signbit
75924 do
75925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75926 echo "$as_me:$LINENO: checking for $ac_func" >&5
75927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75928 if eval "test \"\${$as_ac_var+set}\" = set"; then
75929   echo $ECHO_N "(cached) $ECHO_C" >&6
75930 else
75931   if test x$gcc_no_link = xyes; then
75932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75934    { (exit 1); exit 1; }; }
75935 fi
75936 cat >conftest.$ac_ext <<_ACEOF
75937 /* confdefs.h.  */
75938 _ACEOF
75939 cat confdefs.h >>conftest.$ac_ext
75940 cat >>conftest.$ac_ext <<_ACEOF
75941 /* end confdefs.h.  */
75942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75943    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75944 #define $ac_func innocuous_$ac_func
75945
75946 /* System header to define __stub macros and hopefully few prototypes,
75947     which can conflict with char $ac_func (); below.
75948     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75949     <limits.h> exists even on freestanding compilers.  */
75950
75951 #ifdef __STDC__
75952 # include <limits.h>
75953 #else
75954 # include <assert.h>
75955 #endif
75956
75957 #undef $ac_func
75958
75959 /* Override any gcc2 internal prototype to avoid an error.  */
75960 #ifdef __cplusplus
75961 extern "C"
75962 {
75963 #endif
75964 /* We use char because int might match the return type of a gcc2
75965    builtin and then its argument prototype would still apply.  */
75966 char $ac_func ();
75967 /* The GNU C library defines this for functions which it implements
75968     to always fail with ENOSYS.  Some functions are actually named
75969     something starting with __ and the normal name is an alias.  */
75970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75971 choke me
75972 #else
75973 char (*f) () = $ac_func;
75974 #endif
75975 #ifdef __cplusplus
75976 }
75977 #endif
75978
75979 int
75980 main ()
75981 {
75982 return f != $ac_func;
75983   ;
75984   return 0;
75985 }
75986 _ACEOF
75987 rm -f conftest.$ac_objext conftest$ac_exeext
75988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75989   (eval $ac_link) 2>conftest.er1
75990   ac_status=$?
75991   grep -v '^ *+' conftest.er1 >conftest.err
75992   rm -f conftest.er1
75993   cat conftest.err >&5
75994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75995   (exit $ac_status); } &&
75996          { ac_try='test -z "$ac_c_werror_flag"
75997                          || test ! -s conftest.err'
75998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75999   (eval $ac_try) 2>&5
76000   ac_status=$?
76001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76002   (exit $ac_status); }; } &&
76003          { ac_try='test -s conftest$ac_exeext'
76004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76005   (eval $ac_try) 2>&5
76006   ac_status=$?
76007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76008   (exit $ac_status); }; }; then
76009   eval "$as_ac_var=yes"
76010 else
76011   echo "$as_me: failed program was:" >&5
76012 sed 's/^/| /' conftest.$ac_ext >&5
76013
76014 eval "$as_ac_var=no"
76015 fi
76016 rm -f conftest.err conftest.$ac_objext \
76017       conftest$ac_exeext conftest.$ac_ext
76018 fi
76019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76021 if test `eval echo '${'$as_ac_var'}'` = yes; then
76022   cat >>confdefs.h <<_ACEOF
76023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76024 _ACEOF
76025
76026 else
76027   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76028 fi
76029 done
76030
76031
76032
76033 for ac_func in __signbitf
76034 do
76035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76036 echo "$as_me:$LINENO: checking for $ac_func" >&5
76037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76038 if eval "test \"\${$as_ac_var+set}\" = set"; then
76039   echo $ECHO_N "(cached) $ECHO_C" >&6
76040 else
76041   if test x$gcc_no_link = xyes; then
76042   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76044    { (exit 1); exit 1; }; }
76045 fi
76046 cat >conftest.$ac_ext <<_ACEOF
76047 /* confdefs.h.  */
76048 _ACEOF
76049 cat confdefs.h >>conftest.$ac_ext
76050 cat >>conftest.$ac_ext <<_ACEOF
76051 /* end confdefs.h.  */
76052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76053    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76054 #define $ac_func innocuous_$ac_func
76055
76056 /* System header to define __stub macros and hopefully few prototypes,
76057     which can conflict with char $ac_func (); below.
76058     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76059     <limits.h> exists even on freestanding compilers.  */
76060
76061 #ifdef __STDC__
76062 # include <limits.h>
76063 #else
76064 # include <assert.h>
76065 #endif
76066
76067 #undef $ac_func
76068
76069 /* Override any gcc2 internal prototype to avoid an error.  */
76070 #ifdef __cplusplus
76071 extern "C"
76072 {
76073 #endif
76074 /* We use char because int might match the return type of a gcc2
76075    builtin and then its argument prototype would still apply.  */
76076 char $ac_func ();
76077 /* The GNU C library defines this for functions which it implements
76078     to always fail with ENOSYS.  Some functions are actually named
76079     something starting with __ and the normal name is an alias.  */
76080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76081 choke me
76082 #else
76083 char (*f) () = $ac_func;
76084 #endif
76085 #ifdef __cplusplus
76086 }
76087 #endif
76088
76089 int
76090 main ()
76091 {
76092 return f != $ac_func;
76093   ;
76094   return 0;
76095 }
76096 _ACEOF
76097 rm -f conftest.$ac_objext conftest$ac_exeext
76098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76099   (eval $ac_link) 2>conftest.er1
76100   ac_status=$?
76101   grep -v '^ *+' conftest.er1 >conftest.err
76102   rm -f conftest.er1
76103   cat conftest.err >&5
76104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76105   (exit $ac_status); } &&
76106          { ac_try='test -z "$ac_c_werror_flag"
76107                          || test ! -s conftest.err'
76108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76109   (eval $ac_try) 2>&5
76110   ac_status=$?
76111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76112   (exit $ac_status); }; } &&
76113          { ac_try='test -s conftest$ac_exeext'
76114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76115   (eval $ac_try) 2>&5
76116   ac_status=$?
76117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76118   (exit $ac_status); }; }; then
76119   eval "$as_ac_var=yes"
76120 else
76121   echo "$as_me: failed program was:" >&5
76122 sed 's/^/| /' conftest.$ac_ext >&5
76123
76124 eval "$as_ac_var=no"
76125 fi
76126 rm -f conftest.err conftest.$ac_objext \
76127       conftest$ac_exeext conftest.$ac_ext
76128 fi
76129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76131 if test `eval echo '${'$as_ac_var'}'` = yes; then
76132   cat >>confdefs.h <<_ACEOF
76133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76134 _ACEOF
76135
76136 else
76137   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76138 fi
76139 done
76140
76141
76142           if test x$ac_cv_func_copysignl = x"yes"; then
76143
76144 for ac_func in __signbitl
76145 do
76146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76147 echo "$as_me:$LINENO: checking for $ac_func" >&5
76148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76149 if eval "test \"\${$as_ac_var+set}\" = set"; then
76150   echo $ECHO_N "(cached) $ECHO_C" >&6
76151 else
76152   if test x$gcc_no_link = xyes; then
76153   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76155    { (exit 1); exit 1; }; }
76156 fi
76157 cat >conftest.$ac_ext <<_ACEOF
76158 /* confdefs.h.  */
76159 _ACEOF
76160 cat confdefs.h >>conftest.$ac_ext
76161 cat >>conftest.$ac_ext <<_ACEOF
76162 /* end confdefs.h.  */
76163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76164    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76165 #define $ac_func innocuous_$ac_func
76166
76167 /* System header to define __stub macros and hopefully few prototypes,
76168     which can conflict with char $ac_func (); below.
76169     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76170     <limits.h> exists even on freestanding compilers.  */
76171
76172 #ifdef __STDC__
76173 # include <limits.h>
76174 #else
76175 # include <assert.h>
76176 #endif
76177
76178 #undef $ac_func
76179
76180 /* Override any gcc2 internal prototype to avoid an error.  */
76181 #ifdef __cplusplus
76182 extern "C"
76183 {
76184 #endif
76185 /* We use char because int might match the return type of a gcc2
76186    builtin and then its argument prototype would still apply.  */
76187 char $ac_func ();
76188 /* The GNU C library defines this for functions which it implements
76189     to always fail with ENOSYS.  Some functions are actually named
76190     something starting with __ and the normal name is an alias.  */
76191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76192 choke me
76193 #else
76194 char (*f) () = $ac_func;
76195 #endif
76196 #ifdef __cplusplus
76197 }
76198 #endif
76199
76200 int
76201 main ()
76202 {
76203 return f != $ac_func;
76204   ;
76205   return 0;
76206 }
76207 _ACEOF
76208 rm -f conftest.$ac_objext conftest$ac_exeext
76209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76210   (eval $ac_link) 2>conftest.er1
76211   ac_status=$?
76212   grep -v '^ *+' conftest.er1 >conftest.err
76213   rm -f conftest.er1
76214   cat conftest.err >&5
76215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76216   (exit $ac_status); } &&
76217          { ac_try='test -z "$ac_c_werror_flag"
76218                          || test ! -s conftest.err'
76219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76220   (eval $ac_try) 2>&5
76221   ac_status=$?
76222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76223   (exit $ac_status); }; } &&
76224          { ac_try='test -s conftest$ac_exeext'
76225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76226   (eval $ac_try) 2>&5
76227   ac_status=$?
76228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76229   (exit $ac_status); }; }; then
76230   eval "$as_ac_var=yes"
76231 else
76232   echo "$as_me: failed program was:" >&5
76233 sed 's/^/| /' conftest.$ac_ext >&5
76234
76235 eval "$as_ac_var=no"
76236 fi
76237 rm -f conftest.err conftest.$ac_objext \
76238       conftest$ac_exeext conftest.$ac_ext
76239 fi
76240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76242 if test `eval echo '${'$as_ac_var'}'` = yes; then
76243   cat >>confdefs.h <<_ACEOF
76244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76245 _ACEOF
76246
76247 else
76248   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76249 fi
76250 done
76251
76252   fi
76253
76254   # Used in libmath/Makefile.am.
76255   if test -n "$LIBMATHOBJS"; then
76256     need_libmath=yes
76257   fi
76258
76259
76260
76261
76262   enable_iconv=no
76263   # Only continue checking if the ISO C99 headers exist and support is on.
76264   if test x"$enable_wchar_t" = xyes; then
76265
76266     # Use iconv for wchar_t to char conversions. As such, check for
76267     # X/Open Portability Guide, version 2 features (XPG2).
76268     if test "${ac_cv_header_iconv_h+set}" = set; then
76269   echo "$as_me:$LINENO: checking for iconv.h" >&5
76270 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76271 if test "${ac_cv_header_iconv_h+set}" = set; then
76272   echo $ECHO_N "(cached) $ECHO_C" >&6
76273 fi
76274 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76275 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76276 else
76277   # Is the header compilable?
76278 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76279 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76280 cat >conftest.$ac_ext <<_ACEOF
76281 /* confdefs.h.  */
76282 _ACEOF
76283 cat confdefs.h >>conftest.$ac_ext
76284 cat >>conftest.$ac_ext <<_ACEOF
76285 /* end confdefs.h.  */
76286 $ac_includes_default
76287 #include <iconv.h>
76288 _ACEOF
76289 rm -f conftest.$ac_objext
76290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76291   (eval $ac_compile) 2>conftest.er1
76292   ac_status=$?
76293   grep -v '^ *+' conftest.er1 >conftest.err
76294   rm -f conftest.er1
76295   cat conftest.err >&5
76296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76297   (exit $ac_status); } &&
76298          { ac_try='test -z "$ac_c_werror_flag"
76299                          || test ! -s conftest.err'
76300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76301   (eval $ac_try) 2>&5
76302   ac_status=$?
76303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76304   (exit $ac_status); }; } &&
76305          { ac_try='test -s conftest.$ac_objext'
76306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76307   (eval $ac_try) 2>&5
76308   ac_status=$?
76309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76310   (exit $ac_status); }; }; then
76311   ac_header_compiler=yes
76312 else
76313   echo "$as_me: failed program was:" >&5
76314 sed 's/^/| /' conftest.$ac_ext >&5
76315
76316 ac_header_compiler=no
76317 fi
76318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76319 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76320 echo "${ECHO_T}$ac_header_compiler" >&6
76321
76322 # Is the header present?
76323 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76324 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76325 cat >conftest.$ac_ext <<_ACEOF
76326 /* confdefs.h.  */
76327 _ACEOF
76328 cat confdefs.h >>conftest.$ac_ext
76329 cat >>conftest.$ac_ext <<_ACEOF
76330 /* end confdefs.h.  */
76331 #include <iconv.h>
76332 _ACEOF
76333 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76334   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76335   ac_status=$?
76336   grep -v '^ *+' conftest.er1 >conftest.err
76337   rm -f conftest.er1
76338   cat conftest.err >&5
76339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76340   (exit $ac_status); } >/dev/null; then
76341   if test -s conftest.err; then
76342     ac_cpp_err=$ac_c_preproc_warn_flag
76343     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76344   else
76345     ac_cpp_err=
76346   fi
76347 else
76348   ac_cpp_err=yes
76349 fi
76350 if test -z "$ac_cpp_err"; then
76351   ac_header_preproc=yes
76352 else
76353   echo "$as_me: failed program was:" >&5
76354 sed 's/^/| /' conftest.$ac_ext >&5
76355
76356   ac_header_preproc=no
76357 fi
76358 rm -f conftest.err conftest.$ac_ext
76359 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76360 echo "${ECHO_T}$ac_header_preproc" >&6
76361
76362 # So?  What about this header?
76363 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76364   yes:no: )
76365     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76366 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76367     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76368 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76369     ac_header_preproc=yes
76370     ;;
76371   no:yes:* )
76372     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76373 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76374     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
76375 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
76376     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76377 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76378     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
76379 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76380     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76381 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76382     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76383 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76384     (
76385       cat <<\_ASBOX
76386 ## ----------------------------------------- ##
76387 ## Report this to the package-unused lists.  ##
76388 ## ----------------------------------------- ##
76389 _ASBOX
76390     ) |
76391       sed "s/^/$as_me: WARNING:     /" >&2
76392     ;;
76393 esac
76394 echo "$as_me:$LINENO: checking for iconv.h" >&5
76395 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76396 if test "${ac_cv_header_iconv_h+set}" = set; then
76397   echo $ECHO_N "(cached) $ECHO_C" >&6
76398 else
76399   ac_cv_header_iconv_h=$ac_header_preproc
76400 fi
76401 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76402 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76403
76404 fi
76405 if test $ac_cv_header_iconv_h = yes; then
76406   ac_has_iconv_h=yes
76407 else
76408   ac_has_iconv_h=no
76409 fi
76410
76411
76412     if test "${ac_cv_header_langinfo_h+set}" = set; then
76413   echo "$as_me:$LINENO: checking for langinfo.h" >&5
76414 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76415 if test "${ac_cv_header_langinfo_h+set}" = set; then
76416   echo $ECHO_N "(cached) $ECHO_C" >&6
76417 fi
76418 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76419 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76420 else
76421   # Is the header compilable?
76422 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76423 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76424 cat >conftest.$ac_ext <<_ACEOF
76425 /* confdefs.h.  */
76426 _ACEOF
76427 cat confdefs.h >>conftest.$ac_ext
76428 cat >>conftest.$ac_ext <<_ACEOF
76429 /* end confdefs.h.  */
76430 $ac_includes_default
76431 #include <langinfo.h>
76432 _ACEOF
76433 rm -f conftest.$ac_objext
76434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76435   (eval $ac_compile) 2>conftest.er1
76436   ac_status=$?
76437   grep -v '^ *+' conftest.er1 >conftest.err
76438   rm -f conftest.er1
76439   cat conftest.err >&5
76440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76441   (exit $ac_status); } &&
76442          { ac_try='test -z "$ac_c_werror_flag"
76443                          || test ! -s conftest.err'
76444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76445   (eval $ac_try) 2>&5
76446   ac_status=$?
76447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76448   (exit $ac_status); }; } &&
76449          { ac_try='test -s conftest.$ac_objext'
76450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76451   (eval $ac_try) 2>&5
76452   ac_status=$?
76453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76454   (exit $ac_status); }; }; then
76455   ac_header_compiler=yes
76456 else
76457   echo "$as_me: failed program was:" >&5
76458 sed 's/^/| /' conftest.$ac_ext >&5
76459
76460 ac_header_compiler=no
76461 fi
76462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76463 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76464 echo "${ECHO_T}$ac_header_compiler" >&6
76465
76466 # Is the header present?
76467 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76468 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76469 cat >conftest.$ac_ext <<_ACEOF
76470 /* confdefs.h.  */
76471 _ACEOF
76472 cat confdefs.h >>conftest.$ac_ext
76473 cat >>conftest.$ac_ext <<_ACEOF
76474 /* end confdefs.h.  */
76475 #include <langinfo.h>
76476 _ACEOF
76477 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76478   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76479   ac_status=$?
76480   grep -v '^ *+' conftest.er1 >conftest.err
76481   rm -f conftest.er1
76482   cat conftest.err >&5
76483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76484   (exit $ac_status); } >/dev/null; then
76485   if test -s conftest.err; then
76486     ac_cpp_err=$ac_c_preproc_warn_flag
76487     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76488   else
76489     ac_cpp_err=
76490   fi
76491 else
76492   ac_cpp_err=yes
76493 fi
76494 if test -z "$ac_cpp_err"; then
76495   ac_header_preproc=yes
76496 else
76497   echo "$as_me: failed program was:" >&5
76498 sed 's/^/| /' conftest.$ac_ext >&5
76499
76500   ac_header_preproc=no
76501 fi
76502 rm -f conftest.err conftest.$ac_ext
76503 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76504 echo "${ECHO_T}$ac_header_preproc" >&6
76505
76506 # So?  What about this header?
76507 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76508   yes:no: )
76509     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76510 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76511     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76512 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76513     ac_header_preproc=yes
76514     ;;
76515   no:yes:* )
76516     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76517 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76518     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
76519 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
76520     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76521 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76522     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
76523 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76524     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76525 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76526     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76527 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76528     (
76529       cat <<\_ASBOX
76530 ## ----------------------------------------- ##
76531 ## Report this to the package-unused lists.  ##
76532 ## ----------------------------------------- ##
76533 _ASBOX
76534     ) |
76535       sed "s/^/$as_me: WARNING:     /" >&2
76536     ;;
76537 esac
76538 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76539 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76540 if test "${ac_cv_header_langinfo_h+set}" = set; then
76541   echo $ECHO_N "(cached) $ECHO_C" >&6
76542 else
76543   ac_cv_header_langinfo_h=$ac_header_preproc
76544 fi
76545 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76546 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76547
76548 fi
76549 if test $ac_cv_header_langinfo_h = yes; then
76550   ac_has_langinfo_h=yes
76551 else
76552   ac_has_langinfo_h=no
76553 fi
76554
76555
76556
76557     # Check for existence of libiconv.a providing XPG2 wchar_t support.
76558     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76559 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76560 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76561   echo $ECHO_N "(cached) $ECHO_C" >&6
76562 else
76563   ac_check_lib_save_LIBS=$LIBS
76564 LIBS="-liconv  $LIBS"
76565 if test x$gcc_no_link = xyes; then
76566   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76568    { (exit 1); exit 1; }; }
76569 fi
76570 cat >conftest.$ac_ext <<_ACEOF
76571 /* confdefs.h.  */
76572 _ACEOF
76573 cat confdefs.h >>conftest.$ac_ext
76574 cat >>conftest.$ac_ext <<_ACEOF
76575 /* end confdefs.h.  */
76576
76577 /* Override any gcc2 internal prototype to avoid an error.  */
76578 #ifdef __cplusplus
76579 extern "C"
76580 #endif
76581 /* We use char because int might match the return type of a gcc2
76582    builtin and then its argument prototype would still apply.  */
76583 char iconv ();
76584 int
76585 main ()
76586 {
76587 iconv ();
76588   ;
76589   return 0;
76590 }
76591 _ACEOF
76592 rm -f conftest.$ac_objext conftest$ac_exeext
76593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76594   (eval $ac_link) 2>conftest.er1
76595   ac_status=$?
76596   grep -v '^ *+' conftest.er1 >conftest.err
76597   rm -f conftest.er1
76598   cat conftest.err >&5
76599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76600   (exit $ac_status); } &&
76601          { ac_try='test -z "$ac_c_werror_flag"
76602                          || test ! -s conftest.err'
76603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76604   (eval $ac_try) 2>&5
76605   ac_status=$?
76606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76607   (exit $ac_status); }; } &&
76608          { ac_try='test -s conftest$ac_exeext'
76609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76610   (eval $ac_try) 2>&5
76611   ac_status=$?
76612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76613   (exit $ac_status); }; }; then
76614   ac_cv_lib_iconv_iconv=yes
76615 else
76616   echo "$as_me: failed program was:" >&5
76617 sed 's/^/| /' conftest.$ac_ext >&5
76618
76619 ac_cv_lib_iconv_iconv=no
76620 fi
76621 rm -f conftest.err conftest.$ac_objext \
76622       conftest$ac_exeext conftest.$ac_ext
76623 LIBS=$ac_check_lib_save_LIBS
76624 fi
76625 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76626 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76627 if test $ac_cv_lib_iconv_iconv = yes; then
76628   LIBICONV="-liconv"
76629 fi
76630
76631     ac_save_LIBS="$LIBS"
76632     LIBS="$LIBS $LIBICONV"
76633
76634
76635
76636
76637
76638
76639 for ac_func in iconv_open iconv_close iconv nl_langinfo
76640 do
76641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76642 echo "$as_me:$LINENO: checking for $ac_func" >&5
76643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76644 if eval "test \"\${$as_ac_var+set}\" = set"; then
76645   echo $ECHO_N "(cached) $ECHO_C" >&6
76646 else
76647   if test x$gcc_no_link = xyes; then
76648   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76650    { (exit 1); exit 1; }; }
76651 fi
76652 cat >conftest.$ac_ext <<_ACEOF
76653 /* confdefs.h.  */
76654 _ACEOF
76655 cat confdefs.h >>conftest.$ac_ext
76656 cat >>conftest.$ac_ext <<_ACEOF
76657 /* end confdefs.h.  */
76658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76659    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76660 #define $ac_func innocuous_$ac_func
76661
76662 /* System header to define __stub macros and hopefully few prototypes,
76663     which can conflict with char $ac_func (); below.
76664     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76665     <limits.h> exists even on freestanding compilers.  */
76666
76667 #ifdef __STDC__
76668 # include <limits.h>
76669 #else
76670 # include <assert.h>
76671 #endif
76672
76673 #undef $ac_func
76674
76675 /* Override any gcc2 internal prototype to avoid an error.  */
76676 #ifdef __cplusplus
76677 extern "C"
76678 {
76679 #endif
76680 /* We use char because int might match the return type of a gcc2
76681    builtin and then its argument prototype would still apply.  */
76682 char $ac_func ();
76683 /* The GNU C library defines this for functions which it implements
76684     to always fail with ENOSYS.  Some functions are actually named
76685     something starting with __ and the normal name is an alias.  */
76686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76687 choke me
76688 #else
76689 char (*f) () = $ac_func;
76690 #endif
76691 #ifdef __cplusplus
76692 }
76693 #endif
76694
76695 int
76696 main ()
76697 {
76698 return f != $ac_func;
76699   ;
76700   return 0;
76701 }
76702 _ACEOF
76703 rm -f conftest.$ac_objext conftest$ac_exeext
76704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76705   (eval $ac_link) 2>conftest.er1
76706   ac_status=$?
76707   grep -v '^ *+' conftest.er1 >conftest.err
76708   rm -f conftest.er1
76709   cat conftest.err >&5
76710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76711   (exit $ac_status); } &&
76712          { ac_try='test -z "$ac_c_werror_flag"
76713                          || test ! -s conftest.err'
76714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76715   (eval $ac_try) 2>&5
76716   ac_status=$?
76717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76718   (exit $ac_status); }; } &&
76719          { ac_try='test -s conftest$ac_exeext'
76720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76721   (eval $ac_try) 2>&5
76722   ac_status=$?
76723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76724   (exit $ac_status); }; }; then
76725   eval "$as_ac_var=yes"
76726 else
76727   echo "$as_me: failed program was:" >&5
76728 sed 's/^/| /' conftest.$ac_ext >&5
76729
76730 eval "$as_ac_var=no"
76731 fi
76732 rm -f conftest.err conftest.$ac_objext \
76733       conftest$ac_exeext conftest.$ac_ext
76734 fi
76735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76737 if test `eval echo '${'$as_ac_var'}'` = yes; then
76738   cat >>confdefs.h <<_ACEOF
76739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76740 _ACEOF
76741  ac_XPG2funcs=yes
76742 else
76743   ac_XPG2funcs=no
76744 fi
76745 done
76746
76747
76748     LIBS="$ac_save_LIBS"
76749
76750     if test x"$ac_has_iconv_h" = xyes &&
76751        test x"$ac_has_langinfo_h" = xyes &&
76752        test x"$ac_XPG2funcs" = xyes;
76753     then
76754
76755 cat >>confdefs.h <<\_ACEOF
76756 #define _GLIBCXX_USE_ICONV 1
76757 _ACEOF
76758
76759       enable_iconv=yes
76760     fi
76761   fi
76762   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76763 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76764   echo "$as_me:$LINENO: result: $enable_iconv" >&5
76765 echo "${ECHO_T}$enable_iconv" >&6
76766
76767     cat >>confdefs.h <<\_ACEOF
76768 #define HAVE_LC_MESSAGES 1
76769 _ACEOF
76770
76771     cat >>confdefs.h <<\_ACEOF
76772 #define HAVE_GETPAGESIZE 1
76773 _ACEOF
76774
76775     cat >>confdefs.h <<\_ACEOF
76776 #define HAVE_SETENV 1
76777 _ACEOF
76778
76779     cat >>confdefs.h <<\_ACEOF
76780 #define HAVE_SIGSETJMP 1
76781 _ACEOF
76782
76783     cat >>confdefs.h <<\_ACEOF
76784 #define HAVE_COPYSIGN 1
76785 _ACEOF
76786
76787     cat >>confdefs.h <<\_ACEOF
76788 #define HAVE_COPYSIGNF 1
76789 _ACEOF
76790
76791     cat >>confdefs.h <<\_ACEOF
76792 #define HAVE_FINITEF 1
76793 _ACEOF
76794
76795     cat >>confdefs.h <<\_ACEOF
76796 #define HAVE_FINITE 1
76797 _ACEOF
76798
76799     cat >>confdefs.h <<\_ACEOF
76800 #define HAVE_FREXPF 1
76801 _ACEOF
76802
76803     cat >>confdefs.h <<\_ACEOF
76804 #define HAVE_HYPOT 1
76805 _ACEOF
76806
76807     cat >>confdefs.h <<\_ACEOF
76808 #define HAVE_HYPOTF 1
76809 _ACEOF
76810
76811     cat >>confdefs.h <<\_ACEOF
76812 #define HAVE_ISINF 1
76813 _ACEOF
76814
76815     cat >>confdefs.h <<\_ACEOF
76816 #define HAVE_ISNAN 1
76817 _ACEOF
76818
76819     cat >>confdefs.h <<\_ACEOF
76820 #define HAVE_ISNANF 1
76821 _ACEOF
76822
76823
76824     cat >>confdefs.h <<\_ACEOF
76825 #define HAVE_MMAP 1
76826 _ACEOF
76827
76828     cat >>confdefs.h <<\_ACEOF
76829 #define HAVE_ACOSF 1
76830 _ACEOF
76831
76832     cat >>confdefs.h <<\_ACEOF
76833 #define HAVE_ASINF 1
76834 _ACEOF
76835
76836     cat >>confdefs.h <<\_ACEOF
76837 #define HAVE_ATAN2F 1
76838 _ACEOF
76839
76840     cat >>confdefs.h <<\_ACEOF
76841 #define HAVE_ATANF 1
76842 _ACEOF
76843
76844     cat >>confdefs.h <<\_ACEOF
76845 #define HAVE_CEILF 1
76846 _ACEOF
76847
76848     cat >>confdefs.h <<\_ACEOF
76849 #define HAVE_COPYSIGN 1
76850 _ACEOF
76851
76852     cat >>confdefs.h <<\_ACEOF
76853 #define HAVE_COPYSIGNF 1
76854 _ACEOF
76855
76856     cat >>confdefs.h <<\_ACEOF
76857 #define HAVE_COSF 1
76858 _ACEOF
76859
76860     cat >>confdefs.h <<\_ACEOF
76861 #define HAVE_COSHF 1
76862 _ACEOF
76863
76864     cat >>confdefs.h <<\_ACEOF
76865 #define HAVE_EXPF 1
76866 _ACEOF
76867
76868     cat >>confdefs.h <<\_ACEOF
76869 #define HAVE_FABSF 1
76870 _ACEOF
76871
76872     cat >>confdefs.h <<\_ACEOF
76873 #define HAVE_FLOORF 1
76874 _ACEOF
76875
76876     cat >>confdefs.h <<\_ACEOF
76877 #define HAVE_FMODF 1
76878 _ACEOF
76879
76880     cat >>confdefs.h <<\_ACEOF
76881 #define HAVE_FREXPF 1
76882 _ACEOF
76883
76884     cat >>confdefs.h <<\_ACEOF
76885 #define HAVE_LDEXPF 1
76886 _ACEOF
76887
76888     cat >>confdefs.h <<\_ACEOF
76889 #define HAVE_LOG10F 1
76890 _ACEOF
76891
76892     cat >>confdefs.h <<\_ACEOF
76893 #define HAVE_LOGF 1
76894 _ACEOF
76895
76896     cat >>confdefs.h <<\_ACEOF
76897 #define HAVE_MODFF 1
76898 _ACEOF
76899
76900     cat >>confdefs.h <<\_ACEOF
76901 #define HAVE_POWF 1
76902 _ACEOF
76903
76904     cat >>confdefs.h <<\_ACEOF
76905 #define HAVE_SINF 1
76906 _ACEOF
76907
76908     cat >>confdefs.h <<\_ACEOF
76909 #define HAVE_SINHF 1
76910 _ACEOF
76911
76912     cat >>confdefs.h <<\_ACEOF
76913 #define HAVE_SQRTF 1
76914 _ACEOF
76915
76916     cat >>confdefs.h <<\_ACEOF
76917 #define HAVE_TANF 1
76918 _ACEOF
76919
76920     cat >>confdefs.h <<\_ACEOF
76921 #define HAVE_TANHF 1
76922 _ACEOF
76923
76924     if test x"long_double_math_on_this_cpu" = x"yes"; then
76925       cat >>confdefs.h <<\_ACEOF
76926 #define HAVE_FINITEL 1
76927 _ACEOF
76928
76929       cat >>confdefs.h <<\_ACEOF
76930 #define HAVE_ISINFL 1
76931 _ACEOF
76932
76933       cat >>confdefs.h <<\_ACEOF
76934 #define HAVE_ISNANL 1
76935 _ACEOF
76936
76937     fi
76938     ;;
76939   *-hpux*)
76940
76941
76942
76943
76944
76945
76946
76947
76948
76949
76950
76951
76952 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
76953       machine/endian.h machine/param.h sys/machine.h sys/types.h \
76954       fp.h locale.h float.h inttypes.h
76955 do
76956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76958   echo "$as_me:$LINENO: checking for $ac_header" >&5
76959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76961   echo $ECHO_N "(cached) $ECHO_C" >&6
76962 fi
76963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76965 else
76966   # Is the header compilable?
76967 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76968 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76969 cat >conftest.$ac_ext <<_ACEOF
76970 /* confdefs.h.  */
76971 _ACEOF
76972 cat confdefs.h >>conftest.$ac_ext
76973 cat >>conftest.$ac_ext <<_ACEOF
76974 /* end confdefs.h.  */
76975 $ac_includes_default
76976 #include <$ac_header>
76977 _ACEOF
76978 rm -f conftest.$ac_objext
76979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76980   (eval $ac_compile) 2>conftest.er1
76981   ac_status=$?
76982   grep -v '^ *+' conftest.er1 >conftest.err
76983   rm -f conftest.er1
76984   cat conftest.err >&5
76985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76986   (exit $ac_status); } &&
76987          { ac_try='test -z "$ac_c_werror_flag"
76988                          || test ! -s conftest.err'
76989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76990   (eval $ac_try) 2>&5
76991   ac_status=$?
76992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76993   (exit $ac_status); }; } &&
76994          { ac_try='test -s conftest.$ac_objext'
76995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76996   (eval $ac_try) 2>&5
76997   ac_status=$?
76998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76999   (exit $ac_status); }; }; then
77000   ac_header_compiler=yes
77001 else
77002   echo "$as_me: failed program was:" >&5
77003 sed 's/^/| /' conftest.$ac_ext >&5
77004
77005 ac_header_compiler=no
77006 fi
77007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77008 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77009 echo "${ECHO_T}$ac_header_compiler" >&6
77010
77011 # Is the header present?
77012 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77013 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77014 cat >conftest.$ac_ext <<_ACEOF
77015 /* confdefs.h.  */
77016 _ACEOF
77017 cat confdefs.h >>conftest.$ac_ext
77018 cat >>conftest.$ac_ext <<_ACEOF
77019 /* end confdefs.h.  */
77020 #include <$ac_header>
77021 _ACEOF
77022 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77023   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77024   ac_status=$?
77025   grep -v '^ *+' conftest.er1 >conftest.err
77026   rm -f conftest.er1
77027   cat conftest.err >&5
77028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77029   (exit $ac_status); } >/dev/null; then
77030   if test -s conftest.err; then
77031     ac_cpp_err=$ac_c_preproc_warn_flag
77032     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77033   else
77034     ac_cpp_err=
77035   fi
77036 else
77037   ac_cpp_err=yes
77038 fi
77039 if test -z "$ac_cpp_err"; then
77040   ac_header_preproc=yes
77041 else
77042   echo "$as_me: failed program was:" >&5
77043 sed 's/^/| /' conftest.$ac_ext >&5
77044
77045   ac_header_preproc=no
77046 fi
77047 rm -f conftest.err conftest.$ac_ext
77048 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77049 echo "${ECHO_T}$ac_header_preproc" >&6
77050
77051 # So?  What about this header?
77052 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77053   yes:no: )
77054     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77055 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77056     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77057 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77058     ac_header_preproc=yes
77059     ;;
77060   no:yes:* )
77061     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77062 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77063     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
77064 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
77065     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77066 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77067     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
77068 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
77069     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77070 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77071     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77072 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77073     (
77074       cat <<\_ASBOX
77075 ## ----------------------------------------- ##
77076 ## Report this to the package-unused lists.  ##
77077 ## ----------------------------------------- ##
77078 _ASBOX
77079     ) |
77080       sed "s/^/$as_me: WARNING:     /" >&2
77081     ;;
77082 esac
77083 echo "$as_me:$LINENO: checking for $ac_header" >&5
77084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77086   echo $ECHO_N "(cached) $ECHO_C" >&6
77087 else
77088   eval "$as_ac_Header=\$ac_header_preproc"
77089 fi
77090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77092
77093 fi
77094 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77095   cat >>confdefs.h <<_ACEOF
77096 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77097 _ACEOF
77098
77099 fi
77100
77101 done
77102
77103     SECTION_FLAGS='-ffunction-sections -fdata-sections'
77104
77105
77106   # If we're not using GNU ld, then there's no point in even trying these
77107   # tests.  Check for that first.  We should have already tested for gld
77108   # by now (in libtool), but require it now just to be safe...
77109   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77110   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77111
77112
77113
77114   # The name set by libtool depends on the version of libtool.  Shame on us
77115   # for depending on an impl detail, but c'est la vie.  Older versions used
77116   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77117   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77118   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
77119   # set (hence we're using an older libtool), then set it.
77120   if test x${with_gnu_ld+set} != xset; then
77121     if test x${ac_cv_prog_gnu_ld+set} != xset; then
77122       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
77123       with_gnu_ld=no
77124     else
77125       with_gnu_ld=$ac_cv_prog_gnu_ld
77126     fi
77127   fi
77128
77129   # Start by getting the version number.  I think the libtool test already
77130   # does some of this, but throws away the result.
77131   echo "$as_me:$LINENO: checking for ld version" >&5
77132 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
77133
77134   ldver=`$LD --version 2>/dev/null | head -1 | \
77135          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77136
77137   glibcxx_gnu_ld_version=`echo $ldver | \
77138          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77139   echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
77140 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
77141
77142   # Set --gc-sections.
77143   glibcxx_gcsections_min_ld=21602
77144   if test x"$with_gnu_ld" = x"yes" &&
77145         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
77146
77147     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
77148     # NB: This flag only works reliably after 2.16.1. Configure tests
77149     # for this are difficult, so hard wire a value that should work.
77150
77151     # All these tests are for C++, but run with the "C" compiler driver.
77152     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
77153     ac_test_CFLAGS="${CFLAGS+set}"
77154     ac_save_CFLAGS="$CFLAGS"
77155     CFLAGS='-x c++ -Wl,--gc-sections'
77156
77157     # Check for -Wl,--gc-sections
77158     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77159 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77160     if test x$gcc_no_link = xyes; then
77161   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77163    { (exit 1); exit 1; }; }
77164 fi
77165 cat >conftest.$ac_ext <<_ACEOF
77166 /* confdefs.h.  */
77167 _ACEOF
77168 cat confdefs.h >>conftest.$ac_ext
77169 cat >>conftest.$ac_ext <<_ACEOF
77170 /* end confdefs.h.  */
77171  int one(void) { return 1; }
77172      int two(void) { return 2; }
77173
77174 int
77175 main ()
77176 {
77177  two();
77178   ;
77179   return 0;
77180 }
77181 _ACEOF
77182 rm -f conftest.$ac_objext conftest$ac_exeext
77183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77184   (eval $ac_link) 2>conftest.er1
77185   ac_status=$?
77186   grep -v '^ *+' conftest.er1 >conftest.err
77187   rm -f conftest.er1
77188   cat conftest.err >&5
77189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77190   (exit $ac_status); } &&
77191          { ac_try='test -z "$ac_c_werror_flag"
77192                          || test ! -s conftest.err'
77193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77194   (eval $ac_try) 2>&5
77195   ac_status=$?
77196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77197   (exit $ac_status); }; } &&
77198          { ac_try='test -s conftest$ac_exeext'
77199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77200   (eval $ac_try) 2>&5
77201   ac_status=$?
77202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77203   (exit $ac_status); }; }; then
77204   ac_gcsections=yes
77205 else
77206   echo "$as_me: failed program was:" >&5
77207 sed 's/^/| /' conftest.$ac_ext >&5
77208
77209 ac_gcsections=no
77210 fi
77211 rm -f conftest.err conftest.$ac_objext \
77212       conftest$ac_exeext conftest.$ac_ext
77213     if test "$ac_gcsections" = "yes"; then
77214       rm -f conftest.c
77215       touch conftest.c
77216       if $CC -c conftest.c; then
77217         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
77218            grep "Warning: gc-sections option ignored" > /dev/null; then
77219           ac_gcsections=no
77220         fi
77221       fi
77222       rm -f conftest.c conftest.o conftest
77223     fi
77224     if test "$ac_gcsections" = "yes"; then
77225       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77226     fi
77227     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
77228 echo "${ECHO_T}$ac_gcsections" >&6
77229
77230     if test "$ac_test_CFLAGS" = set; then
77231       CFLAGS="$ac_save_CFLAGS"
77232     else
77233       # this is the suspicious part
77234       CFLAGS=''
77235     fi
77236   fi
77237
77238   # Set -z,relro.
77239   # Note this is only for shared objects.
77240   ac_ld_relro=no
77241   if test x"$with_gnu_ld" = x"yes"; then
77242     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
77243 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
77244     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
77245     if test -n "$cxx_z_relo"; then
77246       OPT_LDFLAGS="-Wl,-z,relro"
77247       ac_ld_relro=yes
77248     fi
77249     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
77250 echo "${ECHO_T}$ac_ld_relro" >&6
77251   fi
77252
77253   # Set linker optimization flags.
77254   if test x"$with_gnu_ld" = x"yes"; then
77255     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77256   fi
77257
77258
77259
77260
77261
77262
77263 echo "$as_me:$LINENO: checking for main in -lm" >&5
77264 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77265 if test "${ac_cv_lib_m_main+set}" = set; then
77266   echo $ECHO_N "(cached) $ECHO_C" >&6
77267 else
77268   ac_check_lib_save_LIBS=$LIBS
77269 LIBS="-lm  $LIBS"
77270 if test x$gcc_no_link = xyes; then
77271   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77273    { (exit 1); exit 1; }; }
77274 fi
77275 cat >conftest.$ac_ext <<_ACEOF
77276 /* confdefs.h.  */
77277 _ACEOF
77278 cat confdefs.h >>conftest.$ac_ext
77279 cat >>conftest.$ac_ext <<_ACEOF
77280 /* end confdefs.h.  */
77281
77282
77283 int
77284 main ()
77285 {
77286 main ();
77287   ;
77288   return 0;
77289 }
77290 _ACEOF
77291 rm -f conftest.$ac_objext conftest$ac_exeext
77292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77293   (eval $ac_link) 2>conftest.er1
77294   ac_status=$?
77295   grep -v '^ *+' conftest.er1 >conftest.err
77296   rm -f conftest.er1
77297   cat conftest.err >&5
77298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77299   (exit $ac_status); } &&
77300          { ac_try='test -z "$ac_c_werror_flag"
77301                          || test ! -s conftest.err'
77302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77303   (eval $ac_try) 2>&5
77304   ac_status=$?
77305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77306   (exit $ac_status); }; } &&
77307          { ac_try='test -s conftest$ac_exeext'
77308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77309   (eval $ac_try) 2>&5
77310   ac_status=$?
77311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77312   (exit $ac_status); }; }; then
77313   ac_cv_lib_m_main=yes
77314 else
77315   echo "$as_me: failed program was:" >&5
77316 sed 's/^/| /' conftest.$ac_ext >&5
77317
77318 ac_cv_lib_m_main=no
77319 fi
77320 rm -f conftest.err conftest.$ac_objext \
77321       conftest$ac_exeext conftest.$ac_ext
77322 LIBS=$ac_check_lib_save_LIBS
77323 fi
77324 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77325 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77326 if test $ac_cv_lib_m_main = yes; then
77327   cat >>confdefs.h <<_ACEOF
77328 #define HAVE_LIBM 1
77329 _ACEOF
77330
77331   LIBS="-lm $LIBS"
77332
77333 fi
77334
77335
77336 for ac_func in copysignf
77337 do
77338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77339 echo "$as_me:$LINENO: checking for $ac_func" >&5
77340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77341 if eval "test \"\${$as_ac_var+set}\" = set"; then
77342   echo $ECHO_N "(cached) $ECHO_C" >&6
77343 else
77344   if test x$gcc_no_link = xyes; then
77345   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77347    { (exit 1); exit 1; }; }
77348 fi
77349 cat >conftest.$ac_ext <<_ACEOF
77350 /* confdefs.h.  */
77351 _ACEOF
77352 cat confdefs.h >>conftest.$ac_ext
77353 cat >>conftest.$ac_ext <<_ACEOF
77354 /* end confdefs.h.  */
77355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77356    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77357 #define $ac_func innocuous_$ac_func
77358
77359 /* System header to define __stub macros and hopefully few prototypes,
77360     which can conflict with char $ac_func (); below.
77361     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77362     <limits.h> exists even on freestanding compilers.  */
77363
77364 #ifdef __STDC__
77365 # include <limits.h>
77366 #else
77367 # include <assert.h>
77368 #endif
77369
77370 #undef $ac_func
77371
77372 /* Override any gcc2 internal prototype to avoid an error.  */
77373 #ifdef __cplusplus
77374 extern "C"
77375 {
77376 #endif
77377 /* We use char because int might match the return type of a gcc2
77378    builtin and then its argument prototype would still apply.  */
77379 char $ac_func ();
77380 /* The GNU C library defines this for functions which it implements
77381     to always fail with ENOSYS.  Some functions are actually named
77382     something starting with __ and the normal name is an alias.  */
77383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77384 choke me
77385 #else
77386 char (*f) () = $ac_func;
77387 #endif
77388 #ifdef __cplusplus
77389 }
77390 #endif
77391
77392 int
77393 main ()
77394 {
77395 return f != $ac_func;
77396   ;
77397   return 0;
77398 }
77399 _ACEOF
77400 rm -f conftest.$ac_objext conftest$ac_exeext
77401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77402   (eval $ac_link) 2>conftest.er1
77403   ac_status=$?
77404   grep -v '^ *+' conftest.er1 >conftest.err
77405   rm -f conftest.er1
77406   cat conftest.err >&5
77407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77408   (exit $ac_status); } &&
77409          { ac_try='test -z "$ac_c_werror_flag"
77410                          || test ! -s conftest.err'
77411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77412   (eval $ac_try) 2>&5
77413   ac_status=$?
77414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77415   (exit $ac_status); }; } &&
77416          { ac_try='test -s conftest$ac_exeext'
77417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77418   (eval $ac_try) 2>&5
77419   ac_status=$?
77420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77421   (exit $ac_status); }; }; then
77422   eval "$as_ac_var=yes"
77423 else
77424   echo "$as_me: failed program was:" >&5
77425 sed 's/^/| /' conftest.$ac_ext >&5
77426
77427 eval "$as_ac_var=no"
77428 fi
77429 rm -f conftest.err conftest.$ac_objext \
77430       conftest$ac_exeext conftest.$ac_ext
77431 fi
77432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77434 if test `eval echo '${'$as_ac_var'}'` = yes; then
77435   cat >>confdefs.h <<_ACEOF
77436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77437 _ACEOF
77438
77439 else
77440   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77441 fi
77442 done
77443
77444
77445
77446 for ac_func in __signbit
77447 do
77448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77449 echo "$as_me:$LINENO: checking for $ac_func" >&5
77450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77451 if eval "test \"\${$as_ac_var+set}\" = set"; then
77452   echo $ECHO_N "(cached) $ECHO_C" >&6
77453 else
77454   if test x$gcc_no_link = xyes; then
77455   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77457    { (exit 1); exit 1; }; }
77458 fi
77459 cat >conftest.$ac_ext <<_ACEOF
77460 /* confdefs.h.  */
77461 _ACEOF
77462 cat confdefs.h >>conftest.$ac_ext
77463 cat >>conftest.$ac_ext <<_ACEOF
77464 /* end confdefs.h.  */
77465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77466    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77467 #define $ac_func innocuous_$ac_func
77468
77469 /* System header to define __stub macros and hopefully few prototypes,
77470     which can conflict with char $ac_func (); below.
77471     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77472     <limits.h> exists even on freestanding compilers.  */
77473
77474 #ifdef __STDC__
77475 # include <limits.h>
77476 #else
77477 # include <assert.h>
77478 #endif
77479
77480 #undef $ac_func
77481
77482 /* Override any gcc2 internal prototype to avoid an error.  */
77483 #ifdef __cplusplus
77484 extern "C"
77485 {
77486 #endif
77487 /* We use char because int might match the return type of a gcc2
77488    builtin and then its argument prototype would still apply.  */
77489 char $ac_func ();
77490 /* The GNU C library defines this for functions which it implements
77491     to always fail with ENOSYS.  Some functions are actually named
77492     something starting with __ and the normal name is an alias.  */
77493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77494 choke me
77495 #else
77496 char (*f) () = $ac_func;
77497 #endif
77498 #ifdef __cplusplus
77499 }
77500 #endif
77501
77502 int
77503 main ()
77504 {
77505 return f != $ac_func;
77506   ;
77507   return 0;
77508 }
77509 _ACEOF
77510 rm -f conftest.$ac_objext conftest$ac_exeext
77511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77512   (eval $ac_link) 2>conftest.er1
77513   ac_status=$?
77514   grep -v '^ *+' conftest.er1 >conftest.err
77515   rm -f conftest.er1
77516   cat conftest.err >&5
77517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77518   (exit $ac_status); } &&
77519          { ac_try='test -z "$ac_c_werror_flag"
77520                          || test ! -s conftest.err'
77521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77522   (eval $ac_try) 2>&5
77523   ac_status=$?
77524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77525   (exit $ac_status); }; } &&
77526          { ac_try='test -s conftest$ac_exeext'
77527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77528   (eval $ac_try) 2>&5
77529   ac_status=$?
77530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77531   (exit $ac_status); }; }; then
77532   eval "$as_ac_var=yes"
77533 else
77534   echo "$as_me: failed program was:" >&5
77535 sed 's/^/| /' conftest.$ac_ext >&5
77536
77537 eval "$as_ac_var=no"
77538 fi
77539 rm -f conftest.err conftest.$ac_objext \
77540       conftest$ac_exeext conftest.$ac_ext
77541 fi
77542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77544 if test `eval echo '${'$as_ac_var'}'` = yes; then
77545   cat >>confdefs.h <<_ACEOF
77546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77547 _ACEOF
77548
77549 else
77550   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77551 fi
77552 done
77553
77554
77555
77556 for ac_func in __signbitf
77557 do
77558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77559 echo "$as_me:$LINENO: checking for $ac_func" >&5
77560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77561 if eval "test \"\${$as_ac_var+set}\" = set"; then
77562   echo $ECHO_N "(cached) $ECHO_C" >&6
77563 else
77564   if test x$gcc_no_link = xyes; then
77565   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77567    { (exit 1); exit 1; }; }
77568 fi
77569 cat >conftest.$ac_ext <<_ACEOF
77570 /* confdefs.h.  */
77571 _ACEOF
77572 cat confdefs.h >>conftest.$ac_ext
77573 cat >>conftest.$ac_ext <<_ACEOF
77574 /* end confdefs.h.  */
77575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77576    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77577 #define $ac_func innocuous_$ac_func
77578
77579 /* System header to define __stub macros and hopefully few prototypes,
77580     which can conflict with char $ac_func (); below.
77581     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77582     <limits.h> exists even on freestanding compilers.  */
77583
77584 #ifdef __STDC__
77585 # include <limits.h>
77586 #else
77587 # include <assert.h>
77588 #endif
77589
77590 #undef $ac_func
77591
77592 /* Override any gcc2 internal prototype to avoid an error.  */
77593 #ifdef __cplusplus
77594 extern "C"
77595 {
77596 #endif
77597 /* We use char because int might match the return type of a gcc2
77598    builtin and then its argument prototype would still apply.  */
77599 char $ac_func ();
77600 /* The GNU C library defines this for functions which it implements
77601     to always fail with ENOSYS.  Some functions are actually named
77602     something starting with __ and the normal name is an alias.  */
77603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77604 choke me
77605 #else
77606 char (*f) () = $ac_func;
77607 #endif
77608 #ifdef __cplusplus
77609 }
77610 #endif
77611
77612 int
77613 main ()
77614 {
77615 return f != $ac_func;
77616   ;
77617   return 0;
77618 }
77619 _ACEOF
77620 rm -f conftest.$ac_objext conftest$ac_exeext
77621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77622   (eval $ac_link) 2>conftest.er1
77623   ac_status=$?
77624   grep -v '^ *+' conftest.er1 >conftest.err
77625   rm -f conftest.er1
77626   cat conftest.err >&5
77627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77628   (exit $ac_status); } &&
77629          { ac_try='test -z "$ac_c_werror_flag"
77630                          || test ! -s conftest.err'
77631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77632   (eval $ac_try) 2>&5
77633   ac_status=$?
77634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77635   (exit $ac_status); }; } &&
77636          { ac_try='test -s conftest$ac_exeext'
77637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77638   (eval $ac_try) 2>&5
77639   ac_status=$?
77640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77641   (exit $ac_status); }; }; then
77642   eval "$as_ac_var=yes"
77643 else
77644   echo "$as_me: failed program was:" >&5
77645 sed 's/^/| /' conftest.$ac_ext >&5
77646
77647 eval "$as_ac_var=no"
77648 fi
77649 rm -f conftest.err conftest.$ac_objext \
77650       conftest$ac_exeext conftest.$ac_ext
77651 fi
77652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77654 if test `eval echo '${'$as_ac_var'}'` = yes; then
77655   cat >>confdefs.h <<_ACEOF
77656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77657 _ACEOF
77658
77659 else
77660   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77661 fi
77662 done
77663
77664
77665           if test x$ac_cv_func_copysignl = x"yes"; then
77666
77667 for ac_func in __signbitl
77668 do
77669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77670 echo "$as_me:$LINENO: checking for $ac_func" >&5
77671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77672 if eval "test \"\${$as_ac_var+set}\" = set"; then
77673   echo $ECHO_N "(cached) $ECHO_C" >&6
77674 else
77675   if test x$gcc_no_link = xyes; then
77676   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77678    { (exit 1); exit 1; }; }
77679 fi
77680 cat >conftest.$ac_ext <<_ACEOF
77681 /* confdefs.h.  */
77682 _ACEOF
77683 cat confdefs.h >>conftest.$ac_ext
77684 cat >>conftest.$ac_ext <<_ACEOF
77685 /* end confdefs.h.  */
77686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77687    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77688 #define $ac_func innocuous_$ac_func
77689
77690 /* System header to define __stub macros and hopefully few prototypes,
77691     which can conflict with char $ac_func (); below.
77692     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77693     <limits.h> exists even on freestanding compilers.  */
77694
77695 #ifdef __STDC__
77696 # include <limits.h>
77697 #else
77698 # include <assert.h>
77699 #endif
77700
77701 #undef $ac_func
77702
77703 /* Override any gcc2 internal prototype to avoid an error.  */
77704 #ifdef __cplusplus
77705 extern "C"
77706 {
77707 #endif
77708 /* We use char because int might match the return type of a gcc2
77709    builtin and then its argument prototype would still apply.  */
77710 char $ac_func ();
77711 /* The GNU C library defines this for functions which it implements
77712     to always fail with ENOSYS.  Some functions are actually named
77713     something starting with __ and the normal name is an alias.  */
77714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77715 choke me
77716 #else
77717 char (*f) () = $ac_func;
77718 #endif
77719 #ifdef __cplusplus
77720 }
77721 #endif
77722
77723 int
77724 main ()
77725 {
77726 return f != $ac_func;
77727   ;
77728   return 0;
77729 }
77730 _ACEOF
77731 rm -f conftest.$ac_objext conftest$ac_exeext
77732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77733   (eval $ac_link) 2>conftest.er1
77734   ac_status=$?
77735   grep -v '^ *+' conftest.er1 >conftest.err
77736   rm -f conftest.er1
77737   cat conftest.err >&5
77738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77739   (exit $ac_status); } &&
77740          { ac_try='test -z "$ac_c_werror_flag"
77741                          || test ! -s conftest.err'
77742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77743   (eval $ac_try) 2>&5
77744   ac_status=$?
77745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77746   (exit $ac_status); }; } &&
77747          { ac_try='test -s conftest$ac_exeext'
77748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77749   (eval $ac_try) 2>&5
77750   ac_status=$?
77751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77752   (exit $ac_status); }; }; then
77753   eval "$as_ac_var=yes"
77754 else
77755   echo "$as_me: failed program was:" >&5
77756 sed 's/^/| /' conftest.$ac_ext >&5
77757
77758 eval "$as_ac_var=no"
77759 fi
77760 rm -f conftest.err conftest.$ac_objext \
77761       conftest$ac_exeext conftest.$ac_ext
77762 fi
77763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77765 if test `eval echo '${'$as_ac_var'}'` = yes; then
77766   cat >>confdefs.h <<_ACEOF
77767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77768 _ACEOF
77769
77770 else
77771   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77772 fi
77773 done
77774
77775   fi
77776
77777   # Used in libmath/Makefile.am.
77778   if test -n "$LIBMATHOBJS"; then
77779     need_libmath=yes
77780   fi
77781
77782
77783
77784
77785   enable_iconv=no
77786   # Only continue checking if the ISO C99 headers exist and support is on.
77787   if test x"$enable_wchar_t" = xyes; then
77788
77789     # Use iconv for wchar_t to char conversions. As such, check for
77790     # X/Open Portability Guide, version 2 features (XPG2).
77791     if test "${ac_cv_header_iconv_h+set}" = set; then
77792   echo "$as_me:$LINENO: checking for iconv.h" >&5
77793 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77794 if test "${ac_cv_header_iconv_h+set}" = set; then
77795   echo $ECHO_N "(cached) $ECHO_C" >&6
77796 fi
77797 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77798 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77799 else
77800   # Is the header compilable?
77801 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77802 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77803 cat >conftest.$ac_ext <<_ACEOF
77804 /* confdefs.h.  */
77805 _ACEOF
77806 cat confdefs.h >>conftest.$ac_ext
77807 cat >>conftest.$ac_ext <<_ACEOF
77808 /* end confdefs.h.  */
77809 $ac_includes_default
77810 #include <iconv.h>
77811 _ACEOF
77812 rm -f conftest.$ac_objext
77813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77814   (eval $ac_compile) 2>conftest.er1
77815   ac_status=$?
77816   grep -v '^ *+' conftest.er1 >conftest.err
77817   rm -f conftest.er1
77818   cat conftest.err >&5
77819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77820   (exit $ac_status); } &&
77821          { ac_try='test -z "$ac_c_werror_flag"
77822                          || test ! -s conftest.err'
77823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77824   (eval $ac_try) 2>&5
77825   ac_status=$?
77826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77827   (exit $ac_status); }; } &&
77828          { ac_try='test -s conftest.$ac_objext'
77829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77830   (eval $ac_try) 2>&5
77831   ac_status=$?
77832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77833   (exit $ac_status); }; }; then
77834   ac_header_compiler=yes
77835 else
77836   echo "$as_me: failed program was:" >&5
77837 sed 's/^/| /' conftest.$ac_ext >&5
77838
77839 ac_header_compiler=no
77840 fi
77841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77842 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77843 echo "${ECHO_T}$ac_header_compiler" >&6
77844
77845 # Is the header present?
77846 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77847 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77848 cat >conftest.$ac_ext <<_ACEOF
77849 /* confdefs.h.  */
77850 _ACEOF
77851 cat confdefs.h >>conftest.$ac_ext
77852 cat >>conftest.$ac_ext <<_ACEOF
77853 /* end confdefs.h.  */
77854 #include <iconv.h>
77855 _ACEOF
77856 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77857   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77858   ac_status=$?
77859   grep -v '^ *+' conftest.er1 >conftest.err
77860   rm -f conftest.er1
77861   cat conftest.err >&5
77862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77863   (exit $ac_status); } >/dev/null; then
77864   if test -s conftest.err; then
77865     ac_cpp_err=$ac_c_preproc_warn_flag
77866     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77867   else
77868     ac_cpp_err=
77869   fi
77870 else
77871   ac_cpp_err=yes
77872 fi
77873 if test -z "$ac_cpp_err"; then
77874   ac_header_preproc=yes
77875 else
77876   echo "$as_me: failed program was:" >&5
77877 sed 's/^/| /' conftest.$ac_ext >&5
77878
77879   ac_header_preproc=no
77880 fi
77881 rm -f conftest.err conftest.$ac_ext
77882 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77883 echo "${ECHO_T}$ac_header_preproc" >&6
77884
77885 # So?  What about this header?
77886 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77887   yes:no: )
77888     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
77889 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77890     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
77891 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
77892     ac_header_preproc=yes
77893     ;;
77894   no:yes:* )
77895     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
77896 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
77897     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
77898 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
77899     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
77900 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
77901     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
77902 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
77903     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77904 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77905     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
77906 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
77907     (
77908       cat <<\_ASBOX
77909 ## ----------------------------------------- ##
77910 ## Report this to the package-unused lists.  ##
77911 ## ----------------------------------------- ##
77912 _ASBOX
77913     ) |
77914       sed "s/^/$as_me: WARNING:     /" >&2
77915     ;;
77916 esac
77917 echo "$as_me:$LINENO: checking for iconv.h" >&5
77918 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77919 if test "${ac_cv_header_iconv_h+set}" = set; then
77920   echo $ECHO_N "(cached) $ECHO_C" >&6
77921 else
77922   ac_cv_header_iconv_h=$ac_header_preproc
77923 fi
77924 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77925 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77926
77927 fi
77928 if test $ac_cv_header_iconv_h = yes; then
77929   ac_has_iconv_h=yes
77930 else
77931   ac_has_iconv_h=no
77932 fi
77933
77934
77935     if test "${ac_cv_header_langinfo_h+set}" = set; then
77936   echo "$as_me:$LINENO: checking for langinfo.h" >&5
77937 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77938 if test "${ac_cv_header_langinfo_h+set}" = set; then
77939   echo $ECHO_N "(cached) $ECHO_C" >&6
77940 fi
77941 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77942 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77943 else
77944   # Is the header compilable?
77945 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
77946 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
77947 cat >conftest.$ac_ext <<_ACEOF
77948 /* confdefs.h.  */
77949 _ACEOF
77950 cat confdefs.h >>conftest.$ac_ext
77951 cat >>conftest.$ac_ext <<_ACEOF
77952 /* end confdefs.h.  */
77953 $ac_includes_default
77954 #include <langinfo.h>
77955 _ACEOF
77956 rm -f conftest.$ac_objext
77957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77958   (eval $ac_compile) 2>conftest.er1
77959   ac_status=$?
77960   grep -v '^ *+' conftest.er1 >conftest.err
77961   rm -f conftest.er1
77962   cat conftest.err >&5
77963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77964   (exit $ac_status); } &&
77965          { ac_try='test -z "$ac_c_werror_flag"
77966                          || test ! -s conftest.err'
77967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77968   (eval $ac_try) 2>&5
77969   ac_status=$?
77970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77971   (exit $ac_status); }; } &&
77972          { ac_try='test -s conftest.$ac_objext'
77973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77974   (eval $ac_try) 2>&5
77975   ac_status=$?
77976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77977   (exit $ac_status); }; }; then
77978   ac_header_compiler=yes
77979 else
77980   echo "$as_me: failed program was:" >&5
77981 sed 's/^/| /' conftest.$ac_ext >&5
77982
77983 ac_header_compiler=no
77984 fi
77985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77987 echo "${ECHO_T}$ac_header_compiler" >&6
77988
77989 # Is the header present?
77990 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
77991 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
77992 cat >conftest.$ac_ext <<_ACEOF
77993 /* confdefs.h.  */
77994 _ACEOF
77995 cat confdefs.h >>conftest.$ac_ext
77996 cat >>conftest.$ac_ext <<_ACEOF
77997 /* end confdefs.h.  */
77998 #include <langinfo.h>
77999 _ACEOF
78000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78001   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78002   ac_status=$?
78003   grep -v '^ *+' conftest.er1 >conftest.err
78004   rm -f conftest.er1
78005   cat conftest.err >&5
78006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78007   (exit $ac_status); } >/dev/null; then
78008   if test -s conftest.err; then
78009     ac_cpp_err=$ac_c_preproc_warn_flag
78010     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78011   else
78012     ac_cpp_err=
78013   fi
78014 else
78015   ac_cpp_err=yes
78016 fi
78017 if test -z "$ac_cpp_err"; then
78018   ac_header_preproc=yes
78019 else
78020   echo "$as_me: failed program was:" >&5
78021 sed 's/^/| /' conftest.$ac_ext >&5
78022
78023   ac_header_preproc=no
78024 fi
78025 rm -f conftest.err conftest.$ac_ext
78026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78027 echo "${ECHO_T}$ac_header_preproc" >&6
78028
78029 # So?  What about this header?
78030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78031   yes:no: )
78032     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
78033 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78034     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
78035 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
78036     ac_header_preproc=yes
78037     ;;
78038   no:yes:* )
78039     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
78040 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
78041     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
78042 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
78043     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
78044 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
78045     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
78046 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
78047     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
78048 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
78049     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
78050 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
78051     (
78052       cat <<\_ASBOX
78053 ## ----------------------------------------- ##
78054 ## Report this to the package-unused lists.  ##
78055 ## ----------------------------------------- ##
78056 _ASBOX
78057     ) |
78058       sed "s/^/$as_me: WARNING:     /" >&2
78059     ;;
78060 esac
78061 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78062 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78063 if test "${ac_cv_header_langinfo_h+set}" = set; then
78064   echo $ECHO_N "(cached) $ECHO_C" >&6
78065 else
78066   ac_cv_header_langinfo_h=$ac_header_preproc
78067 fi
78068 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78069 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78070
78071 fi
78072 if test $ac_cv_header_langinfo_h = yes; then
78073   ac_has_langinfo_h=yes
78074 else
78075   ac_has_langinfo_h=no
78076 fi
78077
78078
78079
78080     # Check for existence of libiconv.a providing XPG2 wchar_t support.
78081     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
78082 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
78083 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
78084   echo $ECHO_N "(cached) $ECHO_C" >&6
78085 else
78086   ac_check_lib_save_LIBS=$LIBS
78087 LIBS="-liconv  $LIBS"
78088 if test x$gcc_no_link = xyes; then
78089   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78091    { (exit 1); exit 1; }; }
78092 fi
78093 cat >conftest.$ac_ext <<_ACEOF
78094 /* confdefs.h.  */
78095 _ACEOF
78096 cat confdefs.h >>conftest.$ac_ext
78097 cat >>conftest.$ac_ext <<_ACEOF
78098 /* end confdefs.h.  */
78099
78100 /* Override any gcc2 internal prototype to avoid an error.  */
78101 #ifdef __cplusplus
78102 extern "C"
78103 #endif
78104 /* We use char because int might match the return type of a gcc2
78105    builtin and then its argument prototype would still apply.  */
78106 char iconv ();
78107 int
78108 main ()
78109 {
78110 iconv ();
78111   ;
78112   return 0;
78113 }
78114 _ACEOF
78115 rm -f conftest.$ac_objext conftest$ac_exeext
78116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78117   (eval $ac_link) 2>conftest.er1
78118   ac_status=$?
78119   grep -v '^ *+' conftest.er1 >conftest.err
78120   rm -f conftest.er1
78121   cat conftest.err >&5
78122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78123   (exit $ac_status); } &&
78124          { ac_try='test -z "$ac_c_werror_flag"
78125                          || test ! -s conftest.err'
78126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78127   (eval $ac_try) 2>&5
78128   ac_status=$?
78129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78130   (exit $ac_status); }; } &&
78131          { ac_try='test -s conftest$ac_exeext'
78132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78133   (eval $ac_try) 2>&5
78134   ac_status=$?
78135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78136   (exit $ac_status); }; }; then
78137   ac_cv_lib_iconv_iconv=yes
78138 else
78139   echo "$as_me: failed program was:" >&5
78140 sed 's/^/| /' conftest.$ac_ext >&5
78141
78142 ac_cv_lib_iconv_iconv=no
78143 fi
78144 rm -f conftest.err conftest.$ac_objext \
78145       conftest$ac_exeext conftest.$ac_ext
78146 LIBS=$ac_check_lib_save_LIBS
78147 fi
78148 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
78149 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
78150 if test $ac_cv_lib_iconv_iconv = yes; then
78151   LIBICONV="-liconv"
78152 fi
78153
78154     ac_save_LIBS="$LIBS"
78155     LIBS="$LIBS $LIBICONV"
78156
78157
78158
78159
78160
78161
78162 for ac_func in iconv_open iconv_close iconv nl_langinfo
78163 do
78164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78165 echo "$as_me:$LINENO: checking for $ac_func" >&5
78166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78167 if eval "test \"\${$as_ac_var+set}\" = set"; then
78168   echo $ECHO_N "(cached) $ECHO_C" >&6
78169 else
78170   if test x$gcc_no_link = xyes; then
78171   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78173    { (exit 1); exit 1; }; }
78174 fi
78175 cat >conftest.$ac_ext <<_ACEOF
78176 /* confdefs.h.  */
78177 _ACEOF
78178 cat confdefs.h >>conftest.$ac_ext
78179 cat >>conftest.$ac_ext <<_ACEOF
78180 /* end confdefs.h.  */
78181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78182    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78183 #define $ac_func innocuous_$ac_func
78184
78185 /* System header to define __stub macros and hopefully few prototypes,
78186     which can conflict with char $ac_func (); below.
78187     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78188     <limits.h> exists even on freestanding compilers.  */
78189
78190 #ifdef __STDC__
78191 # include <limits.h>
78192 #else
78193 # include <assert.h>
78194 #endif
78195
78196 #undef $ac_func
78197
78198 /* Override any gcc2 internal prototype to avoid an error.  */
78199 #ifdef __cplusplus
78200 extern "C"
78201 {
78202 #endif
78203 /* We use char because int might match the return type of a gcc2
78204    builtin and then its argument prototype would still apply.  */
78205 char $ac_func ();
78206 /* The GNU C library defines this for functions which it implements
78207     to always fail with ENOSYS.  Some functions are actually named
78208     something starting with __ and the normal name is an alias.  */
78209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78210 choke me
78211 #else
78212 char (*f) () = $ac_func;
78213 #endif
78214 #ifdef __cplusplus
78215 }
78216 #endif
78217
78218 int
78219 main ()
78220 {
78221 return f != $ac_func;
78222   ;
78223   return 0;
78224 }
78225 _ACEOF
78226 rm -f conftest.$ac_objext conftest$ac_exeext
78227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78228   (eval $ac_link) 2>conftest.er1
78229   ac_status=$?
78230   grep -v '^ *+' conftest.er1 >conftest.err
78231   rm -f conftest.er1
78232   cat conftest.err >&5
78233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78234   (exit $ac_status); } &&
78235          { ac_try='test -z "$ac_c_werror_flag"
78236                          || test ! -s conftest.err'
78237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78238   (eval $ac_try) 2>&5
78239   ac_status=$?
78240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78241   (exit $ac_status); }; } &&
78242          { ac_try='test -s conftest$ac_exeext'
78243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78244   (eval $ac_try) 2>&5
78245   ac_status=$?
78246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78247   (exit $ac_status); }; }; then
78248   eval "$as_ac_var=yes"
78249 else
78250   echo "$as_me: failed program was:" >&5
78251 sed 's/^/| /' conftest.$ac_ext >&5
78252
78253 eval "$as_ac_var=no"
78254 fi
78255 rm -f conftest.err conftest.$ac_objext \
78256       conftest$ac_exeext conftest.$ac_ext
78257 fi
78258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78260 if test `eval echo '${'$as_ac_var'}'` = yes; then
78261   cat >>confdefs.h <<_ACEOF
78262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78263 _ACEOF
78264  ac_XPG2funcs=yes
78265 else
78266   ac_XPG2funcs=no
78267 fi
78268 done
78269
78270
78271     LIBS="$ac_save_LIBS"
78272
78273     if test x"$ac_has_iconv_h" = xyes &&
78274        test x"$ac_has_langinfo_h" = xyes &&
78275        test x"$ac_XPG2funcs" = xyes;
78276     then
78277
78278 cat >>confdefs.h <<\_ACEOF
78279 #define _GLIBCXX_USE_ICONV 1
78280 _ACEOF
78281
78282       enable_iconv=yes
78283     fi
78284   fi
78285   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78286 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78287   echo "$as_me:$LINENO: result: $enable_iconv" >&5
78288 echo "${ECHO_T}$enable_iconv" >&6
78289
78290     cat >>confdefs.h <<\_ACEOF
78291 #define HAVE_COPYSIGN 1
78292 _ACEOF
78293
78294     cat >>confdefs.h <<\_ACEOF
78295 #define HAVE_COPYSIGNF 1
78296 _ACEOF
78297
78298     cat >>confdefs.h <<\_ACEOF
78299 #define HAVE_FREXPF 1
78300 _ACEOF
78301
78302     cat >>confdefs.h <<\_ACEOF
78303 #define HAVE_HYPOT 1
78304 _ACEOF
78305
78306     case "$target" in
78307       *-hpux10*)
78308         cat >>confdefs.h <<\_ACEOF
78309 #define HAVE_FINITE 1
78310 _ACEOF
78311
78312         cat >>confdefs.h <<\_ACEOF
78313 #define HAVE_FINITEF 1
78314 _ACEOF
78315
78316         cat >>confdefs.h <<\_ACEOF
78317 #define HAVE_ISINF 1
78318 _ACEOF
78319
78320         cat >>confdefs.h <<\_ACEOF
78321 #define HAVE_ISINFF 1
78322 _ACEOF
78323
78324         cat >>confdefs.h <<\_ACEOF
78325 #define HAVE_ISNAN 1
78326 _ACEOF
78327
78328         cat >>confdefs.h <<\_ACEOF
78329 #define HAVE_ISNANF 1
78330 _ACEOF
78331
78332         ;;
78333     esac
78334     ;;
78335   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
78336
78337
78338
78339
78340
78341
78342
78343
78344
78345
78346
78347
78348
78349
78350
78351 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
78352       machine/endian.h machine/param.h sys/machine.h sys/types.h \
78353       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
78354 do
78355 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78357   echo "$as_me:$LINENO: checking for $ac_header" >&5
78358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78360   echo $ECHO_N "(cached) $ECHO_C" >&6
78361 fi
78362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78364 else
78365   # Is the header compilable?
78366 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78367 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78368 cat >conftest.$ac_ext <<_ACEOF
78369 /* confdefs.h.  */
78370 _ACEOF
78371 cat confdefs.h >>conftest.$ac_ext
78372 cat >>conftest.$ac_ext <<_ACEOF
78373 /* end confdefs.h.  */
78374 $ac_includes_default
78375 #include <$ac_header>
78376 _ACEOF
78377 rm -f conftest.$ac_objext
78378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78379   (eval $ac_compile) 2>conftest.er1
78380   ac_status=$?
78381   grep -v '^ *+' conftest.er1 >conftest.err
78382   rm -f conftest.er1
78383   cat conftest.err >&5
78384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78385   (exit $ac_status); } &&
78386          { ac_try='test -z "$ac_c_werror_flag"
78387                          || test ! -s conftest.err'
78388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78389   (eval $ac_try) 2>&5
78390   ac_status=$?
78391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78392   (exit $ac_status); }; } &&
78393          { ac_try='test -s conftest.$ac_objext'
78394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78395   (eval $ac_try) 2>&5
78396   ac_status=$?
78397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78398   (exit $ac_status); }; }; then
78399   ac_header_compiler=yes
78400 else
78401   echo "$as_me: failed program was:" >&5
78402 sed 's/^/| /' conftest.$ac_ext >&5
78403
78404 ac_header_compiler=no
78405 fi
78406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78407 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78408 echo "${ECHO_T}$ac_header_compiler" >&6
78409
78410 # Is the header present?
78411 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78412 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78413 cat >conftest.$ac_ext <<_ACEOF
78414 /* confdefs.h.  */
78415 _ACEOF
78416 cat confdefs.h >>conftest.$ac_ext
78417 cat >>conftest.$ac_ext <<_ACEOF
78418 /* end confdefs.h.  */
78419 #include <$ac_header>
78420 _ACEOF
78421 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78422   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78423   ac_status=$?
78424   grep -v '^ *+' conftest.er1 >conftest.err
78425   rm -f conftest.er1
78426   cat conftest.err >&5
78427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78428   (exit $ac_status); } >/dev/null; then
78429   if test -s conftest.err; then
78430     ac_cpp_err=$ac_c_preproc_warn_flag
78431     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78432   else
78433     ac_cpp_err=
78434   fi
78435 else
78436   ac_cpp_err=yes
78437 fi
78438 if test -z "$ac_cpp_err"; then
78439   ac_header_preproc=yes
78440 else
78441   echo "$as_me: failed program was:" >&5
78442 sed 's/^/| /' conftest.$ac_ext >&5
78443
78444   ac_header_preproc=no
78445 fi
78446 rm -f conftest.err conftest.$ac_ext
78447 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78448 echo "${ECHO_T}$ac_header_preproc" >&6
78449
78450 # So?  What about this header?
78451 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78452   yes:no: )
78453     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78454 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78455     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78456 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78457     ac_header_preproc=yes
78458     ;;
78459   no:yes:* )
78460     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78461 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78462     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
78463 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
78464     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78465 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78466     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
78467 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
78468     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78469 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78470     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78471 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78472     (
78473       cat <<\_ASBOX
78474 ## ----------------------------------------- ##
78475 ## Report this to the package-unused lists.  ##
78476 ## ----------------------------------------- ##
78477 _ASBOX
78478     ) |
78479       sed "s/^/$as_me: WARNING:     /" >&2
78480     ;;
78481 esac
78482 echo "$as_me:$LINENO: checking for $ac_header" >&5
78483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78485   echo $ECHO_N "(cached) $ECHO_C" >&6
78486 else
78487   eval "$as_ac_Header=\$ac_header_preproc"
78488 fi
78489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78491
78492 fi
78493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78494   cat >>confdefs.h <<_ACEOF
78495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78496 _ACEOF
78497
78498 fi
78499
78500 done
78501
78502     SECTION_FLAGS='-ffunction-sections -fdata-sections'
78503
78504
78505   # All these tests are for C++; save the language and the compiler flags.
78506   # The CXXFLAGS thing is suspicious, but based on similar bits previously
78507   # found in GLIBCXX_CONFIGURE.
78508
78509
78510   ac_ext=cc
78511 ac_cpp='$CXXCPP $CPPFLAGS'
78512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78515
78516   ac_test_CXXFLAGS="${CXXFLAGS+set}"
78517   ac_save_CXXFLAGS="$CXXFLAGS"
78518
78519   # Check for maintainer-mode bits.
78520   if test x"$USE_MAINTAINER_MODE" = xno; then
78521     WERROR=''
78522   else
78523     WERROR='-Werror'
78524   fi
78525
78526   # Check for -ffunction-sections -fdata-sections
78527   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
78528 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
78529   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
78530   cat >conftest.$ac_ext <<_ACEOF
78531 /* confdefs.h.  */
78532 _ACEOF
78533 cat confdefs.h >>conftest.$ac_ext
78534 cat >>conftest.$ac_ext <<_ACEOF
78535 /* end confdefs.h.  */
78536
78537 int
78538 main ()
78539 {
78540 int foo;
78541   ;
78542   return 0;
78543 }
78544 _ACEOF
78545 rm -f conftest.$ac_objext
78546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78547   (eval $ac_compile) 2>conftest.er1
78548   ac_status=$?
78549   grep -v '^ *+' conftest.er1 >conftest.err
78550   rm -f conftest.er1
78551   cat conftest.err >&5
78552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78553   (exit $ac_status); } &&
78554          { ac_try='test -z "$ac_cxx_werror_flag"
78555                          || test ! -s conftest.err'
78556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78557   (eval $ac_try) 2>&5
78558   ac_status=$?
78559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78560   (exit $ac_status); }; } &&
78561          { ac_try='test -s conftest.$ac_objext'
78562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78563   (eval $ac_try) 2>&5
78564   ac_status=$?
78565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78566   (exit $ac_status); }; }; then
78567   ac_fdsections=yes
78568 else
78569   echo "$as_me: failed program was:" >&5
78570 sed 's/^/| /' conftest.$ac_ext >&5
78571
78572 ac_fdsections=no
78573 fi
78574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78575   if test "$ac_test_CXXFLAGS" = set; then
78576     CXXFLAGS="$ac_save_CXXFLAGS"
78577   else
78578     # this is the suspicious part
78579     CXXFLAGS=''
78580   fi
78581   if test x"$ac_fdsections" = x"yes"; then
78582     SECTION_FLAGS='-ffunction-sections -fdata-sections'
78583   fi
78584   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
78585 echo "${ECHO_T}$ac_fdsections" >&6
78586
78587   ac_ext=c
78588 ac_cpp='$CPP $CPPFLAGS'
78589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78592
78593
78594
78595
78596
78597   # If we're not using GNU ld, then there's no point in even trying these
78598   # tests.  Check for that first.  We should have already tested for gld
78599   # by now (in libtool), but require it now just to be safe...
78600   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
78601   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
78602
78603
78604
78605   # The name set by libtool depends on the version of libtool.  Shame on us
78606   # for depending on an impl detail, but c'est la vie.  Older versions used
78607   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
78608   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
78609   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
78610   # set (hence we're using an older libtool), then set it.
78611   if test x${with_gnu_ld+set} != xset; then
78612     if test x${ac_cv_prog_gnu_ld+set} != xset; then
78613       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
78614       with_gnu_ld=no
78615     else
78616       with_gnu_ld=$ac_cv_prog_gnu_ld
78617     fi
78618   fi
78619
78620   # Start by getting the version number.  I think the libtool test already
78621   # does some of this, but throws away the result.
78622   echo "$as_me:$LINENO: checking for ld version" >&5
78623 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
78624
78625   ldver=`$LD --version 2>/dev/null | head -1 | \
78626          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
78627
78628   glibcxx_gnu_ld_version=`echo $ldver | \
78629          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
78630   echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
78631 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
78632
78633   # Set --gc-sections.
78634   glibcxx_gcsections_min_ld=21602
78635   if test x"$with_gnu_ld" = x"yes" &&
78636         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
78637
78638     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
78639     # NB: This flag only works reliably after 2.16.1. Configure tests
78640     # for this are difficult, so hard wire a value that should work.
78641
78642     # All these tests are for C++, but run with the "C" compiler driver.
78643     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
78644     ac_test_CFLAGS="${CFLAGS+set}"
78645     ac_save_CFLAGS="$CFLAGS"
78646     CFLAGS='-x c++ -Wl,--gc-sections'
78647
78648     # Check for -Wl,--gc-sections
78649     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
78650 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
78651     if test x$gcc_no_link = xyes; then
78652   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78654    { (exit 1); exit 1; }; }
78655 fi
78656 cat >conftest.$ac_ext <<_ACEOF
78657 /* confdefs.h.  */
78658 _ACEOF
78659 cat confdefs.h >>conftest.$ac_ext
78660 cat >>conftest.$ac_ext <<_ACEOF
78661 /* end confdefs.h.  */
78662  int one(void) { return 1; }
78663      int two(void) { return 2; }
78664
78665 int
78666 main ()
78667 {
78668  two();
78669   ;
78670   return 0;
78671 }
78672 _ACEOF
78673 rm -f conftest.$ac_objext conftest$ac_exeext
78674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78675   (eval $ac_link) 2>conftest.er1
78676   ac_status=$?
78677   grep -v '^ *+' conftest.er1 >conftest.err
78678   rm -f conftest.er1
78679   cat conftest.err >&5
78680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78681   (exit $ac_status); } &&
78682          { ac_try='test -z "$ac_c_werror_flag"
78683                          || test ! -s conftest.err'
78684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78685   (eval $ac_try) 2>&5
78686   ac_status=$?
78687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78688   (exit $ac_status); }; } &&
78689          { ac_try='test -s conftest$ac_exeext'
78690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78691   (eval $ac_try) 2>&5
78692   ac_status=$?
78693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78694   (exit $ac_status); }; }; then
78695   ac_gcsections=yes
78696 else
78697   echo "$as_me: failed program was:" >&5
78698 sed 's/^/| /' conftest.$ac_ext >&5
78699
78700 ac_gcsections=no
78701 fi
78702 rm -f conftest.err conftest.$ac_objext \
78703       conftest$ac_exeext conftest.$ac_ext
78704     if test "$ac_gcsections" = "yes"; then
78705       rm -f conftest.c
78706       touch conftest.c
78707       if $CC -c conftest.c; then
78708         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
78709            grep "Warning: gc-sections option ignored" > /dev/null; then
78710           ac_gcsections=no
78711         fi
78712       fi
78713       rm -f conftest.c conftest.o conftest
78714     fi
78715     if test "$ac_gcsections" = "yes"; then
78716       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
78717     fi
78718     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
78719 echo "${ECHO_T}$ac_gcsections" >&6
78720
78721     if test "$ac_test_CFLAGS" = set; then
78722       CFLAGS="$ac_save_CFLAGS"
78723     else
78724       # this is the suspicious part
78725       CFLAGS=''
78726     fi
78727   fi
78728
78729   # Set -z,relro.
78730   # Note this is only for shared objects.
78731   ac_ld_relro=no
78732   if test x"$with_gnu_ld" = x"yes"; then
78733     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
78734 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
78735     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
78736     if test -n "$cxx_z_relo"; then
78737       OPT_LDFLAGS="-Wl,-z,relro"
78738       ac_ld_relro=yes
78739     fi
78740     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
78741 echo "${ECHO_T}$ac_ld_relro" >&6
78742   fi
78743
78744   # Set linker optimization flags.
78745   if test x"$with_gnu_ld" = x"yes"; then
78746     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
78747   fi
78748
78749
78750
78751
78752
78753   ac_test_CXXFLAGS="${CXXFLAGS+set}"
78754   ac_save_CXXFLAGS="$CXXFLAGS"
78755   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78756
78757     echo "$as_me:$LINENO: checking for sin in -lm" >&5
78758 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
78759 if test "${ac_cv_lib_m_sin+set}" = set; then
78760   echo $ECHO_N "(cached) $ECHO_C" >&6
78761 else
78762   ac_check_lib_save_LIBS=$LIBS
78763 LIBS="-lm  $LIBS"
78764 if test x$gcc_no_link = xyes; then
78765   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78767    { (exit 1); exit 1; }; }
78768 fi
78769 cat >conftest.$ac_ext <<_ACEOF
78770 /* confdefs.h.  */
78771 _ACEOF
78772 cat confdefs.h >>conftest.$ac_ext
78773 cat >>conftest.$ac_ext <<_ACEOF
78774 /* end confdefs.h.  */
78775
78776 /* Override any gcc2 internal prototype to avoid an error.  */
78777 #ifdef __cplusplus
78778 extern "C"
78779 #endif
78780 /* We use char because int might match the return type of a gcc2
78781    builtin and then its argument prototype would still apply.  */
78782 char sin ();
78783 int
78784 main ()
78785 {
78786 sin ();
78787   ;
78788   return 0;
78789 }
78790 _ACEOF
78791 rm -f conftest.$ac_objext conftest$ac_exeext
78792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78793   (eval $ac_link) 2>conftest.er1
78794   ac_status=$?
78795   grep -v '^ *+' conftest.er1 >conftest.err
78796   rm -f conftest.er1
78797   cat conftest.err >&5
78798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78799   (exit $ac_status); } &&
78800          { ac_try='test -z "$ac_c_werror_flag"
78801                          || test ! -s conftest.err'
78802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78803   (eval $ac_try) 2>&5
78804   ac_status=$?
78805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78806   (exit $ac_status); }; } &&
78807          { ac_try='test -s conftest$ac_exeext'
78808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78809   (eval $ac_try) 2>&5
78810   ac_status=$?
78811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78812   (exit $ac_status); }; }; then
78813   ac_cv_lib_m_sin=yes
78814 else
78815   echo "$as_me: failed program was:" >&5
78816 sed 's/^/| /' conftest.$ac_ext >&5
78817
78818 ac_cv_lib_m_sin=no
78819 fi
78820 rm -f conftest.err conftest.$ac_objext \
78821       conftest$ac_exeext conftest.$ac_ext
78822 LIBS=$ac_check_lib_save_LIBS
78823 fi
78824 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
78825 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
78826 if test $ac_cv_lib_m_sin = yes; then
78827   libm="-lm"
78828 fi
78829
78830   ac_save_LIBS="$LIBS"
78831   LIBS="$LIBS $libm"
78832
78833
78834
78835   echo "$as_me:$LINENO: checking for isinf declaration" >&5
78836 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
78837   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
78838     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
78839   echo $ECHO_N "(cached) $ECHO_C" >&6
78840 else
78841
78842
78843
78844       ac_ext=cc
78845 ac_cpp='$CXXCPP $CPPFLAGS'
78846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78849
78850       cat >conftest.$ac_ext <<_ACEOF
78851 /* confdefs.h.  */
78852 _ACEOF
78853 cat confdefs.h >>conftest.$ac_ext
78854 cat >>conftest.$ac_ext <<_ACEOF
78855 /* end confdefs.h.  */
78856 #include <math.h>
78857                       #ifdef HAVE_IEEEFP_H
78858                       #include <ieeefp.h>
78859                       #endif
78860
78861 int
78862 main ()
78863 {
78864  isinf(0);
78865   ;
78866   return 0;
78867 }
78868 _ACEOF
78869 rm -f conftest.$ac_objext
78870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78871   (eval $ac_compile) 2>conftest.er1
78872   ac_status=$?
78873   grep -v '^ *+' conftest.er1 >conftest.err
78874   rm -f conftest.er1
78875   cat conftest.err >&5
78876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78877   (exit $ac_status); } &&
78878          { ac_try='test -z "$ac_cxx_werror_flag"
78879                          || test ! -s conftest.err'
78880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78881   (eval $ac_try) 2>&5
78882   ac_status=$?
78883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78884   (exit $ac_status); }; } &&
78885          { ac_try='test -s conftest.$ac_objext'
78886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78887   (eval $ac_try) 2>&5
78888   ac_status=$?
78889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78890   (exit $ac_status); }; }; then
78891   glibcxx_cv_func_isinf_use=yes
78892 else
78893   echo "$as_me: failed program was:" >&5
78894 sed 's/^/| /' conftest.$ac_ext >&5
78895
78896 glibcxx_cv_func_isinf_use=no
78897 fi
78898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78899       ac_ext=c
78900 ac_cpp='$CPP $CPPFLAGS'
78901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78904
78905
78906 fi
78907
78908   fi
78909   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
78910 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
78911
78912   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
78913
78914 for ac_func in isinf
78915 do
78916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78917 echo "$as_me:$LINENO: checking for $ac_func" >&5
78918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78919 if eval "test \"\${$as_ac_var+set}\" = set"; then
78920   echo $ECHO_N "(cached) $ECHO_C" >&6
78921 else
78922   if test x$gcc_no_link = xyes; then
78923   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78925    { (exit 1); exit 1; }; }
78926 fi
78927 cat >conftest.$ac_ext <<_ACEOF
78928 /* confdefs.h.  */
78929 _ACEOF
78930 cat confdefs.h >>conftest.$ac_ext
78931 cat >>conftest.$ac_ext <<_ACEOF
78932 /* end confdefs.h.  */
78933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78934    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78935 #define $ac_func innocuous_$ac_func
78936
78937 /* System header to define __stub macros and hopefully few prototypes,
78938     which can conflict with char $ac_func (); below.
78939     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78940     <limits.h> exists even on freestanding compilers.  */
78941
78942 #ifdef __STDC__
78943 # include <limits.h>
78944 #else
78945 # include <assert.h>
78946 #endif
78947
78948 #undef $ac_func
78949
78950 /* Override any gcc2 internal prototype to avoid an error.  */
78951 #ifdef __cplusplus
78952 extern "C"
78953 {
78954 #endif
78955 /* We use char because int might match the return type of a gcc2
78956    builtin and then its argument prototype would still apply.  */
78957 char $ac_func ();
78958 /* The GNU C library defines this for functions which it implements
78959     to always fail with ENOSYS.  Some functions are actually named
78960     something starting with __ and the normal name is an alias.  */
78961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78962 choke me
78963 #else
78964 char (*f) () = $ac_func;
78965 #endif
78966 #ifdef __cplusplus
78967 }
78968 #endif
78969
78970 int
78971 main ()
78972 {
78973 return f != $ac_func;
78974   ;
78975   return 0;
78976 }
78977 _ACEOF
78978 rm -f conftest.$ac_objext conftest$ac_exeext
78979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78980   (eval $ac_link) 2>conftest.er1
78981   ac_status=$?
78982   grep -v '^ *+' conftest.er1 >conftest.err
78983   rm -f conftest.er1
78984   cat conftest.err >&5
78985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78986   (exit $ac_status); } &&
78987          { ac_try='test -z "$ac_c_werror_flag"
78988                          || test ! -s conftest.err'
78989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78990   (eval $ac_try) 2>&5
78991   ac_status=$?
78992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78993   (exit $ac_status); }; } &&
78994          { ac_try='test -s conftest$ac_exeext'
78995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78996   (eval $ac_try) 2>&5
78997   ac_status=$?
78998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78999   (exit $ac_status); }; }; then
79000   eval "$as_ac_var=yes"
79001 else
79002   echo "$as_me: failed program was:" >&5
79003 sed 's/^/| /' conftest.$ac_ext >&5
79004
79005 eval "$as_ac_var=no"
79006 fi
79007 rm -f conftest.err conftest.$ac_objext \
79008       conftest$ac_exeext conftest.$ac_ext
79009 fi
79010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79012 if test `eval echo '${'$as_ac_var'}'` = yes; then
79013   cat >>confdefs.h <<_ACEOF
79014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79015 _ACEOF
79016
79017 fi
79018 done
79019
79020   else
79021
79022   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
79023 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
79024   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
79025     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
79026   echo $ECHO_N "(cached) $ECHO_C" >&6
79027 else
79028
79029
79030
79031       ac_ext=cc
79032 ac_cpp='$CXXCPP $CPPFLAGS'
79033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79036
79037       cat >conftest.$ac_ext <<_ACEOF
79038 /* confdefs.h.  */
79039 _ACEOF
79040 cat confdefs.h >>conftest.$ac_ext
79041 cat >>conftest.$ac_ext <<_ACEOF
79042 /* end confdefs.h.  */
79043 #include <math.h>
79044                       #ifdef HAVE_IEEEFP_H
79045                       #include <ieeefp.h>
79046                       #endif
79047
79048 int
79049 main ()
79050 {
79051  _isinf(0);
79052   ;
79053   return 0;
79054 }
79055 _ACEOF
79056 rm -f conftest.$ac_objext
79057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79058   (eval $ac_compile) 2>conftest.er1
79059   ac_status=$?
79060   grep -v '^ *+' conftest.er1 >conftest.err
79061   rm -f conftest.er1
79062   cat conftest.err >&5
79063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79064   (exit $ac_status); } &&
79065          { ac_try='test -z "$ac_cxx_werror_flag"
79066                          || test ! -s conftest.err'
79067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79068   (eval $ac_try) 2>&5
79069   ac_status=$?
79070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79071   (exit $ac_status); }; } &&
79072          { ac_try='test -s conftest.$ac_objext'
79073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79074   (eval $ac_try) 2>&5
79075   ac_status=$?
79076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79077   (exit $ac_status); }; }; then
79078   glibcxx_cv_func__isinf_use=yes
79079 else
79080   echo "$as_me: failed program was:" >&5
79081 sed 's/^/| /' conftest.$ac_ext >&5
79082
79083 glibcxx_cv_func__isinf_use=no
79084 fi
79085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79086       ac_ext=c
79087 ac_cpp='$CPP $CPPFLAGS'
79088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79091
79092
79093 fi
79094
79095   fi
79096   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
79097 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
79098
79099     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
79100
79101 for ac_func in _isinf
79102 do
79103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79104 echo "$as_me:$LINENO: checking for $ac_func" >&5
79105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79106 if eval "test \"\${$as_ac_var+set}\" = set"; then
79107   echo $ECHO_N "(cached) $ECHO_C" >&6
79108 else
79109   if test x$gcc_no_link = xyes; then
79110   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79112    { (exit 1); exit 1; }; }
79113 fi
79114 cat >conftest.$ac_ext <<_ACEOF
79115 /* confdefs.h.  */
79116 _ACEOF
79117 cat confdefs.h >>conftest.$ac_ext
79118 cat >>conftest.$ac_ext <<_ACEOF
79119 /* end confdefs.h.  */
79120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79121    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79122 #define $ac_func innocuous_$ac_func
79123
79124 /* System header to define __stub macros and hopefully few prototypes,
79125     which can conflict with char $ac_func (); below.
79126     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79127     <limits.h> exists even on freestanding compilers.  */
79128
79129 #ifdef __STDC__
79130 # include <limits.h>
79131 #else
79132 # include <assert.h>
79133 #endif
79134
79135 #undef $ac_func
79136
79137 /* Override any gcc2 internal prototype to avoid an error.  */
79138 #ifdef __cplusplus
79139 extern "C"
79140 {
79141 #endif
79142 /* We use char because int might match the return type of a gcc2
79143    builtin and then its argument prototype would still apply.  */
79144 char $ac_func ();
79145 /* The GNU C library defines this for functions which it implements
79146     to always fail with ENOSYS.  Some functions are actually named
79147     something starting with __ and the normal name is an alias.  */
79148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79149 choke me
79150 #else
79151 char (*f) () = $ac_func;
79152 #endif
79153 #ifdef __cplusplus
79154 }
79155 #endif
79156
79157 int
79158 main ()
79159 {
79160 return f != $ac_func;
79161   ;
79162   return 0;
79163 }
79164 _ACEOF
79165 rm -f conftest.$ac_objext conftest$ac_exeext
79166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79167   (eval $ac_link) 2>conftest.er1
79168   ac_status=$?
79169   grep -v '^ *+' conftest.er1 >conftest.err
79170   rm -f conftest.er1
79171   cat conftest.err >&5
79172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79173   (exit $ac_status); } &&
79174          { ac_try='test -z "$ac_c_werror_flag"
79175                          || test ! -s conftest.err'
79176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79177   (eval $ac_try) 2>&5
79178   ac_status=$?
79179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79180   (exit $ac_status); }; } &&
79181          { ac_try='test -s conftest$ac_exeext'
79182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79183   (eval $ac_try) 2>&5
79184   ac_status=$?
79185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79186   (exit $ac_status); }; }; then
79187   eval "$as_ac_var=yes"
79188 else
79189   echo "$as_me: failed program was:" >&5
79190 sed 's/^/| /' conftest.$ac_ext >&5
79191
79192 eval "$as_ac_var=no"
79193 fi
79194 rm -f conftest.err conftest.$ac_objext \
79195       conftest$ac_exeext conftest.$ac_ext
79196 fi
79197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79199 if test `eval echo '${'$as_ac_var'}'` = yes; then
79200   cat >>confdefs.h <<_ACEOF
79201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79202 _ACEOF
79203
79204 fi
79205 done
79206
79207     fi
79208   fi
79209
79210
79211
79212
79213
79214
79215   echo "$as_me:$LINENO: checking for isnan declaration" >&5
79216 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
79217   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
79218     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
79219   echo $ECHO_N "(cached) $ECHO_C" >&6
79220 else
79221
79222
79223
79224       ac_ext=cc
79225 ac_cpp='$CXXCPP $CPPFLAGS'
79226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79229
79230       cat >conftest.$ac_ext <<_ACEOF
79231 /* confdefs.h.  */
79232 _ACEOF
79233 cat confdefs.h >>conftest.$ac_ext
79234 cat >>conftest.$ac_ext <<_ACEOF
79235 /* end confdefs.h.  */
79236 #include <math.h>
79237                       #ifdef HAVE_IEEEFP_H
79238                       #include <ieeefp.h>
79239                       #endif
79240
79241 int
79242 main ()
79243 {
79244  isnan(0);
79245   ;
79246   return 0;
79247 }
79248 _ACEOF
79249 rm -f conftest.$ac_objext
79250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79251   (eval $ac_compile) 2>conftest.er1
79252   ac_status=$?
79253   grep -v '^ *+' conftest.er1 >conftest.err
79254   rm -f conftest.er1
79255   cat conftest.err >&5
79256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79257   (exit $ac_status); } &&
79258          { ac_try='test -z "$ac_cxx_werror_flag"
79259                          || test ! -s conftest.err'
79260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79261   (eval $ac_try) 2>&5
79262   ac_status=$?
79263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79264   (exit $ac_status); }; } &&
79265          { ac_try='test -s conftest.$ac_objext'
79266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79267   (eval $ac_try) 2>&5
79268   ac_status=$?
79269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79270   (exit $ac_status); }; }; then
79271   glibcxx_cv_func_isnan_use=yes
79272 else
79273   echo "$as_me: failed program was:" >&5
79274 sed 's/^/| /' conftest.$ac_ext >&5
79275
79276 glibcxx_cv_func_isnan_use=no
79277 fi
79278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79279       ac_ext=c
79280 ac_cpp='$CPP $CPPFLAGS'
79281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79284
79285
79286 fi
79287
79288   fi
79289   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
79290 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
79291
79292   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
79293
79294 for ac_func in isnan
79295 do
79296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79297 echo "$as_me:$LINENO: checking for $ac_func" >&5
79298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79299 if eval "test \"\${$as_ac_var+set}\" = set"; then
79300   echo $ECHO_N "(cached) $ECHO_C" >&6
79301 else
79302   if test x$gcc_no_link = xyes; then
79303   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79305    { (exit 1); exit 1; }; }
79306 fi
79307 cat >conftest.$ac_ext <<_ACEOF
79308 /* confdefs.h.  */
79309 _ACEOF
79310 cat confdefs.h >>conftest.$ac_ext
79311 cat >>conftest.$ac_ext <<_ACEOF
79312 /* end confdefs.h.  */
79313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79314    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79315 #define $ac_func innocuous_$ac_func
79316
79317 /* System header to define __stub macros and hopefully few prototypes,
79318     which can conflict with char $ac_func (); below.
79319     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79320     <limits.h> exists even on freestanding compilers.  */
79321
79322 #ifdef __STDC__
79323 # include <limits.h>
79324 #else
79325 # include <assert.h>
79326 #endif
79327
79328 #undef $ac_func
79329
79330 /* Override any gcc2 internal prototype to avoid an error.  */
79331 #ifdef __cplusplus
79332 extern "C"
79333 {
79334 #endif
79335 /* We use char because int might match the return type of a gcc2
79336    builtin and then its argument prototype would still apply.  */
79337 char $ac_func ();
79338 /* The GNU C library defines this for functions which it implements
79339     to always fail with ENOSYS.  Some functions are actually named
79340     something starting with __ and the normal name is an alias.  */
79341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79342 choke me
79343 #else
79344 char (*f) () = $ac_func;
79345 #endif
79346 #ifdef __cplusplus
79347 }
79348 #endif
79349
79350 int
79351 main ()
79352 {
79353 return f != $ac_func;
79354   ;
79355   return 0;
79356 }
79357 _ACEOF
79358 rm -f conftest.$ac_objext conftest$ac_exeext
79359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79360   (eval $ac_link) 2>conftest.er1
79361   ac_status=$?
79362   grep -v '^ *+' conftest.er1 >conftest.err
79363   rm -f conftest.er1
79364   cat conftest.err >&5
79365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79366   (exit $ac_status); } &&
79367          { ac_try='test -z "$ac_c_werror_flag"
79368                          || test ! -s conftest.err'
79369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79370   (eval $ac_try) 2>&5
79371   ac_status=$?
79372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79373   (exit $ac_status); }; } &&
79374          { ac_try='test -s conftest$ac_exeext'
79375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79376   (eval $ac_try) 2>&5
79377   ac_status=$?
79378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79379   (exit $ac_status); }; }; then
79380   eval "$as_ac_var=yes"
79381 else
79382   echo "$as_me: failed program was:" >&5
79383 sed 's/^/| /' conftest.$ac_ext >&5
79384
79385 eval "$as_ac_var=no"
79386 fi
79387 rm -f conftest.err conftest.$ac_objext \
79388       conftest$ac_exeext conftest.$ac_ext
79389 fi
79390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79392 if test `eval echo '${'$as_ac_var'}'` = yes; then
79393   cat >>confdefs.h <<_ACEOF
79394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79395 _ACEOF
79396
79397 fi
79398 done
79399
79400   else
79401
79402   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
79403 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
79404   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
79405     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
79406   echo $ECHO_N "(cached) $ECHO_C" >&6
79407 else
79408
79409
79410
79411       ac_ext=cc
79412 ac_cpp='$CXXCPP $CPPFLAGS'
79413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79416
79417       cat >conftest.$ac_ext <<_ACEOF
79418 /* confdefs.h.  */
79419 _ACEOF
79420 cat confdefs.h >>conftest.$ac_ext
79421 cat >>conftest.$ac_ext <<_ACEOF
79422 /* end confdefs.h.  */
79423 #include <math.h>
79424                       #ifdef HAVE_IEEEFP_H
79425                       #include <ieeefp.h>
79426                       #endif
79427
79428 int
79429 main ()
79430 {
79431  _isnan(0);
79432   ;
79433   return 0;
79434 }
79435 _ACEOF
79436 rm -f conftest.$ac_objext
79437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79438   (eval $ac_compile) 2>conftest.er1
79439   ac_status=$?
79440   grep -v '^ *+' conftest.er1 >conftest.err
79441   rm -f conftest.er1
79442   cat conftest.err >&5
79443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79444   (exit $ac_status); } &&
79445          { ac_try='test -z "$ac_cxx_werror_flag"
79446                          || test ! -s conftest.err'
79447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79448   (eval $ac_try) 2>&5
79449   ac_status=$?
79450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79451   (exit $ac_status); }; } &&
79452          { ac_try='test -s conftest.$ac_objext'
79453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79454   (eval $ac_try) 2>&5
79455   ac_status=$?
79456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79457   (exit $ac_status); }; }; then
79458   glibcxx_cv_func__isnan_use=yes
79459 else
79460   echo "$as_me: failed program was:" >&5
79461 sed 's/^/| /' conftest.$ac_ext >&5
79462
79463 glibcxx_cv_func__isnan_use=no
79464 fi
79465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79466       ac_ext=c
79467 ac_cpp='$CPP $CPPFLAGS'
79468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79471
79472
79473 fi
79474
79475   fi
79476   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
79477 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
79478
79479     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
79480
79481 for ac_func in _isnan
79482 do
79483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79484 echo "$as_me:$LINENO: checking for $ac_func" >&5
79485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79486 if eval "test \"\${$as_ac_var+set}\" = set"; then
79487   echo $ECHO_N "(cached) $ECHO_C" >&6
79488 else
79489   if test x$gcc_no_link = xyes; then
79490   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79492    { (exit 1); exit 1; }; }
79493 fi
79494 cat >conftest.$ac_ext <<_ACEOF
79495 /* confdefs.h.  */
79496 _ACEOF
79497 cat confdefs.h >>conftest.$ac_ext
79498 cat >>conftest.$ac_ext <<_ACEOF
79499 /* end confdefs.h.  */
79500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79501    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79502 #define $ac_func innocuous_$ac_func
79503
79504 /* System header to define __stub macros and hopefully few prototypes,
79505     which can conflict with char $ac_func (); below.
79506     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79507     <limits.h> exists even on freestanding compilers.  */
79508
79509 #ifdef __STDC__
79510 # include <limits.h>
79511 #else
79512 # include <assert.h>
79513 #endif
79514
79515 #undef $ac_func
79516
79517 /* Override any gcc2 internal prototype to avoid an error.  */
79518 #ifdef __cplusplus
79519 extern "C"
79520 {
79521 #endif
79522 /* We use char because int might match the return type of a gcc2
79523    builtin and then its argument prototype would still apply.  */
79524 char $ac_func ();
79525 /* The GNU C library defines this for functions which it implements
79526     to always fail with ENOSYS.  Some functions are actually named
79527     something starting with __ and the normal name is an alias.  */
79528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79529 choke me
79530 #else
79531 char (*f) () = $ac_func;
79532 #endif
79533 #ifdef __cplusplus
79534 }
79535 #endif
79536
79537 int
79538 main ()
79539 {
79540 return f != $ac_func;
79541   ;
79542   return 0;
79543 }
79544 _ACEOF
79545 rm -f conftest.$ac_objext conftest$ac_exeext
79546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79547   (eval $ac_link) 2>conftest.er1
79548   ac_status=$?
79549   grep -v '^ *+' conftest.er1 >conftest.err
79550   rm -f conftest.er1
79551   cat conftest.err >&5
79552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79553   (exit $ac_status); } &&
79554          { ac_try='test -z "$ac_c_werror_flag"
79555                          || test ! -s conftest.err'
79556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79557   (eval $ac_try) 2>&5
79558   ac_status=$?
79559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79560   (exit $ac_status); }; } &&
79561          { ac_try='test -s conftest$ac_exeext'
79562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79563   (eval $ac_try) 2>&5
79564   ac_status=$?
79565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79566   (exit $ac_status); }; }; then
79567   eval "$as_ac_var=yes"
79568 else
79569   echo "$as_me: failed program was:" >&5
79570 sed 's/^/| /' conftest.$ac_ext >&5
79571
79572 eval "$as_ac_var=no"
79573 fi
79574 rm -f conftest.err conftest.$ac_objext \
79575       conftest$ac_exeext conftest.$ac_ext
79576 fi
79577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79579 if test `eval echo '${'$as_ac_var'}'` = yes; then
79580   cat >>confdefs.h <<_ACEOF
79581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79582 _ACEOF
79583
79584 fi
79585 done
79586
79587     fi
79588   fi
79589
79590
79591
79592
79593
79594
79595   echo "$as_me:$LINENO: checking for finite declaration" >&5
79596 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
79597   if test x${glibcxx_cv_func_finite_use+set} != xset; then
79598     if test "${glibcxx_cv_func_finite_use+set}" = set; then
79599   echo $ECHO_N "(cached) $ECHO_C" >&6
79600 else
79601
79602
79603
79604       ac_ext=cc
79605 ac_cpp='$CXXCPP $CPPFLAGS'
79606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79609
79610       cat >conftest.$ac_ext <<_ACEOF
79611 /* confdefs.h.  */
79612 _ACEOF
79613 cat confdefs.h >>conftest.$ac_ext
79614 cat >>conftest.$ac_ext <<_ACEOF
79615 /* end confdefs.h.  */
79616 #include <math.h>
79617                       #ifdef HAVE_IEEEFP_H
79618                       #include <ieeefp.h>
79619                       #endif
79620
79621 int
79622 main ()
79623 {
79624  finite(0);
79625   ;
79626   return 0;
79627 }
79628 _ACEOF
79629 rm -f conftest.$ac_objext
79630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79631   (eval $ac_compile) 2>conftest.er1
79632   ac_status=$?
79633   grep -v '^ *+' conftest.er1 >conftest.err
79634   rm -f conftest.er1
79635   cat conftest.err >&5
79636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79637   (exit $ac_status); } &&
79638          { ac_try='test -z "$ac_cxx_werror_flag"
79639                          || test ! -s conftest.err'
79640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79641   (eval $ac_try) 2>&5
79642   ac_status=$?
79643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79644   (exit $ac_status); }; } &&
79645          { ac_try='test -s conftest.$ac_objext'
79646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79647   (eval $ac_try) 2>&5
79648   ac_status=$?
79649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79650   (exit $ac_status); }; }; then
79651   glibcxx_cv_func_finite_use=yes
79652 else
79653   echo "$as_me: failed program was:" >&5
79654 sed 's/^/| /' conftest.$ac_ext >&5
79655
79656 glibcxx_cv_func_finite_use=no
79657 fi
79658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79659       ac_ext=c
79660 ac_cpp='$CPP $CPPFLAGS'
79661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79664
79665
79666 fi
79667
79668   fi
79669   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
79670 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
79671
79672   if test x$glibcxx_cv_func_finite_use = x"yes"; then
79673
79674 for ac_func in finite
79675 do
79676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79677 echo "$as_me:$LINENO: checking for $ac_func" >&5
79678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79679 if eval "test \"\${$as_ac_var+set}\" = set"; then
79680   echo $ECHO_N "(cached) $ECHO_C" >&6
79681 else
79682   if test x$gcc_no_link = xyes; then
79683   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79685    { (exit 1); exit 1; }; }
79686 fi
79687 cat >conftest.$ac_ext <<_ACEOF
79688 /* confdefs.h.  */
79689 _ACEOF
79690 cat confdefs.h >>conftest.$ac_ext
79691 cat >>conftest.$ac_ext <<_ACEOF
79692 /* end confdefs.h.  */
79693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79694    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79695 #define $ac_func innocuous_$ac_func
79696
79697 /* System header to define __stub macros and hopefully few prototypes,
79698     which can conflict with char $ac_func (); below.
79699     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79700     <limits.h> exists even on freestanding compilers.  */
79701
79702 #ifdef __STDC__
79703 # include <limits.h>
79704 #else
79705 # include <assert.h>
79706 #endif
79707
79708 #undef $ac_func
79709
79710 /* Override any gcc2 internal prototype to avoid an error.  */
79711 #ifdef __cplusplus
79712 extern "C"
79713 {
79714 #endif
79715 /* We use char because int might match the return type of a gcc2
79716    builtin and then its argument prototype would still apply.  */
79717 char $ac_func ();
79718 /* The GNU C library defines this for functions which it implements
79719     to always fail with ENOSYS.  Some functions are actually named
79720     something starting with __ and the normal name is an alias.  */
79721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79722 choke me
79723 #else
79724 char (*f) () = $ac_func;
79725 #endif
79726 #ifdef __cplusplus
79727 }
79728 #endif
79729
79730 int
79731 main ()
79732 {
79733 return f != $ac_func;
79734   ;
79735   return 0;
79736 }
79737 _ACEOF
79738 rm -f conftest.$ac_objext conftest$ac_exeext
79739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79740   (eval $ac_link) 2>conftest.er1
79741   ac_status=$?
79742   grep -v '^ *+' conftest.er1 >conftest.err
79743   rm -f conftest.er1
79744   cat conftest.err >&5
79745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79746   (exit $ac_status); } &&
79747          { ac_try='test -z "$ac_c_werror_flag"
79748                          || test ! -s conftest.err'
79749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79750   (eval $ac_try) 2>&5
79751   ac_status=$?
79752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79753   (exit $ac_status); }; } &&
79754          { ac_try='test -s conftest$ac_exeext'
79755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79756   (eval $ac_try) 2>&5
79757   ac_status=$?
79758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79759   (exit $ac_status); }; }; then
79760   eval "$as_ac_var=yes"
79761 else
79762   echo "$as_me: failed program was:" >&5
79763 sed 's/^/| /' conftest.$ac_ext >&5
79764
79765 eval "$as_ac_var=no"
79766 fi
79767 rm -f conftest.err conftest.$ac_objext \
79768       conftest$ac_exeext conftest.$ac_ext
79769 fi
79770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79772 if test `eval echo '${'$as_ac_var'}'` = yes; then
79773   cat >>confdefs.h <<_ACEOF
79774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79775 _ACEOF
79776
79777 fi
79778 done
79779
79780   else
79781
79782   echo "$as_me:$LINENO: checking for _finite declaration" >&5
79783 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
79784   if test x${glibcxx_cv_func__finite_use+set} != xset; then
79785     if test "${glibcxx_cv_func__finite_use+set}" = set; then
79786   echo $ECHO_N "(cached) $ECHO_C" >&6
79787 else
79788
79789
79790
79791       ac_ext=cc
79792 ac_cpp='$CXXCPP $CPPFLAGS'
79793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79796
79797       cat >conftest.$ac_ext <<_ACEOF
79798 /* confdefs.h.  */
79799 _ACEOF
79800 cat confdefs.h >>conftest.$ac_ext
79801 cat >>conftest.$ac_ext <<_ACEOF
79802 /* end confdefs.h.  */
79803 #include <math.h>
79804                       #ifdef HAVE_IEEEFP_H
79805                       #include <ieeefp.h>
79806                       #endif
79807
79808 int
79809 main ()
79810 {
79811  _finite(0);
79812   ;
79813   return 0;
79814 }
79815 _ACEOF
79816 rm -f conftest.$ac_objext
79817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79818   (eval $ac_compile) 2>conftest.er1
79819   ac_status=$?
79820   grep -v '^ *+' conftest.er1 >conftest.err
79821   rm -f conftest.er1
79822   cat conftest.err >&5
79823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79824   (exit $ac_status); } &&
79825          { ac_try='test -z "$ac_cxx_werror_flag"
79826                          || test ! -s conftest.err'
79827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79828   (eval $ac_try) 2>&5
79829   ac_status=$?
79830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79831   (exit $ac_status); }; } &&
79832          { ac_try='test -s conftest.$ac_objext'
79833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79834   (eval $ac_try) 2>&5
79835   ac_status=$?
79836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79837   (exit $ac_status); }; }; then
79838   glibcxx_cv_func__finite_use=yes
79839 else
79840   echo "$as_me: failed program was:" >&5
79841 sed 's/^/| /' conftest.$ac_ext >&5
79842
79843 glibcxx_cv_func__finite_use=no
79844 fi
79845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79846       ac_ext=c
79847 ac_cpp='$CPP $CPPFLAGS'
79848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79851
79852
79853 fi
79854
79855   fi
79856   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
79857 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
79858
79859     if test x$glibcxx_cv_func__finite_use = x"yes"; then
79860
79861 for ac_func in _finite
79862 do
79863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79864 echo "$as_me:$LINENO: checking for $ac_func" >&5
79865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79866 if eval "test \"\${$as_ac_var+set}\" = set"; then
79867   echo $ECHO_N "(cached) $ECHO_C" >&6
79868 else
79869   if test x$gcc_no_link = xyes; then
79870   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79872    { (exit 1); exit 1; }; }
79873 fi
79874 cat >conftest.$ac_ext <<_ACEOF
79875 /* confdefs.h.  */
79876 _ACEOF
79877 cat confdefs.h >>conftest.$ac_ext
79878 cat >>conftest.$ac_ext <<_ACEOF
79879 /* end confdefs.h.  */
79880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79881    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79882 #define $ac_func innocuous_$ac_func
79883
79884 /* System header to define __stub macros and hopefully few prototypes,
79885     which can conflict with char $ac_func (); below.
79886     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79887     <limits.h> exists even on freestanding compilers.  */
79888
79889 #ifdef __STDC__
79890 # include <limits.h>
79891 #else
79892 # include <assert.h>
79893 #endif
79894
79895 #undef $ac_func
79896
79897 /* Override any gcc2 internal prototype to avoid an error.  */
79898 #ifdef __cplusplus
79899 extern "C"
79900 {
79901 #endif
79902 /* We use char because int might match the return type of a gcc2
79903    builtin and then its argument prototype would still apply.  */
79904 char $ac_func ();
79905 /* The GNU C library defines this for functions which it implements
79906     to always fail with ENOSYS.  Some functions are actually named
79907     something starting with __ and the normal name is an alias.  */
79908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79909 choke me
79910 #else
79911 char (*f) () = $ac_func;
79912 #endif
79913 #ifdef __cplusplus
79914 }
79915 #endif
79916
79917 int
79918 main ()
79919 {
79920 return f != $ac_func;
79921   ;
79922   return 0;
79923 }
79924 _ACEOF
79925 rm -f conftest.$ac_objext conftest$ac_exeext
79926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79927   (eval $ac_link) 2>conftest.er1
79928   ac_status=$?
79929   grep -v '^ *+' conftest.er1 >conftest.err
79930   rm -f conftest.er1
79931   cat conftest.err >&5
79932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79933   (exit $ac_status); } &&
79934          { ac_try='test -z "$ac_c_werror_flag"
79935                          || test ! -s conftest.err'
79936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79937   (eval $ac_try) 2>&5
79938   ac_status=$?
79939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79940   (exit $ac_status); }; } &&
79941          { ac_try='test -s conftest$ac_exeext'
79942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79943   (eval $ac_try) 2>&5
79944   ac_status=$?
79945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79946   (exit $ac_status); }; }; then
79947   eval "$as_ac_var=yes"
79948 else
79949   echo "$as_me: failed program was:" >&5
79950 sed 's/^/| /' conftest.$ac_ext >&5
79951
79952 eval "$as_ac_var=no"
79953 fi
79954 rm -f conftest.err conftest.$ac_objext \
79955       conftest$ac_exeext conftest.$ac_ext
79956 fi
79957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79959 if test `eval echo '${'$as_ac_var'}'` = yes; then
79960   cat >>confdefs.h <<_ACEOF
79961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79962 _ACEOF
79963
79964 fi
79965 done
79966
79967     fi
79968   fi
79969
79970
79971
79972
79973
79974
79975   echo "$as_me:$LINENO: checking for copysign declaration" >&5
79976 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
79977   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
79978     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
79979   echo $ECHO_N "(cached) $ECHO_C" >&6
79980 else
79981
79982
79983
79984       ac_ext=cc
79985 ac_cpp='$CXXCPP $CPPFLAGS'
79986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79989
79990       cat >conftest.$ac_ext <<_ACEOF
79991 /* confdefs.h.  */
79992 _ACEOF
79993 cat confdefs.h >>conftest.$ac_ext
79994 cat >>conftest.$ac_ext <<_ACEOF
79995 /* end confdefs.h.  */
79996 #include <math.h>
79997 int
79998 main ()
79999 {
80000  copysign(0, 0);
80001   ;
80002   return 0;
80003 }
80004 _ACEOF
80005 rm -f conftest.$ac_objext
80006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80007   (eval $ac_compile) 2>conftest.er1
80008   ac_status=$?
80009   grep -v '^ *+' conftest.er1 >conftest.err
80010   rm -f conftest.er1
80011   cat conftest.err >&5
80012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80013   (exit $ac_status); } &&
80014          { ac_try='test -z "$ac_cxx_werror_flag"
80015                          || test ! -s conftest.err'
80016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80017   (eval $ac_try) 2>&5
80018   ac_status=$?
80019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80020   (exit $ac_status); }; } &&
80021          { ac_try='test -s conftest.$ac_objext'
80022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80023   (eval $ac_try) 2>&5
80024   ac_status=$?
80025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80026   (exit $ac_status); }; }; then
80027   glibcxx_cv_func_copysign_use=yes
80028 else
80029   echo "$as_me: failed program was:" >&5
80030 sed 's/^/| /' conftest.$ac_ext >&5
80031
80032 glibcxx_cv_func_copysign_use=no
80033 fi
80034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80035       ac_ext=c
80036 ac_cpp='$CPP $CPPFLAGS'
80037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80040
80041
80042 fi
80043
80044   fi
80045   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
80046 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
80047
80048   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
80049
80050 for ac_func in copysign
80051 do
80052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80053 echo "$as_me:$LINENO: checking for $ac_func" >&5
80054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80055 if eval "test \"\${$as_ac_var+set}\" = set"; then
80056   echo $ECHO_N "(cached) $ECHO_C" >&6
80057 else
80058   if test x$gcc_no_link = xyes; then
80059   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80061    { (exit 1); exit 1; }; }
80062 fi
80063 cat >conftest.$ac_ext <<_ACEOF
80064 /* confdefs.h.  */
80065 _ACEOF
80066 cat confdefs.h >>conftest.$ac_ext
80067 cat >>conftest.$ac_ext <<_ACEOF
80068 /* end confdefs.h.  */
80069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80070    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80071 #define $ac_func innocuous_$ac_func
80072
80073 /* System header to define __stub macros and hopefully few prototypes,
80074     which can conflict with char $ac_func (); below.
80075     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80076     <limits.h> exists even on freestanding compilers.  */
80077
80078 #ifdef __STDC__
80079 # include <limits.h>
80080 #else
80081 # include <assert.h>
80082 #endif
80083
80084 #undef $ac_func
80085
80086 /* Override any gcc2 internal prototype to avoid an error.  */
80087 #ifdef __cplusplus
80088 extern "C"
80089 {
80090 #endif
80091 /* We use char because int might match the return type of a gcc2
80092    builtin and then its argument prototype would still apply.  */
80093 char $ac_func ();
80094 /* The GNU C library defines this for functions which it implements
80095     to always fail with ENOSYS.  Some functions are actually named
80096     something starting with __ and the normal name is an alias.  */
80097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80098 choke me
80099 #else
80100 char (*f) () = $ac_func;
80101 #endif
80102 #ifdef __cplusplus
80103 }
80104 #endif
80105
80106 int
80107 main ()
80108 {
80109 return f != $ac_func;
80110   ;
80111   return 0;
80112 }
80113 _ACEOF
80114 rm -f conftest.$ac_objext conftest$ac_exeext
80115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80116   (eval $ac_link) 2>conftest.er1
80117   ac_status=$?
80118   grep -v '^ *+' conftest.er1 >conftest.err
80119   rm -f conftest.er1
80120   cat conftest.err >&5
80121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80122   (exit $ac_status); } &&
80123          { ac_try='test -z "$ac_c_werror_flag"
80124                          || test ! -s conftest.err'
80125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80126   (eval $ac_try) 2>&5
80127   ac_status=$?
80128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80129   (exit $ac_status); }; } &&
80130          { ac_try='test -s conftest$ac_exeext'
80131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80132   (eval $ac_try) 2>&5
80133   ac_status=$?
80134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80135   (exit $ac_status); }; }; then
80136   eval "$as_ac_var=yes"
80137 else
80138   echo "$as_me: failed program was:" >&5
80139 sed 's/^/| /' conftest.$ac_ext >&5
80140
80141 eval "$as_ac_var=no"
80142 fi
80143 rm -f conftest.err conftest.$ac_objext \
80144       conftest$ac_exeext conftest.$ac_ext
80145 fi
80146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80148 if test `eval echo '${'$as_ac_var'}'` = yes; then
80149   cat >>confdefs.h <<_ACEOF
80150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80151 _ACEOF
80152
80153 fi
80154 done
80155
80156   else
80157
80158   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
80159 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
80160   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
80161     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
80162   echo $ECHO_N "(cached) $ECHO_C" >&6
80163 else
80164
80165
80166
80167       ac_ext=cc
80168 ac_cpp='$CXXCPP $CPPFLAGS'
80169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80172
80173       cat >conftest.$ac_ext <<_ACEOF
80174 /* confdefs.h.  */
80175 _ACEOF
80176 cat confdefs.h >>conftest.$ac_ext
80177 cat >>conftest.$ac_ext <<_ACEOF
80178 /* end confdefs.h.  */
80179 #include <math.h>
80180 int
80181 main ()
80182 {
80183  _copysign(0, 0);
80184   ;
80185   return 0;
80186 }
80187 _ACEOF
80188 rm -f conftest.$ac_objext
80189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80190   (eval $ac_compile) 2>conftest.er1
80191   ac_status=$?
80192   grep -v '^ *+' conftest.er1 >conftest.err
80193   rm -f conftest.er1
80194   cat conftest.err >&5
80195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80196   (exit $ac_status); } &&
80197          { ac_try='test -z "$ac_cxx_werror_flag"
80198                          || test ! -s conftest.err'
80199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80200   (eval $ac_try) 2>&5
80201   ac_status=$?
80202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80203   (exit $ac_status); }; } &&
80204          { ac_try='test -s conftest.$ac_objext'
80205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80206   (eval $ac_try) 2>&5
80207   ac_status=$?
80208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80209   (exit $ac_status); }; }; then
80210   glibcxx_cv_func__copysign_use=yes
80211 else
80212   echo "$as_me: failed program was:" >&5
80213 sed 's/^/| /' conftest.$ac_ext >&5
80214
80215 glibcxx_cv_func__copysign_use=no
80216 fi
80217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80218       ac_ext=c
80219 ac_cpp='$CPP $CPPFLAGS'
80220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80223
80224
80225 fi
80226
80227   fi
80228   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
80229 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
80230
80231     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
80232
80233 for ac_func in _copysign
80234 do
80235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80236 echo "$as_me:$LINENO: checking for $ac_func" >&5
80237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80238 if eval "test \"\${$as_ac_var+set}\" = set"; then
80239   echo $ECHO_N "(cached) $ECHO_C" >&6
80240 else
80241   if test x$gcc_no_link = xyes; then
80242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80244    { (exit 1); exit 1; }; }
80245 fi
80246 cat >conftest.$ac_ext <<_ACEOF
80247 /* confdefs.h.  */
80248 _ACEOF
80249 cat confdefs.h >>conftest.$ac_ext
80250 cat >>conftest.$ac_ext <<_ACEOF
80251 /* end confdefs.h.  */
80252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80253    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80254 #define $ac_func innocuous_$ac_func
80255
80256 /* System header to define __stub macros and hopefully few prototypes,
80257     which can conflict with char $ac_func (); below.
80258     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80259     <limits.h> exists even on freestanding compilers.  */
80260
80261 #ifdef __STDC__
80262 # include <limits.h>
80263 #else
80264 # include <assert.h>
80265 #endif
80266
80267 #undef $ac_func
80268
80269 /* Override any gcc2 internal prototype to avoid an error.  */
80270 #ifdef __cplusplus
80271 extern "C"
80272 {
80273 #endif
80274 /* We use char because int might match the return type of a gcc2
80275    builtin and then its argument prototype would still apply.  */
80276 char $ac_func ();
80277 /* The GNU C library defines this for functions which it implements
80278     to always fail with ENOSYS.  Some functions are actually named
80279     something starting with __ and the normal name is an alias.  */
80280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80281 choke me
80282 #else
80283 char (*f) () = $ac_func;
80284 #endif
80285 #ifdef __cplusplus
80286 }
80287 #endif
80288
80289 int
80290 main ()
80291 {
80292 return f != $ac_func;
80293   ;
80294   return 0;
80295 }
80296 _ACEOF
80297 rm -f conftest.$ac_objext conftest$ac_exeext
80298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80299   (eval $ac_link) 2>conftest.er1
80300   ac_status=$?
80301   grep -v '^ *+' conftest.er1 >conftest.err
80302   rm -f conftest.er1
80303   cat conftest.err >&5
80304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80305   (exit $ac_status); } &&
80306          { ac_try='test -z "$ac_c_werror_flag"
80307                          || test ! -s conftest.err'
80308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80309   (eval $ac_try) 2>&5
80310   ac_status=$?
80311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80312   (exit $ac_status); }; } &&
80313          { ac_try='test -s conftest$ac_exeext'
80314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80315   (eval $ac_try) 2>&5
80316   ac_status=$?
80317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80318   (exit $ac_status); }; }; then
80319   eval "$as_ac_var=yes"
80320 else
80321   echo "$as_me: failed program was:" >&5
80322 sed 's/^/| /' conftest.$ac_ext >&5
80323
80324 eval "$as_ac_var=no"
80325 fi
80326 rm -f conftest.err conftest.$ac_objext \
80327       conftest$ac_exeext conftest.$ac_ext
80328 fi
80329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80331 if test `eval echo '${'$as_ac_var'}'` = yes; then
80332   cat >>confdefs.h <<_ACEOF
80333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80334 _ACEOF
80335
80336 fi
80337 done
80338
80339     fi
80340   fi
80341
80342
80343
80344
80345
80346
80347   echo "$as_me:$LINENO: checking for sincos declaration" >&5
80348 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
80349   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
80350     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
80351   echo $ECHO_N "(cached) $ECHO_C" >&6
80352 else
80353
80354
80355
80356       ac_ext=cc
80357 ac_cpp='$CXXCPP $CPPFLAGS'
80358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80361
80362       cat >conftest.$ac_ext <<_ACEOF
80363 /* confdefs.h.  */
80364 _ACEOF
80365 cat confdefs.h >>conftest.$ac_ext
80366 cat >>conftest.$ac_ext <<_ACEOF
80367 /* end confdefs.h.  */
80368 #include <math.h>
80369 int
80370 main ()
80371 {
80372  sincos(0, 0, 0);
80373   ;
80374   return 0;
80375 }
80376 _ACEOF
80377 rm -f conftest.$ac_objext
80378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80379   (eval $ac_compile) 2>conftest.er1
80380   ac_status=$?
80381   grep -v '^ *+' conftest.er1 >conftest.err
80382   rm -f conftest.er1
80383   cat conftest.err >&5
80384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80385   (exit $ac_status); } &&
80386          { ac_try='test -z "$ac_cxx_werror_flag"
80387                          || test ! -s conftest.err'
80388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80389   (eval $ac_try) 2>&5
80390   ac_status=$?
80391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80392   (exit $ac_status); }; } &&
80393          { ac_try='test -s conftest.$ac_objext'
80394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80395   (eval $ac_try) 2>&5
80396   ac_status=$?
80397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80398   (exit $ac_status); }; }; then
80399   glibcxx_cv_func_sincos_use=yes
80400 else
80401   echo "$as_me: failed program was:" >&5
80402 sed 's/^/| /' conftest.$ac_ext >&5
80403
80404 glibcxx_cv_func_sincos_use=no
80405 fi
80406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80407       ac_ext=c
80408 ac_cpp='$CPP $CPPFLAGS'
80409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80412
80413
80414 fi
80415
80416   fi
80417   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
80418 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
80419
80420   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
80421
80422 for ac_func in sincos
80423 do
80424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80425 echo "$as_me:$LINENO: checking for $ac_func" >&5
80426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80427 if eval "test \"\${$as_ac_var+set}\" = set"; then
80428   echo $ECHO_N "(cached) $ECHO_C" >&6
80429 else
80430   if test x$gcc_no_link = xyes; then
80431   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80433    { (exit 1); exit 1; }; }
80434 fi
80435 cat >conftest.$ac_ext <<_ACEOF
80436 /* confdefs.h.  */
80437 _ACEOF
80438 cat confdefs.h >>conftest.$ac_ext
80439 cat >>conftest.$ac_ext <<_ACEOF
80440 /* end confdefs.h.  */
80441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80442    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80443 #define $ac_func innocuous_$ac_func
80444
80445 /* System header to define __stub macros and hopefully few prototypes,
80446     which can conflict with char $ac_func (); below.
80447     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80448     <limits.h> exists even on freestanding compilers.  */
80449
80450 #ifdef __STDC__
80451 # include <limits.h>
80452 #else
80453 # include <assert.h>
80454 #endif
80455
80456 #undef $ac_func
80457
80458 /* Override any gcc2 internal prototype to avoid an error.  */
80459 #ifdef __cplusplus
80460 extern "C"
80461 {
80462 #endif
80463 /* We use char because int might match the return type of a gcc2
80464    builtin and then its argument prototype would still apply.  */
80465 char $ac_func ();
80466 /* The GNU C library defines this for functions which it implements
80467     to always fail with ENOSYS.  Some functions are actually named
80468     something starting with __ and the normal name is an alias.  */
80469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80470 choke me
80471 #else
80472 char (*f) () = $ac_func;
80473 #endif
80474 #ifdef __cplusplus
80475 }
80476 #endif
80477
80478 int
80479 main ()
80480 {
80481 return f != $ac_func;
80482   ;
80483   return 0;
80484 }
80485 _ACEOF
80486 rm -f conftest.$ac_objext conftest$ac_exeext
80487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80488   (eval $ac_link) 2>conftest.er1
80489   ac_status=$?
80490   grep -v '^ *+' conftest.er1 >conftest.err
80491   rm -f conftest.er1
80492   cat conftest.err >&5
80493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80494   (exit $ac_status); } &&
80495          { ac_try='test -z "$ac_c_werror_flag"
80496                          || test ! -s conftest.err'
80497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80498   (eval $ac_try) 2>&5
80499   ac_status=$?
80500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80501   (exit $ac_status); }; } &&
80502          { ac_try='test -s conftest$ac_exeext'
80503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80504   (eval $ac_try) 2>&5
80505   ac_status=$?
80506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80507   (exit $ac_status); }; }; then
80508   eval "$as_ac_var=yes"
80509 else
80510   echo "$as_me: failed program was:" >&5
80511 sed 's/^/| /' conftest.$ac_ext >&5
80512
80513 eval "$as_ac_var=no"
80514 fi
80515 rm -f conftest.err conftest.$ac_objext \
80516       conftest$ac_exeext conftest.$ac_ext
80517 fi
80518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80520 if test `eval echo '${'$as_ac_var'}'` = yes; then
80521   cat >>confdefs.h <<_ACEOF
80522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80523 _ACEOF
80524
80525 fi
80526 done
80527
80528   else
80529
80530   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
80531 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
80532   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
80533     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
80534   echo $ECHO_N "(cached) $ECHO_C" >&6
80535 else
80536
80537
80538
80539       ac_ext=cc
80540 ac_cpp='$CXXCPP $CPPFLAGS'
80541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80544
80545       cat >conftest.$ac_ext <<_ACEOF
80546 /* confdefs.h.  */
80547 _ACEOF
80548 cat confdefs.h >>conftest.$ac_ext
80549 cat >>conftest.$ac_ext <<_ACEOF
80550 /* end confdefs.h.  */
80551 #include <math.h>
80552 int
80553 main ()
80554 {
80555  _sincos(0, 0, 0);
80556   ;
80557   return 0;
80558 }
80559 _ACEOF
80560 rm -f conftest.$ac_objext
80561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80562   (eval $ac_compile) 2>conftest.er1
80563   ac_status=$?
80564   grep -v '^ *+' conftest.er1 >conftest.err
80565   rm -f conftest.er1
80566   cat conftest.err >&5
80567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80568   (exit $ac_status); } &&
80569          { ac_try='test -z "$ac_cxx_werror_flag"
80570                          || test ! -s conftest.err'
80571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80572   (eval $ac_try) 2>&5
80573   ac_status=$?
80574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80575   (exit $ac_status); }; } &&
80576          { ac_try='test -s conftest.$ac_objext'
80577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80578   (eval $ac_try) 2>&5
80579   ac_status=$?
80580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80581   (exit $ac_status); }; }; then
80582   glibcxx_cv_func__sincos_use=yes
80583 else
80584   echo "$as_me: failed program was:" >&5
80585 sed 's/^/| /' conftest.$ac_ext >&5
80586
80587 glibcxx_cv_func__sincos_use=no
80588 fi
80589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80590       ac_ext=c
80591 ac_cpp='$CPP $CPPFLAGS'
80592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80595
80596
80597 fi
80598
80599   fi
80600   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
80601 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
80602
80603     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
80604
80605 for ac_func in _sincos
80606 do
80607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80608 echo "$as_me:$LINENO: checking for $ac_func" >&5
80609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80610 if eval "test \"\${$as_ac_var+set}\" = set"; then
80611   echo $ECHO_N "(cached) $ECHO_C" >&6
80612 else
80613   if test x$gcc_no_link = xyes; then
80614   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80616    { (exit 1); exit 1; }; }
80617 fi
80618 cat >conftest.$ac_ext <<_ACEOF
80619 /* confdefs.h.  */
80620 _ACEOF
80621 cat confdefs.h >>conftest.$ac_ext
80622 cat >>conftest.$ac_ext <<_ACEOF
80623 /* end confdefs.h.  */
80624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80625    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80626 #define $ac_func innocuous_$ac_func
80627
80628 /* System header to define __stub macros and hopefully few prototypes,
80629     which can conflict with char $ac_func (); below.
80630     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80631     <limits.h> exists even on freestanding compilers.  */
80632
80633 #ifdef __STDC__
80634 # include <limits.h>
80635 #else
80636 # include <assert.h>
80637 #endif
80638
80639 #undef $ac_func
80640
80641 /* Override any gcc2 internal prototype to avoid an error.  */
80642 #ifdef __cplusplus
80643 extern "C"
80644 {
80645 #endif
80646 /* We use char because int might match the return type of a gcc2
80647    builtin and then its argument prototype would still apply.  */
80648 char $ac_func ();
80649 /* The GNU C library defines this for functions which it implements
80650     to always fail with ENOSYS.  Some functions are actually named
80651     something starting with __ and the normal name is an alias.  */
80652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80653 choke me
80654 #else
80655 char (*f) () = $ac_func;
80656 #endif
80657 #ifdef __cplusplus
80658 }
80659 #endif
80660
80661 int
80662 main ()
80663 {
80664 return f != $ac_func;
80665   ;
80666   return 0;
80667 }
80668 _ACEOF
80669 rm -f conftest.$ac_objext conftest$ac_exeext
80670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80671   (eval $ac_link) 2>conftest.er1
80672   ac_status=$?
80673   grep -v '^ *+' conftest.er1 >conftest.err
80674   rm -f conftest.er1
80675   cat conftest.err >&5
80676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80677   (exit $ac_status); } &&
80678          { ac_try='test -z "$ac_c_werror_flag"
80679                          || test ! -s conftest.err'
80680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80681   (eval $ac_try) 2>&5
80682   ac_status=$?
80683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80684   (exit $ac_status); }; } &&
80685          { ac_try='test -s conftest$ac_exeext'
80686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80687   (eval $ac_try) 2>&5
80688   ac_status=$?
80689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80690   (exit $ac_status); }; }; then
80691   eval "$as_ac_var=yes"
80692 else
80693   echo "$as_me: failed program was:" >&5
80694 sed 's/^/| /' conftest.$ac_ext >&5
80695
80696 eval "$as_ac_var=no"
80697 fi
80698 rm -f conftest.err conftest.$ac_objext \
80699       conftest$ac_exeext conftest.$ac_ext
80700 fi
80701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80703 if test `eval echo '${'$as_ac_var'}'` = yes; then
80704   cat >>confdefs.h <<_ACEOF
80705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80706 _ACEOF
80707
80708 fi
80709 done
80710
80711     fi
80712   fi
80713
80714
80715
80716
80717
80718
80719   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
80720 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
80721   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
80722     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
80723   echo $ECHO_N "(cached) $ECHO_C" >&6
80724 else
80725
80726
80727
80728       ac_ext=cc
80729 ac_cpp='$CXXCPP $CPPFLAGS'
80730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80733
80734       cat >conftest.$ac_ext <<_ACEOF
80735 /* confdefs.h.  */
80736 _ACEOF
80737 cat confdefs.h >>conftest.$ac_ext
80738 cat >>conftest.$ac_ext <<_ACEOF
80739 /* end confdefs.h.  */
80740 #include <math.h>
80741                       #ifdef HAVE_IEEEFP_H
80742                       #include <ieeefp.h>
80743                       #endif
80744
80745 int
80746 main ()
80747 {
80748  fpclass(0);
80749   ;
80750   return 0;
80751 }
80752 _ACEOF
80753 rm -f conftest.$ac_objext
80754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80755   (eval $ac_compile) 2>conftest.er1
80756   ac_status=$?
80757   grep -v '^ *+' conftest.er1 >conftest.err
80758   rm -f conftest.er1
80759   cat conftest.err >&5
80760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80761   (exit $ac_status); } &&
80762          { ac_try='test -z "$ac_cxx_werror_flag"
80763                          || test ! -s conftest.err'
80764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80765   (eval $ac_try) 2>&5
80766   ac_status=$?
80767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80768   (exit $ac_status); }; } &&
80769          { ac_try='test -s conftest.$ac_objext'
80770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80771   (eval $ac_try) 2>&5
80772   ac_status=$?
80773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80774   (exit $ac_status); }; }; then
80775   glibcxx_cv_func_fpclass_use=yes
80776 else
80777   echo "$as_me: failed program was:" >&5
80778 sed 's/^/| /' conftest.$ac_ext >&5
80779
80780 glibcxx_cv_func_fpclass_use=no
80781 fi
80782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80783       ac_ext=c
80784 ac_cpp='$CPP $CPPFLAGS'
80785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80788
80789
80790 fi
80791
80792   fi
80793   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
80794 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
80795
80796   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
80797
80798 for ac_func in fpclass
80799 do
80800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80801 echo "$as_me:$LINENO: checking for $ac_func" >&5
80802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80803 if eval "test \"\${$as_ac_var+set}\" = set"; then
80804   echo $ECHO_N "(cached) $ECHO_C" >&6
80805 else
80806   if test x$gcc_no_link = xyes; then
80807   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80809    { (exit 1); exit 1; }; }
80810 fi
80811 cat >conftest.$ac_ext <<_ACEOF
80812 /* confdefs.h.  */
80813 _ACEOF
80814 cat confdefs.h >>conftest.$ac_ext
80815 cat >>conftest.$ac_ext <<_ACEOF
80816 /* end confdefs.h.  */
80817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80818    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80819 #define $ac_func innocuous_$ac_func
80820
80821 /* System header to define __stub macros and hopefully few prototypes,
80822     which can conflict with char $ac_func (); below.
80823     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80824     <limits.h> exists even on freestanding compilers.  */
80825
80826 #ifdef __STDC__
80827 # include <limits.h>
80828 #else
80829 # include <assert.h>
80830 #endif
80831
80832 #undef $ac_func
80833
80834 /* Override any gcc2 internal prototype to avoid an error.  */
80835 #ifdef __cplusplus
80836 extern "C"
80837 {
80838 #endif
80839 /* We use char because int might match the return type of a gcc2
80840    builtin and then its argument prototype would still apply.  */
80841 char $ac_func ();
80842 /* The GNU C library defines this for functions which it implements
80843     to always fail with ENOSYS.  Some functions are actually named
80844     something starting with __ and the normal name is an alias.  */
80845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80846 choke me
80847 #else
80848 char (*f) () = $ac_func;
80849 #endif
80850 #ifdef __cplusplus
80851 }
80852 #endif
80853
80854 int
80855 main ()
80856 {
80857 return f != $ac_func;
80858   ;
80859   return 0;
80860 }
80861 _ACEOF
80862 rm -f conftest.$ac_objext conftest$ac_exeext
80863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80864   (eval $ac_link) 2>conftest.er1
80865   ac_status=$?
80866   grep -v '^ *+' conftest.er1 >conftest.err
80867   rm -f conftest.er1
80868   cat conftest.err >&5
80869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80870   (exit $ac_status); } &&
80871          { ac_try='test -z "$ac_c_werror_flag"
80872                          || test ! -s conftest.err'
80873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80874   (eval $ac_try) 2>&5
80875   ac_status=$?
80876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80877   (exit $ac_status); }; } &&
80878          { ac_try='test -s conftest$ac_exeext'
80879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80880   (eval $ac_try) 2>&5
80881   ac_status=$?
80882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80883   (exit $ac_status); }; }; then
80884   eval "$as_ac_var=yes"
80885 else
80886   echo "$as_me: failed program was:" >&5
80887 sed 's/^/| /' conftest.$ac_ext >&5
80888
80889 eval "$as_ac_var=no"
80890 fi
80891 rm -f conftest.err conftest.$ac_objext \
80892       conftest$ac_exeext conftest.$ac_ext
80893 fi
80894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80896 if test `eval echo '${'$as_ac_var'}'` = yes; then
80897   cat >>confdefs.h <<_ACEOF
80898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80899 _ACEOF
80900
80901 fi
80902 done
80903
80904   else
80905
80906   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
80907 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
80908   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
80909     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
80910   echo $ECHO_N "(cached) $ECHO_C" >&6
80911 else
80912
80913
80914
80915       ac_ext=cc
80916 ac_cpp='$CXXCPP $CPPFLAGS'
80917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80920
80921       cat >conftest.$ac_ext <<_ACEOF
80922 /* confdefs.h.  */
80923 _ACEOF
80924 cat confdefs.h >>conftest.$ac_ext
80925 cat >>conftest.$ac_ext <<_ACEOF
80926 /* end confdefs.h.  */
80927 #include <math.h>
80928                       #ifdef HAVE_IEEEFP_H
80929                       #include <ieeefp.h>
80930                       #endif
80931
80932 int
80933 main ()
80934 {
80935  _fpclass(0);
80936   ;
80937   return 0;
80938 }
80939 _ACEOF
80940 rm -f conftest.$ac_objext
80941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80942   (eval $ac_compile) 2>conftest.er1
80943   ac_status=$?
80944   grep -v '^ *+' conftest.er1 >conftest.err
80945   rm -f conftest.er1
80946   cat conftest.err >&5
80947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80948   (exit $ac_status); } &&
80949          { ac_try='test -z "$ac_cxx_werror_flag"
80950                          || test ! -s conftest.err'
80951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80952   (eval $ac_try) 2>&5
80953   ac_status=$?
80954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80955   (exit $ac_status); }; } &&
80956          { ac_try='test -s conftest.$ac_objext'
80957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80958   (eval $ac_try) 2>&5
80959   ac_status=$?
80960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80961   (exit $ac_status); }; }; then
80962   glibcxx_cv_func__fpclass_use=yes
80963 else
80964   echo "$as_me: failed program was:" >&5
80965 sed 's/^/| /' conftest.$ac_ext >&5
80966
80967 glibcxx_cv_func__fpclass_use=no
80968 fi
80969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80970       ac_ext=c
80971 ac_cpp='$CPP $CPPFLAGS'
80972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80975
80976
80977 fi
80978
80979   fi
80980   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
80981 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
80982
80983     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
80984
80985 for ac_func in _fpclass
80986 do
80987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80988 echo "$as_me:$LINENO: checking for $ac_func" >&5
80989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80990 if eval "test \"\${$as_ac_var+set}\" = set"; then
80991   echo $ECHO_N "(cached) $ECHO_C" >&6
80992 else
80993   if test x$gcc_no_link = xyes; then
80994   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80996    { (exit 1); exit 1; }; }
80997 fi
80998 cat >conftest.$ac_ext <<_ACEOF
80999 /* confdefs.h.  */
81000 _ACEOF
81001 cat confdefs.h >>conftest.$ac_ext
81002 cat >>conftest.$ac_ext <<_ACEOF
81003 /* end confdefs.h.  */
81004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81005    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81006 #define $ac_func innocuous_$ac_func
81007
81008 /* System header to define __stub macros and hopefully few prototypes,
81009     which can conflict with char $ac_func (); below.
81010     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81011     <limits.h> exists even on freestanding compilers.  */
81012
81013 #ifdef __STDC__
81014 # include <limits.h>
81015 #else
81016 # include <assert.h>
81017 #endif
81018
81019 #undef $ac_func
81020
81021 /* Override any gcc2 internal prototype to avoid an error.  */
81022 #ifdef __cplusplus
81023 extern "C"
81024 {
81025 #endif
81026 /* We use char because int might match the return type of a gcc2
81027    builtin and then its argument prototype would still apply.  */
81028 char $ac_func ();
81029 /* The GNU C library defines this for functions which it implements
81030     to always fail with ENOSYS.  Some functions are actually named
81031     something starting with __ and the normal name is an alias.  */
81032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81033 choke me
81034 #else
81035 char (*f) () = $ac_func;
81036 #endif
81037 #ifdef __cplusplus
81038 }
81039 #endif
81040
81041 int
81042 main ()
81043 {
81044 return f != $ac_func;
81045   ;
81046   return 0;
81047 }
81048 _ACEOF
81049 rm -f conftest.$ac_objext conftest$ac_exeext
81050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81051   (eval $ac_link) 2>conftest.er1
81052   ac_status=$?
81053   grep -v '^ *+' conftest.er1 >conftest.err
81054   rm -f conftest.er1
81055   cat conftest.err >&5
81056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81057   (exit $ac_status); } &&
81058          { ac_try='test -z "$ac_c_werror_flag"
81059                          || test ! -s conftest.err'
81060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81061   (eval $ac_try) 2>&5
81062   ac_status=$?
81063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81064   (exit $ac_status); }; } &&
81065          { ac_try='test -s conftest$ac_exeext'
81066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81067   (eval $ac_try) 2>&5
81068   ac_status=$?
81069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81070   (exit $ac_status); }; }; then
81071   eval "$as_ac_var=yes"
81072 else
81073   echo "$as_me: failed program was:" >&5
81074 sed 's/^/| /' conftest.$ac_ext >&5
81075
81076 eval "$as_ac_var=no"
81077 fi
81078 rm -f conftest.err conftest.$ac_objext \
81079       conftest$ac_exeext conftest.$ac_ext
81080 fi
81081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81083 if test `eval echo '${'$as_ac_var'}'` = yes; then
81084   cat >>confdefs.h <<_ACEOF
81085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81086 _ACEOF
81087
81088 fi
81089 done
81090
81091     fi
81092   fi
81093
81094
81095
81096
81097
81098
81099   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
81100 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
81101   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
81102     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
81103   echo $ECHO_N "(cached) $ECHO_C" >&6
81104 else
81105
81106
81107
81108       ac_ext=cc
81109 ac_cpp='$CXXCPP $CPPFLAGS'
81110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81113
81114       cat >conftest.$ac_ext <<_ACEOF
81115 /* confdefs.h.  */
81116 _ACEOF
81117 cat confdefs.h >>conftest.$ac_ext
81118 cat >>conftest.$ac_ext <<_ACEOF
81119 /* end confdefs.h.  */
81120 #include <math.h>
81121                       #ifdef HAVE_IEEEFP_H
81122                       #include <ieeefp.h>
81123                       #endif
81124
81125 int
81126 main ()
81127 {
81128  qfpclass(0);
81129   ;
81130   return 0;
81131 }
81132 _ACEOF
81133 rm -f conftest.$ac_objext
81134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81135   (eval $ac_compile) 2>conftest.er1
81136   ac_status=$?
81137   grep -v '^ *+' conftest.er1 >conftest.err
81138   rm -f conftest.er1
81139   cat conftest.err >&5
81140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81141   (exit $ac_status); } &&
81142          { ac_try='test -z "$ac_cxx_werror_flag"
81143                          || test ! -s conftest.err'
81144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81145   (eval $ac_try) 2>&5
81146   ac_status=$?
81147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81148   (exit $ac_status); }; } &&
81149          { ac_try='test -s conftest.$ac_objext'
81150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81151   (eval $ac_try) 2>&5
81152   ac_status=$?
81153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81154   (exit $ac_status); }; }; then
81155   glibcxx_cv_func_qfpclass_use=yes
81156 else
81157   echo "$as_me: failed program was:" >&5
81158 sed 's/^/| /' conftest.$ac_ext >&5
81159
81160 glibcxx_cv_func_qfpclass_use=no
81161 fi
81162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81163       ac_ext=c
81164 ac_cpp='$CPP $CPPFLAGS'
81165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81168
81169
81170 fi
81171
81172   fi
81173   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
81174 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
81175
81176   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
81177
81178 for ac_func in qfpclass
81179 do
81180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81181 echo "$as_me:$LINENO: checking for $ac_func" >&5
81182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81183 if eval "test \"\${$as_ac_var+set}\" = set"; then
81184   echo $ECHO_N "(cached) $ECHO_C" >&6
81185 else
81186   if test x$gcc_no_link = xyes; then
81187   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81189    { (exit 1); exit 1; }; }
81190 fi
81191 cat >conftest.$ac_ext <<_ACEOF
81192 /* confdefs.h.  */
81193 _ACEOF
81194 cat confdefs.h >>conftest.$ac_ext
81195 cat >>conftest.$ac_ext <<_ACEOF
81196 /* end confdefs.h.  */
81197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81198    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81199 #define $ac_func innocuous_$ac_func
81200
81201 /* System header to define __stub macros and hopefully few prototypes,
81202     which can conflict with char $ac_func (); below.
81203     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81204     <limits.h> exists even on freestanding compilers.  */
81205
81206 #ifdef __STDC__
81207 # include <limits.h>
81208 #else
81209 # include <assert.h>
81210 #endif
81211
81212 #undef $ac_func
81213
81214 /* Override any gcc2 internal prototype to avoid an error.  */
81215 #ifdef __cplusplus
81216 extern "C"
81217 {
81218 #endif
81219 /* We use char because int might match the return type of a gcc2
81220    builtin and then its argument prototype would still apply.  */
81221 char $ac_func ();
81222 /* The GNU C library defines this for functions which it implements
81223     to always fail with ENOSYS.  Some functions are actually named
81224     something starting with __ and the normal name is an alias.  */
81225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81226 choke me
81227 #else
81228 char (*f) () = $ac_func;
81229 #endif
81230 #ifdef __cplusplus
81231 }
81232 #endif
81233
81234 int
81235 main ()
81236 {
81237 return f != $ac_func;
81238   ;
81239   return 0;
81240 }
81241 _ACEOF
81242 rm -f conftest.$ac_objext conftest$ac_exeext
81243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81244   (eval $ac_link) 2>conftest.er1
81245   ac_status=$?
81246   grep -v '^ *+' conftest.er1 >conftest.err
81247   rm -f conftest.er1
81248   cat conftest.err >&5
81249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81250   (exit $ac_status); } &&
81251          { ac_try='test -z "$ac_c_werror_flag"
81252                          || test ! -s conftest.err'
81253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81254   (eval $ac_try) 2>&5
81255   ac_status=$?
81256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81257   (exit $ac_status); }; } &&
81258          { ac_try='test -s conftest$ac_exeext'
81259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81260   (eval $ac_try) 2>&5
81261   ac_status=$?
81262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81263   (exit $ac_status); }; }; then
81264   eval "$as_ac_var=yes"
81265 else
81266   echo "$as_me: failed program was:" >&5
81267 sed 's/^/| /' conftest.$ac_ext >&5
81268
81269 eval "$as_ac_var=no"
81270 fi
81271 rm -f conftest.err conftest.$ac_objext \
81272       conftest$ac_exeext conftest.$ac_ext
81273 fi
81274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81276 if test `eval echo '${'$as_ac_var'}'` = yes; then
81277   cat >>confdefs.h <<_ACEOF
81278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81279 _ACEOF
81280
81281 fi
81282 done
81283
81284   else
81285
81286   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
81287 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
81288   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
81289     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
81290   echo $ECHO_N "(cached) $ECHO_C" >&6
81291 else
81292
81293
81294
81295       ac_ext=cc
81296 ac_cpp='$CXXCPP $CPPFLAGS'
81297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81300
81301       cat >conftest.$ac_ext <<_ACEOF
81302 /* confdefs.h.  */
81303 _ACEOF
81304 cat confdefs.h >>conftest.$ac_ext
81305 cat >>conftest.$ac_ext <<_ACEOF
81306 /* end confdefs.h.  */
81307 #include <math.h>
81308                       #ifdef HAVE_IEEEFP_H
81309                       #include <ieeefp.h>
81310                       #endif
81311
81312 int
81313 main ()
81314 {
81315  _qfpclass(0);
81316   ;
81317   return 0;
81318 }
81319 _ACEOF
81320 rm -f conftest.$ac_objext
81321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81322   (eval $ac_compile) 2>conftest.er1
81323   ac_status=$?
81324   grep -v '^ *+' conftest.er1 >conftest.err
81325   rm -f conftest.er1
81326   cat conftest.err >&5
81327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81328   (exit $ac_status); } &&
81329          { ac_try='test -z "$ac_cxx_werror_flag"
81330                          || test ! -s conftest.err'
81331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81332   (eval $ac_try) 2>&5
81333   ac_status=$?
81334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81335   (exit $ac_status); }; } &&
81336          { ac_try='test -s conftest.$ac_objext'
81337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81338   (eval $ac_try) 2>&5
81339   ac_status=$?
81340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81341   (exit $ac_status); }; }; then
81342   glibcxx_cv_func__qfpclass_use=yes
81343 else
81344   echo "$as_me: failed program was:" >&5
81345 sed 's/^/| /' conftest.$ac_ext >&5
81346
81347 glibcxx_cv_func__qfpclass_use=no
81348 fi
81349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81350       ac_ext=c
81351 ac_cpp='$CPP $CPPFLAGS'
81352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81355
81356
81357 fi
81358
81359   fi
81360   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
81361 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
81362
81363     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
81364
81365 for ac_func in _qfpclass
81366 do
81367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81368 echo "$as_me:$LINENO: checking for $ac_func" >&5
81369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81370 if eval "test \"\${$as_ac_var+set}\" = set"; then
81371   echo $ECHO_N "(cached) $ECHO_C" >&6
81372 else
81373   if test x$gcc_no_link = xyes; then
81374   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81376    { (exit 1); exit 1; }; }
81377 fi
81378 cat >conftest.$ac_ext <<_ACEOF
81379 /* confdefs.h.  */
81380 _ACEOF
81381 cat confdefs.h >>conftest.$ac_ext
81382 cat >>conftest.$ac_ext <<_ACEOF
81383 /* end confdefs.h.  */
81384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81385    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81386 #define $ac_func innocuous_$ac_func
81387
81388 /* System header to define __stub macros and hopefully few prototypes,
81389     which can conflict with char $ac_func (); below.
81390     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81391     <limits.h> exists even on freestanding compilers.  */
81392
81393 #ifdef __STDC__
81394 # include <limits.h>
81395 #else
81396 # include <assert.h>
81397 #endif
81398
81399 #undef $ac_func
81400
81401 /* Override any gcc2 internal prototype to avoid an error.  */
81402 #ifdef __cplusplus
81403 extern "C"
81404 {
81405 #endif
81406 /* We use char because int might match the return type of a gcc2
81407    builtin and then its argument prototype would still apply.  */
81408 char $ac_func ();
81409 /* The GNU C library defines this for functions which it implements
81410     to always fail with ENOSYS.  Some functions are actually named
81411     something starting with __ and the normal name is an alias.  */
81412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81413 choke me
81414 #else
81415 char (*f) () = $ac_func;
81416 #endif
81417 #ifdef __cplusplus
81418 }
81419 #endif
81420
81421 int
81422 main ()
81423 {
81424 return f != $ac_func;
81425   ;
81426   return 0;
81427 }
81428 _ACEOF
81429 rm -f conftest.$ac_objext conftest$ac_exeext
81430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81431   (eval $ac_link) 2>conftest.er1
81432   ac_status=$?
81433   grep -v '^ *+' conftest.er1 >conftest.err
81434   rm -f conftest.er1
81435   cat conftest.err >&5
81436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81437   (exit $ac_status); } &&
81438          { ac_try='test -z "$ac_c_werror_flag"
81439                          || test ! -s conftest.err'
81440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81441   (eval $ac_try) 2>&5
81442   ac_status=$?
81443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81444   (exit $ac_status); }; } &&
81445          { ac_try='test -s conftest$ac_exeext'
81446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81447   (eval $ac_try) 2>&5
81448   ac_status=$?
81449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81450   (exit $ac_status); }; }; then
81451   eval "$as_ac_var=yes"
81452 else
81453   echo "$as_me: failed program was:" >&5
81454 sed 's/^/| /' conftest.$ac_ext >&5
81455
81456 eval "$as_ac_var=no"
81457 fi
81458 rm -f conftest.err conftest.$ac_objext \
81459       conftest$ac_exeext conftest.$ac_ext
81460 fi
81461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81463 if test `eval echo '${'$as_ac_var'}'` = yes; then
81464   cat >>confdefs.h <<_ACEOF
81465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81466 _ACEOF
81467
81468 fi
81469 done
81470
81471     fi
81472   fi
81473
81474
81475
81476
81477
81478
81479   echo "$as_me:$LINENO: checking for hypot declaration" >&5
81480 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
81481   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
81482     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
81483   echo $ECHO_N "(cached) $ECHO_C" >&6
81484 else
81485
81486
81487
81488       ac_ext=cc
81489 ac_cpp='$CXXCPP $CPPFLAGS'
81490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81493
81494       cat >conftest.$ac_ext <<_ACEOF
81495 /* confdefs.h.  */
81496 _ACEOF
81497 cat confdefs.h >>conftest.$ac_ext
81498 cat >>conftest.$ac_ext <<_ACEOF
81499 /* end confdefs.h.  */
81500 #include <math.h>
81501 int
81502 main ()
81503 {
81504  hypot(0, 0);
81505   ;
81506   return 0;
81507 }
81508 _ACEOF
81509 rm -f conftest.$ac_objext
81510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81511   (eval $ac_compile) 2>conftest.er1
81512   ac_status=$?
81513   grep -v '^ *+' conftest.er1 >conftest.err
81514   rm -f conftest.er1
81515   cat conftest.err >&5
81516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81517   (exit $ac_status); } &&
81518          { ac_try='test -z "$ac_cxx_werror_flag"
81519                          || test ! -s conftest.err'
81520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81521   (eval $ac_try) 2>&5
81522   ac_status=$?
81523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81524   (exit $ac_status); }; } &&
81525          { ac_try='test -s conftest.$ac_objext'
81526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81527   (eval $ac_try) 2>&5
81528   ac_status=$?
81529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81530   (exit $ac_status); }; }; then
81531   glibcxx_cv_func_hypot_use=yes
81532 else
81533   echo "$as_me: failed program was:" >&5
81534 sed 's/^/| /' conftest.$ac_ext >&5
81535
81536 glibcxx_cv_func_hypot_use=no
81537 fi
81538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81539       ac_ext=c
81540 ac_cpp='$CPP $CPPFLAGS'
81541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81544
81545
81546 fi
81547
81548   fi
81549   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
81550 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
81551
81552   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
81553
81554 for ac_func in hypot
81555 do
81556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81557 echo "$as_me:$LINENO: checking for $ac_func" >&5
81558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81559 if eval "test \"\${$as_ac_var+set}\" = set"; then
81560   echo $ECHO_N "(cached) $ECHO_C" >&6
81561 else
81562   if test x$gcc_no_link = xyes; then
81563   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81565    { (exit 1); exit 1; }; }
81566 fi
81567 cat >conftest.$ac_ext <<_ACEOF
81568 /* confdefs.h.  */
81569 _ACEOF
81570 cat confdefs.h >>conftest.$ac_ext
81571 cat >>conftest.$ac_ext <<_ACEOF
81572 /* end confdefs.h.  */
81573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81574    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81575 #define $ac_func innocuous_$ac_func
81576
81577 /* System header to define __stub macros and hopefully few prototypes,
81578     which can conflict with char $ac_func (); below.
81579     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81580     <limits.h> exists even on freestanding compilers.  */
81581
81582 #ifdef __STDC__
81583 # include <limits.h>
81584 #else
81585 # include <assert.h>
81586 #endif
81587
81588 #undef $ac_func
81589
81590 /* Override any gcc2 internal prototype to avoid an error.  */
81591 #ifdef __cplusplus
81592 extern "C"
81593 {
81594 #endif
81595 /* We use char because int might match the return type of a gcc2
81596    builtin and then its argument prototype would still apply.  */
81597 char $ac_func ();
81598 /* The GNU C library defines this for functions which it implements
81599     to always fail with ENOSYS.  Some functions are actually named
81600     something starting with __ and the normal name is an alias.  */
81601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81602 choke me
81603 #else
81604 char (*f) () = $ac_func;
81605 #endif
81606 #ifdef __cplusplus
81607 }
81608 #endif
81609
81610 int
81611 main ()
81612 {
81613 return f != $ac_func;
81614   ;
81615   return 0;
81616 }
81617 _ACEOF
81618 rm -f conftest.$ac_objext conftest$ac_exeext
81619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81620   (eval $ac_link) 2>conftest.er1
81621   ac_status=$?
81622   grep -v '^ *+' conftest.er1 >conftest.err
81623   rm -f conftest.er1
81624   cat conftest.err >&5
81625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81626   (exit $ac_status); } &&
81627          { ac_try='test -z "$ac_c_werror_flag"
81628                          || test ! -s conftest.err'
81629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81630   (eval $ac_try) 2>&5
81631   ac_status=$?
81632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81633   (exit $ac_status); }; } &&
81634          { ac_try='test -s conftest$ac_exeext'
81635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81636   (eval $ac_try) 2>&5
81637   ac_status=$?
81638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81639   (exit $ac_status); }; }; then
81640   eval "$as_ac_var=yes"
81641 else
81642   echo "$as_me: failed program was:" >&5
81643 sed 's/^/| /' conftest.$ac_ext >&5
81644
81645 eval "$as_ac_var=no"
81646 fi
81647 rm -f conftest.err conftest.$ac_objext \
81648       conftest$ac_exeext conftest.$ac_ext
81649 fi
81650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81652 if test `eval echo '${'$as_ac_var'}'` = yes; then
81653   cat >>confdefs.h <<_ACEOF
81654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81655 _ACEOF
81656
81657 fi
81658 done
81659
81660   else
81661
81662   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
81663 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
81664   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
81665     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
81666   echo $ECHO_N "(cached) $ECHO_C" >&6
81667 else
81668
81669
81670
81671       ac_ext=cc
81672 ac_cpp='$CXXCPP $CPPFLAGS'
81673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81676
81677       cat >conftest.$ac_ext <<_ACEOF
81678 /* confdefs.h.  */
81679 _ACEOF
81680 cat confdefs.h >>conftest.$ac_ext
81681 cat >>conftest.$ac_ext <<_ACEOF
81682 /* end confdefs.h.  */
81683 #include <math.h>
81684 int
81685 main ()
81686 {
81687  _hypot(0, 0);
81688   ;
81689   return 0;
81690 }
81691 _ACEOF
81692 rm -f conftest.$ac_objext
81693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81694   (eval $ac_compile) 2>conftest.er1
81695   ac_status=$?
81696   grep -v '^ *+' conftest.er1 >conftest.err
81697   rm -f conftest.er1
81698   cat conftest.err >&5
81699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81700   (exit $ac_status); } &&
81701          { ac_try='test -z "$ac_cxx_werror_flag"
81702                          || test ! -s conftest.err'
81703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81704   (eval $ac_try) 2>&5
81705   ac_status=$?
81706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81707   (exit $ac_status); }; } &&
81708          { ac_try='test -s conftest.$ac_objext'
81709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81710   (eval $ac_try) 2>&5
81711   ac_status=$?
81712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81713   (exit $ac_status); }; }; then
81714   glibcxx_cv_func__hypot_use=yes
81715 else
81716   echo "$as_me: failed program was:" >&5
81717 sed 's/^/| /' conftest.$ac_ext >&5
81718
81719 glibcxx_cv_func__hypot_use=no
81720 fi
81721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81722       ac_ext=c
81723 ac_cpp='$CPP $CPPFLAGS'
81724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81727
81728
81729 fi
81730
81731   fi
81732   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
81733 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
81734
81735     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
81736
81737 for ac_func in _hypot
81738 do
81739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81740 echo "$as_me:$LINENO: checking for $ac_func" >&5
81741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81742 if eval "test \"\${$as_ac_var+set}\" = set"; then
81743   echo $ECHO_N "(cached) $ECHO_C" >&6
81744 else
81745   if test x$gcc_no_link = xyes; then
81746   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81748    { (exit 1); exit 1; }; }
81749 fi
81750 cat >conftest.$ac_ext <<_ACEOF
81751 /* confdefs.h.  */
81752 _ACEOF
81753 cat confdefs.h >>conftest.$ac_ext
81754 cat >>conftest.$ac_ext <<_ACEOF
81755 /* end confdefs.h.  */
81756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81757    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81758 #define $ac_func innocuous_$ac_func
81759
81760 /* System header to define __stub macros and hopefully few prototypes,
81761     which can conflict with char $ac_func (); below.
81762     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81763     <limits.h> exists even on freestanding compilers.  */
81764
81765 #ifdef __STDC__
81766 # include <limits.h>
81767 #else
81768 # include <assert.h>
81769 #endif
81770
81771 #undef $ac_func
81772
81773 /* Override any gcc2 internal prototype to avoid an error.  */
81774 #ifdef __cplusplus
81775 extern "C"
81776 {
81777 #endif
81778 /* We use char because int might match the return type of a gcc2
81779    builtin and then its argument prototype would still apply.  */
81780 char $ac_func ();
81781 /* The GNU C library defines this for functions which it implements
81782     to always fail with ENOSYS.  Some functions are actually named
81783     something starting with __ and the normal name is an alias.  */
81784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81785 choke me
81786 #else
81787 char (*f) () = $ac_func;
81788 #endif
81789 #ifdef __cplusplus
81790 }
81791 #endif
81792
81793 int
81794 main ()
81795 {
81796 return f != $ac_func;
81797   ;
81798   return 0;
81799 }
81800 _ACEOF
81801 rm -f conftest.$ac_objext conftest$ac_exeext
81802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81803   (eval $ac_link) 2>conftest.er1
81804   ac_status=$?
81805   grep -v '^ *+' conftest.er1 >conftest.err
81806   rm -f conftest.er1
81807   cat conftest.err >&5
81808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81809   (exit $ac_status); } &&
81810          { ac_try='test -z "$ac_c_werror_flag"
81811                          || test ! -s conftest.err'
81812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81813   (eval $ac_try) 2>&5
81814   ac_status=$?
81815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81816   (exit $ac_status); }; } &&
81817          { ac_try='test -s conftest$ac_exeext'
81818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81819   (eval $ac_try) 2>&5
81820   ac_status=$?
81821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81822   (exit $ac_status); }; }; then
81823   eval "$as_ac_var=yes"
81824 else
81825   echo "$as_me: failed program was:" >&5
81826 sed 's/^/| /' conftest.$ac_ext >&5
81827
81828 eval "$as_ac_var=no"
81829 fi
81830 rm -f conftest.err conftest.$ac_objext \
81831       conftest$ac_exeext conftest.$ac_ext
81832 fi
81833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81835 if test `eval echo '${'$as_ac_var'}'` = yes; then
81836   cat >>confdefs.h <<_ACEOF
81837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81838 _ACEOF
81839
81840 fi
81841 done
81842
81843     fi
81844   fi
81845
81846
81847
81848
81849
81850
81851     echo "$as_me:$LINENO: checking for float trig functions" >&5
81852 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
81853   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
81854   echo $ECHO_N "(cached) $ECHO_C" >&6
81855 else
81856
81857
81858
81859     ac_ext=cc
81860 ac_cpp='$CXXCPP $CPPFLAGS'
81861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81864
81865     cat >conftest.$ac_ext <<_ACEOF
81866 /* confdefs.h.  */
81867 _ACEOF
81868 cat confdefs.h >>conftest.$ac_ext
81869 cat >>conftest.$ac_ext <<_ACEOF
81870 /* end confdefs.h.  */
81871 #include <math.h>
81872 int
81873 main ()
81874 {
81875 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
81876   ;
81877   return 0;
81878 }
81879 _ACEOF
81880 rm -f conftest.$ac_objext
81881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81882   (eval $ac_compile) 2>conftest.er1
81883   ac_status=$?
81884   grep -v '^ *+' conftest.er1 >conftest.err
81885   rm -f conftest.er1
81886   cat conftest.err >&5
81887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81888   (exit $ac_status); } &&
81889          { ac_try='test -z "$ac_cxx_werror_flag"
81890                          || test ! -s conftest.err'
81891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81892   (eval $ac_try) 2>&5
81893   ac_status=$?
81894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81895   (exit $ac_status); }; } &&
81896          { ac_try='test -s conftest.$ac_objext'
81897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81898   (eval $ac_try) 2>&5
81899   ac_status=$?
81900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81901   (exit $ac_status); }; }; then
81902   glibcxx_cv_func_float_trig_use=yes
81903 else
81904   echo "$as_me: failed program was:" >&5
81905 sed 's/^/| /' conftest.$ac_ext >&5
81906
81907 glibcxx_cv_func_float_trig_use=no
81908 fi
81909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81910     ac_ext=c
81911 ac_cpp='$CPP $CPPFLAGS'
81912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81915
81916 fi
81917
81918   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
81919 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
81920   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
81921
81922
81923
81924
81925
81926
81927
81928
81929
81930 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
81931 do
81932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81933 echo "$as_me:$LINENO: checking for $ac_func" >&5
81934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81935 if eval "test \"\${$as_ac_var+set}\" = set"; then
81936   echo $ECHO_N "(cached) $ECHO_C" >&6
81937 else
81938   if test x$gcc_no_link = xyes; then
81939   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81941    { (exit 1); exit 1; }; }
81942 fi
81943 cat >conftest.$ac_ext <<_ACEOF
81944 /* confdefs.h.  */
81945 _ACEOF
81946 cat confdefs.h >>conftest.$ac_ext
81947 cat >>conftest.$ac_ext <<_ACEOF
81948 /* end confdefs.h.  */
81949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81950    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81951 #define $ac_func innocuous_$ac_func
81952
81953 /* System header to define __stub macros and hopefully few prototypes,
81954     which can conflict with char $ac_func (); below.
81955     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81956     <limits.h> exists even on freestanding compilers.  */
81957
81958 #ifdef __STDC__
81959 # include <limits.h>
81960 #else
81961 # include <assert.h>
81962 #endif
81963
81964 #undef $ac_func
81965
81966 /* Override any gcc2 internal prototype to avoid an error.  */
81967 #ifdef __cplusplus
81968 extern "C"
81969 {
81970 #endif
81971 /* We use char because int might match the return type of a gcc2
81972    builtin and then its argument prototype would still apply.  */
81973 char $ac_func ();
81974 /* The GNU C library defines this for functions which it implements
81975     to always fail with ENOSYS.  Some functions are actually named
81976     something starting with __ and the normal name is an alias.  */
81977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81978 choke me
81979 #else
81980 char (*f) () = $ac_func;
81981 #endif
81982 #ifdef __cplusplus
81983 }
81984 #endif
81985
81986 int
81987 main ()
81988 {
81989 return f != $ac_func;
81990   ;
81991   return 0;
81992 }
81993 _ACEOF
81994 rm -f conftest.$ac_objext conftest$ac_exeext
81995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81996   (eval $ac_link) 2>conftest.er1
81997   ac_status=$?
81998   grep -v '^ *+' conftest.er1 >conftest.err
81999   rm -f conftest.er1
82000   cat conftest.err >&5
82001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82002   (exit $ac_status); } &&
82003          { ac_try='test -z "$ac_c_werror_flag"
82004                          || test ! -s conftest.err'
82005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82006   (eval $ac_try) 2>&5
82007   ac_status=$?
82008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82009   (exit $ac_status); }; } &&
82010          { ac_try='test -s conftest$ac_exeext'
82011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82012   (eval $ac_try) 2>&5
82013   ac_status=$?
82014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82015   (exit $ac_status); }; }; then
82016   eval "$as_ac_var=yes"
82017 else
82018   echo "$as_me: failed program was:" >&5
82019 sed 's/^/| /' conftest.$ac_ext >&5
82020
82021 eval "$as_ac_var=no"
82022 fi
82023 rm -f conftest.err conftest.$ac_objext \
82024       conftest$ac_exeext conftest.$ac_ext
82025 fi
82026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82028 if test `eval echo '${'$as_ac_var'}'` = yes; then
82029   cat >>confdefs.h <<_ACEOF
82030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82031 _ACEOF
82032
82033 fi
82034 done
82035
82036   else
82037     echo "$as_me:$LINENO: checking for _float trig functions" >&5
82038 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
82039     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
82040   echo $ECHO_N "(cached) $ECHO_C" >&6
82041 else
82042
82043
82044
82045       ac_ext=cc
82046 ac_cpp='$CXXCPP $CPPFLAGS'
82047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82050
82051       cat >conftest.$ac_ext <<_ACEOF
82052 /* confdefs.h.  */
82053 _ACEOF
82054 cat confdefs.h >>conftest.$ac_ext
82055 cat >>conftest.$ac_ext <<_ACEOF
82056 /* end confdefs.h.  */
82057 #include <math.h>
82058 int
82059 main ()
82060 {
82061 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
82062   ;
82063   return 0;
82064 }
82065 _ACEOF
82066 rm -f conftest.$ac_objext
82067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82068   (eval $ac_compile) 2>conftest.er1
82069   ac_status=$?
82070   grep -v '^ *+' conftest.er1 >conftest.err
82071   rm -f conftest.er1
82072   cat conftest.err >&5
82073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82074   (exit $ac_status); } &&
82075          { ac_try='test -z "$ac_cxx_werror_flag"
82076                          || test ! -s conftest.err'
82077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82078   (eval $ac_try) 2>&5
82079   ac_status=$?
82080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82081   (exit $ac_status); }; } &&
82082          { ac_try='test -s conftest.$ac_objext'
82083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82084   (eval $ac_try) 2>&5
82085   ac_status=$?
82086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82087   (exit $ac_status); }; }; then
82088   glibcxx_cv_func__float_trig_use=yes
82089 else
82090   echo "$as_me: failed program was:" >&5
82091 sed 's/^/| /' conftest.$ac_ext >&5
82092
82093 glibcxx_cv_func__float_trig_use=no
82094 fi
82095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82096       ac_ext=c
82097 ac_cpp='$CPP $CPPFLAGS'
82098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82101
82102 fi
82103
82104     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
82105 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
82106     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
82107
82108
82109
82110
82111
82112
82113
82114
82115
82116 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
82117 do
82118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82119 echo "$as_me:$LINENO: checking for $ac_func" >&5
82120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82121 if eval "test \"\${$as_ac_var+set}\" = set"; then
82122   echo $ECHO_N "(cached) $ECHO_C" >&6
82123 else
82124   if test x$gcc_no_link = xyes; then
82125   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82127    { (exit 1); exit 1; }; }
82128 fi
82129 cat >conftest.$ac_ext <<_ACEOF
82130 /* confdefs.h.  */
82131 _ACEOF
82132 cat confdefs.h >>conftest.$ac_ext
82133 cat >>conftest.$ac_ext <<_ACEOF
82134 /* end confdefs.h.  */
82135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82136    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82137 #define $ac_func innocuous_$ac_func
82138
82139 /* System header to define __stub macros and hopefully few prototypes,
82140     which can conflict with char $ac_func (); below.
82141     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82142     <limits.h> exists even on freestanding compilers.  */
82143
82144 #ifdef __STDC__
82145 # include <limits.h>
82146 #else
82147 # include <assert.h>
82148 #endif
82149
82150 #undef $ac_func
82151
82152 /* Override any gcc2 internal prototype to avoid an error.  */
82153 #ifdef __cplusplus
82154 extern "C"
82155 {
82156 #endif
82157 /* We use char because int might match the return type of a gcc2
82158    builtin and then its argument prototype would still apply.  */
82159 char $ac_func ();
82160 /* The GNU C library defines this for functions which it implements
82161     to always fail with ENOSYS.  Some functions are actually named
82162     something starting with __ and the normal name is an alias.  */
82163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82164 choke me
82165 #else
82166 char (*f) () = $ac_func;
82167 #endif
82168 #ifdef __cplusplus
82169 }
82170 #endif
82171
82172 int
82173 main ()
82174 {
82175 return f != $ac_func;
82176   ;
82177   return 0;
82178 }
82179 _ACEOF
82180 rm -f conftest.$ac_objext conftest$ac_exeext
82181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82182   (eval $ac_link) 2>conftest.er1
82183   ac_status=$?
82184   grep -v '^ *+' conftest.er1 >conftest.err
82185   rm -f conftest.er1
82186   cat conftest.err >&5
82187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82188   (exit $ac_status); } &&
82189          { ac_try='test -z "$ac_c_werror_flag"
82190                          || test ! -s conftest.err'
82191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82192   (eval $ac_try) 2>&5
82193   ac_status=$?
82194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82195   (exit $ac_status); }; } &&
82196          { ac_try='test -s conftest$ac_exeext'
82197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82198   (eval $ac_try) 2>&5
82199   ac_status=$?
82200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82201   (exit $ac_status); }; }; then
82202   eval "$as_ac_var=yes"
82203 else
82204   echo "$as_me: failed program was:" >&5
82205 sed 's/^/| /' conftest.$ac_ext >&5
82206
82207 eval "$as_ac_var=no"
82208 fi
82209 rm -f conftest.err conftest.$ac_objext \
82210       conftest$ac_exeext conftest.$ac_ext
82211 fi
82212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82214 if test `eval echo '${'$as_ac_var'}'` = yes; then
82215   cat >>confdefs.h <<_ACEOF
82216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82217 _ACEOF
82218
82219 fi
82220 done
82221
82222     fi
82223   fi
82224
82225
82226
82227
82228
82229
82230
82231
82232
82233
82234
82235
82236
82237
82238     echo "$as_me:$LINENO: checking for float round functions" >&5
82239 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
82240   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
82241   echo $ECHO_N "(cached) $ECHO_C" >&6
82242 else
82243
82244
82245
82246     ac_ext=cc
82247 ac_cpp='$CXXCPP $CPPFLAGS'
82248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82251
82252     cat >conftest.$ac_ext <<_ACEOF
82253 /* confdefs.h.  */
82254 _ACEOF
82255 cat confdefs.h >>conftest.$ac_ext
82256 cat >>conftest.$ac_ext <<_ACEOF
82257 /* end confdefs.h.  */
82258 #include <math.h>
82259 int
82260 main ()
82261 {
82262 ceilf (0); floorf (0);
82263   ;
82264   return 0;
82265 }
82266 _ACEOF
82267 rm -f conftest.$ac_objext
82268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82269   (eval $ac_compile) 2>conftest.er1
82270   ac_status=$?
82271   grep -v '^ *+' conftest.er1 >conftest.err
82272   rm -f conftest.er1
82273   cat conftest.err >&5
82274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82275   (exit $ac_status); } &&
82276          { ac_try='test -z "$ac_cxx_werror_flag"
82277                          || test ! -s conftest.err'
82278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82279   (eval $ac_try) 2>&5
82280   ac_status=$?
82281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82282   (exit $ac_status); }; } &&
82283          { ac_try='test -s conftest.$ac_objext'
82284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82285   (eval $ac_try) 2>&5
82286   ac_status=$?
82287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82288   (exit $ac_status); }; }; then
82289   glibcxx_cv_func_float_round_use=yes
82290 else
82291   echo "$as_me: failed program was:" >&5
82292 sed 's/^/| /' conftest.$ac_ext >&5
82293
82294 glibcxx_cv_func_float_round_use=no
82295 fi
82296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82297     ac_ext=c
82298 ac_cpp='$CPP $CPPFLAGS'
82299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82302
82303 fi
82304
82305   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
82306 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
82307   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
82308
82309
82310 for ac_func in ceilf floorf
82311 do
82312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82313 echo "$as_me:$LINENO: checking for $ac_func" >&5
82314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82315 if eval "test \"\${$as_ac_var+set}\" = set"; then
82316   echo $ECHO_N "(cached) $ECHO_C" >&6
82317 else
82318   if test x$gcc_no_link = xyes; then
82319   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82321    { (exit 1); exit 1; }; }
82322 fi
82323 cat >conftest.$ac_ext <<_ACEOF
82324 /* confdefs.h.  */
82325 _ACEOF
82326 cat confdefs.h >>conftest.$ac_ext
82327 cat >>conftest.$ac_ext <<_ACEOF
82328 /* end confdefs.h.  */
82329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82330    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82331 #define $ac_func innocuous_$ac_func
82332
82333 /* System header to define __stub macros and hopefully few prototypes,
82334     which can conflict with char $ac_func (); below.
82335     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82336     <limits.h> exists even on freestanding compilers.  */
82337
82338 #ifdef __STDC__
82339 # include <limits.h>
82340 #else
82341 # include <assert.h>
82342 #endif
82343
82344 #undef $ac_func
82345
82346 /* Override any gcc2 internal prototype to avoid an error.  */
82347 #ifdef __cplusplus
82348 extern "C"
82349 {
82350 #endif
82351 /* We use char because int might match the return type of a gcc2
82352    builtin and then its argument prototype would still apply.  */
82353 char $ac_func ();
82354 /* The GNU C library defines this for functions which it implements
82355     to always fail with ENOSYS.  Some functions are actually named
82356     something starting with __ and the normal name is an alias.  */
82357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82358 choke me
82359 #else
82360 char (*f) () = $ac_func;
82361 #endif
82362 #ifdef __cplusplus
82363 }
82364 #endif
82365
82366 int
82367 main ()
82368 {
82369 return f != $ac_func;
82370   ;
82371   return 0;
82372 }
82373 _ACEOF
82374 rm -f conftest.$ac_objext conftest$ac_exeext
82375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82376   (eval $ac_link) 2>conftest.er1
82377   ac_status=$?
82378   grep -v '^ *+' conftest.er1 >conftest.err
82379   rm -f conftest.er1
82380   cat conftest.err >&5
82381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82382   (exit $ac_status); } &&
82383          { ac_try='test -z "$ac_c_werror_flag"
82384                          || test ! -s conftest.err'
82385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82386   (eval $ac_try) 2>&5
82387   ac_status=$?
82388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82389   (exit $ac_status); }; } &&
82390          { ac_try='test -s conftest$ac_exeext'
82391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82392   (eval $ac_try) 2>&5
82393   ac_status=$?
82394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82395   (exit $ac_status); }; }; then
82396   eval "$as_ac_var=yes"
82397 else
82398   echo "$as_me: failed program was:" >&5
82399 sed 's/^/| /' conftest.$ac_ext >&5
82400
82401 eval "$as_ac_var=no"
82402 fi
82403 rm -f conftest.err conftest.$ac_objext \
82404       conftest$ac_exeext conftest.$ac_ext
82405 fi
82406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82408 if test `eval echo '${'$as_ac_var'}'` = yes; then
82409   cat >>confdefs.h <<_ACEOF
82410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82411 _ACEOF
82412
82413 fi
82414 done
82415
82416   else
82417     echo "$as_me:$LINENO: checking for _float round functions" >&5
82418 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
82419     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
82420   echo $ECHO_N "(cached) $ECHO_C" >&6
82421 else
82422
82423
82424
82425       ac_ext=cc
82426 ac_cpp='$CXXCPP $CPPFLAGS'
82427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82430
82431       cat >conftest.$ac_ext <<_ACEOF
82432 /* confdefs.h.  */
82433 _ACEOF
82434 cat confdefs.h >>conftest.$ac_ext
82435 cat >>conftest.$ac_ext <<_ACEOF
82436 /* end confdefs.h.  */
82437 #include <math.h>
82438 int
82439 main ()
82440 {
82441 _ceilf (0); _floorf (0);
82442   ;
82443   return 0;
82444 }
82445 _ACEOF
82446 rm -f conftest.$ac_objext
82447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82448   (eval $ac_compile) 2>conftest.er1
82449   ac_status=$?
82450   grep -v '^ *+' conftest.er1 >conftest.err
82451   rm -f conftest.er1
82452   cat conftest.err >&5
82453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82454   (exit $ac_status); } &&
82455          { ac_try='test -z "$ac_cxx_werror_flag"
82456                          || test ! -s conftest.err'
82457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82458   (eval $ac_try) 2>&5
82459   ac_status=$?
82460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82461   (exit $ac_status); }; } &&
82462          { ac_try='test -s conftest.$ac_objext'
82463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82464   (eval $ac_try) 2>&5
82465   ac_status=$?
82466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82467   (exit $ac_status); }; }; then
82468   glibcxx_cv_func__float_round_use=yes
82469 else
82470   echo "$as_me: failed program was:" >&5
82471 sed 's/^/| /' conftest.$ac_ext >&5
82472
82473 glibcxx_cv_func__float_round_use=no
82474 fi
82475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82476       ac_ext=c
82477 ac_cpp='$CPP $CPPFLAGS'
82478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82481
82482 fi
82483
82484     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
82485 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
82486     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
82487
82488
82489 for ac_func in _ceilf _floorf
82490 do
82491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82492 echo "$as_me:$LINENO: checking for $ac_func" >&5
82493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82494 if eval "test \"\${$as_ac_var+set}\" = set"; then
82495   echo $ECHO_N "(cached) $ECHO_C" >&6
82496 else
82497   if test x$gcc_no_link = xyes; then
82498   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82500    { (exit 1); exit 1; }; }
82501 fi
82502 cat >conftest.$ac_ext <<_ACEOF
82503 /* confdefs.h.  */
82504 _ACEOF
82505 cat confdefs.h >>conftest.$ac_ext
82506 cat >>conftest.$ac_ext <<_ACEOF
82507 /* end confdefs.h.  */
82508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82509    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82510 #define $ac_func innocuous_$ac_func
82511
82512 /* System header to define __stub macros and hopefully few prototypes,
82513     which can conflict with char $ac_func (); below.
82514     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82515     <limits.h> exists even on freestanding compilers.  */
82516
82517 #ifdef __STDC__
82518 # include <limits.h>
82519 #else
82520 # include <assert.h>
82521 #endif
82522
82523 #undef $ac_func
82524
82525 /* Override any gcc2 internal prototype to avoid an error.  */
82526 #ifdef __cplusplus
82527 extern "C"
82528 {
82529 #endif
82530 /* We use char because int might match the return type of a gcc2
82531    builtin and then its argument prototype would still apply.  */
82532 char $ac_func ();
82533 /* The GNU C library defines this for functions which it implements
82534     to always fail with ENOSYS.  Some functions are actually named
82535     something starting with __ and the normal name is an alias.  */
82536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82537 choke me
82538 #else
82539 char (*f) () = $ac_func;
82540 #endif
82541 #ifdef __cplusplus
82542 }
82543 #endif
82544
82545 int
82546 main ()
82547 {
82548 return f != $ac_func;
82549   ;
82550   return 0;
82551 }
82552 _ACEOF
82553 rm -f conftest.$ac_objext conftest$ac_exeext
82554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82555   (eval $ac_link) 2>conftest.er1
82556   ac_status=$?
82557   grep -v '^ *+' conftest.er1 >conftest.err
82558   rm -f conftest.er1
82559   cat conftest.err >&5
82560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82561   (exit $ac_status); } &&
82562          { ac_try='test -z "$ac_c_werror_flag"
82563                          || test ! -s conftest.err'
82564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82565   (eval $ac_try) 2>&5
82566   ac_status=$?
82567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82568   (exit $ac_status); }; } &&
82569          { ac_try='test -s conftest$ac_exeext'
82570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82571   (eval $ac_try) 2>&5
82572   ac_status=$?
82573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82574   (exit $ac_status); }; }; then
82575   eval "$as_ac_var=yes"
82576 else
82577   echo "$as_me: failed program was:" >&5
82578 sed 's/^/| /' conftest.$ac_ext >&5
82579
82580 eval "$as_ac_var=no"
82581 fi
82582 rm -f conftest.err conftest.$ac_objext \
82583       conftest$ac_exeext conftest.$ac_ext
82584 fi
82585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82587 if test `eval echo '${'$as_ac_var'}'` = yes; then
82588   cat >>confdefs.h <<_ACEOF
82589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82590 _ACEOF
82591
82592 fi
82593 done
82594
82595     fi
82596   fi
82597
82598
82599
82600
82601
82602
82603
82604
82605   echo "$as_me:$LINENO: checking for expf declaration" >&5
82606 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
82607   if test x${glibcxx_cv_func_expf_use+set} != xset; then
82608     if test "${glibcxx_cv_func_expf_use+set}" = set; then
82609   echo $ECHO_N "(cached) $ECHO_C" >&6
82610 else
82611
82612
82613
82614       ac_ext=cc
82615 ac_cpp='$CXXCPP $CPPFLAGS'
82616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82619
82620       cat >conftest.$ac_ext <<_ACEOF
82621 /* confdefs.h.  */
82622 _ACEOF
82623 cat confdefs.h >>conftest.$ac_ext
82624 cat >>conftest.$ac_ext <<_ACEOF
82625 /* end confdefs.h.  */
82626 #include <math.h>
82627                       #ifdef HAVE_IEEEFP_H
82628                       #include <ieeefp.h>
82629                       #endif
82630
82631 int
82632 main ()
82633 {
82634  expf(0);
82635   ;
82636   return 0;
82637 }
82638 _ACEOF
82639 rm -f conftest.$ac_objext
82640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82641   (eval $ac_compile) 2>conftest.er1
82642   ac_status=$?
82643   grep -v '^ *+' conftest.er1 >conftest.err
82644   rm -f conftest.er1
82645   cat conftest.err >&5
82646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82647   (exit $ac_status); } &&
82648          { ac_try='test -z "$ac_cxx_werror_flag"
82649                          || test ! -s conftest.err'
82650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82651   (eval $ac_try) 2>&5
82652   ac_status=$?
82653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82654   (exit $ac_status); }; } &&
82655          { ac_try='test -s conftest.$ac_objext'
82656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82657   (eval $ac_try) 2>&5
82658   ac_status=$?
82659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82660   (exit $ac_status); }; }; then
82661   glibcxx_cv_func_expf_use=yes
82662 else
82663   echo "$as_me: failed program was:" >&5
82664 sed 's/^/| /' conftest.$ac_ext >&5
82665
82666 glibcxx_cv_func_expf_use=no
82667 fi
82668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82669       ac_ext=c
82670 ac_cpp='$CPP $CPPFLAGS'
82671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82674
82675
82676 fi
82677
82678   fi
82679   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
82680 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
82681
82682   if test x$glibcxx_cv_func_expf_use = x"yes"; then
82683
82684 for ac_func in expf
82685 do
82686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82687 echo "$as_me:$LINENO: checking for $ac_func" >&5
82688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82689 if eval "test \"\${$as_ac_var+set}\" = set"; then
82690   echo $ECHO_N "(cached) $ECHO_C" >&6
82691 else
82692   if test x$gcc_no_link = xyes; then
82693   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82695    { (exit 1); exit 1; }; }
82696 fi
82697 cat >conftest.$ac_ext <<_ACEOF
82698 /* confdefs.h.  */
82699 _ACEOF
82700 cat confdefs.h >>conftest.$ac_ext
82701 cat >>conftest.$ac_ext <<_ACEOF
82702 /* end confdefs.h.  */
82703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82704    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82705 #define $ac_func innocuous_$ac_func
82706
82707 /* System header to define __stub macros and hopefully few prototypes,
82708     which can conflict with char $ac_func (); below.
82709     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82710     <limits.h> exists even on freestanding compilers.  */
82711
82712 #ifdef __STDC__
82713 # include <limits.h>
82714 #else
82715 # include <assert.h>
82716 #endif
82717
82718 #undef $ac_func
82719
82720 /* Override any gcc2 internal prototype to avoid an error.  */
82721 #ifdef __cplusplus
82722 extern "C"
82723 {
82724 #endif
82725 /* We use char because int might match the return type of a gcc2
82726    builtin and then its argument prototype would still apply.  */
82727 char $ac_func ();
82728 /* The GNU C library defines this for functions which it implements
82729     to always fail with ENOSYS.  Some functions are actually named
82730     something starting with __ and the normal name is an alias.  */
82731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82732 choke me
82733 #else
82734 char (*f) () = $ac_func;
82735 #endif
82736 #ifdef __cplusplus
82737 }
82738 #endif
82739
82740 int
82741 main ()
82742 {
82743 return f != $ac_func;
82744   ;
82745   return 0;
82746 }
82747 _ACEOF
82748 rm -f conftest.$ac_objext conftest$ac_exeext
82749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82750   (eval $ac_link) 2>conftest.er1
82751   ac_status=$?
82752   grep -v '^ *+' conftest.er1 >conftest.err
82753   rm -f conftest.er1
82754   cat conftest.err >&5
82755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82756   (exit $ac_status); } &&
82757          { ac_try='test -z "$ac_c_werror_flag"
82758                          || test ! -s conftest.err'
82759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82760   (eval $ac_try) 2>&5
82761   ac_status=$?
82762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82763   (exit $ac_status); }; } &&
82764          { ac_try='test -s conftest$ac_exeext'
82765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82766   (eval $ac_try) 2>&5
82767   ac_status=$?
82768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82769   (exit $ac_status); }; }; then
82770   eval "$as_ac_var=yes"
82771 else
82772   echo "$as_me: failed program was:" >&5
82773 sed 's/^/| /' conftest.$ac_ext >&5
82774
82775 eval "$as_ac_var=no"
82776 fi
82777 rm -f conftest.err conftest.$ac_objext \
82778       conftest$ac_exeext conftest.$ac_ext
82779 fi
82780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82782 if test `eval echo '${'$as_ac_var'}'` = yes; then
82783   cat >>confdefs.h <<_ACEOF
82784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82785 _ACEOF
82786
82787 fi
82788 done
82789
82790   else
82791
82792   echo "$as_me:$LINENO: checking for _expf declaration" >&5
82793 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
82794   if test x${glibcxx_cv_func__expf_use+set} != xset; then
82795     if test "${glibcxx_cv_func__expf_use+set}" = set; then
82796   echo $ECHO_N "(cached) $ECHO_C" >&6
82797 else
82798
82799
82800
82801       ac_ext=cc
82802 ac_cpp='$CXXCPP $CPPFLAGS'
82803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82806
82807       cat >conftest.$ac_ext <<_ACEOF
82808 /* confdefs.h.  */
82809 _ACEOF
82810 cat confdefs.h >>conftest.$ac_ext
82811 cat >>conftest.$ac_ext <<_ACEOF
82812 /* end confdefs.h.  */
82813 #include <math.h>
82814                       #ifdef HAVE_IEEEFP_H
82815                       #include <ieeefp.h>
82816                       #endif
82817
82818 int
82819 main ()
82820 {
82821  _expf(0);
82822   ;
82823   return 0;
82824 }
82825 _ACEOF
82826 rm -f conftest.$ac_objext
82827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82828   (eval $ac_compile) 2>conftest.er1
82829   ac_status=$?
82830   grep -v '^ *+' conftest.er1 >conftest.err
82831   rm -f conftest.er1
82832   cat conftest.err >&5
82833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82834   (exit $ac_status); } &&
82835          { ac_try='test -z "$ac_cxx_werror_flag"
82836                          || test ! -s conftest.err'
82837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82838   (eval $ac_try) 2>&5
82839   ac_status=$?
82840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82841   (exit $ac_status); }; } &&
82842          { ac_try='test -s conftest.$ac_objext'
82843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82844   (eval $ac_try) 2>&5
82845   ac_status=$?
82846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82847   (exit $ac_status); }; }; then
82848   glibcxx_cv_func__expf_use=yes
82849 else
82850   echo "$as_me: failed program was:" >&5
82851 sed 's/^/| /' conftest.$ac_ext >&5
82852
82853 glibcxx_cv_func__expf_use=no
82854 fi
82855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82856       ac_ext=c
82857 ac_cpp='$CPP $CPPFLAGS'
82858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82861
82862
82863 fi
82864
82865   fi
82866   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
82867 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
82868
82869     if test x$glibcxx_cv_func__expf_use = x"yes"; then
82870
82871 for ac_func in _expf
82872 do
82873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82874 echo "$as_me:$LINENO: checking for $ac_func" >&5
82875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82876 if eval "test \"\${$as_ac_var+set}\" = set"; then
82877   echo $ECHO_N "(cached) $ECHO_C" >&6
82878 else
82879   if test x$gcc_no_link = xyes; then
82880   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82882    { (exit 1); exit 1; }; }
82883 fi
82884 cat >conftest.$ac_ext <<_ACEOF
82885 /* confdefs.h.  */
82886 _ACEOF
82887 cat confdefs.h >>conftest.$ac_ext
82888 cat >>conftest.$ac_ext <<_ACEOF
82889 /* end confdefs.h.  */
82890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82891    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82892 #define $ac_func innocuous_$ac_func
82893
82894 /* System header to define __stub macros and hopefully few prototypes,
82895     which can conflict with char $ac_func (); below.
82896     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82897     <limits.h> exists even on freestanding compilers.  */
82898
82899 #ifdef __STDC__
82900 # include <limits.h>
82901 #else
82902 # include <assert.h>
82903 #endif
82904
82905 #undef $ac_func
82906
82907 /* Override any gcc2 internal prototype to avoid an error.  */
82908 #ifdef __cplusplus
82909 extern "C"
82910 {
82911 #endif
82912 /* We use char because int might match the return type of a gcc2
82913    builtin and then its argument prototype would still apply.  */
82914 char $ac_func ();
82915 /* The GNU C library defines this for functions which it implements
82916     to always fail with ENOSYS.  Some functions are actually named
82917     something starting with __ and the normal name is an alias.  */
82918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82919 choke me
82920 #else
82921 char (*f) () = $ac_func;
82922 #endif
82923 #ifdef __cplusplus
82924 }
82925 #endif
82926
82927 int
82928 main ()
82929 {
82930 return f != $ac_func;
82931   ;
82932   return 0;
82933 }
82934 _ACEOF
82935 rm -f conftest.$ac_objext conftest$ac_exeext
82936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82937   (eval $ac_link) 2>conftest.er1
82938   ac_status=$?
82939   grep -v '^ *+' conftest.er1 >conftest.err
82940   rm -f conftest.er1
82941   cat conftest.err >&5
82942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82943   (exit $ac_status); } &&
82944          { ac_try='test -z "$ac_c_werror_flag"
82945                          || test ! -s conftest.err'
82946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82947   (eval $ac_try) 2>&5
82948   ac_status=$?
82949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82950   (exit $ac_status); }; } &&
82951          { ac_try='test -s conftest$ac_exeext'
82952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82953   (eval $ac_try) 2>&5
82954   ac_status=$?
82955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82956   (exit $ac_status); }; }; then
82957   eval "$as_ac_var=yes"
82958 else
82959   echo "$as_me: failed program was:" >&5
82960 sed 's/^/| /' conftest.$ac_ext >&5
82961
82962 eval "$as_ac_var=no"
82963 fi
82964 rm -f conftest.err conftest.$ac_objext \
82965       conftest$ac_exeext conftest.$ac_ext
82966 fi
82967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82969 if test `eval echo '${'$as_ac_var'}'` = yes; then
82970   cat >>confdefs.h <<_ACEOF
82971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82972 _ACEOF
82973
82974 fi
82975 done
82976
82977     fi
82978   fi
82979
82980
82981
82982
82983
82984
82985   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
82986 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
82987   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
82988     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
82989   echo $ECHO_N "(cached) $ECHO_C" >&6
82990 else
82991
82992
82993
82994       ac_ext=cc
82995 ac_cpp='$CXXCPP $CPPFLAGS'
82996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82999
83000       cat >conftest.$ac_ext <<_ACEOF
83001 /* confdefs.h.  */
83002 _ACEOF
83003 cat confdefs.h >>conftest.$ac_ext
83004 cat >>conftest.$ac_ext <<_ACEOF
83005 /* end confdefs.h.  */
83006 #include <math.h>
83007                       #ifdef HAVE_IEEEFP_H
83008                       #include <ieeefp.h>
83009                       #endif
83010
83011 int
83012 main ()
83013 {
83014  isnanf(0);
83015   ;
83016   return 0;
83017 }
83018 _ACEOF
83019 rm -f conftest.$ac_objext
83020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83021   (eval $ac_compile) 2>conftest.er1
83022   ac_status=$?
83023   grep -v '^ *+' conftest.er1 >conftest.err
83024   rm -f conftest.er1
83025   cat conftest.err >&5
83026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83027   (exit $ac_status); } &&
83028          { ac_try='test -z "$ac_cxx_werror_flag"
83029                          || test ! -s conftest.err'
83030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83031   (eval $ac_try) 2>&5
83032   ac_status=$?
83033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83034   (exit $ac_status); }; } &&
83035          { ac_try='test -s conftest.$ac_objext'
83036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83037   (eval $ac_try) 2>&5
83038   ac_status=$?
83039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83040   (exit $ac_status); }; }; then
83041   glibcxx_cv_func_isnanf_use=yes
83042 else
83043   echo "$as_me: failed program was:" >&5
83044 sed 's/^/| /' conftest.$ac_ext >&5
83045
83046 glibcxx_cv_func_isnanf_use=no
83047 fi
83048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83049       ac_ext=c
83050 ac_cpp='$CPP $CPPFLAGS'
83051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83054
83055
83056 fi
83057
83058   fi
83059   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
83060 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
83061
83062   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
83063
83064 for ac_func in isnanf
83065 do
83066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83067 echo "$as_me:$LINENO: checking for $ac_func" >&5
83068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83069 if eval "test \"\${$as_ac_var+set}\" = set"; then
83070   echo $ECHO_N "(cached) $ECHO_C" >&6
83071 else
83072   if test x$gcc_no_link = xyes; then
83073   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83075    { (exit 1); exit 1; }; }
83076 fi
83077 cat >conftest.$ac_ext <<_ACEOF
83078 /* confdefs.h.  */
83079 _ACEOF
83080 cat confdefs.h >>conftest.$ac_ext
83081 cat >>conftest.$ac_ext <<_ACEOF
83082 /* end confdefs.h.  */
83083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83084    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83085 #define $ac_func innocuous_$ac_func
83086
83087 /* System header to define __stub macros and hopefully few prototypes,
83088     which can conflict with char $ac_func (); below.
83089     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83090     <limits.h> exists even on freestanding compilers.  */
83091
83092 #ifdef __STDC__
83093 # include <limits.h>
83094 #else
83095 # include <assert.h>
83096 #endif
83097
83098 #undef $ac_func
83099
83100 /* Override any gcc2 internal prototype to avoid an error.  */
83101 #ifdef __cplusplus
83102 extern "C"
83103 {
83104 #endif
83105 /* We use char because int might match the return type of a gcc2
83106    builtin and then its argument prototype would still apply.  */
83107 char $ac_func ();
83108 /* The GNU C library defines this for functions which it implements
83109     to always fail with ENOSYS.  Some functions are actually named
83110     something starting with __ and the normal name is an alias.  */
83111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83112 choke me
83113 #else
83114 char (*f) () = $ac_func;
83115 #endif
83116 #ifdef __cplusplus
83117 }
83118 #endif
83119
83120 int
83121 main ()
83122 {
83123 return f != $ac_func;
83124   ;
83125   return 0;
83126 }
83127 _ACEOF
83128 rm -f conftest.$ac_objext conftest$ac_exeext
83129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83130   (eval $ac_link) 2>conftest.er1
83131   ac_status=$?
83132   grep -v '^ *+' conftest.er1 >conftest.err
83133   rm -f conftest.er1
83134   cat conftest.err >&5
83135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83136   (exit $ac_status); } &&
83137          { ac_try='test -z "$ac_c_werror_flag"
83138                          || test ! -s conftest.err'
83139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83140   (eval $ac_try) 2>&5
83141   ac_status=$?
83142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83143   (exit $ac_status); }; } &&
83144          { ac_try='test -s conftest$ac_exeext'
83145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83146   (eval $ac_try) 2>&5
83147   ac_status=$?
83148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83149   (exit $ac_status); }; }; then
83150   eval "$as_ac_var=yes"
83151 else
83152   echo "$as_me: failed program was:" >&5
83153 sed 's/^/| /' conftest.$ac_ext >&5
83154
83155 eval "$as_ac_var=no"
83156 fi
83157 rm -f conftest.err conftest.$ac_objext \
83158       conftest$ac_exeext conftest.$ac_ext
83159 fi
83160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83162 if test `eval echo '${'$as_ac_var'}'` = yes; then
83163   cat >>confdefs.h <<_ACEOF
83164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83165 _ACEOF
83166
83167 fi
83168 done
83169
83170   else
83171
83172   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
83173 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
83174   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
83175     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
83176   echo $ECHO_N "(cached) $ECHO_C" >&6
83177 else
83178
83179
83180
83181       ac_ext=cc
83182 ac_cpp='$CXXCPP $CPPFLAGS'
83183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83186
83187       cat >conftest.$ac_ext <<_ACEOF
83188 /* confdefs.h.  */
83189 _ACEOF
83190 cat confdefs.h >>conftest.$ac_ext
83191 cat >>conftest.$ac_ext <<_ACEOF
83192 /* end confdefs.h.  */
83193 #include <math.h>
83194                       #ifdef HAVE_IEEEFP_H
83195                       #include <ieeefp.h>
83196                       #endif
83197
83198 int
83199 main ()
83200 {
83201  _isnanf(0);
83202   ;
83203   return 0;
83204 }
83205 _ACEOF
83206 rm -f conftest.$ac_objext
83207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83208   (eval $ac_compile) 2>conftest.er1
83209   ac_status=$?
83210   grep -v '^ *+' conftest.er1 >conftest.err
83211   rm -f conftest.er1
83212   cat conftest.err >&5
83213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83214   (exit $ac_status); } &&
83215          { ac_try='test -z "$ac_cxx_werror_flag"
83216                          || test ! -s conftest.err'
83217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83218   (eval $ac_try) 2>&5
83219   ac_status=$?
83220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83221   (exit $ac_status); }; } &&
83222          { ac_try='test -s conftest.$ac_objext'
83223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83224   (eval $ac_try) 2>&5
83225   ac_status=$?
83226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83227   (exit $ac_status); }; }; then
83228   glibcxx_cv_func__isnanf_use=yes
83229 else
83230   echo "$as_me: failed program was:" >&5
83231 sed 's/^/| /' conftest.$ac_ext >&5
83232
83233 glibcxx_cv_func__isnanf_use=no
83234 fi
83235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83236       ac_ext=c
83237 ac_cpp='$CPP $CPPFLAGS'
83238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83241
83242
83243 fi
83244
83245   fi
83246   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
83247 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
83248
83249     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
83250
83251 for ac_func in _isnanf
83252 do
83253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83254 echo "$as_me:$LINENO: checking for $ac_func" >&5
83255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83256 if eval "test \"\${$as_ac_var+set}\" = set"; then
83257   echo $ECHO_N "(cached) $ECHO_C" >&6
83258 else
83259   if test x$gcc_no_link = xyes; then
83260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83262    { (exit 1); exit 1; }; }
83263 fi
83264 cat >conftest.$ac_ext <<_ACEOF
83265 /* confdefs.h.  */
83266 _ACEOF
83267 cat confdefs.h >>conftest.$ac_ext
83268 cat >>conftest.$ac_ext <<_ACEOF
83269 /* end confdefs.h.  */
83270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83271    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83272 #define $ac_func innocuous_$ac_func
83273
83274 /* System header to define __stub macros and hopefully few prototypes,
83275     which can conflict with char $ac_func (); below.
83276     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83277     <limits.h> exists even on freestanding compilers.  */
83278
83279 #ifdef __STDC__
83280 # include <limits.h>
83281 #else
83282 # include <assert.h>
83283 #endif
83284
83285 #undef $ac_func
83286
83287 /* Override any gcc2 internal prototype to avoid an error.  */
83288 #ifdef __cplusplus
83289 extern "C"
83290 {
83291 #endif
83292 /* We use char because int might match the return type of a gcc2
83293    builtin and then its argument prototype would still apply.  */
83294 char $ac_func ();
83295 /* The GNU C library defines this for functions which it implements
83296     to always fail with ENOSYS.  Some functions are actually named
83297     something starting with __ and the normal name is an alias.  */
83298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83299 choke me
83300 #else
83301 char (*f) () = $ac_func;
83302 #endif
83303 #ifdef __cplusplus
83304 }
83305 #endif
83306
83307 int
83308 main ()
83309 {
83310 return f != $ac_func;
83311   ;
83312   return 0;
83313 }
83314 _ACEOF
83315 rm -f conftest.$ac_objext conftest$ac_exeext
83316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83317   (eval $ac_link) 2>conftest.er1
83318   ac_status=$?
83319   grep -v '^ *+' conftest.er1 >conftest.err
83320   rm -f conftest.er1
83321   cat conftest.err >&5
83322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83323   (exit $ac_status); } &&
83324          { ac_try='test -z "$ac_c_werror_flag"
83325                          || test ! -s conftest.err'
83326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83327   (eval $ac_try) 2>&5
83328   ac_status=$?
83329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83330   (exit $ac_status); }; } &&
83331          { ac_try='test -s conftest$ac_exeext'
83332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83333   (eval $ac_try) 2>&5
83334   ac_status=$?
83335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83336   (exit $ac_status); }; }; then
83337   eval "$as_ac_var=yes"
83338 else
83339   echo "$as_me: failed program was:" >&5
83340 sed 's/^/| /' conftest.$ac_ext >&5
83341
83342 eval "$as_ac_var=no"
83343 fi
83344 rm -f conftest.err conftest.$ac_objext \
83345       conftest$ac_exeext conftest.$ac_ext
83346 fi
83347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83349 if test `eval echo '${'$as_ac_var'}'` = yes; then
83350   cat >>confdefs.h <<_ACEOF
83351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83352 _ACEOF
83353
83354 fi
83355 done
83356
83357     fi
83358   fi
83359
83360
83361
83362
83363
83364
83365   echo "$as_me:$LINENO: checking for isinff declaration" >&5
83366 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
83367   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
83368     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
83369   echo $ECHO_N "(cached) $ECHO_C" >&6
83370 else
83371
83372
83373
83374       ac_ext=cc
83375 ac_cpp='$CXXCPP $CPPFLAGS'
83376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83379
83380       cat >conftest.$ac_ext <<_ACEOF
83381 /* confdefs.h.  */
83382 _ACEOF
83383 cat confdefs.h >>conftest.$ac_ext
83384 cat >>conftest.$ac_ext <<_ACEOF
83385 /* end confdefs.h.  */
83386 #include <math.h>
83387                       #ifdef HAVE_IEEEFP_H
83388                       #include <ieeefp.h>
83389                       #endif
83390
83391 int
83392 main ()
83393 {
83394  isinff(0);
83395   ;
83396   return 0;
83397 }
83398 _ACEOF
83399 rm -f conftest.$ac_objext
83400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83401   (eval $ac_compile) 2>conftest.er1
83402   ac_status=$?
83403   grep -v '^ *+' conftest.er1 >conftest.err
83404   rm -f conftest.er1
83405   cat conftest.err >&5
83406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83407   (exit $ac_status); } &&
83408          { ac_try='test -z "$ac_cxx_werror_flag"
83409                          || test ! -s conftest.err'
83410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83411   (eval $ac_try) 2>&5
83412   ac_status=$?
83413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83414   (exit $ac_status); }; } &&
83415          { ac_try='test -s conftest.$ac_objext'
83416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83417   (eval $ac_try) 2>&5
83418   ac_status=$?
83419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83420   (exit $ac_status); }; }; then
83421   glibcxx_cv_func_isinff_use=yes
83422 else
83423   echo "$as_me: failed program was:" >&5
83424 sed 's/^/| /' conftest.$ac_ext >&5
83425
83426 glibcxx_cv_func_isinff_use=no
83427 fi
83428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83429       ac_ext=c
83430 ac_cpp='$CPP $CPPFLAGS'
83431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83434
83435
83436 fi
83437
83438   fi
83439   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
83440 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
83441
83442   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
83443
83444 for ac_func in isinff
83445 do
83446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83447 echo "$as_me:$LINENO: checking for $ac_func" >&5
83448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83449 if eval "test \"\${$as_ac_var+set}\" = set"; then
83450   echo $ECHO_N "(cached) $ECHO_C" >&6
83451 else
83452   if test x$gcc_no_link = xyes; then
83453   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83455    { (exit 1); exit 1; }; }
83456 fi
83457 cat >conftest.$ac_ext <<_ACEOF
83458 /* confdefs.h.  */
83459 _ACEOF
83460 cat confdefs.h >>conftest.$ac_ext
83461 cat >>conftest.$ac_ext <<_ACEOF
83462 /* end confdefs.h.  */
83463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83464    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83465 #define $ac_func innocuous_$ac_func
83466
83467 /* System header to define __stub macros and hopefully few prototypes,
83468     which can conflict with char $ac_func (); below.
83469     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83470     <limits.h> exists even on freestanding compilers.  */
83471
83472 #ifdef __STDC__
83473 # include <limits.h>
83474 #else
83475 # include <assert.h>
83476 #endif
83477
83478 #undef $ac_func
83479
83480 /* Override any gcc2 internal prototype to avoid an error.  */
83481 #ifdef __cplusplus
83482 extern "C"
83483 {
83484 #endif
83485 /* We use char because int might match the return type of a gcc2
83486    builtin and then its argument prototype would still apply.  */
83487 char $ac_func ();
83488 /* The GNU C library defines this for functions which it implements
83489     to always fail with ENOSYS.  Some functions are actually named
83490     something starting with __ and the normal name is an alias.  */
83491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83492 choke me
83493 #else
83494 char (*f) () = $ac_func;
83495 #endif
83496 #ifdef __cplusplus
83497 }
83498 #endif
83499
83500 int
83501 main ()
83502 {
83503 return f != $ac_func;
83504   ;
83505   return 0;
83506 }
83507 _ACEOF
83508 rm -f conftest.$ac_objext conftest$ac_exeext
83509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83510   (eval $ac_link) 2>conftest.er1
83511   ac_status=$?
83512   grep -v '^ *+' conftest.er1 >conftest.err
83513   rm -f conftest.er1
83514   cat conftest.err >&5
83515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83516   (exit $ac_status); } &&
83517          { ac_try='test -z "$ac_c_werror_flag"
83518                          || test ! -s conftest.err'
83519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83520   (eval $ac_try) 2>&5
83521   ac_status=$?
83522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83523   (exit $ac_status); }; } &&
83524          { ac_try='test -s conftest$ac_exeext'
83525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83526   (eval $ac_try) 2>&5
83527   ac_status=$?
83528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83529   (exit $ac_status); }; }; then
83530   eval "$as_ac_var=yes"
83531 else
83532   echo "$as_me: failed program was:" >&5
83533 sed 's/^/| /' conftest.$ac_ext >&5
83534
83535 eval "$as_ac_var=no"
83536 fi
83537 rm -f conftest.err conftest.$ac_objext \
83538       conftest$ac_exeext conftest.$ac_ext
83539 fi
83540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83542 if test `eval echo '${'$as_ac_var'}'` = yes; then
83543   cat >>confdefs.h <<_ACEOF
83544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83545 _ACEOF
83546
83547 fi
83548 done
83549
83550   else
83551
83552   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
83553 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
83554   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
83555     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
83556   echo $ECHO_N "(cached) $ECHO_C" >&6
83557 else
83558
83559
83560
83561       ac_ext=cc
83562 ac_cpp='$CXXCPP $CPPFLAGS'
83563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83566
83567       cat >conftest.$ac_ext <<_ACEOF
83568 /* confdefs.h.  */
83569 _ACEOF
83570 cat confdefs.h >>conftest.$ac_ext
83571 cat >>conftest.$ac_ext <<_ACEOF
83572 /* end confdefs.h.  */
83573 #include <math.h>
83574                       #ifdef HAVE_IEEEFP_H
83575                       #include <ieeefp.h>
83576                       #endif
83577
83578 int
83579 main ()
83580 {
83581  _isinff(0);
83582   ;
83583   return 0;
83584 }
83585 _ACEOF
83586 rm -f conftest.$ac_objext
83587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83588   (eval $ac_compile) 2>conftest.er1
83589   ac_status=$?
83590   grep -v '^ *+' conftest.er1 >conftest.err
83591   rm -f conftest.er1
83592   cat conftest.err >&5
83593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83594   (exit $ac_status); } &&
83595          { ac_try='test -z "$ac_cxx_werror_flag"
83596                          || test ! -s conftest.err'
83597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83598   (eval $ac_try) 2>&5
83599   ac_status=$?
83600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83601   (exit $ac_status); }; } &&
83602          { ac_try='test -s conftest.$ac_objext'
83603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83604   (eval $ac_try) 2>&5
83605   ac_status=$?
83606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83607   (exit $ac_status); }; }; then
83608   glibcxx_cv_func__isinff_use=yes
83609 else
83610   echo "$as_me: failed program was:" >&5
83611 sed 's/^/| /' conftest.$ac_ext >&5
83612
83613 glibcxx_cv_func__isinff_use=no
83614 fi
83615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83616       ac_ext=c
83617 ac_cpp='$CPP $CPPFLAGS'
83618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83621
83622
83623 fi
83624
83625   fi
83626   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
83627 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
83628
83629     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
83630
83631 for ac_func in _isinff
83632 do
83633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83634 echo "$as_me:$LINENO: checking for $ac_func" >&5
83635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83636 if eval "test \"\${$as_ac_var+set}\" = set"; then
83637   echo $ECHO_N "(cached) $ECHO_C" >&6
83638 else
83639   if test x$gcc_no_link = xyes; then
83640   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83642    { (exit 1); exit 1; }; }
83643 fi
83644 cat >conftest.$ac_ext <<_ACEOF
83645 /* confdefs.h.  */
83646 _ACEOF
83647 cat confdefs.h >>conftest.$ac_ext
83648 cat >>conftest.$ac_ext <<_ACEOF
83649 /* end confdefs.h.  */
83650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83651    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83652 #define $ac_func innocuous_$ac_func
83653
83654 /* System header to define __stub macros and hopefully few prototypes,
83655     which can conflict with char $ac_func (); below.
83656     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83657     <limits.h> exists even on freestanding compilers.  */
83658
83659 #ifdef __STDC__
83660 # include <limits.h>
83661 #else
83662 # include <assert.h>
83663 #endif
83664
83665 #undef $ac_func
83666
83667 /* Override any gcc2 internal prototype to avoid an error.  */
83668 #ifdef __cplusplus
83669 extern "C"
83670 {
83671 #endif
83672 /* We use char because int might match the return type of a gcc2
83673    builtin and then its argument prototype would still apply.  */
83674 char $ac_func ();
83675 /* The GNU C library defines this for functions which it implements
83676     to always fail with ENOSYS.  Some functions are actually named
83677     something starting with __ and the normal name is an alias.  */
83678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83679 choke me
83680 #else
83681 char (*f) () = $ac_func;
83682 #endif
83683 #ifdef __cplusplus
83684 }
83685 #endif
83686
83687 int
83688 main ()
83689 {
83690 return f != $ac_func;
83691   ;
83692   return 0;
83693 }
83694 _ACEOF
83695 rm -f conftest.$ac_objext conftest$ac_exeext
83696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83697   (eval $ac_link) 2>conftest.er1
83698   ac_status=$?
83699   grep -v '^ *+' conftest.er1 >conftest.err
83700   rm -f conftest.er1
83701   cat conftest.err >&5
83702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83703   (exit $ac_status); } &&
83704          { ac_try='test -z "$ac_c_werror_flag"
83705                          || test ! -s conftest.err'
83706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83707   (eval $ac_try) 2>&5
83708   ac_status=$?
83709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83710   (exit $ac_status); }; } &&
83711          { ac_try='test -s conftest$ac_exeext'
83712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83713   (eval $ac_try) 2>&5
83714   ac_status=$?
83715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83716   (exit $ac_status); }; }; then
83717   eval "$as_ac_var=yes"
83718 else
83719   echo "$as_me: failed program was:" >&5
83720 sed 's/^/| /' conftest.$ac_ext >&5
83721
83722 eval "$as_ac_var=no"
83723 fi
83724 rm -f conftest.err conftest.$ac_objext \
83725       conftest$ac_exeext conftest.$ac_ext
83726 fi
83727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83729 if test `eval echo '${'$as_ac_var'}'` = yes; then
83730   cat >>confdefs.h <<_ACEOF
83731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83732 _ACEOF
83733
83734 fi
83735 done
83736
83737     fi
83738   fi
83739
83740
83741
83742
83743
83744
83745   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
83746 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
83747   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
83748     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
83749   echo $ECHO_N "(cached) $ECHO_C" >&6
83750 else
83751
83752
83753
83754       ac_ext=cc
83755 ac_cpp='$CXXCPP $CPPFLAGS'
83756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83759
83760       cat >conftest.$ac_ext <<_ACEOF
83761 /* confdefs.h.  */
83762 _ACEOF
83763 cat confdefs.h >>conftest.$ac_ext
83764 cat >>conftest.$ac_ext <<_ACEOF
83765 /* end confdefs.h.  */
83766 #include <math.h>
83767 int
83768 main ()
83769 {
83770  atan2f(0, 0);
83771   ;
83772   return 0;
83773 }
83774 _ACEOF
83775 rm -f conftest.$ac_objext
83776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83777   (eval $ac_compile) 2>conftest.er1
83778   ac_status=$?
83779   grep -v '^ *+' conftest.er1 >conftest.err
83780   rm -f conftest.er1
83781   cat conftest.err >&5
83782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83783   (exit $ac_status); } &&
83784          { ac_try='test -z "$ac_cxx_werror_flag"
83785                          || test ! -s conftest.err'
83786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83787   (eval $ac_try) 2>&5
83788   ac_status=$?
83789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83790   (exit $ac_status); }; } &&
83791          { ac_try='test -s conftest.$ac_objext'
83792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83793   (eval $ac_try) 2>&5
83794   ac_status=$?
83795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83796   (exit $ac_status); }; }; then
83797   glibcxx_cv_func_atan2f_use=yes
83798 else
83799   echo "$as_me: failed program was:" >&5
83800 sed 's/^/| /' conftest.$ac_ext >&5
83801
83802 glibcxx_cv_func_atan2f_use=no
83803 fi
83804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83805       ac_ext=c
83806 ac_cpp='$CPP $CPPFLAGS'
83807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83810
83811
83812 fi
83813
83814   fi
83815   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
83816 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
83817
83818   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
83819
83820 for ac_func in atan2f
83821 do
83822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83823 echo "$as_me:$LINENO: checking for $ac_func" >&5
83824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83825 if eval "test \"\${$as_ac_var+set}\" = set"; then
83826   echo $ECHO_N "(cached) $ECHO_C" >&6
83827 else
83828   if test x$gcc_no_link = xyes; then
83829   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83831    { (exit 1); exit 1; }; }
83832 fi
83833 cat >conftest.$ac_ext <<_ACEOF
83834 /* confdefs.h.  */
83835 _ACEOF
83836 cat confdefs.h >>conftest.$ac_ext
83837 cat >>conftest.$ac_ext <<_ACEOF
83838 /* end confdefs.h.  */
83839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83840    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83841 #define $ac_func innocuous_$ac_func
83842
83843 /* System header to define __stub macros and hopefully few prototypes,
83844     which can conflict with char $ac_func (); below.
83845     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83846     <limits.h> exists even on freestanding compilers.  */
83847
83848 #ifdef __STDC__
83849 # include <limits.h>
83850 #else
83851 # include <assert.h>
83852 #endif
83853
83854 #undef $ac_func
83855
83856 /* Override any gcc2 internal prototype to avoid an error.  */
83857 #ifdef __cplusplus
83858 extern "C"
83859 {
83860 #endif
83861 /* We use char because int might match the return type of a gcc2
83862    builtin and then its argument prototype would still apply.  */
83863 char $ac_func ();
83864 /* The GNU C library defines this for functions which it implements
83865     to always fail with ENOSYS.  Some functions are actually named
83866     something starting with __ and the normal name is an alias.  */
83867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83868 choke me
83869 #else
83870 char (*f) () = $ac_func;
83871 #endif
83872 #ifdef __cplusplus
83873 }
83874 #endif
83875
83876 int
83877 main ()
83878 {
83879 return f != $ac_func;
83880   ;
83881   return 0;
83882 }
83883 _ACEOF
83884 rm -f conftest.$ac_objext conftest$ac_exeext
83885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83886   (eval $ac_link) 2>conftest.er1
83887   ac_status=$?
83888   grep -v '^ *+' conftest.er1 >conftest.err
83889   rm -f conftest.er1
83890   cat conftest.err >&5
83891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83892   (exit $ac_status); } &&
83893          { ac_try='test -z "$ac_c_werror_flag"
83894                          || test ! -s conftest.err'
83895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83896   (eval $ac_try) 2>&5
83897   ac_status=$?
83898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83899   (exit $ac_status); }; } &&
83900          { ac_try='test -s conftest$ac_exeext'
83901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83902   (eval $ac_try) 2>&5
83903   ac_status=$?
83904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83905   (exit $ac_status); }; }; then
83906   eval "$as_ac_var=yes"
83907 else
83908   echo "$as_me: failed program was:" >&5
83909 sed 's/^/| /' conftest.$ac_ext >&5
83910
83911 eval "$as_ac_var=no"
83912 fi
83913 rm -f conftest.err conftest.$ac_objext \
83914       conftest$ac_exeext conftest.$ac_ext
83915 fi
83916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83918 if test `eval echo '${'$as_ac_var'}'` = yes; then
83919   cat >>confdefs.h <<_ACEOF
83920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83921 _ACEOF
83922
83923 fi
83924 done
83925
83926   else
83927
83928   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
83929 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
83930   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
83931     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
83932   echo $ECHO_N "(cached) $ECHO_C" >&6
83933 else
83934
83935
83936
83937       ac_ext=cc
83938 ac_cpp='$CXXCPP $CPPFLAGS'
83939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83942
83943       cat >conftest.$ac_ext <<_ACEOF
83944 /* confdefs.h.  */
83945 _ACEOF
83946 cat confdefs.h >>conftest.$ac_ext
83947 cat >>conftest.$ac_ext <<_ACEOF
83948 /* end confdefs.h.  */
83949 #include <math.h>
83950 int
83951 main ()
83952 {
83953  _atan2f(0, 0);
83954   ;
83955   return 0;
83956 }
83957 _ACEOF
83958 rm -f conftest.$ac_objext
83959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83960   (eval $ac_compile) 2>conftest.er1
83961   ac_status=$?
83962   grep -v '^ *+' conftest.er1 >conftest.err
83963   rm -f conftest.er1
83964   cat conftest.err >&5
83965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83966   (exit $ac_status); } &&
83967          { ac_try='test -z "$ac_cxx_werror_flag"
83968                          || test ! -s conftest.err'
83969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83970   (eval $ac_try) 2>&5
83971   ac_status=$?
83972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83973   (exit $ac_status); }; } &&
83974          { ac_try='test -s conftest.$ac_objext'
83975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83976   (eval $ac_try) 2>&5
83977   ac_status=$?
83978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83979   (exit $ac_status); }; }; then
83980   glibcxx_cv_func__atan2f_use=yes
83981 else
83982   echo "$as_me: failed program was:" >&5
83983 sed 's/^/| /' conftest.$ac_ext >&5
83984
83985 glibcxx_cv_func__atan2f_use=no
83986 fi
83987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83988       ac_ext=c
83989 ac_cpp='$CPP $CPPFLAGS'
83990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83993
83994
83995 fi
83996
83997   fi
83998   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
83999 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
84000
84001     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
84002
84003 for ac_func in _atan2f
84004 do
84005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84006 echo "$as_me:$LINENO: checking for $ac_func" >&5
84007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84008 if eval "test \"\${$as_ac_var+set}\" = set"; then
84009   echo $ECHO_N "(cached) $ECHO_C" >&6
84010 else
84011   if test x$gcc_no_link = xyes; then
84012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84014    { (exit 1); exit 1; }; }
84015 fi
84016 cat >conftest.$ac_ext <<_ACEOF
84017 /* confdefs.h.  */
84018 _ACEOF
84019 cat confdefs.h >>conftest.$ac_ext
84020 cat >>conftest.$ac_ext <<_ACEOF
84021 /* end confdefs.h.  */
84022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84023    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84024 #define $ac_func innocuous_$ac_func
84025
84026 /* System header to define __stub macros and hopefully few prototypes,
84027     which can conflict with char $ac_func (); below.
84028     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84029     <limits.h> exists even on freestanding compilers.  */
84030
84031 #ifdef __STDC__
84032 # include <limits.h>
84033 #else
84034 # include <assert.h>
84035 #endif
84036
84037 #undef $ac_func
84038
84039 /* Override any gcc2 internal prototype to avoid an error.  */
84040 #ifdef __cplusplus
84041 extern "C"
84042 {
84043 #endif
84044 /* We use char because int might match the return type of a gcc2
84045    builtin and then its argument prototype would still apply.  */
84046 char $ac_func ();
84047 /* The GNU C library defines this for functions which it implements
84048     to always fail with ENOSYS.  Some functions are actually named
84049     something starting with __ and the normal name is an alias.  */
84050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84051 choke me
84052 #else
84053 char (*f) () = $ac_func;
84054 #endif
84055 #ifdef __cplusplus
84056 }
84057 #endif
84058
84059 int
84060 main ()
84061 {
84062 return f != $ac_func;
84063   ;
84064   return 0;
84065 }
84066 _ACEOF
84067 rm -f conftest.$ac_objext conftest$ac_exeext
84068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84069   (eval $ac_link) 2>conftest.er1
84070   ac_status=$?
84071   grep -v '^ *+' conftest.er1 >conftest.err
84072   rm -f conftest.er1
84073   cat conftest.err >&5
84074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84075   (exit $ac_status); } &&
84076          { ac_try='test -z "$ac_c_werror_flag"
84077                          || test ! -s conftest.err'
84078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84079   (eval $ac_try) 2>&5
84080   ac_status=$?
84081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84082   (exit $ac_status); }; } &&
84083          { ac_try='test -s conftest$ac_exeext'
84084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84085   (eval $ac_try) 2>&5
84086   ac_status=$?
84087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84088   (exit $ac_status); }; }; then
84089   eval "$as_ac_var=yes"
84090 else
84091   echo "$as_me: failed program was:" >&5
84092 sed 's/^/| /' conftest.$ac_ext >&5
84093
84094 eval "$as_ac_var=no"
84095 fi
84096 rm -f conftest.err conftest.$ac_objext \
84097       conftest$ac_exeext conftest.$ac_ext
84098 fi
84099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84101 if test `eval echo '${'$as_ac_var'}'` = yes; then
84102   cat >>confdefs.h <<_ACEOF
84103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84104 _ACEOF
84105
84106 fi
84107 done
84108
84109     fi
84110   fi
84111
84112
84113
84114
84115
84116
84117   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
84118 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
84119   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
84120     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
84121   echo $ECHO_N "(cached) $ECHO_C" >&6
84122 else
84123
84124
84125
84126       ac_ext=cc
84127 ac_cpp='$CXXCPP $CPPFLAGS'
84128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84131
84132       cat >conftest.$ac_ext <<_ACEOF
84133 /* confdefs.h.  */
84134 _ACEOF
84135 cat confdefs.h >>conftest.$ac_ext
84136 cat >>conftest.$ac_ext <<_ACEOF
84137 /* end confdefs.h.  */
84138 #include <math.h>
84139                       #ifdef HAVE_IEEEFP_H
84140                       #include <ieeefp.h>
84141                       #endif
84142
84143 int
84144 main ()
84145 {
84146  fabsf(0);
84147   ;
84148   return 0;
84149 }
84150 _ACEOF
84151 rm -f conftest.$ac_objext
84152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84153   (eval $ac_compile) 2>conftest.er1
84154   ac_status=$?
84155   grep -v '^ *+' conftest.er1 >conftest.err
84156   rm -f conftest.er1
84157   cat conftest.err >&5
84158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84159   (exit $ac_status); } &&
84160          { ac_try='test -z "$ac_cxx_werror_flag"
84161                          || test ! -s conftest.err'
84162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84163   (eval $ac_try) 2>&5
84164   ac_status=$?
84165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84166   (exit $ac_status); }; } &&
84167          { ac_try='test -s conftest.$ac_objext'
84168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84169   (eval $ac_try) 2>&5
84170   ac_status=$?
84171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84172   (exit $ac_status); }; }; then
84173   glibcxx_cv_func_fabsf_use=yes
84174 else
84175   echo "$as_me: failed program was:" >&5
84176 sed 's/^/| /' conftest.$ac_ext >&5
84177
84178 glibcxx_cv_func_fabsf_use=no
84179 fi
84180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84181       ac_ext=c
84182 ac_cpp='$CPP $CPPFLAGS'
84183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84186
84187
84188 fi
84189
84190   fi
84191   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
84192 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
84193
84194   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
84195
84196 for ac_func in fabsf
84197 do
84198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84199 echo "$as_me:$LINENO: checking for $ac_func" >&5
84200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84201 if eval "test \"\${$as_ac_var+set}\" = set"; then
84202   echo $ECHO_N "(cached) $ECHO_C" >&6
84203 else
84204   if test x$gcc_no_link = xyes; then
84205   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84207    { (exit 1); exit 1; }; }
84208 fi
84209 cat >conftest.$ac_ext <<_ACEOF
84210 /* confdefs.h.  */
84211 _ACEOF
84212 cat confdefs.h >>conftest.$ac_ext
84213 cat >>conftest.$ac_ext <<_ACEOF
84214 /* end confdefs.h.  */
84215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84216    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84217 #define $ac_func innocuous_$ac_func
84218
84219 /* System header to define __stub macros and hopefully few prototypes,
84220     which can conflict with char $ac_func (); below.
84221     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84222     <limits.h> exists even on freestanding compilers.  */
84223
84224 #ifdef __STDC__
84225 # include <limits.h>
84226 #else
84227 # include <assert.h>
84228 #endif
84229
84230 #undef $ac_func
84231
84232 /* Override any gcc2 internal prototype to avoid an error.  */
84233 #ifdef __cplusplus
84234 extern "C"
84235 {
84236 #endif
84237 /* We use char because int might match the return type of a gcc2
84238    builtin and then its argument prototype would still apply.  */
84239 char $ac_func ();
84240 /* The GNU C library defines this for functions which it implements
84241     to always fail with ENOSYS.  Some functions are actually named
84242     something starting with __ and the normal name is an alias.  */
84243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84244 choke me
84245 #else
84246 char (*f) () = $ac_func;
84247 #endif
84248 #ifdef __cplusplus
84249 }
84250 #endif
84251
84252 int
84253 main ()
84254 {
84255 return f != $ac_func;
84256   ;
84257   return 0;
84258 }
84259 _ACEOF
84260 rm -f conftest.$ac_objext conftest$ac_exeext
84261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84262   (eval $ac_link) 2>conftest.er1
84263   ac_status=$?
84264   grep -v '^ *+' conftest.er1 >conftest.err
84265   rm -f conftest.er1
84266   cat conftest.err >&5
84267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84268   (exit $ac_status); } &&
84269          { ac_try='test -z "$ac_c_werror_flag"
84270                          || test ! -s conftest.err'
84271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84272   (eval $ac_try) 2>&5
84273   ac_status=$?
84274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84275   (exit $ac_status); }; } &&
84276          { ac_try='test -s conftest$ac_exeext'
84277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84278   (eval $ac_try) 2>&5
84279   ac_status=$?
84280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84281   (exit $ac_status); }; }; then
84282   eval "$as_ac_var=yes"
84283 else
84284   echo "$as_me: failed program was:" >&5
84285 sed 's/^/| /' conftest.$ac_ext >&5
84286
84287 eval "$as_ac_var=no"
84288 fi
84289 rm -f conftest.err conftest.$ac_objext \
84290       conftest$ac_exeext conftest.$ac_ext
84291 fi
84292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84294 if test `eval echo '${'$as_ac_var'}'` = yes; then
84295   cat >>confdefs.h <<_ACEOF
84296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84297 _ACEOF
84298
84299 fi
84300 done
84301
84302   else
84303
84304   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
84305 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
84306   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
84307     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
84308   echo $ECHO_N "(cached) $ECHO_C" >&6
84309 else
84310
84311
84312
84313       ac_ext=cc
84314 ac_cpp='$CXXCPP $CPPFLAGS'
84315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84318
84319       cat >conftest.$ac_ext <<_ACEOF
84320 /* confdefs.h.  */
84321 _ACEOF
84322 cat confdefs.h >>conftest.$ac_ext
84323 cat >>conftest.$ac_ext <<_ACEOF
84324 /* end confdefs.h.  */
84325 #include <math.h>
84326                       #ifdef HAVE_IEEEFP_H
84327                       #include <ieeefp.h>
84328                       #endif
84329
84330 int
84331 main ()
84332 {
84333  _fabsf(0);
84334   ;
84335   return 0;
84336 }
84337 _ACEOF
84338 rm -f conftest.$ac_objext
84339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84340   (eval $ac_compile) 2>conftest.er1
84341   ac_status=$?
84342   grep -v '^ *+' conftest.er1 >conftest.err
84343   rm -f conftest.er1
84344   cat conftest.err >&5
84345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84346   (exit $ac_status); } &&
84347          { ac_try='test -z "$ac_cxx_werror_flag"
84348                          || test ! -s conftest.err'
84349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84350   (eval $ac_try) 2>&5
84351   ac_status=$?
84352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84353   (exit $ac_status); }; } &&
84354          { ac_try='test -s conftest.$ac_objext'
84355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84356   (eval $ac_try) 2>&5
84357   ac_status=$?
84358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84359   (exit $ac_status); }; }; then
84360   glibcxx_cv_func__fabsf_use=yes
84361 else
84362   echo "$as_me: failed program was:" >&5
84363 sed 's/^/| /' conftest.$ac_ext >&5
84364
84365 glibcxx_cv_func__fabsf_use=no
84366 fi
84367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84368       ac_ext=c
84369 ac_cpp='$CPP $CPPFLAGS'
84370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84373
84374
84375 fi
84376
84377   fi
84378   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
84379 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
84380
84381     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
84382
84383 for ac_func in _fabsf
84384 do
84385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84386 echo "$as_me:$LINENO: checking for $ac_func" >&5
84387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84388 if eval "test \"\${$as_ac_var+set}\" = set"; then
84389   echo $ECHO_N "(cached) $ECHO_C" >&6
84390 else
84391   if test x$gcc_no_link = xyes; then
84392   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84394    { (exit 1); exit 1; }; }
84395 fi
84396 cat >conftest.$ac_ext <<_ACEOF
84397 /* confdefs.h.  */
84398 _ACEOF
84399 cat confdefs.h >>conftest.$ac_ext
84400 cat >>conftest.$ac_ext <<_ACEOF
84401 /* end confdefs.h.  */
84402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84403    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84404 #define $ac_func innocuous_$ac_func
84405
84406 /* System header to define __stub macros and hopefully few prototypes,
84407     which can conflict with char $ac_func (); below.
84408     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84409     <limits.h> exists even on freestanding compilers.  */
84410
84411 #ifdef __STDC__
84412 # include <limits.h>
84413 #else
84414 # include <assert.h>
84415 #endif
84416
84417 #undef $ac_func
84418
84419 /* Override any gcc2 internal prototype to avoid an error.  */
84420 #ifdef __cplusplus
84421 extern "C"
84422 {
84423 #endif
84424 /* We use char because int might match the return type of a gcc2
84425    builtin and then its argument prototype would still apply.  */
84426 char $ac_func ();
84427 /* The GNU C library defines this for functions which it implements
84428     to always fail with ENOSYS.  Some functions are actually named
84429     something starting with __ and the normal name is an alias.  */
84430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84431 choke me
84432 #else
84433 char (*f) () = $ac_func;
84434 #endif
84435 #ifdef __cplusplus
84436 }
84437 #endif
84438
84439 int
84440 main ()
84441 {
84442 return f != $ac_func;
84443   ;
84444   return 0;
84445 }
84446 _ACEOF
84447 rm -f conftest.$ac_objext conftest$ac_exeext
84448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84449   (eval $ac_link) 2>conftest.er1
84450   ac_status=$?
84451   grep -v '^ *+' conftest.er1 >conftest.err
84452   rm -f conftest.er1
84453   cat conftest.err >&5
84454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84455   (exit $ac_status); } &&
84456          { ac_try='test -z "$ac_c_werror_flag"
84457                          || test ! -s conftest.err'
84458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84459   (eval $ac_try) 2>&5
84460   ac_status=$?
84461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84462   (exit $ac_status); }; } &&
84463          { ac_try='test -s conftest$ac_exeext'
84464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84465   (eval $ac_try) 2>&5
84466   ac_status=$?
84467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84468   (exit $ac_status); }; }; then
84469   eval "$as_ac_var=yes"
84470 else
84471   echo "$as_me: failed program was:" >&5
84472 sed 's/^/| /' conftest.$ac_ext >&5
84473
84474 eval "$as_ac_var=no"
84475 fi
84476 rm -f conftest.err conftest.$ac_objext \
84477       conftest$ac_exeext conftest.$ac_ext
84478 fi
84479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84481 if test `eval echo '${'$as_ac_var'}'` = yes; then
84482   cat >>confdefs.h <<_ACEOF
84483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84484 _ACEOF
84485
84486 fi
84487 done
84488
84489     fi
84490   fi
84491
84492
84493
84494
84495
84496
84497   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
84498 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
84499   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
84500     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
84501   echo $ECHO_N "(cached) $ECHO_C" >&6
84502 else
84503
84504
84505
84506       ac_ext=cc
84507 ac_cpp='$CXXCPP $CPPFLAGS'
84508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84511
84512       cat >conftest.$ac_ext <<_ACEOF
84513 /* confdefs.h.  */
84514 _ACEOF
84515 cat confdefs.h >>conftest.$ac_ext
84516 cat >>conftest.$ac_ext <<_ACEOF
84517 /* end confdefs.h.  */
84518 #include <math.h>
84519 int
84520 main ()
84521 {
84522  fmodf(0, 0);
84523   ;
84524   return 0;
84525 }
84526 _ACEOF
84527 rm -f conftest.$ac_objext
84528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84529   (eval $ac_compile) 2>conftest.er1
84530   ac_status=$?
84531   grep -v '^ *+' conftest.er1 >conftest.err
84532   rm -f conftest.er1
84533   cat conftest.err >&5
84534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84535   (exit $ac_status); } &&
84536          { ac_try='test -z "$ac_cxx_werror_flag"
84537                          || test ! -s conftest.err'
84538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84539   (eval $ac_try) 2>&5
84540   ac_status=$?
84541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84542   (exit $ac_status); }; } &&
84543          { ac_try='test -s conftest.$ac_objext'
84544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84545   (eval $ac_try) 2>&5
84546   ac_status=$?
84547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84548   (exit $ac_status); }; }; then
84549   glibcxx_cv_func_fmodf_use=yes
84550 else
84551   echo "$as_me: failed program was:" >&5
84552 sed 's/^/| /' conftest.$ac_ext >&5
84553
84554 glibcxx_cv_func_fmodf_use=no
84555 fi
84556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84557       ac_ext=c
84558 ac_cpp='$CPP $CPPFLAGS'
84559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84562
84563
84564 fi
84565
84566   fi
84567   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
84568 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
84569
84570   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
84571
84572 for ac_func in fmodf
84573 do
84574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84575 echo "$as_me:$LINENO: checking for $ac_func" >&5
84576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84577 if eval "test \"\${$as_ac_var+set}\" = set"; then
84578   echo $ECHO_N "(cached) $ECHO_C" >&6
84579 else
84580   if test x$gcc_no_link = xyes; then
84581   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84583    { (exit 1); exit 1; }; }
84584 fi
84585 cat >conftest.$ac_ext <<_ACEOF
84586 /* confdefs.h.  */
84587 _ACEOF
84588 cat confdefs.h >>conftest.$ac_ext
84589 cat >>conftest.$ac_ext <<_ACEOF
84590 /* end confdefs.h.  */
84591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84592    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84593 #define $ac_func innocuous_$ac_func
84594
84595 /* System header to define __stub macros and hopefully few prototypes,
84596     which can conflict with char $ac_func (); below.
84597     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84598     <limits.h> exists even on freestanding compilers.  */
84599
84600 #ifdef __STDC__
84601 # include <limits.h>
84602 #else
84603 # include <assert.h>
84604 #endif
84605
84606 #undef $ac_func
84607
84608 /* Override any gcc2 internal prototype to avoid an error.  */
84609 #ifdef __cplusplus
84610 extern "C"
84611 {
84612 #endif
84613 /* We use char because int might match the return type of a gcc2
84614    builtin and then its argument prototype would still apply.  */
84615 char $ac_func ();
84616 /* The GNU C library defines this for functions which it implements
84617     to always fail with ENOSYS.  Some functions are actually named
84618     something starting with __ and the normal name is an alias.  */
84619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84620 choke me
84621 #else
84622 char (*f) () = $ac_func;
84623 #endif
84624 #ifdef __cplusplus
84625 }
84626 #endif
84627
84628 int
84629 main ()
84630 {
84631 return f != $ac_func;
84632   ;
84633   return 0;
84634 }
84635 _ACEOF
84636 rm -f conftest.$ac_objext conftest$ac_exeext
84637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84638   (eval $ac_link) 2>conftest.er1
84639   ac_status=$?
84640   grep -v '^ *+' conftest.er1 >conftest.err
84641   rm -f conftest.er1
84642   cat conftest.err >&5
84643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84644   (exit $ac_status); } &&
84645          { ac_try='test -z "$ac_c_werror_flag"
84646                          || test ! -s conftest.err'
84647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84648   (eval $ac_try) 2>&5
84649   ac_status=$?
84650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84651   (exit $ac_status); }; } &&
84652          { ac_try='test -s conftest$ac_exeext'
84653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84654   (eval $ac_try) 2>&5
84655   ac_status=$?
84656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84657   (exit $ac_status); }; }; then
84658   eval "$as_ac_var=yes"
84659 else
84660   echo "$as_me: failed program was:" >&5
84661 sed 's/^/| /' conftest.$ac_ext >&5
84662
84663 eval "$as_ac_var=no"
84664 fi
84665 rm -f conftest.err conftest.$ac_objext \
84666       conftest$ac_exeext conftest.$ac_ext
84667 fi
84668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84670 if test `eval echo '${'$as_ac_var'}'` = yes; then
84671   cat >>confdefs.h <<_ACEOF
84672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84673 _ACEOF
84674
84675 fi
84676 done
84677
84678   else
84679
84680   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
84681 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
84682   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
84683     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
84684   echo $ECHO_N "(cached) $ECHO_C" >&6
84685 else
84686
84687
84688
84689       ac_ext=cc
84690 ac_cpp='$CXXCPP $CPPFLAGS'
84691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84694
84695       cat >conftest.$ac_ext <<_ACEOF
84696 /* confdefs.h.  */
84697 _ACEOF
84698 cat confdefs.h >>conftest.$ac_ext
84699 cat >>conftest.$ac_ext <<_ACEOF
84700 /* end confdefs.h.  */
84701 #include <math.h>
84702 int
84703 main ()
84704 {
84705  _fmodf(0, 0);
84706   ;
84707   return 0;
84708 }
84709 _ACEOF
84710 rm -f conftest.$ac_objext
84711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84712   (eval $ac_compile) 2>conftest.er1
84713   ac_status=$?
84714   grep -v '^ *+' conftest.er1 >conftest.err
84715   rm -f conftest.er1
84716   cat conftest.err >&5
84717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84718   (exit $ac_status); } &&
84719          { ac_try='test -z "$ac_cxx_werror_flag"
84720                          || test ! -s conftest.err'
84721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84722   (eval $ac_try) 2>&5
84723   ac_status=$?
84724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84725   (exit $ac_status); }; } &&
84726          { ac_try='test -s conftest.$ac_objext'
84727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84728   (eval $ac_try) 2>&5
84729   ac_status=$?
84730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84731   (exit $ac_status); }; }; then
84732   glibcxx_cv_func__fmodf_use=yes
84733 else
84734   echo "$as_me: failed program was:" >&5
84735 sed 's/^/| /' conftest.$ac_ext >&5
84736
84737 glibcxx_cv_func__fmodf_use=no
84738 fi
84739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84740       ac_ext=c
84741 ac_cpp='$CPP $CPPFLAGS'
84742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84745
84746
84747 fi
84748
84749   fi
84750   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
84751 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
84752
84753     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
84754
84755 for ac_func in _fmodf
84756 do
84757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84758 echo "$as_me:$LINENO: checking for $ac_func" >&5
84759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84760 if eval "test \"\${$as_ac_var+set}\" = set"; then
84761   echo $ECHO_N "(cached) $ECHO_C" >&6
84762 else
84763   if test x$gcc_no_link = xyes; then
84764   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84766    { (exit 1); exit 1; }; }
84767 fi
84768 cat >conftest.$ac_ext <<_ACEOF
84769 /* confdefs.h.  */
84770 _ACEOF
84771 cat confdefs.h >>conftest.$ac_ext
84772 cat >>conftest.$ac_ext <<_ACEOF
84773 /* end confdefs.h.  */
84774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84775    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84776 #define $ac_func innocuous_$ac_func
84777
84778 /* System header to define __stub macros and hopefully few prototypes,
84779     which can conflict with char $ac_func (); below.
84780     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84781     <limits.h> exists even on freestanding compilers.  */
84782
84783 #ifdef __STDC__
84784 # include <limits.h>
84785 #else
84786 # include <assert.h>
84787 #endif
84788
84789 #undef $ac_func
84790
84791 /* Override any gcc2 internal prototype to avoid an error.  */
84792 #ifdef __cplusplus
84793 extern "C"
84794 {
84795 #endif
84796 /* We use char because int might match the return type of a gcc2
84797    builtin and then its argument prototype would still apply.  */
84798 char $ac_func ();
84799 /* The GNU C library defines this for functions which it implements
84800     to always fail with ENOSYS.  Some functions are actually named
84801     something starting with __ and the normal name is an alias.  */
84802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84803 choke me
84804 #else
84805 char (*f) () = $ac_func;
84806 #endif
84807 #ifdef __cplusplus
84808 }
84809 #endif
84810
84811 int
84812 main ()
84813 {
84814 return f != $ac_func;
84815   ;
84816   return 0;
84817 }
84818 _ACEOF
84819 rm -f conftest.$ac_objext conftest$ac_exeext
84820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84821   (eval $ac_link) 2>conftest.er1
84822   ac_status=$?
84823   grep -v '^ *+' conftest.er1 >conftest.err
84824   rm -f conftest.er1
84825   cat conftest.err >&5
84826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84827   (exit $ac_status); } &&
84828          { ac_try='test -z "$ac_c_werror_flag"
84829                          || test ! -s conftest.err'
84830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84831   (eval $ac_try) 2>&5
84832   ac_status=$?
84833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84834   (exit $ac_status); }; } &&
84835          { ac_try='test -s conftest$ac_exeext'
84836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84837   (eval $ac_try) 2>&5
84838   ac_status=$?
84839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84840   (exit $ac_status); }; }; then
84841   eval "$as_ac_var=yes"
84842 else
84843   echo "$as_me: failed program was:" >&5
84844 sed 's/^/| /' conftest.$ac_ext >&5
84845
84846 eval "$as_ac_var=no"
84847 fi
84848 rm -f conftest.err conftest.$ac_objext \
84849       conftest$ac_exeext conftest.$ac_ext
84850 fi
84851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84853 if test `eval echo '${'$as_ac_var'}'` = yes; then
84854   cat >>confdefs.h <<_ACEOF
84855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84856 _ACEOF
84857
84858 fi
84859 done
84860
84861     fi
84862   fi
84863
84864
84865
84866
84867
84868
84869   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
84870 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
84871   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
84872     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
84873   echo $ECHO_N "(cached) $ECHO_C" >&6
84874 else
84875
84876
84877
84878       ac_ext=cc
84879 ac_cpp='$CXXCPP $CPPFLAGS'
84880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84883
84884       cat >conftest.$ac_ext <<_ACEOF
84885 /* confdefs.h.  */
84886 _ACEOF
84887 cat confdefs.h >>conftest.$ac_ext
84888 cat >>conftest.$ac_ext <<_ACEOF
84889 /* end confdefs.h.  */
84890 #include <math.h>
84891 int
84892 main ()
84893 {
84894  frexpf(0, 0);
84895   ;
84896   return 0;
84897 }
84898 _ACEOF
84899 rm -f conftest.$ac_objext
84900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84901   (eval $ac_compile) 2>conftest.er1
84902   ac_status=$?
84903   grep -v '^ *+' conftest.er1 >conftest.err
84904   rm -f conftest.er1
84905   cat conftest.err >&5
84906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84907   (exit $ac_status); } &&
84908          { ac_try='test -z "$ac_cxx_werror_flag"
84909                          || test ! -s conftest.err'
84910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84911   (eval $ac_try) 2>&5
84912   ac_status=$?
84913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84914   (exit $ac_status); }; } &&
84915          { ac_try='test -s conftest.$ac_objext'
84916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84917   (eval $ac_try) 2>&5
84918   ac_status=$?
84919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84920   (exit $ac_status); }; }; then
84921   glibcxx_cv_func_frexpf_use=yes
84922 else
84923   echo "$as_me: failed program was:" >&5
84924 sed 's/^/| /' conftest.$ac_ext >&5
84925
84926 glibcxx_cv_func_frexpf_use=no
84927 fi
84928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84929       ac_ext=c
84930 ac_cpp='$CPP $CPPFLAGS'
84931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84934
84935
84936 fi
84937
84938   fi
84939   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
84940 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
84941
84942   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
84943
84944 for ac_func in frexpf
84945 do
84946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84947 echo "$as_me:$LINENO: checking for $ac_func" >&5
84948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84949 if eval "test \"\${$as_ac_var+set}\" = set"; then
84950   echo $ECHO_N "(cached) $ECHO_C" >&6
84951 else
84952   if test x$gcc_no_link = xyes; then
84953   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84955    { (exit 1); exit 1; }; }
84956 fi
84957 cat >conftest.$ac_ext <<_ACEOF
84958 /* confdefs.h.  */
84959 _ACEOF
84960 cat confdefs.h >>conftest.$ac_ext
84961 cat >>conftest.$ac_ext <<_ACEOF
84962 /* end confdefs.h.  */
84963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84964    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84965 #define $ac_func innocuous_$ac_func
84966
84967 /* System header to define __stub macros and hopefully few prototypes,
84968     which can conflict with char $ac_func (); below.
84969     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84970     <limits.h> exists even on freestanding compilers.  */
84971
84972 #ifdef __STDC__
84973 # include <limits.h>
84974 #else
84975 # include <assert.h>
84976 #endif
84977
84978 #undef $ac_func
84979
84980 /* Override any gcc2 internal prototype to avoid an error.  */
84981 #ifdef __cplusplus
84982 extern "C"
84983 {
84984 #endif
84985 /* We use char because int might match the return type of a gcc2
84986    builtin and then its argument prototype would still apply.  */
84987 char $ac_func ();
84988 /* The GNU C library defines this for functions which it implements
84989     to always fail with ENOSYS.  Some functions are actually named
84990     something starting with __ and the normal name is an alias.  */
84991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84992 choke me
84993 #else
84994 char (*f) () = $ac_func;
84995 #endif
84996 #ifdef __cplusplus
84997 }
84998 #endif
84999
85000 int
85001 main ()
85002 {
85003 return f != $ac_func;
85004   ;
85005   return 0;
85006 }
85007 _ACEOF
85008 rm -f conftest.$ac_objext conftest$ac_exeext
85009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85010   (eval $ac_link) 2>conftest.er1
85011   ac_status=$?
85012   grep -v '^ *+' conftest.er1 >conftest.err
85013   rm -f conftest.er1
85014   cat conftest.err >&5
85015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85016   (exit $ac_status); } &&
85017          { ac_try='test -z "$ac_c_werror_flag"
85018                          || test ! -s conftest.err'
85019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85020   (eval $ac_try) 2>&5
85021   ac_status=$?
85022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85023   (exit $ac_status); }; } &&
85024          { ac_try='test -s conftest$ac_exeext'
85025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85026   (eval $ac_try) 2>&5
85027   ac_status=$?
85028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85029   (exit $ac_status); }; }; then
85030   eval "$as_ac_var=yes"
85031 else
85032   echo "$as_me: failed program was:" >&5
85033 sed 's/^/| /' conftest.$ac_ext >&5
85034
85035 eval "$as_ac_var=no"
85036 fi
85037 rm -f conftest.err conftest.$ac_objext \
85038       conftest$ac_exeext conftest.$ac_ext
85039 fi
85040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85042 if test `eval echo '${'$as_ac_var'}'` = yes; then
85043   cat >>confdefs.h <<_ACEOF
85044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85045 _ACEOF
85046
85047 fi
85048 done
85049
85050   else
85051
85052   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
85053 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
85054   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
85055     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
85056   echo $ECHO_N "(cached) $ECHO_C" >&6
85057 else
85058
85059
85060
85061       ac_ext=cc
85062 ac_cpp='$CXXCPP $CPPFLAGS'
85063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85066
85067       cat >conftest.$ac_ext <<_ACEOF
85068 /* confdefs.h.  */
85069 _ACEOF
85070 cat confdefs.h >>conftest.$ac_ext
85071 cat >>conftest.$ac_ext <<_ACEOF
85072 /* end confdefs.h.  */
85073 #include <math.h>
85074 int
85075 main ()
85076 {
85077  _frexpf(0, 0);
85078   ;
85079   return 0;
85080 }
85081 _ACEOF
85082 rm -f conftest.$ac_objext
85083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85084   (eval $ac_compile) 2>conftest.er1
85085   ac_status=$?
85086   grep -v '^ *+' conftest.er1 >conftest.err
85087   rm -f conftest.er1
85088   cat conftest.err >&5
85089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85090   (exit $ac_status); } &&
85091          { ac_try='test -z "$ac_cxx_werror_flag"
85092                          || test ! -s conftest.err'
85093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85094   (eval $ac_try) 2>&5
85095   ac_status=$?
85096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85097   (exit $ac_status); }; } &&
85098          { ac_try='test -s conftest.$ac_objext'
85099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85100   (eval $ac_try) 2>&5
85101   ac_status=$?
85102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85103   (exit $ac_status); }; }; then
85104   glibcxx_cv_func__frexpf_use=yes
85105 else
85106   echo "$as_me: failed program was:" >&5
85107 sed 's/^/| /' conftest.$ac_ext >&5
85108
85109 glibcxx_cv_func__frexpf_use=no
85110 fi
85111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85112       ac_ext=c
85113 ac_cpp='$CPP $CPPFLAGS'
85114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85117
85118
85119 fi
85120
85121   fi
85122   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
85123 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
85124
85125     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
85126
85127 for ac_func in _frexpf
85128 do
85129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85130 echo "$as_me:$LINENO: checking for $ac_func" >&5
85131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85132 if eval "test \"\${$as_ac_var+set}\" = set"; then
85133   echo $ECHO_N "(cached) $ECHO_C" >&6
85134 else
85135   if test x$gcc_no_link = xyes; then
85136   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85138    { (exit 1); exit 1; }; }
85139 fi
85140 cat >conftest.$ac_ext <<_ACEOF
85141 /* confdefs.h.  */
85142 _ACEOF
85143 cat confdefs.h >>conftest.$ac_ext
85144 cat >>conftest.$ac_ext <<_ACEOF
85145 /* end confdefs.h.  */
85146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85147    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85148 #define $ac_func innocuous_$ac_func
85149
85150 /* System header to define __stub macros and hopefully few prototypes,
85151     which can conflict with char $ac_func (); below.
85152     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85153     <limits.h> exists even on freestanding compilers.  */
85154
85155 #ifdef __STDC__
85156 # include <limits.h>
85157 #else
85158 # include <assert.h>
85159 #endif
85160
85161 #undef $ac_func
85162
85163 /* Override any gcc2 internal prototype to avoid an error.  */
85164 #ifdef __cplusplus
85165 extern "C"
85166 {
85167 #endif
85168 /* We use char because int might match the return type of a gcc2
85169    builtin and then its argument prototype would still apply.  */
85170 char $ac_func ();
85171 /* The GNU C library defines this for functions which it implements
85172     to always fail with ENOSYS.  Some functions are actually named
85173     something starting with __ and the normal name is an alias.  */
85174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85175 choke me
85176 #else
85177 char (*f) () = $ac_func;
85178 #endif
85179 #ifdef __cplusplus
85180 }
85181 #endif
85182
85183 int
85184 main ()
85185 {
85186 return f != $ac_func;
85187   ;
85188   return 0;
85189 }
85190 _ACEOF
85191 rm -f conftest.$ac_objext conftest$ac_exeext
85192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85193   (eval $ac_link) 2>conftest.er1
85194   ac_status=$?
85195   grep -v '^ *+' conftest.er1 >conftest.err
85196   rm -f conftest.er1
85197   cat conftest.err >&5
85198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85199   (exit $ac_status); } &&
85200          { ac_try='test -z "$ac_c_werror_flag"
85201                          || test ! -s conftest.err'
85202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85203   (eval $ac_try) 2>&5
85204   ac_status=$?
85205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85206   (exit $ac_status); }; } &&
85207          { ac_try='test -s conftest$ac_exeext'
85208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85209   (eval $ac_try) 2>&5
85210   ac_status=$?
85211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85212   (exit $ac_status); }; }; then
85213   eval "$as_ac_var=yes"
85214 else
85215   echo "$as_me: failed program was:" >&5
85216 sed 's/^/| /' conftest.$ac_ext >&5
85217
85218 eval "$as_ac_var=no"
85219 fi
85220 rm -f conftest.err conftest.$ac_objext \
85221       conftest$ac_exeext conftest.$ac_ext
85222 fi
85223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85225 if test `eval echo '${'$as_ac_var'}'` = yes; then
85226   cat >>confdefs.h <<_ACEOF
85227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85228 _ACEOF
85229
85230 fi
85231 done
85232
85233     fi
85234   fi
85235
85236
85237
85238
85239
85240
85241   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
85242 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
85243   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
85244     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
85245   echo $ECHO_N "(cached) $ECHO_C" >&6
85246 else
85247
85248
85249
85250       ac_ext=cc
85251 ac_cpp='$CXXCPP $CPPFLAGS'
85252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85255
85256       cat >conftest.$ac_ext <<_ACEOF
85257 /* confdefs.h.  */
85258 _ACEOF
85259 cat confdefs.h >>conftest.$ac_ext
85260 cat >>conftest.$ac_ext <<_ACEOF
85261 /* end confdefs.h.  */
85262 #include <math.h>
85263 int
85264 main ()
85265 {
85266  hypotf(0, 0);
85267   ;
85268   return 0;
85269 }
85270 _ACEOF
85271 rm -f conftest.$ac_objext
85272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85273   (eval $ac_compile) 2>conftest.er1
85274   ac_status=$?
85275   grep -v '^ *+' conftest.er1 >conftest.err
85276   rm -f conftest.er1
85277   cat conftest.err >&5
85278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85279   (exit $ac_status); } &&
85280          { ac_try='test -z "$ac_cxx_werror_flag"
85281                          || test ! -s conftest.err'
85282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85283   (eval $ac_try) 2>&5
85284   ac_status=$?
85285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85286   (exit $ac_status); }; } &&
85287          { ac_try='test -s conftest.$ac_objext'
85288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85289   (eval $ac_try) 2>&5
85290   ac_status=$?
85291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85292   (exit $ac_status); }; }; then
85293   glibcxx_cv_func_hypotf_use=yes
85294 else
85295   echo "$as_me: failed program was:" >&5
85296 sed 's/^/| /' conftest.$ac_ext >&5
85297
85298 glibcxx_cv_func_hypotf_use=no
85299 fi
85300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85301       ac_ext=c
85302 ac_cpp='$CPP $CPPFLAGS'
85303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85306
85307
85308 fi
85309
85310   fi
85311   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
85312 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
85313
85314   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
85315
85316 for ac_func in hypotf
85317 do
85318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85319 echo "$as_me:$LINENO: checking for $ac_func" >&5
85320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85321 if eval "test \"\${$as_ac_var+set}\" = set"; then
85322   echo $ECHO_N "(cached) $ECHO_C" >&6
85323 else
85324   if test x$gcc_no_link = xyes; then
85325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85327    { (exit 1); exit 1; }; }
85328 fi
85329 cat >conftest.$ac_ext <<_ACEOF
85330 /* confdefs.h.  */
85331 _ACEOF
85332 cat confdefs.h >>conftest.$ac_ext
85333 cat >>conftest.$ac_ext <<_ACEOF
85334 /* end confdefs.h.  */
85335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85336    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85337 #define $ac_func innocuous_$ac_func
85338
85339 /* System header to define __stub macros and hopefully few prototypes,
85340     which can conflict with char $ac_func (); below.
85341     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85342     <limits.h> exists even on freestanding compilers.  */
85343
85344 #ifdef __STDC__
85345 # include <limits.h>
85346 #else
85347 # include <assert.h>
85348 #endif
85349
85350 #undef $ac_func
85351
85352 /* Override any gcc2 internal prototype to avoid an error.  */
85353 #ifdef __cplusplus
85354 extern "C"
85355 {
85356 #endif
85357 /* We use char because int might match the return type of a gcc2
85358    builtin and then its argument prototype would still apply.  */
85359 char $ac_func ();
85360 /* The GNU C library defines this for functions which it implements
85361     to always fail with ENOSYS.  Some functions are actually named
85362     something starting with __ and the normal name is an alias.  */
85363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85364 choke me
85365 #else
85366 char (*f) () = $ac_func;
85367 #endif
85368 #ifdef __cplusplus
85369 }
85370 #endif
85371
85372 int
85373 main ()
85374 {
85375 return f != $ac_func;
85376   ;
85377   return 0;
85378 }
85379 _ACEOF
85380 rm -f conftest.$ac_objext conftest$ac_exeext
85381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85382   (eval $ac_link) 2>conftest.er1
85383   ac_status=$?
85384   grep -v '^ *+' conftest.er1 >conftest.err
85385   rm -f conftest.er1
85386   cat conftest.err >&5
85387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85388   (exit $ac_status); } &&
85389          { ac_try='test -z "$ac_c_werror_flag"
85390                          || test ! -s conftest.err'
85391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85392   (eval $ac_try) 2>&5
85393   ac_status=$?
85394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85395   (exit $ac_status); }; } &&
85396          { ac_try='test -s conftest$ac_exeext'
85397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85398   (eval $ac_try) 2>&5
85399   ac_status=$?
85400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85401   (exit $ac_status); }; }; then
85402   eval "$as_ac_var=yes"
85403 else
85404   echo "$as_me: failed program was:" >&5
85405 sed 's/^/| /' conftest.$ac_ext >&5
85406
85407 eval "$as_ac_var=no"
85408 fi
85409 rm -f conftest.err conftest.$ac_objext \
85410       conftest$ac_exeext conftest.$ac_ext
85411 fi
85412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85414 if test `eval echo '${'$as_ac_var'}'` = yes; then
85415   cat >>confdefs.h <<_ACEOF
85416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85417 _ACEOF
85418
85419 fi
85420 done
85421
85422   else
85423
85424   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
85425 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
85426   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
85427     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
85428   echo $ECHO_N "(cached) $ECHO_C" >&6
85429 else
85430
85431
85432
85433       ac_ext=cc
85434 ac_cpp='$CXXCPP $CPPFLAGS'
85435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85438
85439       cat >conftest.$ac_ext <<_ACEOF
85440 /* confdefs.h.  */
85441 _ACEOF
85442 cat confdefs.h >>conftest.$ac_ext
85443 cat >>conftest.$ac_ext <<_ACEOF
85444 /* end confdefs.h.  */
85445 #include <math.h>
85446 int
85447 main ()
85448 {
85449  _hypotf(0, 0);
85450   ;
85451   return 0;
85452 }
85453 _ACEOF
85454 rm -f conftest.$ac_objext
85455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85456   (eval $ac_compile) 2>conftest.er1
85457   ac_status=$?
85458   grep -v '^ *+' conftest.er1 >conftest.err
85459   rm -f conftest.er1
85460   cat conftest.err >&5
85461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85462   (exit $ac_status); } &&
85463          { ac_try='test -z "$ac_cxx_werror_flag"
85464                          || test ! -s conftest.err'
85465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85466   (eval $ac_try) 2>&5
85467   ac_status=$?
85468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85469   (exit $ac_status); }; } &&
85470          { ac_try='test -s conftest.$ac_objext'
85471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85472   (eval $ac_try) 2>&5
85473   ac_status=$?
85474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85475   (exit $ac_status); }; }; then
85476   glibcxx_cv_func__hypotf_use=yes
85477 else
85478   echo "$as_me: failed program was:" >&5
85479 sed 's/^/| /' conftest.$ac_ext >&5
85480
85481 glibcxx_cv_func__hypotf_use=no
85482 fi
85483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85484       ac_ext=c
85485 ac_cpp='$CPP $CPPFLAGS'
85486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85489
85490
85491 fi
85492
85493   fi
85494   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
85495 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
85496
85497     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
85498
85499 for ac_func in _hypotf
85500 do
85501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85502 echo "$as_me:$LINENO: checking for $ac_func" >&5
85503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85504 if eval "test \"\${$as_ac_var+set}\" = set"; then
85505   echo $ECHO_N "(cached) $ECHO_C" >&6
85506 else
85507   if test x$gcc_no_link = xyes; then
85508   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85510    { (exit 1); exit 1; }; }
85511 fi
85512 cat >conftest.$ac_ext <<_ACEOF
85513 /* confdefs.h.  */
85514 _ACEOF
85515 cat confdefs.h >>conftest.$ac_ext
85516 cat >>conftest.$ac_ext <<_ACEOF
85517 /* end confdefs.h.  */
85518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85519    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85520 #define $ac_func innocuous_$ac_func
85521
85522 /* System header to define __stub macros and hopefully few prototypes,
85523     which can conflict with char $ac_func (); below.
85524     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85525     <limits.h> exists even on freestanding compilers.  */
85526
85527 #ifdef __STDC__
85528 # include <limits.h>
85529 #else
85530 # include <assert.h>
85531 #endif
85532
85533 #undef $ac_func
85534
85535 /* Override any gcc2 internal prototype to avoid an error.  */
85536 #ifdef __cplusplus
85537 extern "C"
85538 {
85539 #endif
85540 /* We use char because int might match the return type of a gcc2
85541    builtin and then its argument prototype would still apply.  */
85542 char $ac_func ();
85543 /* The GNU C library defines this for functions which it implements
85544     to always fail with ENOSYS.  Some functions are actually named
85545     something starting with __ and the normal name is an alias.  */
85546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85547 choke me
85548 #else
85549 char (*f) () = $ac_func;
85550 #endif
85551 #ifdef __cplusplus
85552 }
85553 #endif
85554
85555 int
85556 main ()
85557 {
85558 return f != $ac_func;
85559   ;
85560   return 0;
85561 }
85562 _ACEOF
85563 rm -f conftest.$ac_objext conftest$ac_exeext
85564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85565   (eval $ac_link) 2>conftest.er1
85566   ac_status=$?
85567   grep -v '^ *+' conftest.er1 >conftest.err
85568   rm -f conftest.er1
85569   cat conftest.err >&5
85570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85571   (exit $ac_status); } &&
85572          { ac_try='test -z "$ac_c_werror_flag"
85573                          || test ! -s conftest.err'
85574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85575   (eval $ac_try) 2>&5
85576   ac_status=$?
85577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85578   (exit $ac_status); }; } &&
85579          { ac_try='test -s conftest$ac_exeext'
85580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85581   (eval $ac_try) 2>&5
85582   ac_status=$?
85583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85584   (exit $ac_status); }; }; then
85585   eval "$as_ac_var=yes"
85586 else
85587   echo "$as_me: failed program was:" >&5
85588 sed 's/^/| /' conftest.$ac_ext >&5
85589
85590 eval "$as_ac_var=no"
85591 fi
85592 rm -f conftest.err conftest.$ac_objext \
85593       conftest$ac_exeext conftest.$ac_ext
85594 fi
85595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85597 if test `eval echo '${'$as_ac_var'}'` = yes; then
85598   cat >>confdefs.h <<_ACEOF
85599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85600 _ACEOF
85601
85602 fi
85603 done
85604
85605     fi
85606   fi
85607
85608
85609
85610
85611
85612
85613   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
85614 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
85615   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
85616     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
85617   echo $ECHO_N "(cached) $ECHO_C" >&6
85618 else
85619
85620
85621
85622       ac_ext=cc
85623 ac_cpp='$CXXCPP $CPPFLAGS'
85624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85627
85628       cat >conftest.$ac_ext <<_ACEOF
85629 /* confdefs.h.  */
85630 _ACEOF
85631 cat confdefs.h >>conftest.$ac_ext
85632 cat >>conftest.$ac_ext <<_ACEOF
85633 /* end confdefs.h.  */
85634 #include <math.h>
85635 int
85636 main ()
85637 {
85638  ldexpf(0, 0);
85639   ;
85640   return 0;
85641 }
85642 _ACEOF
85643 rm -f conftest.$ac_objext
85644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85645   (eval $ac_compile) 2>conftest.er1
85646   ac_status=$?
85647   grep -v '^ *+' conftest.er1 >conftest.err
85648   rm -f conftest.er1
85649   cat conftest.err >&5
85650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85651   (exit $ac_status); } &&
85652          { ac_try='test -z "$ac_cxx_werror_flag"
85653                          || test ! -s conftest.err'
85654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85655   (eval $ac_try) 2>&5
85656   ac_status=$?
85657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85658   (exit $ac_status); }; } &&
85659          { ac_try='test -s conftest.$ac_objext'
85660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85661   (eval $ac_try) 2>&5
85662   ac_status=$?
85663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85664   (exit $ac_status); }; }; then
85665   glibcxx_cv_func_ldexpf_use=yes
85666 else
85667   echo "$as_me: failed program was:" >&5
85668 sed 's/^/| /' conftest.$ac_ext >&5
85669
85670 glibcxx_cv_func_ldexpf_use=no
85671 fi
85672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85673       ac_ext=c
85674 ac_cpp='$CPP $CPPFLAGS'
85675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85678
85679
85680 fi
85681
85682   fi
85683   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
85684 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
85685
85686   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
85687
85688 for ac_func in ldexpf
85689 do
85690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85691 echo "$as_me:$LINENO: checking for $ac_func" >&5
85692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85693 if eval "test \"\${$as_ac_var+set}\" = set"; then
85694   echo $ECHO_N "(cached) $ECHO_C" >&6
85695 else
85696   if test x$gcc_no_link = xyes; then
85697   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85699    { (exit 1); exit 1; }; }
85700 fi
85701 cat >conftest.$ac_ext <<_ACEOF
85702 /* confdefs.h.  */
85703 _ACEOF
85704 cat confdefs.h >>conftest.$ac_ext
85705 cat >>conftest.$ac_ext <<_ACEOF
85706 /* end confdefs.h.  */
85707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85708    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85709 #define $ac_func innocuous_$ac_func
85710
85711 /* System header to define __stub macros and hopefully few prototypes,
85712     which can conflict with char $ac_func (); below.
85713     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85714     <limits.h> exists even on freestanding compilers.  */
85715
85716 #ifdef __STDC__
85717 # include <limits.h>
85718 #else
85719 # include <assert.h>
85720 #endif
85721
85722 #undef $ac_func
85723
85724 /* Override any gcc2 internal prototype to avoid an error.  */
85725 #ifdef __cplusplus
85726 extern "C"
85727 {
85728 #endif
85729 /* We use char because int might match the return type of a gcc2
85730    builtin and then its argument prototype would still apply.  */
85731 char $ac_func ();
85732 /* The GNU C library defines this for functions which it implements
85733     to always fail with ENOSYS.  Some functions are actually named
85734     something starting with __ and the normal name is an alias.  */
85735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85736 choke me
85737 #else
85738 char (*f) () = $ac_func;
85739 #endif
85740 #ifdef __cplusplus
85741 }
85742 #endif
85743
85744 int
85745 main ()
85746 {
85747 return f != $ac_func;
85748   ;
85749   return 0;
85750 }
85751 _ACEOF
85752 rm -f conftest.$ac_objext conftest$ac_exeext
85753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85754   (eval $ac_link) 2>conftest.er1
85755   ac_status=$?
85756   grep -v '^ *+' conftest.er1 >conftest.err
85757   rm -f conftest.er1
85758   cat conftest.err >&5
85759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85760   (exit $ac_status); } &&
85761          { ac_try='test -z "$ac_c_werror_flag"
85762                          || test ! -s conftest.err'
85763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85764   (eval $ac_try) 2>&5
85765   ac_status=$?
85766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85767   (exit $ac_status); }; } &&
85768          { ac_try='test -s conftest$ac_exeext'
85769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85770   (eval $ac_try) 2>&5
85771   ac_status=$?
85772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85773   (exit $ac_status); }; }; then
85774   eval "$as_ac_var=yes"
85775 else
85776   echo "$as_me: failed program was:" >&5
85777 sed 's/^/| /' conftest.$ac_ext >&5
85778
85779 eval "$as_ac_var=no"
85780 fi
85781 rm -f conftest.err conftest.$ac_objext \
85782       conftest$ac_exeext conftest.$ac_ext
85783 fi
85784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85786 if test `eval echo '${'$as_ac_var'}'` = yes; then
85787   cat >>confdefs.h <<_ACEOF
85788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85789 _ACEOF
85790
85791 fi
85792 done
85793
85794   else
85795
85796   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
85797 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
85798   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
85799     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
85800   echo $ECHO_N "(cached) $ECHO_C" >&6
85801 else
85802
85803
85804
85805       ac_ext=cc
85806 ac_cpp='$CXXCPP $CPPFLAGS'
85807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85810
85811       cat >conftest.$ac_ext <<_ACEOF
85812 /* confdefs.h.  */
85813 _ACEOF
85814 cat confdefs.h >>conftest.$ac_ext
85815 cat >>conftest.$ac_ext <<_ACEOF
85816 /* end confdefs.h.  */
85817 #include <math.h>
85818 int
85819 main ()
85820 {
85821  _ldexpf(0, 0);
85822   ;
85823   return 0;
85824 }
85825 _ACEOF
85826 rm -f conftest.$ac_objext
85827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85828   (eval $ac_compile) 2>conftest.er1
85829   ac_status=$?
85830   grep -v '^ *+' conftest.er1 >conftest.err
85831   rm -f conftest.er1
85832   cat conftest.err >&5
85833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85834   (exit $ac_status); } &&
85835          { ac_try='test -z "$ac_cxx_werror_flag"
85836                          || test ! -s conftest.err'
85837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85838   (eval $ac_try) 2>&5
85839   ac_status=$?
85840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85841   (exit $ac_status); }; } &&
85842          { ac_try='test -s conftest.$ac_objext'
85843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85844   (eval $ac_try) 2>&5
85845   ac_status=$?
85846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85847   (exit $ac_status); }; }; then
85848   glibcxx_cv_func__ldexpf_use=yes
85849 else
85850   echo "$as_me: failed program was:" >&5
85851 sed 's/^/| /' conftest.$ac_ext >&5
85852
85853 glibcxx_cv_func__ldexpf_use=no
85854 fi
85855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85856       ac_ext=c
85857 ac_cpp='$CPP $CPPFLAGS'
85858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85861
85862
85863 fi
85864
85865   fi
85866   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
85867 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
85868
85869     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
85870
85871 for ac_func in _ldexpf
85872 do
85873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85874 echo "$as_me:$LINENO: checking for $ac_func" >&5
85875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85876 if eval "test \"\${$as_ac_var+set}\" = set"; then
85877   echo $ECHO_N "(cached) $ECHO_C" >&6
85878 else
85879   if test x$gcc_no_link = xyes; then
85880   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85882    { (exit 1); exit 1; }; }
85883 fi
85884 cat >conftest.$ac_ext <<_ACEOF
85885 /* confdefs.h.  */
85886 _ACEOF
85887 cat confdefs.h >>conftest.$ac_ext
85888 cat >>conftest.$ac_ext <<_ACEOF
85889 /* end confdefs.h.  */
85890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85891    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85892 #define $ac_func innocuous_$ac_func
85893
85894 /* System header to define __stub macros and hopefully few prototypes,
85895     which can conflict with char $ac_func (); below.
85896     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85897     <limits.h> exists even on freestanding compilers.  */
85898
85899 #ifdef __STDC__
85900 # include <limits.h>
85901 #else
85902 # include <assert.h>
85903 #endif
85904
85905 #undef $ac_func
85906
85907 /* Override any gcc2 internal prototype to avoid an error.  */
85908 #ifdef __cplusplus
85909 extern "C"
85910 {
85911 #endif
85912 /* We use char because int might match the return type of a gcc2
85913    builtin and then its argument prototype would still apply.  */
85914 char $ac_func ();
85915 /* The GNU C library defines this for functions which it implements
85916     to always fail with ENOSYS.  Some functions are actually named
85917     something starting with __ and the normal name is an alias.  */
85918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85919 choke me
85920 #else
85921 char (*f) () = $ac_func;
85922 #endif
85923 #ifdef __cplusplus
85924 }
85925 #endif
85926
85927 int
85928 main ()
85929 {
85930 return f != $ac_func;
85931   ;
85932   return 0;
85933 }
85934 _ACEOF
85935 rm -f conftest.$ac_objext conftest$ac_exeext
85936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85937   (eval $ac_link) 2>conftest.er1
85938   ac_status=$?
85939   grep -v '^ *+' conftest.er1 >conftest.err
85940   rm -f conftest.er1
85941   cat conftest.err >&5
85942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85943   (exit $ac_status); } &&
85944          { ac_try='test -z "$ac_c_werror_flag"
85945                          || test ! -s conftest.err'
85946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85947   (eval $ac_try) 2>&5
85948   ac_status=$?
85949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85950   (exit $ac_status); }; } &&
85951          { ac_try='test -s conftest$ac_exeext'
85952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85953   (eval $ac_try) 2>&5
85954   ac_status=$?
85955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85956   (exit $ac_status); }; }; then
85957   eval "$as_ac_var=yes"
85958 else
85959   echo "$as_me: failed program was:" >&5
85960 sed 's/^/| /' conftest.$ac_ext >&5
85961
85962 eval "$as_ac_var=no"
85963 fi
85964 rm -f conftest.err conftest.$ac_objext \
85965       conftest$ac_exeext conftest.$ac_ext
85966 fi
85967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85969 if test `eval echo '${'$as_ac_var'}'` = yes; then
85970   cat >>confdefs.h <<_ACEOF
85971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85972 _ACEOF
85973
85974 fi
85975 done
85976
85977     fi
85978   fi
85979
85980
85981
85982
85983
85984
85985   echo "$as_me:$LINENO: checking for logf declaration" >&5
85986 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
85987   if test x${glibcxx_cv_func_logf_use+set} != xset; then
85988     if test "${glibcxx_cv_func_logf_use+set}" = set; then
85989   echo $ECHO_N "(cached) $ECHO_C" >&6
85990 else
85991
85992
85993
85994       ac_ext=cc
85995 ac_cpp='$CXXCPP $CPPFLAGS'
85996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85999
86000       cat >conftest.$ac_ext <<_ACEOF
86001 /* confdefs.h.  */
86002 _ACEOF
86003 cat confdefs.h >>conftest.$ac_ext
86004 cat >>conftest.$ac_ext <<_ACEOF
86005 /* end confdefs.h.  */
86006 #include <math.h>
86007                       #ifdef HAVE_IEEEFP_H
86008                       #include <ieeefp.h>
86009                       #endif
86010
86011 int
86012 main ()
86013 {
86014  logf(0);
86015   ;
86016   return 0;
86017 }
86018 _ACEOF
86019 rm -f conftest.$ac_objext
86020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86021   (eval $ac_compile) 2>conftest.er1
86022   ac_status=$?
86023   grep -v '^ *+' conftest.er1 >conftest.err
86024   rm -f conftest.er1
86025   cat conftest.err >&5
86026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86027   (exit $ac_status); } &&
86028          { ac_try='test -z "$ac_cxx_werror_flag"
86029                          || test ! -s conftest.err'
86030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86031   (eval $ac_try) 2>&5
86032   ac_status=$?
86033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86034   (exit $ac_status); }; } &&
86035          { ac_try='test -s conftest.$ac_objext'
86036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86037   (eval $ac_try) 2>&5
86038   ac_status=$?
86039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86040   (exit $ac_status); }; }; then
86041   glibcxx_cv_func_logf_use=yes
86042 else
86043   echo "$as_me: failed program was:" >&5
86044 sed 's/^/| /' conftest.$ac_ext >&5
86045
86046 glibcxx_cv_func_logf_use=no
86047 fi
86048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86049       ac_ext=c
86050 ac_cpp='$CPP $CPPFLAGS'
86051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86054
86055
86056 fi
86057
86058   fi
86059   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
86060 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
86061
86062   if test x$glibcxx_cv_func_logf_use = x"yes"; then
86063
86064 for ac_func in logf
86065 do
86066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86067 echo "$as_me:$LINENO: checking for $ac_func" >&5
86068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86069 if eval "test \"\${$as_ac_var+set}\" = set"; then
86070   echo $ECHO_N "(cached) $ECHO_C" >&6
86071 else
86072   if test x$gcc_no_link = xyes; then
86073   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86075    { (exit 1); exit 1; }; }
86076 fi
86077 cat >conftest.$ac_ext <<_ACEOF
86078 /* confdefs.h.  */
86079 _ACEOF
86080 cat confdefs.h >>conftest.$ac_ext
86081 cat >>conftest.$ac_ext <<_ACEOF
86082 /* end confdefs.h.  */
86083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86084    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86085 #define $ac_func innocuous_$ac_func
86086
86087 /* System header to define __stub macros and hopefully few prototypes,
86088     which can conflict with char $ac_func (); below.
86089     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86090     <limits.h> exists even on freestanding compilers.  */
86091
86092 #ifdef __STDC__
86093 # include <limits.h>
86094 #else
86095 # include <assert.h>
86096 #endif
86097
86098 #undef $ac_func
86099
86100 /* Override any gcc2 internal prototype to avoid an error.  */
86101 #ifdef __cplusplus
86102 extern "C"
86103 {
86104 #endif
86105 /* We use char because int might match the return type of a gcc2
86106    builtin and then its argument prototype would still apply.  */
86107 char $ac_func ();
86108 /* The GNU C library defines this for functions which it implements
86109     to always fail with ENOSYS.  Some functions are actually named
86110     something starting with __ and the normal name is an alias.  */
86111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86112 choke me
86113 #else
86114 char (*f) () = $ac_func;
86115 #endif
86116 #ifdef __cplusplus
86117 }
86118 #endif
86119
86120 int
86121 main ()
86122 {
86123 return f != $ac_func;
86124   ;
86125   return 0;
86126 }
86127 _ACEOF
86128 rm -f conftest.$ac_objext conftest$ac_exeext
86129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86130   (eval $ac_link) 2>conftest.er1
86131   ac_status=$?
86132   grep -v '^ *+' conftest.er1 >conftest.err
86133   rm -f conftest.er1
86134   cat conftest.err >&5
86135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86136   (exit $ac_status); } &&
86137          { ac_try='test -z "$ac_c_werror_flag"
86138                          || test ! -s conftest.err'
86139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86140   (eval $ac_try) 2>&5
86141   ac_status=$?
86142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86143   (exit $ac_status); }; } &&
86144          { ac_try='test -s conftest$ac_exeext'
86145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86146   (eval $ac_try) 2>&5
86147   ac_status=$?
86148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86149   (exit $ac_status); }; }; then
86150   eval "$as_ac_var=yes"
86151 else
86152   echo "$as_me: failed program was:" >&5
86153 sed 's/^/| /' conftest.$ac_ext >&5
86154
86155 eval "$as_ac_var=no"
86156 fi
86157 rm -f conftest.err conftest.$ac_objext \
86158       conftest$ac_exeext conftest.$ac_ext
86159 fi
86160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86162 if test `eval echo '${'$as_ac_var'}'` = yes; then
86163   cat >>confdefs.h <<_ACEOF
86164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86165 _ACEOF
86166
86167 fi
86168 done
86169
86170   else
86171
86172   echo "$as_me:$LINENO: checking for _logf declaration" >&5
86173 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
86174   if test x${glibcxx_cv_func__logf_use+set} != xset; then
86175     if test "${glibcxx_cv_func__logf_use+set}" = set; then
86176   echo $ECHO_N "(cached) $ECHO_C" >&6
86177 else
86178
86179
86180
86181       ac_ext=cc
86182 ac_cpp='$CXXCPP $CPPFLAGS'
86183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86186
86187       cat >conftest.$ac_ext <<_ACEOF
86188 /* confdefs.h.  */
86189 _ACEOF
86190 cat confdefs.h >>conftest.$ac_ext
86191 cat >>conftest.$ac_ext <<_ACEOF
86192 /* end confdefs.h.  */
86193 #include <math.h>
86194                       #ifdef HAVE_IEEEFP_H
86195                       #include <ieeefp.h>
86196                       #endif
86197
86198 int
86199 main ()
86200 {
86201  _logf(0);
86202   ;
86203   return 0;
86204 }
86205 _ACEOF
86206 rm -f conftest.$ac_objext
86207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86208   (eval $ac_compile) 2>conftest.er1
86209   ac_status=$?
86210   grep -v '^ *+' conftest.er1 >conftest.err
86211   rm -f conftest.er1
86212   cat conftest.err >&5
86213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86214   (exit $ac_status); } &&
86215          { ac_try='test -z "$ac_cxx_werror_flag"
86216                          || test ! -s conftest.err'
86217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86218   (eval $ac_try) 2>&5
86219   ac_status=$?
86220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86221   (exit $ac_status); }; } &&
86222          { ac_try='test -s conftest.$ac_objext'
86223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86224   (eval $ac_try) 2>&5
86225   ac_status=$?
86226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86227   (exit $ac_status); }; }; then
86228   glibcxx_cv_func__logf_use=yes
86229 else
86230   echo "$as_me: failed program was:" >&5
86231 sed 's/^/| /' conftest.$ac_ext >&5
86232
86233 glibcxx_cv_func__logf_use=no
86234 fi
86235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86236       ac_ext=c
86237 ac_cpp='$CPP $CPPFLAGS'
86238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86241
86242
86243 fi
86244
86245   fi
86246   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
86247 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
86248
86249     if test x$glibcxx_cv_func__logf_use = x"yes"; then
86250
86251 for ac_func in _logf
86252 do
86253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86254 echo "$as_me:$LINENO: checking for $ac_func" >&5
86255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86256 if eval "test \"\${$as_ac_var+set}\" = set"; then
86257   echo $ECHO_N "(cached) $ECHO_C" >&6
86258 else
86259   if test x$gcc_no_link = xyes; then
86260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86262    { (exit 1); exit 1; }; }
86263 fi
86264 cat >conftest.$ac_ext <<_ACEOF
86265 /* confdefs.h.  */
86266 _ACEOF
86267 cat confdefs.h >>conftest.$ac_ext
86268 cat >>conftest.$ac_ext <<_ACEOF
86269 /* end confdefs.h.  */
86270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86271    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86272 #define $ac_func innocuous_$ac_func
86273
86274 /* System header to define __stub macros and hopefully few prototypes,
86275     which can conflict with char $ac_func (); below.
86276     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86277     <limits.h> exists even on freestanding compilers.  */
86278
86279 #ifdef __STDC__
86280 # include <limits.h>
86281 #else
86282 # include <assert.h>
86283 #endif
86284
86285 #undef $ac_func
86286
86287 /* Override any gcc2 internal prototype to avoid an error.  */
86288 #ifdef __cplusplus
86289 extern "C"
86290 {
86291 #endif
86292 /* We use char because int might match the return type of a gcc2
86293    builtin and then its argument prototype would still apply.  */
86294 char $ac_func ();
86295 /* The GNU C library defines this for functions which it implements
86296     to always fail with ENOSYS.  Some functions are actually named
86297     something starting with __ and the normal name is an alias.  */
86298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86299 choke me
86300 #else
86301 char (*f) () = $ac_func;
86302 #endif
86303 #ifdef __cplusplus
86304 }
86305 #endif
86306
86307 int
86308 main ()
86309 {
86310 return f != $ac_func;
86311   ;
86312   return 0;
86313 }
86314 _ACEOF
86315 rm -f conftest.$ac_objext conftest$ac_exeext
86316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86317   (eval $ac_link) 2>conftest.er1
86318   ac_status=$?
86319   grep -v '^ *+' conftest.er1 >conftest.err
86320   rm -f conftest.er1
86321   cat conftest.err >&5
86322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86323   (exit $ac_status); } &&
86324          { ac_try='test -z "$ac_c_werror_flag"
86325                          || test ! -s conftest.err'
86326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86327   (eval $ac_try) 2>&5
86328   ac_status=$?
86329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86330   (exit $ac_status); }; } &&
86331          { ac_try='test -s conftest$ac_exeext'
86332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86333   (eval $ac_try) 2>&5
86334   ac_status=$?
86335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86336   (exit $ac_status); }; }; then
86337   eval "$as_ac_var=yes"
86338 else
86339   echo "$as_me: failed program was:" >&5
86340 sed 's/^/| /' conftest.$ac_ext >&5
86341
86342 eval "$as_ac_var=no"
86343 fi
86344 rm -f conftest.err conftest.$ac_objext \
86345       conftest$ac_exeext conftest.$ac_ext
86346 fi
86347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86349 if test `eval echo '${'$as_ac_var'}'` = yes; then
86350   cat >>confdefs.h <<_ACEOF
86351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86352 _ACEOF
86353
86354 fi
86355 done
86356
86357     fi
86358   fi
86359
86360
86361
86362
86363
86364
86365   echo "$as_me:$LINENO: checking for log10f declaration" >&5
86366 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
86367   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
86368     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
86369   echo $ECHO_N "(cached) $ECHO_C" >&6
86370 else
86371
86372
86373
86374       ac_ext=cc
86375 ac_cpp='$CXXCPP $CPPFLAGS'
86376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86379
86380       cat >conftest.$ac_ext <<_ACEOF
86381 /* confdefs.h.  */
86382 _ACEOF
86383 cat confdefs.h >>conftest.$ac_ext
86384 cat >>conftest.$ac_ext <<_ACEOF
86385 /* end confdefs.h.  */
86386 #include <math.h>
86387                       #ifdef HAVE_IEEEFP_H
86388                       #include <ieeefp.h>
86389                       #endif
86390
86391 int
86392 main ()
86393 {
86394  log10f(0);
86395   ;
86396   return 0;
86397 }
86398 _ACEOF
86399 rm -f conftest.$ac_objext
86400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86401   (eval $ac_compile) 2>conftest.er1
86402   ac_status=$?
86403   grep -v '^ *+' conftest.er1 >conftest.err
86404   rm -f conftest.er1
86405   cat conftest.err >&5
86406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86407   (exit $ac_status); } &&
86408          { ac_try='test -z "$ac_cxx_werror_flag"
86409                          || test ! -s conftest.err'
86410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86411   (eval $ac_try) 2>&5
86412   ac_status=$?
86413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86414   (exit $ac_status); }; } &&
86415          { ac_try='test -s conftest.$ac_objext'
86416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86417   (eval $ac_try) 2>&5
86418   ac_status=$?
86419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86420   (exit $ac_status); }; }; then
86421   glibcxx_cv_func_log10f_use=yes
86422 else
86423   echo "$as_me: failed program was:" >&5
86424 sed 's/^/| /' conftest.$ac_ext >&5
86425
86426 glibcxx_cv_func_log10f_use=no
86427 fi
86428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86429       ac_ext=c
86430 ac_cpp='$CPP $CPPFLAGS'
86431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86434
86435
86436 fi
86437
86438   fi
86439   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
86440 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
86441
86442   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
86443
86444 for ac_func in log10f
86445 do
86446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86447 echo "$as_me:$LINENO: checking for $ac_func" >&5
86448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86449 if eval "test \"\${$as_ac_var+set}\" = set"; then
86450   echo $ECHO_N "(cached) $ECHO_C" >&6
86451 else
86452   if test x$gcc_no_link = xyes; then
86453   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86455    { (exit 1); exit 1; }; }
86456 fi
86457 cat >conftest.$ac_ext <<_ACEOF
86458 /* confdefs.h.  */
86459 _ACEOF
86460 cat confdefs.h >>conftest.$ac_ext
86461 cat >>conftest.$ac_ext <<_ACEOF
86462 /* end confdefs.h.  */
86463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86464    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86465 #define $ac_func innocuous_$ac_func
86466
86467 /* System header to define __stub macros and hopefully few prototypes,
86468     which can conflict with char $ac_func (); below.
86469     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86470     <limits.h> exists even on freestanding compilers.  */
86471
86472 #ifdef __STDC__
86473 # include <limits.h>
86474 #else
86475 # include <assert.h>
86476 #endif
86477
86478 #undef $ac_func
86479
86480 /* Override any gcc2 internal prototype to avoid an error.  */
86481 #ifdef __cplusplus
86482 extern "C"
86483 {
86484 #endif
86485 /* We use char because int might match the return type of a gcc2
86486    builtin and then its argument prototype would still apply.  */
86487 char $ac_func ();
86488 /* The GNU C library defines this for functions which it implements
86489     to always fail with ENOSYS.  Some functions are actually named
86490     something starting with __ and the normal name is an alias.  */
86491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86492 choke me
86493 #else
86494 char (*f) () = $ac_func;
86495 #endif
86496 #ifdef __cplusplus
86497 }
86498 #endif
86499
86500 int
86501 main ()
86502 {
86503 return f != $ac_func;
86504   ;
86505   return 0;
86506 }
86507 _ACEOF
86508 rm -f conftest.$ac_objext conftest$ac_exeext
86509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86510   (eval $ac_link) 2>conftest.er1
86511   ac_status=$?
86512   grep -v '^ *+' conftest.er1 >conftest.err
86513   rm -f conftest.er1
86514   cat conftest.err >&5
86515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86516   (exit $ac_status); } &&
86517          { ac_try='test -z "$ac_c_werror_flag"
86518                          || test ! -s conftest.err'
86519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86520   (eval $ac_try) 2>&5
86521   ac_status=$?
86522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86523   (exit $ac_status); }; } &&
86524          { ac_try='test -s conftest$ac_exeext'
86525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86526   (eval $ac_try) 2>&5
86527   ac_status=$?
86528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86529   (exit $ac_status); }; }; then
86530   eval "$as_ac_var=yes"
86531 else
86532   echo "$as_me: failed program was:" >&5
86533 sed 's/^/| /' conftest.$ac_ext >&5
86534
86535 eval "$as_ac_var=no"
86536 fi
86537 rm -f conftest.err conftest.$ac_objext \
86538       conftest$ac_exeext conftest.$ac_ext
86539 fi
86540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86542 if test `eval echo '${'$as_ac_var'}'` = yes; then
86543   cat >>confdefs.h <<_ACEOF
86544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86545 _ACEOF
86546
86547 fi
86548 done
86549
86550   else
86551
86552   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
86553 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
86554   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
86555     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
86556   echo $ECHO_N "(cached) $ECHO_C" >&6
86557 else
86558
86559
86560
86561       ac_ext=cc
86562 ac_cpp='$CXXCPP $CPPFLAGS'
86563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86566
86567       cat >conftest.$ac_ext <<_ACEOF
86568 /* confdefs.h.  */
86569 _ACEOF
86570 cat confdefs.h >>conftest.$ac_ext
86571 cat >>conftest.$ac_ext <<_ACEOF
86572 /* end confdefs.h.  */
86573 #include <math.h>
86574                       #ifdef HAVE_IEEEFP_H
86575                       #include <ieeefp.h>
86576                       #endif
86577
86578 int
86579 main ()
86580 {
86581  _log10f(0);
86582   ;
86583   return 0;
86584 }
86585 _ACEOF
86586 rm -f conftest.$ac_objext
86587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86588   (eval $ac_compile) 2>conftest.er1
86589   ac_status=$?
86590   grep -v '^ *+' conftest.er1 >conftest.err
86591   rm -f conftest.er1
86592   cat conftest.err >&5
86593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86594   (exit $ac_status); } &&
86595          { ac_try='test -z "$ac_cxx_werror_flag"
86596                          || test ! -s conftest.err'
86597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86598   (eval $ac_try) 2>&5
86599   ac_status=$?
86600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86601   (exit $ac_status); }; } &&
86602          { ac_try='test -s conftest.$ac_objext'
86603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86604   (eval $ac_try) 2>&5
86605   ac_status=$?
86606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86607   (exit $ac_status); }; }; then
86608   glibcxx_cv_func__log10f_use=yes
86609 else
86610   echo "$as_me: failed program was:" >&5
86611 sed 's/^/| /' conftest.$ac_ext >&5
86612
86613 glibcxx_cv_func__log10f_use=no
86614 fi
86615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86616       ac_ext=c
86617 ac_cpp='$CPP $CPPFLAGS'
86618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86621
86622
86623 fi
86624
86625   fi
86626   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
86627 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
86628
86629     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
86630
86631 for ac_func in _log10f
86632 do
86633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86634 echo "$as_me:$LINENO: checking for $ac_func" >&5
86635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86636 if eval "test \"\${$as_ac_var+set}\" = set"; then
86637   echo $ECHO_N "(cached) $ECHO_C" >&6
86638 else
86639   if test x$gcc_no_link = xyes; then
86640   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86642    { (exit 1); exit 1; }; }
86643 fi
86644 cat >conftest.$ac_ext <<_ACEOF
86645 /* confdefs.h.  */
86646 _ACEOF
86647 cat confdefs.h >>conftest.$ac_ext
86648 cat >>conftest.$ac_ext <<_ACEOF
86649 /* end confdefs.h.  */
86650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86651    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86652 #define $ac_func innocuous_$ac_func
86653
86654 /* System header to define __stub macros and hopefully few prototypes,
86655     which can conflict with char $ac_func (); below.
86656     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86657     <limits.h> exists even on freestanding compilers.  */
86658
86659 #ifdef __STDC__
86660 # include <limits.h>
86661 #else
86662 # include <assert.h>
86663 #endif
86664
86665 #undef $ac_func
86666
86667 /* Override any gcc2 internal prototype to avoid an error.  */
86668 #ifdef __cplusplus
86669 extern "C"
86670 {
86671 #endif
86672 /* We use char because int might match the return type of a gcc2
86673    builtin and then its argument prototype would still apply.  */
86674 char $ac_func ();
86675 /* The GNU C library defines this for functions which it implements
86676     to always fail with ENOSYS.  Some functions are actually named
86677     something starting with __ and the normal name is an alias.  */
86678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86679 choke me
86680 #else
86681 char (*f) () = $ac_func;
86682 #endif
86683 #ifdef __cplusplus
86684 }
86685 #endif
86686
86687 int
86688 main ()
86689 {
86690 return f != $ac_func;
86691   ;
86692   return 0;
86693 }
86694 _ACEOF
86695 rm -f conftest.$ac_objext conftest$ac_exeext
86696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86697   (eval $ac_link) 2>conftest.er1
86698   ac_status=$?
86699   grep -v '^ *+' conftest.er1 >conftest.err
86700   rm -f conftest.er1
86701   cat conftest.err >&5
86702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86703   (exit $ac_status); } &&
86704          { ac_try='test -z "$ac_c_werror_flag"
86705                          || test ! -s conftest.err'
86706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86707   (eval $ac_try) 2>&5
86708   ac_status=$?
86709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86710   (exit $ac_status); }; } &&
86711          { ac_try='test -s conftest$ac_exeext'
86712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86713   (eval $ac_try) 2>&5
86714   ac_status=$?
86715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86716   (exit $ac_status); }; }; then
86717   eval "$as_ac_var=yes"
86718 else
86719   echo "$as_me: failed program was:" >&5
86720 sed 's/^/| /' conftest.$ac_ext >&5
86721
86722 eval "$as_ac_var=no"
86723 fi
86724 rm -f conftest.err conftest.$ac_objext \
86725       conftest$ac_exeext conftest.$ac_ext
86726 fi
86727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86729 if test `eval echo '${'$as_ac_var'}'` = yes; then
86730   cat >>confdefs.h <<_ACEOF
86731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86732 _ACEOF
86733
86734 fi
86735 done
86736
86737     fi
86738   fi
86739
86740
86741
86742
86743
86744
86745   echo "$as_me:$LINENO: checking for modff declaration" >&5
86746 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
86747   if test x${glibcxx_cv_func_modff_use+set} != xset; then
86748     if test "${glibcxx_cv_func_modff_use+set}" = set; then
86749   echo $ECHO_N "(cached) $ECHO_C" >&6
86750 else
86751
86752
86753
86754       ac_ext=cc
86755 ac_cpp='$CXXCPP $CPPFLAGS'
86756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86759
86760       cat >conftest.$ac_ext <<_ACEOF
86761 /* confdefs.h.  */
86762 _ACEOF
86763 cat confdefs.h >>conftest.$ac_ext
86764 cat >>conftest.$ac_ext <<_ACEOF
86765 /* end confdefs.h.  */
86766 #include <math.h>
86767 int
86768 main ()
86769 {
86770  modff(0, 0);
86771   ;
86772   return 0;
86773 }
86774 _ACEOF
86775 rm -f conftest.$ac_objext
86776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86777   (eval $ac_compile) 2>conftest.er1
86778   ac_status=$?
86779   grep -v '^ *+' conftest.er1 >conftest.err
86780   rm -f conftest.er1
86781   cat conftest.err >&5
86782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86783   (exit $ac_status); } &&
86784          { ac_try='test -z "$ac_cxx_werror_flag"
86785                          || test ! -s conftest.err'
86786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86787   (eval $ac_try) 2>&5
86788   ac_status=$?
86789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86790   (exit $ac_status); }; } &&
86791          { ac_try='test -s conftest.$ac_objext'
86792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86793   (eval $ac_try) 2>&5
86794   ac_status=$?
86795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86796   (exit $ac_status); }; }; then
86797   glibcxx_cv_func_modff_use=yes
86798 else
86799   echo "$as_me: failed program was:" >&5
86800 sed 's/^/| /' conftest.$ac_ext >&5
86801
86802 glibcxx_cv_func_modff_use=no
86803 fi
86804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86805       ac_ext=c
86806 ac_cpp='$CPP $CPPFLAGS'
86807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86810
86811
86812 fi
86813
86814   fi
86815   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
86816 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
86817
86818   if test x$glibcxx_cv_func_modff_use = x"yes"; then
86819
86820 for ac_func in modff
86821 do
86822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86823 echo "$as_me:$LINENO: checking for $ac_func" >&5
86824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86825 if eval "test \"\${$as_ac_var+set}\" = set"; then
86826   echo $ECHO_N "(cached) $ECHO_C" >&6
86827 else
86828   if test x$gcc_no_link = xyes; then
86829   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86831    { (exit 1); exit 1; }; }
86832 fi
86833 cat >conftest.$ac_ext <<_ACEOF
86834 /* confdefs.h.  */
86835 _ACEOF
86836 cat confdefs.h >>conftest.$ac_ext
86837 cat >>conftest.$ac_ext <<_ACEOF
86838 /* end confdefs.h.  */
86839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86840    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86841 #define $ac_func innocuous_$ac_func
86842
86843 /* System header to define __stub macros and hopefully few prototypes,
86844     which can conflict with char $ac_func (); below.
86845     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86846     <limits.h> exists even on freestanding compilers.  */
86847
86848 #ifdef __STDC__
86849 # include <limits.h>
86850 #else
86851 # include <assert.h>
86852 #endif
86853
86854 #undef $ac_func
86855
86856 /* Override any gcc2 internal prototype to avoid an error.  */
86857 #ifdef __cplusplus
86858 extern "C"
86859 {
86860 #endif
86861 /* We use char because int might match the return type of a gcc2
86862    builtin and then its argument prototype would still apply.  */
86863 char $ac_func ();
86864 /* The GNU C library defines this for functions which it implements
86865     to always fail with ENOSYS.  Some functions are actually named
86866     something starting with __ and the normal name is an alias.  */
86867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86868 choke me
86869 #else
86870 char (*f) () = $ac_func;
86871 #endif
86872 #ifdef __cplusplus
86873 }
86874 #endif
86875
86876 int
86877 main ()
86878 {
86879 return f != $ac_func;
86880   ;
86881   return 0;
86882 }
86883 _ACEOF
86884 rm -f conftest.$ac_objext conftest$ac_exeext
86885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86886   (eval $ac_link) 2>conftest.er1
86887   ac_status=$?
86888   grep -v '^ *+' conftest.er1 >conftest.err
86889   rm -f conftest.er1
86890   cat conftest.err >&5
86891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86892   (exit $ac_status); } &&
86893          { ac_try='test -z "$ac_c_werror_flag"
86894                          || test ! -s conftest.err'
86895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86896   (eval $ac_try) 2>&5
86897   ac_status=$?
86898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86899   (exit $ac_status); }; } &&
86900          { ac_try='test -s conftest$ac_exeext'
86901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86902   (eval $ac_try) 2>&5
86903   ac_status=$?
86904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86905   (exit $ac_status); }; }; then
86906   eval "$as_ac_var=yes"
86907 else
86908   echo "$as_me: failed program was:" >&5
86909 sed 's/^/| /' conftest.$ac_ext >&5
86910
86911 eval "$as_ac_var=no"
86912 fi
86913 rm -f conftest.err conftest.$ac_objext \
86914       conftest$ac_exeext conftest.$ac_ext
86915 fi
86916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86918 if test `eval echo '${'$as_ac_var'}'` = yes; then
86919   cat >>confdefs.h <<_ACEOF
86920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86921 _ACEOF
86922
86923 fi
86924 done
86925
86926   else
86927
86928   echo "$as_me:$LINENO: checking for _modff declaration" >&5
86929 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
86930   if test x${glibcxx_cv_func__modff_use+set} != xset; then
86931     if test "${glibcxx_cv_func__modff_use+set}" = set; then
86932   echo $ECHO_N "(cached) $ECHO_C" >&6
86933 else
86934
86935
86936
86937       ac_ext=cc
86938 ac_cpp='$CXXCPP $CPPFLAGS'
86939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86942
86943       cat >conftest.$ac_ext <<_ACEOF
86944 /* confdefs.h.  */
86945 _ACEOF
86946 cat confdefs.h >>conftest.$ac_ext
86947 cat >>conftest.$ac_ext <<_ACEOF
86948 /* end confdefs.h.  */
86949 #include <math.h>
86950 int
86951 main ()
86952 {
86953  _modff(0, 0);
86954   ;
86955   return 0;
86956 }
86957 _ACEOF
86958 rm -f conftest.$ac_objext
86959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86960   (eval $ac_compile) 2>conftest.er1
86961   ac_status=$?
86962   grep -v '^ *+' conftest.er1 >conftest.err
86963   rm -f conftest.er1
86964   cat conftest.err >&5
86965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86966   (exit $ac_status); } &&
86967          { ac_try='test -z "$ac_cxx_werror_flag"
86968                          || test ! -s conftest.err'
86969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86970   (eval $ac_try) 2>&5
86971   ac_status=$?
86972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86973   (exit $ac_status); }; } &&
86974          { ac_try='test -s conftest.$ac_objext'
86975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86976   (eval $ac_try) 2>&5
86977   ac_status=$?
86978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86979   (exit $ac_status); }; }; then
86980   glibcxx_cv_func__modff_use=yes
86981 else
86982   echo "$as_me: failed program was:" >&5
86983 sed 's/^/| /' conftest.$ac_ext >&5
86984
86985 glibcxx_cv_func__modff_use=no
86986 fi
86987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86988       ac_ext=c
86989 ac_cpp='$CPP $CPPFLAGS'
86990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86993
86994
86995 fi
86996
86997   fi
86998   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
86999 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
87000
87001     if test x$glibcxx_cv_func__modff_use = x"yes"; then
87002
87003 for ac_func in _modff
87004 do
87005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87006 echo "$as_me:$LINENO: checking for $ac_func" >&5
87007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87008 if eval "test \"\${$as_ac_var+set}\" = set"; then
87009   echo $ECHO_N "(cached) $ECHO_C" >&6
87010 else
87011   if test x$gcc_no_link = xyes; then
87012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87014    { (exit 1); exit 1; }; }
87015 fi
87016 cat >conftest.$ac_ext <<_ACEOF
87017 /* confdefs.h.  */
87018 _ACEOF
87019 cat confdefs.h >>conftest.$ac_ext
87020 cat >>conftest.$ac_ext <<_ACEOF
87021 /* end confdefs.h.  */
87022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87023    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87024 #define $ac_func innocuous_$ac_func
87025
87026 /* System header to define __stub macros and hopefully few prototypes,
87027     which can conflict with char $ac_func (); below.
87028     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87029     <limits.h> exists even on freestanding compilers.  */
87030
87031 #ifdef __STDC__
87032 # include <limits.h>
87033 #else
87034 # include <assert.h>
87035 #endif
87036
87037 #undef $ac_func
87038
87039 /* Override any gcc2 internal prototype to avoid an error.  */
87040 #ifdef __cplusplus
87041 extern "C"
87042 {
87043 #endif
87044 /* We use char because int might match the return type of a gcc2
87045    builtin and then its argument prototype would still apply.  */
87046 char $ac_func ();
87047 /* The GNU C library defines this for functions which it implements
87048     to always fail with ENOSYS.  Some functions are actually named
87049     something starting with __ and the normal name is an alias.  */
87050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87051 choke me
87052 #else
87053 char (*f) () = $ac_func;
87054 #endif
87055 #ifdef __cplusplus
87056 }
87057 #endif
87058
87059 int
87060 main ()
87061 {
87062 return f != $ac_func;
87063   ;
87064   return 0;
87065 }
87066 _ACEOF
87067 rm -f conftest.$ac_objext conftest$ac_exeext
87068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87069   (eval $ac_link) 2>conftest.er1
87070   ac_status=$?
87071   grep -v '^ *+' conftest.er1 >conftest.err
87072   rm -f conftest.er1
87073   cat conftest.err >&5
87074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87075   (exit $ac_status); } &&
87076          { ac_try='test -z "$ac_c_werror_flag"
87077                          || test ! -s conftest.err'
87078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87079   (eval $ac_try) 2>&5
87080   ac_status=$?
87081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87082   (exit $ac_status); }; } &&
87083          { ac_try='test -s conftest$ac_exeext'
87084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87085   (eval $ac_try) 2>&5
87086   ac_status=$?
87087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87088   (exit $ac_status); }; }; then
87089   eval "$as_ac_var=yes"
87090 else
87091   echo "$as_me: failed program was:" >&5
87092 sed 's/^/| /' conftest.$ac_ext >&5
87093
87094 eval "$as_ac_var=no"
87095 fi
87096 rm -f conftest.err conftest.$ac_objext \
87097       conftest$ac_exeext conftest.$ac_ext
87098 fi
87099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87101 if test `eval echo '${'$as_ac_var'}'` = yes; then
87102   cat >>confdefs.h <<_ACEOF
87103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87104 _ACEOF
87105
87106 fi
87107 done
87108
87109     fi
87110   fi
87111
87112
87113
87114
87115
87116
87117   echo "$as_me:$LINENO: checking for modf declaration" >&5
87118 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
87119   if test x${glibcxx_cv_func_modf_use+set} != xset; then
87120     if test "${glibcxx_cv_func_modf_use+set}" = set; then
87121   echo $ECHO_N "(cached) $ECHO_C" >&6
87122 else
87123
87124
87125
87126       ac_ext=cc
87127 ac_cpp='$CXXCPP $CPPFLAGS'
87128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87131
87132       cat >conftest.$ac_ext <<_ACEOF
87133 /* confdefs.h.  */
87134 _ACEOF
87135 cat confdefs.h >>conftest.$ac_ext
87136 cat >>conftest.$ac_ext <<_ACEOF
87137 /* end confdefs.h.  */
87138 #include <math.h>
87139 int
87140 main ()
87141 {
87142  modf(0, 0);
87143   ;
87144   return 0;
87145 }
87146 _ACEOF
87147 rm -f conftest.$ac_objext
87148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87149   (eval $ac_compile) 2>conftest.er1
87150   ac_status=$?
87151   grep -v '^ *+' conftest.er1 >conftest.err
87152   rm -f conftest.er1
87153   cat conftest.err >&5
87154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87155   (exit $ac_status); } &&
87156          { ac_try='test -z "$ac_cxx_werror_flag"
87157                          || test ! -s conftest.err'
87158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87159   (eval $ac_try) 2>&5
87160   ac_status=$?
87161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87162   (exit $ac_status); }; } &&
87163          { ac_try='test -s conftest.$ac_objext'
87164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87165   (eval $ac_try) 2>&5
87166   ac_status=$?
87167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87168   (exit $ac_status); }; }; then
87169   glibcxx_cv_func_modf_use=yes
87170 else
87171   echo "$as_me: failed program was:" >&5
87172 sed 's/^/| /' conftest.$ac_ext >&5
87173
87174 glibcxx_cv_func_modf_use=no
87175 fi
87176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87177       ac_ext=c
87178 ac_cpp='$CPP $CPPFLAGS'
87179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87182
87183
87184 fi
87185
87186   fi
87187   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
87188 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
87189
87190   if test x$glibcxx_cv_func_modf_use = x"yes"; then
87191
87192 for ac_func in modf
87193 do
87194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87195 echo "$as_me:$LINENO: checking for $ac_func" >&5
87196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87197 if eval "test \"\${$as_ac_var+set}\" = set"; then
87198   echo $ECHO_N "(cached) $ECHO_C" >&6
87199 else
87200   if test x$gcc_no_link = xyes; then
87201   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87203    { (exit 1); exit 1; }; }
87204 fi
87205 cat >conftest.$ac_ext <<_ACEOF
87206 /* confdefs.h.  */
87207 _ACEOF
87208 cat confdefs.h >>conftest.$ac_ext
87209 cat >>conftest.$ac_ext <<_ACEOF
87210 /* end confdefs.h.  */
87211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87212    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87213 #define $ac_func innocuous_$ac_func
87214
87215 /* System header to define __stub macros and hopefully few prototypes,
87216     which can conflict with char $ac_func (); below.
87217     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87218     <limits.h> exists even on freestanding compilers.  */
87219
87220 #ifdef __STDC__
87221 # include <limits.h>
87222 #else
87223 # include <assert.h>
87224 #endif
87225
87226 #undef $ac_func
87227
87228 /* Override any gcc2 internal prototype to avoid an error.  */
87229 #ifdef __cplusplus
87230 extern "C"
87231 {
87232 #endif
87233 /* We use char because int might match the return type of a gcc2
87234    builtin and then its argument prototype would still apply.  */
87235 char $ac_func ();
87236 /* The GNU C library defines this for functions which it implements
87237     to always fail with ENOSYS.  Some functions are actually named
87238     something starting with __ and the normal name is an alias.  */
87239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87240 choke me
87241 #else
87242 char (*f) () = $ac_func;
87243 #endif
87244 #ifdef __cplusplus
87245 }
87246 #endif
87247
87248 int
87249 main ()
87250 {
87251 return f != $ac_func;
87252   ;
87253   return 0;
87254 }
87255 _ACEOF
87256 rm -f conftest.$ac_objext conftest$ac_exeext
87257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87258   (eval $ac_link) 2>conftest.er1
87259   ac_status=$?
87260   grep -v '^ *+' conftest.er1 >conftest.err
87261   rm -f conftest.er1
87262   cat conftest.err >&5
87263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87264   (exit $ac_status); } &&
87265          { ac_try='test -z "$ac_c_werror_flag"
87266                          || test ! -s conftest.err'
87267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87268   (eval $ac_try) 2>&5
87269   ac_status=$?
87270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87271   (exit $ac_status); }; } &&
87272          { ac_try='test -s conftest$ac_exeext'
87273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87274   (eval $ac_try) 2>&5
87275   ac_status=$?
87276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87277   (exit $ac_status); }; }; then
87278   eval "$as_ac_var=yes"
87279 else
87280   echo "$as_me: failed program was:" >&5
87281 sed 's/^/| /' conftest.$ac_ext >&5
87282
87283 eval "$as_ac_var=no"
87284 fi
87285 rm -f conftest.err conftest.$ac_objext \
87286       conftest$ac_exeext conftest.$ac_ext
87287 fi
87288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87290 if test `eval echo '${'$as_ac_var'}'` = yes; then
87291   cat >>confdefs.h <<_ACEOF
87292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87293 _ACEOF
87294
87295 fi
87296 done
87297
87298   else
87299
87300   echo "$as_me:$LINENO: checking for _modf declaration" >&5
87301 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
87302   if test x${glibcxx_cv_func__modf_use+set} != xset; then
87303     if test "${glibcxx_cv_func__modf_use+set}" = set; then
87304   echo $ECHO_N "(cached) $ECHO_C" >&6
87305 else
87306
87307
87308
87309       ac_ext=cc
87310 ac_cpp='$CXXCPP $CPPFLAGS'
87311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87314
87315       cat >conftest.$ac_ext <<_ACEOF
87316 /* confdefs.h.  */
87317 _ACEOF
87318 cat confdefs.h >>conftest.$ac_ext
87319 cat >>conftest.$ac_ext <<_ACEOF
87320 /* end confdefs.h.  */
87321 #include <math.h>
87322 int
87323 main ()
87324 {
87325  _modf(0, 0);
87326   ;
87327   return 0;
87328 }
87329 _ACEOF
87330 rm -f conftest.$ac_objext
87331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87332   (eval $ac_compile) 2>conftest.er1
87333   ac_status=$?
87334   grep -v '^ *+' conftest.er1 >conftest.err
87335   rm -f conftest.er1
87336   cat conftest.err >&5
87337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87338   (exit $ac_status); } &&
87339          { ac_try='test -z "$ac_cxx_werror_flag"
87340                          || test ! -s conftest.err'
87341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87342   (eval $ac_try) 2>&5
87343   ac_status=$?
87344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87345   (exit $ac_status); }; } &&
87346          { ac_try='test -s conftest.$ac_objext'
87347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87348   (eval $ac_try) 2>&5
87349   ac_status=$?
87350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87351   (exit $ac_status); }; }; then
87352   glibcxx_cv_func__modf_use=yes
87353 else
87354   echo "$as_me: failed program was:" >&5
87355 sed 's/^/| /' conftest.$ac_ext >&5
87356
87357 glibcxx_cv_func__modf_use=no
87358 fi
87359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87360       ac_ext=c
87361 ac_cpp='$CPP $CPPFLAGS'
87362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87365
87366
87367 fi
87368
87369   fi
87370   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
87371 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
87372
87373     if test x$glibcxx_cv_func__modf_use = x"yes"; then
87374
87375 for ac_func in _modf
87376 do
87377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87378 echo "$as_me:$LINENO: checking for $ac_func" >&5
87379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87380 if eval "test \"\${$as_ac_var+set}\" = set"; then
87381   echo $ECHO_N "(cached) $ECHO_C" >&6
87382 else
87383   if test x$gcc_no_link = xyes; then
87384   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87386    { (exit 1); exit 1; }; }
87387 fi
87388 cat >conftest.$ac_ext <<_ACEOF
87389 /* confdefs.h.  */
87390 _ACEOF
87391 cat confdefs.h >>conftest.$ac_ext
87392 cat >>conftest.$ac_ext <<_ACEOF
87393 /* end confdefs.h.  */
87394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87395    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87396 #define $ac_func innocuous_$ac_func
87397
87398 /* System header to define __stub macros and hopefully few prototypes,
87399     which can conflict with char $ac_func (); below.
87400     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87401     <limits.h> exists even on freestanding compilers.  */
87402
87403 #ifdef __STDC__
87404 # include <limits.h>
87405 #else
87406 # include <assert.h>
87407 #endif
87408
87409 #undef $ac_func
87410
87411 /* Override any gcc2 internal prototype to avoid an error.  */
87412 #ifdef __cplusplus
87413 extern "C"
87414 {
87415 #endif
87416 /* We use char because int might match the return type of a gcc2
87417    builtin and then its argument prototype would still apply.  */
87418 char $ac_func ();
87419 /* The GNU C library defines this for functions which it implements
87420     to always fail with ENOSYS.  Some functions are actually named
87421     something starting with __ and the normal name is an alias.  */
87422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87423 choke me
87424 #else
87425 char (*f) () = $ac_func;
87426 #endif
87427 #ifdef __cplusplus
87428 }
87429 #endif
87430
87431 int
87432 main ()
87433 {
87434 return f != $ac_func;
87435   ;
87436   return 0;
87437 }
87438 _ACEOF
87439 rm -f conftest.$ac_objext conftest$ac_exeext
87440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87441   (eval $ac_link) 2>conftest.er1
87442   ac_status=$?
87443   grep -v '^ *+' conftest.er1 >conftest.err
87444   rm -f conftest.er1
87445   cat conftest.err >&5
87446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87447   (exit $ac_status); } &&
87448          { ac_try='test -z "$ac_c_werror_flag"
87449                          || test ! -s conftest.err'
87450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87451   (eval $ac_try) 2>&5
87452   ac_status=$?
87453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87454   (exit $ac_status); }; } &&
87455          { ac_try='test -s conftest$ac_exeext'
87456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87457   (eval $ac_try) 2>&5
87458   ac_status=$?
87459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87460   (exit $ac_status); }; }; then
87461   eval "$as_ac_var=yes"
87462 else
87463   echo "$as_me: failed program was:" >&5
87464 sed 's/^/| /' conftest.$ac_ext >&5
87465
87466 eval "$as_ac_var=no"
87467 fi
87468 rm -f conftest.err conftest.$ac_objext \
87469       conftest$ac_exeext conftest.$ac_ext
87470 fi
87471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87473 if test `eval echo '${'$as_ac_var'}'` = yes; then
87474   cat >>confdefs.h <<_ACEOF
87475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87476 _ACEOF
87477
87478 fi
87479 done
87480
87481     fi
87482   fi
87483
87484
87485
87486
87487
87488
87489   echo "$as_me:$LINENO: checking for powf declaration" >&5
87490 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
87491   if test x${glibcxx_cv_func_powf_use+set} != xset; then
87492     if test "${glibcxx_cv_func_powf_use+set}" = set; then
87493   echo $ECHO_N "(cached) $ECHO_C" >&6
87494 else
87495
87496
87497
87498       ac_ext=cc
87499 ac_cpp='$CXXCPP $CPPFLAGS'
87500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87503
87504       cat >conftest.$ac_ext <<_ACEOF
87505 /* confdefs.h.  */
87506 _ACEOF
87507 cat confdefs.h >>conftest.$ac_ext
87508 cat >>conftest.$ac_ext <<_ACEOF
87509 /* end confdefs.h.  */
87510 #include <math.h>
87511 int
87512 main ()
87513 {
87514  powf(0, 0);
87515   ;
87516   return 0;
87517 }
87518 _ACEOF
87519 rm -f conftest.$ac_objext
87520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87521   (eval $ac_compile) 2>conftest.er1
87522   ac_status=$?
87523   grep -v '^ *+' conftest.er1 >conftest.err
87524   rm -f conftest.er1
87525   cat conftest.err >&5
87526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87527   (exit $ac_status); } &&
87528          { ac_try='test -z "$ac_cxx_werror_flag"
87529                          || test ! -s conftest.err'
87530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87531   (eval $ac_try) 2>&5
87532   ac_status=$?
87533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87534   (exit $ac_status); }; } &&
87535          { ac_try='test -s conftest.$ac_objext'
87536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87537   (eval $ac_try) 2>&5
87538   ac_status=$?
87539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87540   (exit $ac_status); }; }; then
87541   glibcxx_cv_func_powf_use=yes
87542 else
87543   echo "$as_me: failed program was:" >&5
87544 sed 's/^/| /' conftest.$ac_ext >&5
87545
87546 glibcxx_cv_func_powf_use=no
87547 fi
87548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87549       ac_ext=c
87550 ac_cpp='$CPP $CPPFLAGS'
87551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87554
87555
87556 fi
87557
87558   fi
87559   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
87560 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
87561
87562   if test x$glibcxx_cv_func_powf_use = x"yes"; then
87563
87564 for ac_func in powf
87565 do
87566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87567 echo "$as_me:$LINENO: checking for $ac_func" >&5
87568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87569 if eval "test \"\${$as_ac_var+set}\" = set"; then
87570   echo $ECHO_N "(cached) $ECHO_C" >&6
87571 else
87572   if test x$gcc_no_link = xyes; then
87573   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87575    { (exit 1); exit 1; }; }
87576 fi
87577 cat >conftest.$ac_ext <<_ACEOF
87578 /* confdefs.h.  */
87579 _ACEOF
87580 cat confdefs.h >>conftest.$ac_ext
87581 cat >>conftest.$ac_ext <<_ACEOF
87582 /* end confdefs.h.  */
87583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87584    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87585 #define $ac_func innocuous_$ac_func
87586
87587 /* System header to define __stub macros and hopefully few prototypes,
87588     which can conflict with char $ac_func (); below.
87589     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87590     <limits.h> exists even on freestanding compilers.  */
87591
87592 #ifdef __STDC__
87593 # include <limits.h>
87594 #else
87595 # include <assert.h>
87596 #endif
87597
87598 #undef $ac_func
87599
87600 /* Override any gcc2 internal prototype to avoid an error.  */
87601 #ifdef __cplusplus
87602 extern "C"
87603 {
87604 #endif
87605 /* We use char because int might match the return type of a gcc2
87606    builtin and then its argument prototype would still apply.  */
87607 char $ac_func ();
87608 /* The GNU C library defines this for functions which it implements
87609     to always fail with ENOSYS.  Some functions are actually named
87610     something starting with __ and the normal name is an alias.  */
87611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87612 choke me
87613 #else
87614 char (*f) () = $ac_func;
87615 #endif
87616 #ifdef __cplusplus
87617 }
87618 #endif
87619
87620 int
87621 main ()
87622 {
87623 return f != $ac_func;
87624   ;
87625   return 0;
87626 }
87627 _ACEOF
87628 rm -f conftest.$ac_objext conftest$ac_exeext
87629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87630   (eval $ac_link) 2>conftest.er1
87631   ac_status=$?
87632   grep -v '^ *+' conftest.er1 >conftest.err
87633   rm -f conftest.er1
87634   cat conftest.err >&5
87635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87636   (exit $ac_status); } &&
87637          { ac_try='test -z "$ac_c_werror_flag"
87638                          || test ! -s conftest.err'
87639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87640   (eval $ac_try) 2>&5
87641   ac_status=$?
87642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87643   (exit $ac_status); }; } &&
87644          { ac_try='test -s conftest$ac_exeext'
87645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87646   (eval $ac_try) 2>&5
87647   ac_status=$?
87648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87649   (exit $ac_status); }; }; then
87650   eval "$as_ac_var=yes"
87651 else
87652   echo "$as_me: failed program was:" >&5
87653 sed 's/^/| /' conftest.$ac_ext >&5
87654
87655 eval "$as_ac_var=no"
87656 fi
87657 rm -f conftest.err conftest.$ac_objext \
87658       conftest$ac_exeext conftest.$ac_ext
87659 fi
87660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87662 if test `eval echo '${'$as_ac_var'}'` = yes; then
87663   cat >>confdefs.h <<_ACEOF
87664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87665 _ACEOF
87666
87667 fi
87668 done
87669
87670   else
87671
87672   echo "$as_me:$LINENO: checking for _powf declaration" >&5
87673 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
87674   if test x${glibcxx_cv_func__powf_use+set} != xset; then
87675     if test "${glibcxx_cv_func__powf_use+set}" = set; then
87676   echo $ECHO_N "(cached) $ECHO_C" >&6
87677 else
87678
87679
87680
87681       ac_ext=cc
87682 ac_cpp='$CXXCPP $CPPFLAGS'
87683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87686
87687       cat >conftest.$ac_ext <<_ACEOF
87688 /* confdefs.h.  */
87689 _ACEOF
87690 cat confdefs.h >>conftest.$ac_ext
87691 cat >>conftest.$ac_ext <<_ACEOF
87692 /* end confdefs.h.  */
87693 #include <math.h>
87694 int
87695 main ()
87696 {
87697  _powf(0, 0);
87698   ;
87699   return 0;
87700 }
87701 _ACEOF
87702 rm -f conftest.$ac_objext
87703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87704   (eval $ac_compile) 2>conftest.er1
87705   ac_status=$?
87706   grep -v '^ *+' conftest.er1 >conftest.err
87707   rm -f conftest.er1
87708   cat conftest.err >&5
87709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87710   (exit $ac_status); } &&
87711          { ac_try='test -z "$ac_cxx_werror_flag"
87712                          || test ! -s conftest.err'
87713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87714   (eval $ac_try) 2>&5
87715   ac_status=$?
87716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87717   (exit $ac_status); }; } &&
87718          { ac_try='test -s conftest.$ac_objext'
87719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87720   (eval $ac_try) 2>&5
87721   ac_status=$?
87722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87723   (exit $ac_status); }; }; then
87724   glibcxx_cv_func__powf_use=yes
87725 else
87726   echo "$as_me: failed program was:" >&5
87727 sed 's/^/| /' conftest.$ac_ext >&5
87728
87729 glibcxx_cv_func__powf_use=no
87730 fi
87731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87732       ac_ext=c
87733 ac_cpp='$CPP $CPPFLAGS'
87734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87737
87738
87739 fi
87740
87741   fi
87742   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
87743 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
87744
87745     if test x$glibcxx_cv_func__powf_use = x"yes"; then
87746
87747 for ac_func in _powf
87748 do
87749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87750 echo "$as_me:$LINENO: checking for $ac_func" >&5
87751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87752 if eval "test \"\${$as_ac_var+set}\" = set"; then
87753   echo $ECHO_N "(cached) $ECHO_C" >&6
87754 else
87755   if test x$gcc_no_link = xyes; then
87756   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87758    { (exit 1); exit 1; }; }
87759 fi
87760 cat >conftest.$ac_ext <<_ACEOF
87761 /* confdefs.h.  */
87762 _ACEOF
87763 cat confdefs.h >>conftest.$ac_ext
87764 cat >>conftest.$ac_ext <<_ACEOF
87765 /* end confdefs.h.  */
87766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87767    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87768 #define $ac_func innocuous_$ac_func
87769
87770 /* System header to define __stub macros and hopefully few prototypes,
87771     which can conflict with char $ac_func (); below.
87772     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87773     <limits.h> exists even on freestanding compilers.  */
87774
87775 #ifdef __STDC__
87776 # include <limits.h>
87777 #else
87778 # include <assert.h>
87779 #endif
87780
87781 #undef $ac_func
87782
87783 /* Override any gcc2 internal prototype to avoid an error.  */
87784 #ifdef __cplusplus
87785 extern "C"
87786 {
87787 #endif
87788 /* We use char because int might match the return type of a gcc2
87789    builtin and then its argument prototype would still apply.  */
87790 char $ac_func ();
87791 /* The GNU C library defines this for functions which it implements
87792     to always fail with ENOSYS.  Some functions are actually named
87793     something starting with __ and the normal name is an alias.  */
87794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87795 choke me
87796 #else
87797 char (*f) () = $ac_func;
87798 #endif
87799 #ifdef __cplusplus
87800 }
87801 #endif
87802
87803 int
87804 main ()
87805 {
87806 return f != $ac_func;
87807   ;
87808   return 0;
87809 }
87810 _ACEOF
87811 rm -f conftest.$ac_objext conftest$ac_exeext
87812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87813   (eval $ac_link) 2>conftest.er1
87814   ac_status=$?
87815   grep -v '^ *+' conftest.er1 >conftest.err
87816   rm -f conftest.er1
87817   cat conftest.err >&5
87818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87819   (exit $ac_status); } &&
87820          { ac_try='test -z "$ac_c_werror_flag"
87821                          || test ! -s conftest.err'
87822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87823   (eval $ac_try) 2>&5
87824   ac_status=$?
87825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87826   (exit $ac_status); }; } &&
87827          { ac_try='test -s conftest$ac_exeext'
87828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87829   (eval $ac_try) 2>&5
87830   ac_status=$?
87831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87832   (exit $ac_status); }; }; then
87833   eval "$as_ac_var=yes"
87834 else
87835   echo "$as_me: failed program was:" >&5
87836 sed 's/^/| /' conftest.$ac_ext >&5
87837
87838 eval "$as_ac_var=no"
87839 fi
87840 rm -f conftest.err conftest.$ac_objext \
87841       conftest$ac_exeext conftest.$ac_ext
87842 fi
87843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87845 if test `eval echo '${'$as_ac_var'}'` = yes; then
87846   cat >>confdefs.h <<_ACEOF
87847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87848 _ACEOF
87849
87850 fi
87851 done
87852
87853     fi
87854   fi
87855
87856
87857
87858
87859
87860
87861   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
87862 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
87863   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
87864     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
87865   echo $ECHO_N "(cached) $ECHO_C" >&6
87866 else
87867
87868
87869
87870       ac_ext=cc
87871 ac_cpp='$CXXCPP $CPPFLAGS'
87872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87875
87876       cat >conftest.$ac_ext <<_ACEOF
87877 /* confdefs.h.  */
87878 _ACEOF
87879 cat confdefs.h >>conftest.$ac_ext
87880 cat >>conftest.$ac_ext <<_ACEOF
87881 /* end confdefs.h.  */
87882 #include <math.h>
87883                       #ifdef HAVE_IEEEFP_H
87884                       #include <ieeefp.h>
87885                       #endif
87886
87887 int
87888 main ()
87889 {
87890  sqrtf(0);
87891   ;
87892   return 0;
87893 }
87894 _ACEOF
87895 rm -f conftest.$ac_objext
87896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87897   (eval $ac_compile) 2>conftest.er1
87898   ac_status=$?
87899   grep -v '^ *+' conftest.er1 >conftest.err
87900   rm -f conftest.er1
87901   cat conftest.err >&5
87902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87903   (exit $ac_status); } &&
87904          { ac_try='test -z "$ac_cxx_werror_flag"
87905                          || test ! -s conftest.err'
87906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87907   (eval $ac_try) 2>&5
87908   ac_status=$?
87909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87910   (exit $ac_status); }; } &&
87911          { ac_try='test -s conftest.$ac_objext'
87912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87913   (eval $ac_try) 2>&5
87914   ac_status=$?
87915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87916   (exit $ac_status); }; }; then
87917   glibcxx_cv_func_sqrtf_use=yes
87918 else
87919   echo "$as_me: failed program was:" >&5
87920 sed 's/^/| /' conftest.$ac_ext >&5
87921
87922 glibcxx_cv_func_sqrtf_use=no
87923 fi
87924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87925       ac_ext=c
87926 ac_cpp='$CPP $CPPFLAGS'
87927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87930
87931
87932 fi
87933
87934   fi
87935   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
87936 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
87937
87938   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
87939
87940 for ac_func in sqrtf
87941 do
87942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87943 echo "$as_me:$LINENO: checking for $ac_func" >&5
87944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87945 if eval "test \"\${$as_ac_var+set}\" = set"; then
87946   echo $ECHO_N "(cached) $ECHO_C" >&6
87947 else
87948   if test x$gcc_no_link = xyes; then
87949   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87951    { (exit 1); exit 1; }; }
87952 fi
87953 cat >conftest.$ac_ext <<_ACEOF
87954 /* confdefs.h.  */
87955 _ACEOF
87956 cat confdefs.h >>conftest.$ac_ext
87957 cat >>conftest.$ac_ext <<_ACEOF
87958 /* end confdefs.h.  */
87959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87960    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87961 #define $ac_func innocuous_$ac_func
87962
87963 /* System header to define __stub macros and hopefully few prototypes,
87964     which can conflict with char $ac_func (); below.
87965     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87966     <limits.h> exists even on freestanding compilers.  */
87967
87968 #ifdef __STDC__
87969 # include <limits.h>
87970 #else
87971 # include <assert.h>
87972 #endif
87973
87974 #undef $ac_func
87975
87976 /* Override any gcc2 internal prototype to avoid an error.  */
87977 #ifdef __cplusplus
87978 extern "C"
87979 {
87980 #endif
87981 /* We use char because int might match the return type of a gcc2
87982    builtin and then its argument prototype would still apply.  */
87983 char $ac_func ();
87984 /* The GNU C library defines this for functions which it implements
87985     to always fail with ENOSYS.  Some functions are actually named
87986     something starting with __ and the normal name is an alias.  */
87987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87988 choke me
87989 #else
87990 char (*f) () = $ac_func;
87991 #endif
87992 #ifdef __cplusplus
87993 }
87994 #endif
87995
87996 int
87997 main ()
87998 {
87999 return f != $ac_func;
88000   ;
88001   return 0;
88002 }
88003 _ACEOF
88004 rm -f conftest.$ac_objext conftest$ac_exeext
88005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88006   (eval $ac_link) 2>conftest.er1
88007   ac_status=$?
88008   grep -v '^ *+' conftest.er1 >conftest.err
88009   rm -f conftest.er1
88010   cat conftest.err >&5
88011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88012   (exit $ac_status); } &&
88013          { ac_try='test -z "$ac_c_werror_flag"
88014                          || test ! -s conftest.err'
88015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88016   (eval $ac_try) 2>&5
88017   ac_status=$?
88018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88019   (exit $ac_status); }; } &&
88020          { ac_try='test -s conftest$ac_exeext'
88021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88022   (eval $ac_try) 2>&5
88023   ac_status=$?
88024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88025   (exit $ac_status); }; }; then
88026   eval "$as_ac_var=yes"
88027 else
88028   echo "$as_me: failed program was:" >&5
88029 sed 's/^/| /' conftest.$ac_ext >&5
88030
88031 eval "$as_ac_var=no"
88032 fi
88033 rm -f conftest.err conftest.$ac_objext \
88034       conftest$ac_exeext conftest.$ac_ext
88035 fi
88036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88038 if test `eval echo '${'$as_ac_var'}'` = yes; then
88039   cat >>confdefs.h <<_ACEOF
88040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88041 _ACEOF
88042
88043 fi
88044 done
88045
88046   else
88047
88048   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
88049 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
88050   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
88051     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
88052   echo $ECHO_N "(cached) $ECHO_C" >&6
88053 else
88054
88055
88056
88057       ac_ext=cc
88058 ac_cpp='$CXXCPP $CPPFLAGS'
88059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88062
88063       cat >conftest.$ac_ext <<_ACEOF
88064 /* confdefs.h.  */
88065 _ACEOF
88066 cat confdefs.h >>conftest.$ac_ext
88067 cat >>conftest.$ac_ext <<_ACEOF
88068 /* end confdefs.h.  */
88069 #include <math.h>
88070                       #ifdef HAVE_IEEEFP_H
88071                       #include <ieeefp.h>
88072                       #endif
88073
88074 int
88075 main ()
88076 {
88077  _sqrtf(0);
88078   ;
88079   return 0;
88080 }
88081 _ACEOF
88082 rm -f conftest.$ac_objext
88083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88084   (eval $ac_compile) 2>conftest.er1
88085   ac_status=$?
88086   grep -v '^ *+' conftest.er1 >conftest.err
88087   rm -f conftest.er1
88088   cat conftest.err >&5
88089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88090   (exit $ac_status); } &&
88091          { ac_try='test -z "$ac_cxx_werror_flag"
88092                          || test ! -s conftest.err'
88093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88094   (eval $ac_try) 2>&5
88095   ac_status=$?
88096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88097   (exit $ac_status); }; } &&
88098          { ac_try='test -s conftest.$ac_objext'
88099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88100   (eval $ac_try) 2>&5
88101   ac_status=$?
88102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88103   (exit $ac_status); }; }; then
88104   glibcxx_cv_func__sqrtf_use=yes
88105 else
88106   echo "$as_me: failed program was:" >&5
88107 sed 's/^/| /' conftest.$ac_ext >&5
88108
88109 glibcxx_cv_func__sqrtf_use=no
88110 fi
88111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88112       ac_ext=c
88113 ac_cpp='$CPP $CPPFLAGS'
88114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88117
88118
88119 fi
88120
88121   fi
88122   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
88123 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
88124
88125     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
88126
88127 for ac_func in _sqrtf
88128 do
88129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88130 echo "$as_me:$LINENO: checking for $ac_func" >&5
88131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88132 if eval "test \"\${$as_ac_var+set}\" = set"; then
88133   echo $ECHO_N "(cached) $ECHO_C" >&6
88134 else
88135   if test x$gcc_no_link = xyes; then
88136   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88138    { (exit 1); exit 1; }; }
88139 fi
88140 cat >conftest.$ac_ext <<_ACEOF
88141 /* confdefs.h.  */
88142 _ACEOF
88143 cat confdefs.h >>conftest.$ac_ext
88144 cat >>conftest.$ac_ext <<_ACEOF
88145 /* end confdefs.h.  */
88146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88147    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88148 #define $ac_func innocuous_$ac_func
88149
88150 /* System header to define __stub macros and hopefully few prototypes,
88151     which can conflict with char $ac_func (); below.
88152     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88153     <limits.h> exists even on freestanding compilers.  */
88154
88155 #ifdef __STDC__
88156 # include <limits.h>
88157 #else
88158 # include <assert.h>
88159 #endif
88160
88161 #undef $ac_func
88162
88163 /* Override any gcc2 internal prototype to avoid an error.  */
88164 #ifdef __cplusplus
88165 extern "C"
88166 {
88167 #endif
88168 /* We use char because int might match the return type of a gcc2
88169    builtin and then its argument prototype would still apply.  */
88170 char $ac_func ();
88171 /* The GNU C library defines this for functions which it implements
88172     to always fail with ENOSYS.  Some functions are actually named
88173     something starting with __ and the normal name is an alias.  */
88174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88175 choke me
88176 #else
88177 char (*f) () = $ac_func;
88178 #endif
88179 #ifdef __cplusplus
88180 }
88181 #endif
88182
88183 int
88184 main ()
88185 {
88186 return f != $ac_func;
88187   ;
88188   return 0;
88189 }
88190 _ACEOF
88191 rm -f conftest.$ac_objext conftest$ac_exeext
88192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88193   (eval $ac_link) 2>conftest.er1
88194   ac_status=$?
88195   grep -v '^ *+' conftest.er1 >conftest.err
88196   rm -f conftest.er1
88197   cat conftest.err >&5
88198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88199   (exit $ac_status); } &&
88200          { ac_try='test -z "$ac_c_werror_flag"
88201                          || test ! -s conftest.err'
88202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88203   (eval $ac_try) 2>&5
88204   ac_status=$?
88205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88206   (exit $ac_status); }; } &&
88207          { ac_try='test -s conftest$ac_exeext'
88208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88209   (eval $ac_try) 2>&5
88210   ac_status=$?
88211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88212   (exit $ac_status); }; }; then
88213   eval "$as_ac_var=yes"
88214 else
88215   echo "$as_me: failed program was:" >&5
88216 sed 's/^/| /' conftest.$ac_ext >&5
88217
88218 eval "$as_ac_var=no"
88219 fi
88220 rm -f conftest.err conftest.$ac_objext \
88221       conftest$ac_exeext conftest.$ac_ext
88222 fi
88223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88225 if test `eval echo '${'$as_ac_var'}'` = yes; then
88226   cat >>confdefs.h <<_ACEOF
88227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88228 _ACEOF
88229
88230 fi
88231 done
88232
88233     fi
88234   fi
88235
88236
88237
88238
88239
88240
88241   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
88242 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
88243   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
88244     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
88245   echo $ECHO_N "(cached) $ECHO_C" >&6
88246 else
88247
88248
88249
88250       ac_ext=cc
88251 ac_cpp='$CXXCPP $CPPFLAGS'
88252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88255
88256       cat >conftest.$ac_ext <<_ACEOF
88257 /* confdefs.h.  */
88258 _ACEOF
88259 cat confdefs.h >>conftest.$ac_ext
88260 cat >>conftest.$ac_ext <<_ACEOF
88261 /* end confdefs.h.  */
88262 #include <math.h>
88263 int
88264 main ()
88265 {
88266  sincosf(0, 0, 0);
88267   ;
88268   return 0;
88269 }
88270 _ACEOF
88271 rm -f conftest.$ac_objext
88272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88273   (eval $ac_compile) 2>conftest.er1
88274   ac_status=$?
88275   grep -v '^ *+' conftest.er1 >conftest.err
88276   rm -f conftest.er1
88277   cat conftest.err >&5
88278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88279   (exit $ac_status); } &&
88280          { ac_try='test -z "$ac_cxx_werror_flag"
88281                          || test ! -s conftest.err'
88282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88283   (eval $ac_try) 2>&5
88284   ac_status=$?
88285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88286   (exit $ac_status); }; } &&
88287          { ac_try='test -s conftest.$ac_objext'
88288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88289   (eval $ac_try) 2>&5
88290   ac_status=$?
88291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88292   (exit $ac_status); }; }; then
88293   glibcxx_cv_func_sincosf_use=yes
88294 else
88295   echo "$as_me: failed program was:" >&5
88296 sed 's/^/| /' conftest.$ac_ext >&5
88297
88298 glibcxx_cv_func_sincosf_use=no
88299 fi
88300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88301       ac_ext=c
88302 ac_cpp='$CPP $CPPFLAGS'
88303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88306
88307
88308 fi
88309
88310   fi
88311   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
88312 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
88313
88314   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
88315
88316 for ac_func in sincosf
88317 do
88318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88319 echo "$as_me:$LINENO: checking for $ac_func" >&5
88320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88321 if eval "test \"\${$as_ac_var+set}\" = set"; then
88322   echo $ECHO_N "(cached) $ECHO_C" >&6
88323 else
88324   if test x$gcc_no_link = xyes; then
88325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88327    { (exit 1); exit 1; }; }
88328 fi
88329 cat >conftest.$ac_ext <<_ACEOF
88330 /* confdefs.h.  */
88331 _ACEOF
88332 cat confdefs.h >>conftest.$ac_ext
88333 cat >>conftest.$ac_ext <<_ACEOF
88334 /* end confdefs.h.  */
88335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88336    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88337 #define $ac_func innocuous_$ac_func
88338
88339 /* System header to define __stub macros and hopefully few prototypes,
88340     which can conflict with char $ac_func (); below.
88341     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88342     <limits.h> exists even on freestanding compilers.  */
88343
88344 #ifdef __STDC__
88345 # include <limits.h>
88346 #else
88347 # include <assert.h>
88348 #endif
88349
88350 #undef $ac_func
88351
88352 /* Override any gcc2 internal prototype to avoid an error.  */
88353 #ifdef __cplusplus
88354 extern "C"
88355 {
88356 #endif
88357 /* We use char because int might match the return type of a gcc2
88358    builtin and then its argument prototype would still apply.  */
88359 char $ac_func ();
88360 /* The GNU C library defines this for functions which it implements
88361     to always fail with ENOSYS.  Some functions are actually named
88362     something starting with __ and the normal name is an alias.  */
88363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88364 choke me
88365 #else
88366 char (*f) () = $ac_func;
88367 #endif
88368 #ifdef __cplusplus
88369 }
88370 #endif
88371
88372 int
88373 main ()
88374 {
88375 return f != $ac_func;
88376   ;
88377   return 0;
88378 }
88379 _ACEOF
88380 rm -f conftest.$ac_objext conftest$ac_exeext
88381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88382   (eval $ac_link) 2>conftest.er1
88383   ac_status=$?
88384   grep -v '^ *+' conftest.er1 >conftest.err
88385   rm -f conftest.er1
88386   cat conftest.err >&5
88387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88388   (exit $ac_status); } &&
88389          { ac_try='test -z "$ac_c_werror_flag"
88390                          || test ! -s conftest.err'
88391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88392   (eval $ac_try) 2>&5
88393   ac_status=$?
88394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88395   (exit $ac_status); }; } &&
88396          { ac_try='test -s conftest$ac_exeext'
88397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88398   (eval $ac_try) 2>&5
88399   ac_status=$?
88400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88401   (exit $ac_status); }; }; then
88402   eval "$as_ac_var=yes"
88403 else
88404   echo "$as_me: failed program was:" >&5
88405 sed 's/^/| /' conftest.$ac_ext >&5
88406
88407 eval "$as_ac_var=no"
88408 fi
88409 rm -f conftest.err conftest.$ac_objext \
88410       conftest$ac_exeext conftest.$ac_ext
88411 fi
88412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88414 if test `eval echo '${'$as_ac_var'}'` = yes; then
88415   cat >>confdefs.h <<_ACEOF
88416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88417 _ACEOF
88418
88419 fi
88420 done
88421
88422   else
88423
88424   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
88425 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
88426   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
88427     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
88428   echo $ECHO_N "(cached) $ECHO_C" >&6
88429 else
88430
88431
88432
88433       ac_ext=cc
88434 ac_cpp='$CXXCPP $CPPFLAGS'
88435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88438
88439       cat >conftest.$ac_ext <<_ACEOF
88440 /* confdefs.h.  */
88441 _ACEOF
88442 cat confdefs.h >>conftest.$ac_ext
88443 cat >>conftest.$ac_ext <<_ACEOF
88444 /* end confdefs.h.  */
88445 #include <math.h>
88446 int
88447 main ()
88448 {
88449  _sincosf(0, 0, 0);
88450   ;
88451   return 0;
88452 }
88453 _ACEOF
88454 rm -f conftest.$ac_objext
88455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88456   (eval $ac_compile) 2>conftest.er1
88457   ac_status=$?
88458   grep -v '^ *+' conftest.er1 >conftest.err
88459   rm -f conftest.er1
88460   cat conftest.err >&5
88461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88462   (exit $ac_status); } &&
88463          { ac_try='test -z "$ac_cxx_werror_flag"
88464                          || test ! -s conftest.err'
88465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88466   (eval $ac_try) 2>&5
88467   ac_status=$?
88468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88469   (exit $ac_status); }; } &&
88470          { ac_try='test -s conftest.$ac_objext'
88471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88472   (eval $ac_try) 2>&5
88473   ac_status=$?
88474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88475   (exit $ac_status); }; }; then
88476   glibcxx_cv_func__sincosf_use=yes
88477 else
88478   echo "$as_me: failed program was:" >&5
88479 sed 's/^/| /' conftest.$ac_ext >&5
88480
88481 glibcxx_cv_func__sincosf_use=no
88482 fi
88483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88484       ac_ext=c
88485 ac_cpp='$CPP $CPPFLAGS'
88486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88489
88490
88491 fi
88492
88493   fi
88494   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
88495 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
88496
88497     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
88498
88499 for ac_func in _sincosf
88500 do
88501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88502 echo "$as_me:$LINENO: checking for $ac_func" >&5
88503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88504 if eval "test \"\${$as_ac_var+set}\" = set"; then
88505   echo $ECHO_N "(cached) $ECHO_C" >&6
88506 else
88507   if test x$gcc_no_link = xyes; then
88508   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88510    { (exit 1); exit 1; }; }
88511 fi
88512 cat >conftest.$ac_ext <<_ACEOF
88513 /* confdefs.h.  */
88514 _ACEOF
88515 cat confdefs.h >>conftest.$ac_ext
88516 cat >>conftest.$ac_ext <<_ACEOF
88517 /* end confdefs.h.  */
88518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88519    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88520 #define $ac_func innocuous_$ac_func
88521
88522 /* System header to define __stub macros and hopefully few prototypes,
88523     which can conflict with char $ac_func (); below.
88524     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88525     <limits.h> exists even on freestanding compilers.  */
88526
88527 #ifdef __STDC__
88528 # include <limits.h>
88529 #else
88530 # include <assert.h>
88531 #endif
88532
88533 #undef $ac_func
88534
88535 /* Override any gcc2 internal prototype to avoid an error.  */
88536 #ifdef __cplusplus
88537 extern "C"
88538 {
88539 #endif
88540 /* We use char because int might match the return type of a gcc2
88541    builtin and then its argument prototype would still apply.  */
88542 char $ac_func ();
88543 /* The GNU C library defines this for functions which it implements
88544     to always fail with ENOSYS.  Some functions are actually named
88545     something starting with __ and the normal name is an alias.  */
88546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88547 choke me
88548 #else
88549 char (*f) () = $ac_func;
88550 #endif
88551 #ifdef __cplusplus
88552 }
88553 #endif
88554
88555 int
88556 main ()
88557 {
88558 return f != $ac_func;
88559   ;
88560   return 0;
88561 }
88562 _ACEOF
88563 rm -f conftest.$ac_objext conftest$ac_exeext
88564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88565   (eval $ac_link) 2>conftest.er1
88566   ac_status=$?
88567   grep -v '^ *+' conftest.er1 >conftest.err
88568   rm -f conftest.er1
88569   cat conftest.err >&5
88570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88571   (exit $ac_status); } &&
88572          { ac_try='test -z "$ac_c_werror_flag"
88573                          || test ! -s conftest.err'
88574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88575   (eval $ac_try) 2>&5
88576   ac_status=$?
88577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88578   (exit $ac_status); }; } &&
88579          { ac_try='test -s conftest$ac_exeext'
88580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88581   (eval $ac_try) 2>&5
88582   ac_status=$?
88583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88584   (exit $ac_status); }; }; then
88585   eval "$as_ac_var=yes"
88586 else
88587   echo "$as_me: failed program was:" >&5
88588 sed 's/^/| /' conftest.$ac_ext >&5
88589
88590 eval "$as_ac_var=no"
88591 fi
88592 rm -f conftest.err conftest.$ac_objext \
88593       conftest$ac_exeext conftest.$ac_ext
88594 fi
88595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88597 if test `eval echo '${'$as_ac_var'}'` = yes; then
88598   cat >>confdefs.h <<_ACEOF
88599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88600 _ACEOF
88601
88602 fi
88603 done
88604
88605     fi
88606   fi
88607
88608
88609
88610
88611
88612
88613   echo "$as_me:$LINENO: checking for finitef declaration" >&5
88614 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
88615   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
88616     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
88617   echo $ECHO_N "(cached) $ECHO_C" >&6
88618 else
88619
88620
88621
88622       ac_ext=cc
88623 ac_cpp='$CXXCPP $CPPFLAGS'
88624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88627
88628       cat >conftest.$ac_ext <<_ACEOF
88629 /* confdefs.h.  */
88630 _ACEOF
88631 cat confdefs.h >>conftest.$ac_ext
88632 cat >>conftest.$ac_ext <<_ACEOF
88633 /* end confdefs.h.  */
88634 #include <math.h>
88635                       #ifdef HAVE_IEEEFP_H
88636                       #include <ieeefp.h>
88637                       #endif
88638
88639 int
88640 main ()
88641 {
88642  finitef(0);
88643   ;
88644   return 0;
88645 }
88646 _ACEOF
88647 rm -f conftest.$ac_objext
88648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88649   (eval $ac_compile) 2>conftest.er1
88650   ac_status=$?
88651   grep -v '^ *+' conftest.er1 >conftest.err
88652   rm -f conftest.er1
88653   cat conftest.err >&5
88654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88655   (exit $ac_status); } &&
88656          { ac_try='test -z "$ac_cxx_werror_flag"
88657                          || test ! -s conftest.err'
88658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88659   (eval $ac_try) 2>&5
88660   ac_status=$?
88661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88662   (exit $ac_status); }; } &&
88663          { ac_try='test -s conftest.$ac_objext'
88664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88665   (eval $ac_try) 2>&5
88666   ac_status=$?
88667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88668   (exit $ac_status); }; }; then
88669   glibcxx_cv_func_finitef_use=yes
88670 else
88671   echo "$as_me: failed program was:" >&5
88672 sed 's/^/| /' conftest.$ac_ext >&5
88673
88674 glibcxx_cv_func_finitef_use=no
88675 fi
88676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88677       ac_ext=c
88678 ac_cpp='$CPP $CPPFLAGS'
88679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88682
88683
88684 fi
88685
88686   fi
88687   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
88688 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
88689
88690   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
88691
88692 for ac_func in finitef
88693 do
88694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88695 echo "$as_me:$LINENO: checking for $ac_func" >&5
88696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88697 if eval "test \"\${$as_ac_var+set}\" = set"; then
88698   echo $ECHO_N "(cached) $ECHO_C" >&6
88699 else
88700   if test x$gcc_no_link = xyes; then
88701   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88703    { (exit 1); exit 1; }; }
88704 fi
88705 cat >conftest.$ac_ext <<_ACEOF
88706 /* confdefs.h.  */
88707 _ACEOF
88708 cat confdefs.h >>conftest.$ac_ext
88709 cat >>conftest.$ac_ext <<_ACEOF
88710 /* end confdefs.h.  */
88711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88712    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88713 #define $ac_func innocuous_$ac_func
88714
88715 /* System header to define __stub macros and hopefully few prototypes,
88716     which can conflict with char $ac_func (); below.
88717     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88718     <limits.h> exists even on freestanding compilers.  */
88719
88720 #ifdef __STDC__
88721 # include <limits.h>
88722 #else
88723 # include <assert.h>
88724 #endif
88725
88726 #undef $ac_func
88727
88728 /* Override any gcc2 internal prototype to avoid an error.  */
88729 #ifdef __cplusplus
88730 extern "C"
88731 {
88732 #endif
88733 /* We use char because int might match the return type of a gcc2
88734    builtin and then its argument prototype would still apply.  */
88735 char $ac_func ();
88736 /* The GNU C library defines this for functions which it implements
88737     to always fail with ENOSYS.  Some functions are actually named
88738     something starting with __ and the normal name is an alias.  */
88739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88740 choke me
88741 #else
88742 char (*f) () = $ac_func;
88743 #endif
88744 #ifdef __cplusplus
88745 }
88746 #endif
88747
88748 int
88749 main ()
88750 {
88751 return f != $ac_func;
88752   ;
88753   return 0;
88754 }
88755 _ACEOF
88756 rm -f conftest.$ac_objext conftest$ac_exeext
88757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88758   (eval $ac_link) 2>conftest.er1
88759   ac_status=$?
88760   grep -v '^ *+' conftest.er1 >conftest.err
88761   rm -f conftest.er1
88762   cat conftest.err >&5
88763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88764   (exit $ac_status); } &&
88765          { ac_try='test -z "$ac_c_werror_flag"
88766                          || test ! -s conftest.err'
88767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88768   (eval $ac_try) 2>&5
88769   ac_status=$?
88770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88771   (exit $ac_status); }; } &&
88772          { ac_try='test -s conftest$ac_exeext'
88773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88774   (eval $ac_try) 2>&5
88775   ac_status=$?
88776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88777   (exit $ac_status); }; }; then
88778   eval "$as_ac_var=yes"
88779 else
88780   echo "$as_me: failed program was:" >&5
88781 sed 's/^/| /' conftest.$ac_ext >&5
88782
88783 eval "$as_ac_var=no"
88784 fi
88785 rm -f conftest.err conftest.$ac_objext \
88786       conftest$ac_exeext conftest.$ac_ext
88787 fi
88788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88790 if test `eval echo '${'$as_ac_var'}'` = yes; then
88791   cat >>confdefs.h <<_ACEOF
88792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88793 _ACEOF
88794
88795 fi
88796 done
88797
88798   else
88799
88800   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
88801 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
88802   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
88803     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
88804   echo $ECHO_N "(cached) $ECHO_C" >&6
88805 else
88806
88807
88808
88809       ac_ext=cc
88810 ac_cpp='$CXXCPP $CPPFLAGS'
88811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88814
88815       cat >conftest.$ac_ext <<_ACEOF
88816 /* confdefs.h.  */
88817 _ACEOF
88818 cat confdefs.h >>conftest.$ac_ext
88819 cat >>conftest.$ac_ext <<_ACEOF
88820 /* end confdefs.h.  */
88821 #include <math.h>
88822                       #ifdef HAVE_IEEEFP_H
88823                       #include <ieeefp.h>
88824                       #endif
88825
88826 int
88827 main ()
88828 {
88829  _finitef(0);
88830   ;
88831   return 0;
88832 }
88833 _ACEOF
88834 rm -f conftest.$ac_objext
88835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88836   (eval $ac_compile) 2>conftest.er1
88837   ac_status=$?
88838   grep -v '^ *+' conftest.er1 >conftest.err
88839   rm -f conftest.er1
88840   cat conftest.err >&5
88841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88842   (exit $ac_status); } &&
88843          { ac_try='test -z "$ac_cxx_werror_flag"
88844                          || test ! -s conftest.err'
88845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88846   (eval $ac_try) 2>&5
88847   ac_status=$?
88848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88849   (exit $ac_status); }; } &&
88850          { ac_try='test -s conftest.$ac_objext'
88851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88852   (eval $ac_try) 2>&5
88853   ac_status=$?
88854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88855   (exit $ac_status); }; }; then
88856   glibcxx_cv_func__finitef_use=yes
88857 else
88858   echo "$as_me: failed program was:" >&5
88859 sed 's/^/| /' conftest.$ac_ext >&5
88860
88861 glibcxx_cv_func__finitef_use=no
88862 fi
88863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88864       ac_ext=c
88865 ac_cpp='$CPP $CPPFLAGS'
88866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88869
88870
88871 fi
88872
88873   fi
88874   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
88875 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
88876
88877     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
88878
88879 for ac_func in _finitef
88880 do
88881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88882 echo "$as_me:$LINENO: checking for $ac_func" >&5
88883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88884 if eval "test \"\${$as_ac_var+set}\" = set"; then
88885   echo $ECHO_N "(cached) $ECHO_C" >&6
88886 else
88887   if test x$gcc_no_link = xyes; then
88888   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88890    { (exit 1); exit 1; }; }
88891 fi
88892 cat >conftest.$ac_ext <<_ACEOF
88893 /* confdefs.h.  */
88894 _ACEOF
88895 cat confdefs.h >>conftest.$ac_ext
88896 cat >>conftest.$ac_ext <<_ACEOF
88897 /* end confdefs.h.  */
88898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88899    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88900 #define $ac_func innocuous_$ac_func
88901
88902 /* System header to define __stub macros and hopefully few prototypes,
88903     which can conflict with char $ac_func (); below.
88904     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88905     <limits.h> exists even on freestanding compilers.  */
88906
88907 #ifdef __STDC__
88908 # include <limits.h>
88909 #else
88910 # include <assert.h>
88911 #endif
88912
88913 #undef $ac_func
88914
88915 /* Override any gcc2 internal prototype to avoid an error.  */
88916 #ifdef __cplusplus
88917 extern "C"
88918 {
88919 #endif
88920 /* We use char because int might match the return type of a gcc2
88921    builtin and then its argument prototype would still apply.  */
88922 char $ac_func ();
88923 /* The GNU C library defines this for functions which it implements
88924     to always fail with ENOSYS.  Some functions are actually named
88925     something starting with __ and the normal name is an alias.  */
88926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88927 choke me
88928 #else
88929 char (*f) () = $ac_func;
88930 #endif
88931 #ifdef __cplusplus
88932 }
88933 #endif
88934
88935 int
88936 main ()
88937 {
88938 return f != $ac_func;
88939   ;
88940   return 0;
88941 }
88942 _ACEOF
88943 rm -f conftest.$ac_objext conftest$ac_exeext
88944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88945   (eval $ac_link) 2>conftest.er1
88946   ac_status=$?
88947   grep -v '^ *+' conftest.er1 >conftest.err
88948   rm -f conftest.er1
88949   cat conftest.err >&5
88950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88951   (exit $ac_status); } &&
88952          { ac_try='test -z "$ac_c_werror_flag"
88953                          || test ! -s conftest.err'
88954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88955   (eval $ac_try) 2>&5
88956   ac_status=$?
88957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88958   (exit $ac_status); }; } &&
88959          { ac_try='test -s conftest$ac_exeext'
88960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88961   (eval $ac_try) 2>&5
88962   ac_status=$?
88963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88964   (exit $ac_status); }; }; then
88965   eval "$as_ac_var=yes"
88966 else
88967   echo "$as_me: failed program was:" >&5
88968 sed 's/^/| /' conftest.$ac_ext >&5
88969
88970 eval "$as_ac_var=no"
88971 fi
88972 rm -f conftest.err conftest.$ac_objext \
88973       conftest$ac_exeext conftest.$ac_ext
88974 fi
88975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88977 if test `eval echo '${'$as_ac_var'}'` = yes; then
88978   cat >>confdefs.h <<_ACEOF
88979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88980 _ACEOF
88981
88982 fi
88983 done
88984
88985     fi
88986   fi
88987
88988
88989
88990
88991
88992
88993     echo "$as_me:$LINENO: checking for long double trig functions" >&5
88994 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
88995   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
88996   echo $ECHO_N "(cached) $ECHO_C" >&6
88997 else
88998
88999
89000
89001     ac_ext=cc
89002 ac_cpp='$CXXCPP $CPPFLAGS'
89003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89006
89007     cat >conftest.$ac_ext <<_ACEOF
89008 /* confdefs.h.  */
89009 _ACEOF
89010 cat confdefs.h >>conftest.$ac_ext
89011 cat >>conftest.$ac_ext <<_ACEOF
89012 /* end confdefs.h.  */
89013 #include <math.h>
89014 int
89015 main ()
89016 {
89017 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
89018   ;
89019   return 0;
89020 }
89021 _ACEOF
89022 rm -f conftest.$ac_objext
89023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89024   (eval $ac_compile) 2>conftest.er1
89025   ac_status=$?
89026   grep -v '^ *+' conftest.er1 >conftest.err
89027   rm -f conftest.er1
89028   cat conftest.err >&5
89029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89030   (exit $ac_status); } &&
89031          { ac_try='test -z "$ac_cxx_werror_flag"
89032                          || test ! -s conftest.err'
89033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89034   (eval $ac_try) 2>&5
89035   ac_status=$?
89036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89037   (exit $ac_status); }; } &&
89038          { ac_try='test -s conftest.$ac_objext'
89039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89040   (eval $ac_try) 2>&5
89041   ac_status=$?
89042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89043   (exit $ac_status); }; }; then
89044   glibcxx_cv_func_long_double_trig_use=yes
89045 else
89046   echo "$as_me: failed program was:" >&5
89047 sed 's/^/| /' conftest.$ac_ext >&5
89048
89049 glibcxx_cv_func_long_double_trig_use=no
89050 fi
89051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89052     ac_ext=c
89053 ac_cpp='$CPP $CPPFLAGS'
89054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89057
89058 fi
89059
89060   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
89061 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
89062   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
89063
89064
89065
89066
89067
89068
89069
89070
89071
89072 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
89073 do
89074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89075 echo "$as_me:$LINENO: checking for $ac_func" >&5
89076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89077 if eval "test \"\${$as_ac_var+set}\" = set"; then
89078   echo $ECHO_N "(cached) $ECHO_C" >&6
89079 else
89080   if test x$gcc_no_link = xyes; then
89081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89083    { (exit 1); exit 1; }; }
89084 fi
89085 cat >conftest.$ac_ext <<_ACEOF
89086 /* confdefs.h.  */
89087 _ACEOF
89088 cat confdefs.h >>conftest.$ac_ext
89089 cat >>conftest.$ac_ext <<_ACEOF
89090 /* end confdefs.h.  */
89091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89092    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89093 #define $ac_func innocuous_$ac_func
89094
89095 /* System header to define __stub macros and hopefully few prototypes,
89096     which can conflict with char $ac_func (); below.
89097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89098     <limits.h> exists even on freestanding compilers.  */
89099
89100 #ifdef __STDC__
89101 # include <limits.h>
89102 #else
89103 # include <assert.h>
89104 #endif
89105
89106 #undef $ac_func
89107
89108 /* Override any gcc2 internal prototype to avoid an error.  */
89109 #ifdef __cplusplus
89110 extern "C"
89111 {
89112 #endif
89113 /* We use char because int might match the return type of a gcc2
89114    builtin and then its argument prototype would still apply.  */
89115 char $ac_func ();
89116 /* The GNU C library defines this for functions which it implements
89117     to always fail with ENOSYS.  Some functions are actually named
89118     something starting with __ and the normal name is an alias.  */
89119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89120 choke me
89121 #else
89122 char (*f) () = $ac_func;
89123 #endif
89124 #ifdef __cplusplus
89125 }
89126 #endif
89127
89128 int
89129 main ()
89130 {
89131 return f != $ac_func;
89132   ;
89133   return 0;
89134 }
89135 _ACEOF
89136 rm -f conftest.$ac_objext conftest$ac_exeext
89137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89138   (eval $ac_link) 2>conftest.er1
89139   ac_status=$?
89140   grep -v '^ *+' conftest.er1 >conftest.err
89141   rm -f conftest.er1
89142   cat conftest.err >&5
89143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89144   (exit $ac_status); } &&
89145          { ac_try='test -z "$ac_c_werror_flag"
89146                          || test ! -s conftest.err'
89147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89148   (eval $ac_try) 2>&5
89149   ac_status=$?
89150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89151   (exit $ac_status); }; } &&
89152          { ac_try='test -s conftest$ac_exeext'
89153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89154   (eval $ac_try) 2>&5
89155   ac_status=$?
89156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89157   (exit $ac_status); }; }; then
89158   eval "$as_ac_var=yes"
89159 else
89160   echo "$as_me: failed program was:" >&5
89161 sed 's/^/| /' conftest.$ac_ext >&5
89162
89163 eval "$as_ac_var=no"
89164 fi
89165 rm -f conftest.err conftest.$ac_objext \
89166       conftest$ac_exeext conftest.$ac_ext
89167 fi
89168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89170 if test `eval echo '${'$as_ac_var'}'` = yes; then
89171   cat >>confdefs.h <<_ACEOF
89172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89173 _ACEOF
89174
89175 fi
89176 done
89177
89178   else
89179     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
89180 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
89181     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
89182   echo $ECHO_N "(cached) $ECHO_C" >&6
89183 else
89184
89185
89186
89187       ac_ext=cc
89188 ac_cpp='$CXXCPP $CPPFLAGS'
89189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89192
89193       cat >conftest.$ac_ext <<_ACEOF
89194 /* confdefs.h.  */
89195 _ACEOF
89196 cat confdefs.h >>conftest.$ac_ext
89197 cat >>conftest.$ac_ext <<_ACEOF
89198 /* end confdefs.h.  */
89199 #include <math.h>
89200 int
89201 main ()
89202 {
89203 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
89204   ;
89205   return 0;
89206 }
89207 _ACEOF
89208 rm -f conftest.$ac_objext
89209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89210   (eval $ac_compile) 2>conftest.er1
89211   ac_status=$?
89212   grep -v '^ *+' conftest.er1 >conftest.err
89213   rm -f conftest.er1
89214   cat conftest.err >&5
89215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89216   (exit $ac_status); } &&
89217          { ac_try='test -z "$ac_cxx_werror_flag"
89218                          || test ! -s conftest.err'
89219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89220   (eval $ac_try) 2>&5
89221   ac_status=$?
89222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89223   (exit $ac_status); }; } &&
89224          { ac_try='test -s conftest.$ac_objext'
89225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89226   (eval $ac_try) 2>&5
89227   ac_status=$?
89228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89229   (exit $ac_status); }; }; then
89230   glibcxx_cv_func__long_double_trig_use=yes
89231 else
89232   echo "$as_me: failed program was:" >&5
89233 sed 's/^/| /' conftest.$ac_ext >&5
89234
89235 glibcxx_cv_func__long_double_trig_use=no
89236 fi
89237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89238       ac_ext=c
89239 ac_cpp='$CPP $CPPFLAGS'
89240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89243
89244 fi
89245
89246     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
89247 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
89248     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
89249
89250
89251
89252
89253
89254
89255
89256
89257
89258 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
89259 do
89260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89261 echo "$as_me:$LINENO: checking for $ac_func" >&5
89262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89263 if eval "test \"\${$as_ac_var+set}\" = set"; then
89264   echo $ECHO_N "(cached) $ECHO_C" >&6
89265 else
89266   if test x$gcc_no_link = xyes; then
89267   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89269    { (exit 1); exit 1; }; }
89270 fi
89271 cat >conftest.$ac_ext <<_ACEOF
89272 /* confdefs.h.  */
89273 _ACEOF
89274 cat confdefs.h >>conftest.$ac_ext
89275 cat >>conftest.$ac_ext <<_ACEOF
89276 /* end confdefs.h.  */
89277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89278    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89279 #define $ac_func innocuous_$ac_func
89280
89281 /* System header to define __stub macros and hopefully few prototypes,
89282     which can conflict with char $ac_func (); below.
89283     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89284     <limits.h> exists even on freestanding compilers.  */
89285
89286 #ifdef __STDC__
89287 # include <limits.h>
89288 #else
89289 # include <assert.h>
89290 #endif
89291
89292 #undef $ac_func
89293
89294 /* Override any gcc2 internal prototype to avoid an error.  */
89295 #ifdef __cplusplus
89296 extern "C"
89297 {
89298 #endif
89299 /* We use char because int might match the return type of a gcc2
89300    builtin and then its argument prototype would still apply.  */
89301 char $ac_func ();
89302 /* The GNU C library defines this for functions which it implements
89303     to always fail with ENOSYS.  Some functions are actually named
89304     something starting with __ and the normal name is an alias.  */
89305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89306 choke me
89307 #else
89308 char (*f) () = $ac_func;
89309 #endif
89310 #ifdef __cplusplus
89311 }
89312 #endif
89313
89314 int
89315 main ()
89316 {
89317 return f != $ac_func;
89318   ;
89319   return 0;
89320 }
89321 _ACEOF
89322 rm -f conftest.$ac_objext conftest$ac_exeext
89323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89324   (eval $ac_link) 2>conftest.er1
89325   ac_status=$?
89326   grep -v '^ *+' conftest.er1 >conftest.err
89327   rm -f conftest.er1
89328   cat conftest.err >&5
89329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89330   (exit $ac_status); } &&
89331          { ac_try='test -z "$ac_c_werror_flag"
89332                          || test ! -s conftest.err'
89333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89334   (eval $ac_try) 2>&5
89335   ac_status=$?
89336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89337   (exit $ac_status); }; } &&
89338          { ac_try='test -s conftest$ac_exeext'
89339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89340   (eval $ac_try) 2>&5
89341   ac_status=$?
89342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89343   (exit $ac_status); }; }; then
89344   eval "$as_ac_var=yes"
89345 else
89346   echo "$as_me: failed program was:" >&5
89347 sed 's/^/| /' conftest.$ac_ext >&5
89348
89349 eval "$as_ac_var=no"
89350 fi
89351 rm -f conftest.err conftest.$ac_objext \
89352       conftest$ac_exeext conftest.$ac_ext
89353 fi
89354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89356 if test `eval echo '${'$as_ac_var'}'` = yes; then
89357   cat >>confdefs.h <<_ACEOF
89358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89359 _ACEOF
89360
89361 fi
89362 done
89363
89364     fi
89365   fi
89366
89367
89368
89369
89370
89371
89372
89373
89374
89375
89376
89377
89378
89379
89380     echo "$as_me:$LINENO: checking for long double round functions" >&5
89381 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
89382   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
89383   echo $ECHO_N "(cached) $ECHO_C" >&6
89384 else
89385
89386
89387
89388     ac_ext=cc
89389 ac_cpp='$CXXCPP $CPPFLAGS'
89390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89393
89394     cat >conftest.$ac_ext <<_ACEOF
89395 /* confdefs.h.  */
89396 _ACEOF
89397 cat confdefs.h >>conftest.$ac_ext
89398 cat >>conftest.$ac_ext <<_ACEOF
89399 /* end confdefs.h.  */
89400 #include <math.h>
89401 int
89402 main ()
89403 {
89404 ceill (0); floorl (0);
89405   ;
89406   return 0;
89407 }
89408 _ACEOF
89409 rm -f conftest.$ac_objext
89410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89411   (eval $ac_compile) 2>conftest.er1
89412   ac_status=$?
89413   grep -v '^ *+' conftest.er1 >conftest.err
89414   rm -f conftest.er1
89415   cat conftest.err >&5
89416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89417   (exit $ac_status); } &&
89418          { ac_try='test -z "$ac_cxx_werror_flag"
89419                          || test ! -s conftest.err'
89420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89421   (eval $ac_try) 2>&5
89422   ac_status=$?
89423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89424   (exit $ac_status); }; } &&
89425          { ac_try='test -s conftest.$ac_objext'
89426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89427   (eval $ac_try) 2>&5
89428   ac_status=$?
89429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89430   (exit $ac_status); }; }; then
89431   glibcxx_cv_func_long_double_round_use=yes
89432 else
89433   echo "$as_me: failed program was:" >&5
89434 sed 's/^/| /' conftest.$ac_ext >&5
89435
89436 glibcxx_cv_func_long_double_round_use=no
89437 fi
89438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89439     ac_ext=c
89440 ac_cpp='$CPP $CPPFLAGS'
89441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89444
89445 fi
89446
89447   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
89448 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
89449   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
89450
89451
89452 for ac_func in ceill floorl
89453 do
89454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89455 echo "$as_me:$LINENO: checking for $ac_func" >&5
89456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89457 if eval "test \"\${$as_ac_var+set}\" = set"; then
89458   echo $ECHO_N "(cached) $ECHO_C" >&6
89459 else
89460   if test x$gcc_no_link = xyes; then
89461   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89463    { (exit 1); exit 1; }; }
89464 fi
89465 cat >conftest.$ac_ext <<_ACEOF
89466 /* confdefs.h.  */
89467 _ACEOF
89468 cat confdefs.h >>conftest.$ac_ext
89469 cat >>conftest.$ac_ext <<_ACEOF
89470 /* end confdefs.h.  */
89471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89472    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89473 #define $ac_func innocuous_$ac_func
89474
89475 /* System header to define __stub macros and hopefully few prototypes,
89476     which can conflict with char $ac_func (); below.
89477     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89478     <limits.h> exists even on freestanding compilers.  */
89479
89480 #ifdef __STDC__
89481 # include <limits.h>
89482 #else
89483 # include <assert.h>
89484 #endif
89485
89486 #undef $ac_func
89487
89488 /* Override any gcc2 internal prototype to avoid an error.  */
89489 #ifdef __cplusplus
89490 extern "C"
89491 {
89492 #endif
89493 /* We use char because int might match the return type of a gcc2
89494    builtin and then its argument prototype would still apply.  */
89495 char $ac_func ();
89496 /* The GNU C library defines this for functions which it implements
89497     to always fail with ENOSYS.  Some functions are actually named
89498     something starting with __ and the normal name is an alias.  */
89499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89500 choke me
89501 #else
89502 char (*f) () = $ac_func;
89503 #endif
89504 #ifdef __cplusplus
89505 }
89506 #endif
89507
89508 int
89509 main ()
89510 {
89511 return f != $ac_func;
89512   ;
89513   return 0;
89514 }
89515 _ACEOF
89516 rm -f conftest.$ac_objext conftest$ac_exeext
89517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89518   (eval $ac_link) 2>conftest.er1
89519   ac_status=$?
89520   grep -v '^ *+' conftest.er1 >conftest.err
89521   rm -f conftest.er1
89522   cat conftest.err >&5
89523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89524   (exit $ac_status); } &&
89525          { ac_try='test -z "$ac_c_werror_flag"
89526                          || test ! -s conftest.err'
89527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89528   (eval $ac_try) 2>&5
89529   ac_status=$?
89530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89531   (exit $ac_status); }; } &&
89532          { ac_try='test -s conftest$ac_exeext'
89533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89534   (eval $ac_try) 2>&5
89535   ac_status=$?
89536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89537   (exit $ac_status); }; }; then
89538   eval "$as_ac_var=yes"
89539 else
89540   echo "$as_me: failed program was:" >&5
89541 sed 's/^/| /' conftest.$ac_ext >&5
89542
89543 eval "$as_ac_var=no"
89544 fi
89545 rm -f conftest.err conftest.$ac_objext \
89546       conftest$ac_exeext conftest.$ac_ext
89547 fi
89548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89550 if test `eval echo '${'$as_ac_var'}'` = yes; then
89551   cat >>confdefs.h <<_ACEOF
89552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89553 _ACEOF
89554
89555 fi
89556 done
89557
89558   else
89559     echo "$as_me:$LINENO: checking for _long double round functions" >&5
89560 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
89561     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
89562   echo $ECHO_N "(cached) $ECHO_C" >&6
89563 else
89564
89565
89566
89567       ac_ext=cc
89568 ac_cpp='$CXXCPP $CPPFLAGS'
89569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89572
89573       cat >conftest.$ac_ext <<_ACEOF
89574 /* confdefs.h.  */
89575 _ACEOF
89576 cat confdefs.h >>conftest.$ac_ext
89577 cat >>conftest.$ac_ext <<_ACEOF
89578 /* end confdefs.h.  */
89579 #include <math.h>
89580 int
89581 main ()
89582 {
89583 _ceill (0); _floorl (0);
89584   ;
89585   return 0;
89586 }
89587 _ACEOF
89588 rm -f conftest.$ac_objext
89589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89590   (eval $ac_compile) 2>conftest.er1
89591   ac_status=$?
89592   grep -v '^ *+' conftest.er1 >conftest.err
89593   rm -f conftest.er1
89594   cat conftest.err >&5
89595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89596   (exit $ac_status); } &&
89597          { ac_try='test -z "$ac_cxx_werror_flag"
89598                          || test ! -s conftest.err'
89599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89600   (eval $ac_try) 2>&5
89601   ac_status=$?
89602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89603   (exit $ac_status); }; } &&
89604          { ac_try='test -s conftest.$ac_objext'
89605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89606   (eval $ac_try) 2>&5
89607   ac_status=$?
89608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89609   (exit $ac_status); }; }; then
89610   glibcxx_cv_func__long_double_round_use=yes
89611 else
89612   echo "$as_me: failed program was:" >&5
89613 sed 's/^/| /' conftest.$ac_ext >&5
89614
89615 glibcxx_cv_func__long_double_round_use=no
89616 fi
89617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89618       ac_ext=c
89619 ac_cpp='$CPP $CPPFLAGS'
89620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89623
89624 fi
89625
89626     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
89627 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
89628     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
89629
89630
89631 for ac_func in _ceill _floorl
89632 do
89633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89634 echo "$as_me:$LINENO: checking for $ac_func" >&5
89635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89636 if eval "test \"\${$as_ac_var+set}\" = set"; then
89637   echo $ECHO_N "(cached) $ECHO_C" >&6
89638 else
89639   if test x$gcc_no_link = xyes; then
89640   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89642    { (exit 1); exit 1; }; }
89643 fi
89644 cat >conftest.$ac_ext <<_ACEOF
89645 /* confdefs.h.  */
89646 _ACEOF
89647 cat confdefs.h >>conftest.$ac_ext
89648 cat >>conftest.$ac_ext <<_ACEOF
89649 /* end confdefs.h.  */
89650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89651    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89652 #define $ac_func innocuous_$ac_func
89653
89654 /* System header to define __stub macros and hopefully few prototypes,
89655     which can conflict with char $ac_func (); below.
89656     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89657     <limits.h> exists even on freestanding compilers.  */
89658
89659 #ifdef __STDC__
89660 # include <limits.h>
89661 #else
89662 # include <assert.h>
89663 #endif
89664
89665 #undef $ac_func
89666
89667 /* Override any gcc2 internal prototype to avoid an error.  */
89668 #ifdef __cplusplus
89669 extern "C"
89670 {
89671 #endif
89672 /* We use char because int might match the return type of a gcc2
89673    builtin and then its argument prototype would still apply.  */
89674 char $ac_func ();
89675 /* The GNU C library defines this for functions which it implements
89676     to always fail with ENOSYS.  Some functions are actually named
89677     something starting with __ and the normal name is an alias.  */
89678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89679 choke me
89680 #else
89681 char (*f) () = $ac_func;
89682 #endif
89683 #ifdef __cplusplus
89684 }
89685 #endif
89686
89687 int
89688 main ()
89689 {
89690 return f != $ac_func;
89691   ;
89692   return 0;
89693 }
89694 _ACEOF
89695 rm -f conftest.$ac_objext conftest$ac_exeext
89696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89697   (eval $ac_link) 2>conftest.er1
89698   ac_status=$?
89699   grep -v '^ *+' conftest.er1 >conftest.err
89700   rm -f conftest.er1
89701   cat conftest.err >&5
89702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89703   (exit $ac_status); } &&
89704          { ac_try='test -z "$ac_c_werror_flag"
89705                          || test ! -s conftest.err'
89706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89707   (eval $ac_try) 2>&5
89708   ac_status=$?
89709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89710   (exit $ac_status); }; } &&
89711          { ac_try='test -s conftest$ac_exeext'
89712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89713   (eval $ac_try) 2>&5
89714   ac_status=$?
89715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89716   (exit $ac_status); }; }; then
89717   eval "$as_ac_var=yes"
89718 else
89719   echo "$as_me: failed program was:" >&5
89720 sed 's/^/| /' conftest.$ac_ext >&5
89721
89722 eval "$as_ac_var=no"
89723 fi
89724 rm -f conftest.err conftest.$ac_objext \
89725       conftest$ac_exeext conftest.$ac_ext
89726 fi
89727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89729 if test `eval echo '${'$as_ac_var'}'` = yes; then
89730   cat >>confdefs.h <<_ACEOF
89731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89732 _ACEOF
89733
89734 fi
89735 done
89736
89737     fi
89738   fi
89739
89740
89741
89742
89743
89744
89745
89746
89747   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
89748 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
89749   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
89750     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
89751   echo $ECHO_N "(cached) $ECHO_C" >&6
89752 else
89753
89754
89755
89756       ac_ext=cc
89757 ac_cpp='$CXXCPP $CPPFLAGS'
89758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89761
89762       cat >conftest.$ac_ext <<_ACEOF
89763 /* confdefs.h.  */
89764 _ACEOF
89765 cat confdefs.h >>conftest.$ac_ext
89766 cat >>conftest.$ac_ext <<_ACEOF
89767 /* end confdefs.h.  */
89768 #include <math.h>
89769                       #ifdef HAVE_IEEEFP_H
89770                       #include <ieeefp.h>
89771                       #endif
89772
89773 int
89774 main ()
89775 {
89776  isnanl(0);
89777   ;
89778   return 0;
89779 }
89780 _ACEOF
89781 rm -f conftest.$ac_objext
89782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89783   (eval $ac_compile) 2>conftest.er1
89784   ac_status=$?
89785   grep -v '^ *+' conftest.er1 >conftest.err
89786   rm -f conftest.er1
89787   cat conftest.err >&5
89788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89789   (exit $ac_status); } &&
89790          { ac_try='test -z "$ac_cxx_werror_flag"
89791                          || test ! -s conftest.err'
89792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89793   (eval $ac_try) 2>&5
89794   ac_status=$?
89795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89796   (exit $ac_status); }; } &&
89797          { ac_try='test -s conftest.$ac_objext'
89798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89799   (eval $ac_try) 2>&5
89800   ac_status=$?
89801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89802   (exit $ac_status); }; }; then
89803   glibcxx_cv_func_isnanl_use=yes
89804 else
89805   echo "$as_me: failed program was:" >&5
89806 sed 's/^/| /' conftest.$ac_ext >&5
89807
89808 glibcxx_cv_func_isnanl_use=no
89809 fi
89810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89811       ac_ext=c
89812 ac_cpp='$CPP $CPPFLAGS'
89813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89816
89817
89818 fi
89819
89820   fi
89821   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
89822 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
89823
89824   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
89825
89826 for ac_func in isnanl
89827 do
89828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89829 echo "$as_me:$LINENO: checking for $ac_func" >&5
89830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89831 if eval "test \"\${$as_ac_var+set}\" = set"; then
89832   echo $ECHO_N "(cached) $ECHO_C" >&6
89833 else
89834   if test x$gcc_no_link = xyes; then
89835   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89837    { (exit 1); exit 1; }; }
89838 fi
89839 cat >conftest.$ac_ext <<_ACEOF
89840 /* confdefs.h.  */
89841 _ACEOF
89842 cat confdefs.h >>conftest.$ac_ext
89843 cat >>conftest.$ac_ext <<_ACEOF
89844 /* end confdefs.h.  */
89845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89846    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89847 #define $ac_func innocuous_$ac_func
89848
89849 /* System header to define __stub macros and hopefully few prototypes,
89850     which can conflict with char $ac_func (); below.
89851     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89852     <limits.h> exists even on freestanding compilers.  */
89853
89854 #ifdef __STDC__
89855 # include <limits.h>
89856 #else
89857 # include <assert.h>
89858 #endif
89859
89860 #undef $ac_func
89861
89862 /* Override any gcc2 internal prototype to avoid an error.  */
89863 #ifdef __cplusplus
89864 extern "C"
89865 {
89866 #endif
89867 /* We use char because int might match the return type of a gcc2
89868    builtin and then its argument prototype would still apply.  */
89869 char $ac_func ();
89870 /* The GNU C library defines this for functions which it implements
89871     to always fail with ENOSYS.  Some functions are actually named
89872     something starting with __ and the normal name is an alias.  */
89873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89874 choke me
89875 #else
89876 char (*f) () = $ac_func;
89877 #endif
89878 #ifdef __cplusplus
89879 }
89880 #endif
89881
89882 int
89883 main ()
89884 {
89885 return f != $ac_func;
89886   ;
89887   return 0;
89888 }
89889 _ACEOF
89890 rm -f conftest.$ac_objext conftest$ac_exeext
89891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89892   (eval $ac_link) 2>conftest.er1
89893   ac_status=$?
89894   grep -v '^ *+' conftest.er1 >conftest.err
89895   rm -f conftest.er1
89896   cat conftest.err >&5
89897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89898   (exit $ac_status); } &&
89899          { ac_try='test -z "$ac_c_werror_flag"
89900                          || test ! -s conftest.err'
89901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89902   (eval $ac_try) 2>&5
89903   ac_status=$?
89904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89905   (exit $ac_status); }; } &&
89906          { ac_try='test -s conftest$ac_exeext'
89907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89908   (eval $ac_try) 2>&5
89909   ac_status=$?
89910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89911   (exit $ac_status); }; }; then
89912   eval "$as_ac_var=yes"
89913 else
89914   echo "$as_me: failed program was:" >&5
89915 sed 's/^/| /' conftest.$ac_ext >&5
89916
89917 eval "$as_ac_var=no"
89918 fi
89919 rm -f conftest.err conftest.$ac_objext \
89920       conftest$ac_exeext conftest.$ac_ext
89921 fi
89922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89924 if test `eval echo '${'$as_ac_var'}'` = yes; then
89925   cat >>confdefs.h <<_ACEOF
89926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89927 _ACEOF
89928
89929 fi
89930 done
89931
89932   else
89933
89934   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
89935 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
89936   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
89937     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
89938   echo $ECHO_N "(cached) $ECHO_C" >&6
89939 else
89940
89941
89942
89943       ac_ext=cc
89944 ac_cpp='$CXXCPP $CPPFLAGS'
89945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89948
89949       cat >conftest.$ac_ext <<_ACEOF
89950 /* confdefs.h.  */
89951 _ACEOF
89952 cat confdefs.h >>conftest.$ac_ext
89953 cat >>conftest.$ac_ext <<_ACEOF
89954 /* end confdefs.h.  */
89955 #include <math.h>
89956                       #ifdef HAVE_IEEEFP_H
89957                       #include <ieeefp.h>
89958                       #endif
89959
89960 int
89961 main ()
89962 {
89963  _isnanl(0);
89964   ;
89965   return 0;
89966 }
89967 _ACEOF
89968 rm -f conftest.$ac_objext
89969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89970   (eval $ac_compile) 2>conftest.er1
89971   ac_status=$?
89972   grep -v '^ *+' conftest.er1 >conftest.err
89973   rm -f conftest.er1
89974   cat conftest.err >&5
89975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89976   (exit $ac_status); } &&
89977          { ac_try='test -z "$ac_cxx_werror_flag"
89978                          || test ! -s conftest.err'
89979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89980   (eval $ac_try) 2>&5
89981   ac_status=$?
89982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89983   (exit $ac_status); }; } &&
89984          { ac_try='test -s conftest.$ac_objext'
89985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89986   (eval $ac_try) 2>&5
89987   ac_status=$?
89988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89989   (exit $ac_status); }; }; then
89990   glibcxx_cv_func__isnanl_use=yes
89991 else
89992   echo "$as_me: failed program was:" >&5
89993 sed 's/^/| /' conftest.$ac_ext >&5
89994
89995 glibcxx_cv_func__isnanl_use=no
89996 fi
89997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89998       ac_ext=c
89999 ac_cpp='$CPP $CPPFLAGS'
90000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90003
90004
90005 fi
90006
90007   fi
90008   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
90009 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
90010
90011     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
90012
90013 for ac_func in _isnanl
90014 do
90015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90016 echo "$as_me:$LINENO: checking for $ac_func" >&5
90017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90018 if eval "test \"\${$as_ac_var+set}\" = set"; then
90019   echo $ECHO_N "(cached) $ECHO_C" >&6
90020 else
90021   if test x$gcc_no_link = xyes; then
90022   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90024    { (exit 1); exit 1; }; }
90025 fi
90026 cat >conftest.$ac_ext <<_ACEOF
90027 /* confdefs.h.  */
90028 _ACEOF
90029 cat confdefs.h >>conftest.$ac_ext
90030 cat >>conftest.$ac_ext <<_ACEOF
90031 /* end confdefs.h.  */
90032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90033    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90034 #define $ac_func innocuous_$ac_func
90035
90036 /* System header to define __stub macros and hopefully few prototypes,
90037     which can conflict with char $ac_func (); below.
90038     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90039     <limits.h> exists even on freestanding compilers.  */
90040
90041 #ifdef __STDC__
90042 # include <limits.h>
90043 #else
90044 # include <assert.h>
90045 #endif
90046
90047 #undef $ac_func
90048
90049 /* Override any gcc2 internal prototype to avoid an error.  */
90050 #ifdef __cplusplus
90051 extern "C"
90052 {
90053 #endif
90054 /* We use char because int might match the return type of a gcc2
90055    builtin and then its argument prototype would still apply.  */
90056 char $ac_func ();
90057 /* The GNU C library defines this for functions which it implements
90058     to always fail with ENOSYS.  Some functions are actually named
90059     something starting with __ and the normal name is an alias.  */
90060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90061 choke me
90062 #else
90063 char (*f) () = $ac_func;
90064 #endif
90065 #ifdef __cplusplus
90066 }
90067 #endif
90068
90069 int
90070 main ()
90071 {
90072 return f != $ac_func;
90073   ;
90074   return 0;
90075 }
90076 _ACEOF
90077 rm -f conftest.$ac_objext conftest$ac_exeext
90078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90079   (eval $ac_link) 2>conftest.er1
90080   ac_status=$?
90081   grep -v '^ *+' conftest.er1 >conftest.err
90082   rm -f conftest.er1
90083   cat conftest.err >&5
90084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90085   (exit $ac_status); } &&
90086          { ac_try='test -z "$ac_c_werror_flag"
90087                          || test ! -s conftest.err'
90088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90089   (eval $ac_try) 2>&5
90090   ac_status=$?
90091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90092   (exit $ac_status); }; } &&
90093          { ac_try='test -s conftest$ac_exeext'
90094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90095   (eval $ac_try) 2>&5
90096   ac_status=$?
90097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90098   (exit $ac_status); }; }; then
90099   eval "$as_ac_var=yes"
90100 else
90101   echo "$as_me: failed program was:" >&5
90102 sed 's/^/| /' conftest.$ac_ext >&5
90103
90104 eval "$as_ac_var=no"
90105 fi
90106 rm -f conftest.err conftest.$ac_objext \
90107       conftest$ac_exeext conftest.$ac_ext
90108 fi
90109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90111 if test `eval echo '${'$as_ac_var'}'` = yes; then
90112   cat >>confdefs.h <<_ACEOF
90113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90114 _ACEOF
90115
90116 fi
90117 done
90118
90119     fi
90120   fi
90121
90122
90123
90124
90125
90126
90127   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
90128 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
90129   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
90130     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
90131   echo $ECHO_N "(cached) $ECHO_C" >&6
90132 else
90133
90134
90135
90136       ac_ext=cc
90137 ac_cpp='$CXXCPP $CPPFLAGS'
90138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90141
90142       cat >conftest.$ac_ext <<_ACEOF
90143 /* confdefs.h.  */
90144 _ACEOF
90145 cat confdefs.h >>conftest.$ac_ext
90146 cat >>conftest.$ac_ext <<_ACEOF
90147 /* end confdefs.h.  */
90148 #include <math.h>
90149                       #ifdef HAVE_IEEEFP_H
90150                       #include <ieeefp.h>
90151                       #endif
90152
90153 int
90154 main ()
90155 {
90156  isinfl(0);
90157   ;
90158   return 0;
90159 }
90160 _ACEOF
90161 rm -f conftest.$ac_objext
90162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90163   (eval $ac_compile) 2>conftest.er1
90164   ac_status=$?
90165   grep -v '^ *+' conftest.er1 >conftest.err
90166   rm -f conftest.er1
90167   cat conftest.err >&5
90168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90169   (exit $ac_status); } &&
90170          { ac_try='test -z "$ac_cxx_werror_flag"
90171                          || test ! -s conftest.err'
90172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90173   (eval $ac_try) 2>&5
90174   ac_status=$?
90175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90176   (exit $ac_status); }; } &&
90177          { ac_try='test -s conftest.$ac_objext'
90178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90179   (eval $ac_try) 2>&5
90180   ac_status=$?
90181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90182   (exit $ac_status); }; }; then
90183   glibcxx_cv_func_isinfl_use=yes
90184 else
90185   echo "$as_me: failed program was:" >&5
90186 sed 's/^/| /' conftest.$ac_ext >&5
90187
90188 glibcxx_cv_func_isinfl_use=no
90189 fi
90190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90191       ac_ext=c
90192 ac_cpp='$CPP $CPPFLAGS'
90193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90196
90197
90198 fi
90199
90200   fi
90201   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
90202 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
90203
90204   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
90205
90206 for ac_func in isinfl
90207 do
90208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90209 echo "$as_me:$LINENO: checking for $ac_func" >&5
90210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90211 if eval "test \"\${$as_ac_var+set}\" = set"; then
90212   echo $ECHO_N "(cached) $ECHO_C" >&6
90213 else
90214   if test x$gcc_no_link = xyes; then
90215   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90217    { (exit 1); exit 1; }; }
90218 fi
90219 cat >conftest.$ac_ext <<_ACEOF
90220 /* confdefs.h.  */
90221 _ACEOF
90222 cat confdefs.h >>conftest.$ac_ext
90223 cat >>conftest.$ac_ext <<_ACEOF
90224 /* end confdefs.h.  */
90225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90226    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90227 #define $ac_func innocuous_$ac_func
90228
90229 /* System header to define __stub macros and hopefully few prototypes,
90230     which can conflict with char $ac_func (); below.
90231     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90232     <limits.h> exists even on freestanding compilers.  */
90233
90234 #ifdef __STDC__
90235 # include <limits.h>
90236 #else
90237 # include <assert.h>
90238 #endif
90239
90240 #undef $ac_func
90241
90242 /* Override any gcc2 internal prototype to avoid an error.  */
90243 #ifdef __cplusplus
90244 extern "C"
90245 {
90246 #endif
90247 /* We use char because int might match the return type of a gcc2
90248    builtin and then its argument prototype would still apply.  */
90249 char $ac_func ();
90250 /* The GNU C library defines this for functions which it implements
90251     to always fail with ENOSYS.  Some functions are actually named
90252     something starting with __ and the normal name is an alias.  */
90253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90254 choke me
90255 #else
90256 char (*f) () = $ac_func;
90257 #endif
90258 #ifdef __cplusplus
90259 }
90260 #endif
90261
90262 int
90263 main ()
90264 {
90265 return f != $ac_func;
90266   ;
90267   return 0;
90268 }
90269 _ACEOF
90270 rm -f conftest.$ac_objext conftest$ac_exeext
90271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90272   (eval $ac_link) 2>conftest.er1
90273   ac_status=$?
90274   grep -v '^ *+' conftest.er1 >conftest.err
90275   rm -f conftest.er1
90276   cat conftest.err >&5
90277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90278   (exit $ac_status); } &&
90279          { ac_try='test -z "$ac_c_werror_flag"
90280                          || test ! -s conftest.err'
90281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90282   (eval $ac_try) 2>&5
90283   ac_status=$?
90284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90285   (exit $ac_status); }; } &&
90286          { ac_try='test -s conftest$ac_exeext'
90287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90288   (eval $ac_try) 2>&5
90289   ac_status=$?
90290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90291   (exit $ac_status); }; }; then
90292   eval "$as_ac_var=yes"
90293 else
90294   echo "$as_me: failed program was:" >&5
90295 sed 's/^/| /' conftest.$ac_ext >&5
90296
90297 eval "$as_ac_var=no"
90298 fi
90299 rm -f conftest.err conftest.$ac_objext \
90300       conftest$ac_exeext conftest.$ac_ext
90301 fi
90302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90304 if test `eval echo '${'$as_ac_var'}'` = yes; then
90305   cat >>confdefs.h <<_ACEOF
90306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90307 _ACEOF
90308
90309 fi
90310 done
90311
90312   else
90313
90314   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
90315 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
90316   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
90317     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
90318   echo $ECHO_N "(cached) $ECHO_C" >&6
90319 else
90320
90321
90322
90323       ac_ext=cc
90324 ac_cpp='$CXXCPP $CPPFLAGS'
90325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90328
90329       cat >conftest.$ac_ext <<_ACEOF
90330 /* confdefs.h.  */
90331 _ACEOF
90332 cat confdefs.h >>conftest.$ac_ext
90333 cat >>conftest.$ac_ext <<_ACEOF
90334 /* end confdefs.h.  */
90335 #include <math.h>
90336                       #ifdef HAVE_IEEEFP_H
90337                       #include <ieeefp.h>
90338                       #endif
90339
90340 int
90341 main ()
90342 {
90343  _isinfl(0);
90344   ;
90345   return 0;
90346 }
90347 _ACEOF
90348 rm -f conftest.$ac_objext
90349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90350   (eval $ac_compile) 2>conftest.er1
90351   ac_status=$?
90352   grep -v '^ *+' conftest.er1 >conftest.err
90353   rm -f conftest.er1
90354   cat conftest.err >&5
90355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90356   (exit $ac_status); } &&
90357          { ac_try='test -z "$ac_cxx_werror_flag"
90358                          || test ! -s conftest.err'
90359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90360   (eval $ac_try) 2>&5
90361   ac_status=$?
90362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90363   (exit $ac_status); }; } &&
90364          { ac_try='test -s conftest.$ac_objext'
90365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90366   (eval $ac_try) 2>&5
90367   ac_status=$?
90368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90369   (exit $ac_status); }; }; then
90370   glibcxx_cv_func__isinfl_use=yes
90371 else
90372   echo "$as_me: failed program was:" >&5
90373 sed 's/^/| /' conftest.$ac_ext >&5
90374
90375 glibcxx_cv_func__isinfl_use=no
90376 fi
90377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90378       ac_ext=c
90379 ac_cpp='$CPP $CPPFLAGS'
90380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90383
90384
90385 fi
90386
90387   fi
90388   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
90389 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
90390
90391     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
90392
90393 for ac_func in _isinfl
90394 do
90395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90396 echo "$as_me:$LINENO: checking for $ac_func" >&5
90397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90398 if eval "test \"\${$as_ac_var+set}\" = set"; then
90399   echo $ECHO_N "(cached) $ECHO_C" >&6
90400 else
90401   if test x$gcc_no_link = xyes; then
90402   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90404    { (exit 1); exit 1; }; }
90405 fi
90406 cat >conftest.$ac_ext <<_ACEOF
90407 /* confdefs.h.  */
90408 _ACEOF
90409 cat confdefs.h >>conftest.$ac_ext
90410 cat >>conftest.$ac_ext <<_ACEOF
90411 /* end confdefs.h.  */
90412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90413    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90414 #define $ac_func innocuous_$ac_func
90415
90416 /* System header to define __stub macros and hopefully few prototypes,
90417     which can conflict with char $ac_func (); below.
90418     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90419     <limits.h> exists even on freestanding compilers.  */
90420
90421 #ifdef __STDC__
90422 # include <limits.h>
90423 #else
90424 # include <assert.h>
90425 #endif
90426
90427 #undef $ac_func
90428
90429 /* Override any gcc2 internal prototype to avoid an error.  */
90430 #ifdef __cplusplus
90431 extern "C"
90432 {
90433 #endif
90434 /* We use char because int might match the return type of a gcc2
90435    builtin and then its argument prototype would still apply.  */
90436 char $ac_func ();
90437 /* The GNU C library defines this for functions which it implements
90438     to always fail with ENOSYS.  Some functions are actually named
90439     something starting with __ and the normal name is an alias.  */
90440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90441 choke me
90442 #else
90443 char (*f) () = $ac_func;
90444 #endif
90445 #ifdef __cplusplus
90446 }
90447 #endif
90448
90449 int
90450 main ()
90451 {
90452 return f != $ac_func;
90453   ;
90454   return 0;
90455 }
90456 _ACEOF
90457 rm -f conftest.$ac_objext conftest$ac_exeext
90458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90459   (eval $ac_link) 2>conftest.er1
90460   ac_status=$?
90461   grep -v '^ *+' conftest.er1 >conftest.err
90462   rm -f conftest.er1
90463   cat conftest.err >&5
90464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90465   (exit $ac_status); } &&
90466          { ac_try='test -z "$ac_c_werror_flag"
90467                          || test ! -s conftest.err'
90468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90469   (eval $ac_try) 2>&5
90470   ac_status=$?
90471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90472   (exit $ac_status); }; } &&
90473          { ac_try='test -s conftest$ac_exeext'
90474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90475   (eval $ac_try) 2>&5
90476   ac_status=$?
90477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90478   (exit $ac_status); }; }; then
90479   eval "$as_ac_var=yes"
90480 else
90481   echo "$as_me: failed program was:" >&5
90482 sed 's/^/| /' conftest.$ac_ext >&5
90483
90484 eval "$as_ac_var=no"
90485 fi
90486 rm -f conftest.err conftest.$ac_objext \
90487       conftest$ac_exeext conftest.$ac_ext
90488 fi
90489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90491 if test `eval echo '${'$as_ac_var'}'` = yes; then
90492   cat >>confdefs.h <<_ACEOF
90493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90494 _ACEOF
90495
90496 fi
90497 done
90498
90499     fi
90500   fi
90501
90502
90503
90504
90505
90506
90507   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
90508 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
90509   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
90510     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
90511   echo $ECHO_N "(cached) $ECHO_C" >&6
90512 else
90513
90514
90515
90516       ac_ext=cc
90517 ac_cpp='$CXXCPP $CPPFLAGS'
90518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90521
90522       cat >conftest.$ac_ext <<_ACEOF
90523 /* confdefs.h.  */
90524 _ACEOF
90525 cat confdefs.h >>conftest.$ac_ext
90526 cat >>conftest.$ac_ext <<_ACEOF
90527 /* end confdefs.h.  */
90528 #include <math.h>
90529 int
90530 main ()
90531 {
90532  copysignl(0, 0);
90533   ;
90534   return 0;
90535 }
90536 _ACEOF
90537 rm -f conftest.$ac_objext
90538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90539   (eval $ac_compile) 2>conftest.er1
90540   ac_status=$?
90541   grep -v '^ *+' conftest.er1 >conftest.err
90542   rm -f conftest.er1
90543   cat conftest.err >&5
90544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90545   (exit $ac_status); } &&
90546          { ac_try='test -z "$ac_cxx_werror_flag"
90547                          || test ! -s conftest.err'
90548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90549   (eval $ac_try) 2>&5
90550   ac_status=$?
90551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90552   (exit $ac_status); }; } &&
90553          { ac_try='test -s conftest.$ac_objext'
90554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90555   (eval $ac_try) 2>&5
90556   ac_status=$?
90557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90558   (exit $ac_status); }; }; then
90559   glibcxx_cv_func_copysignl_use=yes
90560 else
90561   echo "$as_me: failed program was:" >&5
90562 sed 's/^/| /' conftest.$ac_ext >&5
90563
90564 glibcxx_cv_func_copysignl_use=no
90565 fi
90566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90567       ac_ext=c
90568 ac_cpp='$CPP $CPPFLAGS'
90569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90572
90573
90574 fi
90575
90576   fi
90577   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
90578 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
90579
90580   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
90581
90582 for ac_func in copysignl
90583 do
90584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90585 echo "$as_me:$LINENO: checking for $ac_func" >&5
90586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90587 if eval "test \"\${$as_ac_var+set}\" = set"; then
90588   echo $ECHO_N "(cached) $ECHO_C" >&6
90589 else
90590   if test x$gcc_no_link = xyes; then
90591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90593    { (exit 1); exit 1; }; }
90594 fi
90595 cat >conftest.$ac_ext <<_ACEOF
90596 /* confdefs.h.  */
90597 _ACEOF
90598 cat confdefs.h >>conftest.$ac_ext
90599 cat >>conftest.$ac_ext <<_ACEOF
90600 /* end confdefs.h.  */
90601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90602    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90603 #define $ac_func innocuous_$ac_func
90604
90605 /* System header to define __stub macros and hopefully few prototypes,
90606     which can conflict with char $ac_func (); below.
90607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90608     <limits.h> exists even on freestanding compilers.  */
90609
90610 #ifdef __STDC__
90611 # include <limits.h>
90612 #else
90613 # include <assert.h>
90614 #endif
90615
90616 #undef $ac_func
90617
90618 /* Override any gcc2 internal prototype to avoid an error.  */
90619 #ifdef __cplusplus
90620 extern "C"
90621 {
90622 #endif
90623 /* We use char because int might match the return type of a gcc2
90624    builtin and then its argument prototype would still apply.  */
90625 char $ac_func ();
90626 /* The GNU C library defines this for functions which it implements
90627     to always fail with ENOSYS.  Some functions are actually named
90628     something starting with __ and the normal name is an alias.  */
90629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90630 choke me
90631 #else
90632 char (*f) () = $ac_func;
90633 #endif
90634 #ifdef __cplusplus
90635 }
90636 #endif
90637
90638 int
90639 main ()
90640 {
90641 return f != $ac_func;
90642   ;
90643   return 0;
90644 }
90645 _ACEOF
90646 rm -f conftest.$ac_objext conftest$ac_exeext
90647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90648   (eval $ac_link) 2>conftest.er1
90649   ac_status=$?
90650   grep -v '^ *+' conftest.er1 >conftest.err
90651   rm -f conftest.er1
90652   cat conftest.err >&5
90653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90654   (exit $ac_status); } &&
90655          { ac_try='test -z "$ac_c_werror_flag"
90656                          || test ! -s conftest.err'
90657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90658   (eval $ac_try) 2>&5
90659   ac_status=$?
90660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90661   (exit $ac_status); }; } &&
90662          { ac_try='test -s conftest$ac_exeext'
90663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90664   (eval $ac_try) 2>&5
90665   ac_status=$?
90666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90667   (exit $ac_status); }; }; then
90668   eval "$as_ac_var=yes"
90669 else
90670   echo "$as_me: failed program was:" >&5
90671 sed 's/^/| /' conftest.$ac_ext >&5
90672
90673 eval "$as_ac_var=no"
90674 fi
90675 rm -f conftest.err conftest.$ac_objext \
90676       conftest$ac_exeext conftest.$ac_ext
90677 fi
90678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90680 if test `eval echo '${'$as_ac_var'}'` = yes; then
90681   cat >>confdefs.h <<_ACEOF
90682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90683 _ACEOF
90684
90685 fi
90686 done
90687
90688   else
90689
90690   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
90691 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
90692   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
90693     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
90694   echo $ECHO_N "(cached) $ECHO_C" >&6
90695 else
90696
90697
90698
90699       ac_ext=cc
90700 ac_cpp='$CXXCPP $CPPFLAGS'
90701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90704
90705       cat >conftest.$ac_ext <<_ACEOF
90706 /* confdefs.h.  */
90707 _ACEOF
90708 cat confdefs.h >>conftest.$ac_ext
90709 cat >>conftest.$ac_ext <<_ACEOF
90710 /* end confdefs.h.  */
90711 #include <math.h>
90712 int
90713 main ()
90714 {
90715  _copysignl(0, 0);
90716   ;
90717   return 0;
90718 }
90719 _ACEOF
90720 rm -f conftest.$ac_objext
90721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90722   (eval $ac_compile) 2>conftest.er1
90723   ac_status=$?
90724   grep -v '^ *+' conftest.er1 >conftest.err
90725   rm -f conftest.er1
90726   cat conftest.err >&5
90727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90728   (exit $ac_status); } &&
90729          { ac_try='test -z "$ac_cxx_werror_flag"
90730                          || test ! -s conftest.err'
90731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90732   (eval $ac_try) 2>&5
90733   ac_status=$?
90734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90735   (exit $ac_status); }; } &&
90736          { ac_try='test -s conftest.$ac_objext'
90737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90738   (eval $ac_try) 2>&5
90739   ac_status=$?
90740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90741   (exit $ac_status); }; }; then
90742   glibcxx_cv_func__copysignl_use=yes
90743 else
90744   echo "$as_me: failed program was:" >&5
90745 sed 's/^/| /' conftest.$ac_ext >&5
90746
90747 glibcxx_cv_func__copysignl_use=no
90748 fi
90749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90750       ac_ext=c
90751 ac_cpp='$CPP $CPPFLAGS'
90752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90755
90756
90757 fi
90758
90759   fi
90760   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
90761 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
90762
90763     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
90764
90765 for ac_func in _copysignl
90766 do
90767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90768 echo "$as_me:$LINENO: checking for $ac_func" >&5
90769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90770 if eval "test \"\${$as_ac_var+set}\" = set"; then
90771   echo $ECHO_N "(cached) $ECHO_C" >&6
90772 else
90773   if test x$gcc_no_link = xyes; then
90774   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90776    { (exit 1); exit 1; }; }
90777 fi
90778 cat >conftest.$ac_ext <<_ACEOF
90779 /* confdefs.h.  */
90780 _ACEOF
90781 cat confdefs.h >>conftest.$ac_ext
90782 cat >>conftest.$ac_ext <<_ACEOF
90783 /* end confdefs.h.  */
90784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90785    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90786 #define $ac_func innocuous_$ac_func
90787
90788 /* System header to define __stub macros and hopefully few prototypes,
90789     which can conflict with char $ac_func (); below.
90790     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90791     <limits.h> exists even on freestanding compilers.  */
90792
90793 #ifdef __STDC__
90794 # include <limits.h>
90795 #else
90796 # include <assert.h>
90797 #endif
90798
90799 #undef $ac_func
90800
90801 /* Override any gcc2 internal prototype to avoid an error.  */
90802 #ifdef __cplusplus
90803 extern "C"
90804 {
90805 #endif
90806 /* We use char because int might match the return type of a gcc2
90807    builtin and then its argument prototype would still apply.  */
90808 char $ac_func ();
90809 /* The GNU C library defines this for functions which it implements
90810     to always fail with ENOSYS.  Some functions are actually named
90811     something starting with __ and the normal name is an alias.  */
90812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90813 choke me
90814 #else
90815 char (*f) () = $ac_func;
90816 #endif
90817 #ifdef __cplusplus
90818 }
90819 #endif
90820
90821 int
90822 main ()
90823 {
90824 return f != $ac_func;
90825   ;
90826   return 0;
90827 }
90828 _ACEOF
90829 rm -f conftest.$ac_objext conftest$ac_exeext
90830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90831   (eval $ac_link) 2>conftest.er1
90832   ac_status=$?
90833   grep -v '^ *+' conftest.er1 >conftest.err
90834   rm -f conftest.er1
90835   cat conftest.err >&5
90836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90837   (exit $ac_status); } &&
90838          { ac_try='test -z "$ac_c_werror_flag"
90839                          || test ! -s conftest.err'
90840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90841   (eval $ac_try) 2>&5
90842   ac_status=$?
90843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90844   (exit $ac_status); }; } &&
90845          { ac_try='test -s conftest$ac_exeext'
90846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90847   (eval $ac_try) 2>&5
90848   ac_status=$?
90849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90850   (exit $ac_status); }; }; then
90851   eval "$as_ac_var=yes"
90852 else
90853   echo "$as_me: failed program was:" >&5
90854 sed 's/^/| /' conftest.$ac_ext >&5
90855
90856 eval "$as_ac_var=no"
90857 fi
90858 rm -f conftest.err conftest.$ac_objext \
90859       conftest$ac_exeext conftest.$ac_ext
90860 fi
90861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90863 if test `eval echo '${'$as_ac_var'}'` = yes; then
90864   cat >>confdefs.h <<_ACEOF
90865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90866 _ACEOF
90867
90868 fi
90869 done
90870
90871     fi
90872   fi
90873
90874
90875
90876
90877
90878
90879   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
90880 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
90881   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
90882     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
90883   echo $ECHO_N "(cached) $ECHO_C" >&6
90884 else
90885
90886
90887
90888       ac_ext=cc
90889 ac_cpp='$CXXCPP $CPPFLAGS'
90890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90893
90894       cat >conftest.$ac_ext <<_ACEOF
90895 /* confdefs.h.  */
90896 _ACEOF
90897 cat confdefs.h >>conftest.$ac_ext
90898 cat >>conftest.$ac_ext <<_ACEOF
90899 /* end confdefs.h.  */
90900 #include <math.h>
90901 int
90902 main ()
90903 {
90904  atan2l(0, 0);
90905   ;
90906   return 0;
90907 }
90908 _ACEOF
90909 rm -f conftest.$ac_objext
90910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90911   (eval $ac_compile) 2>conftest.er1
90912   ac_status=$?
90913   grep -v '^ *+' conftest.er1 >conftest.err
90914   rm -f conftest.er1
90915   cat conftest.err >&5
90916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90917   (exit $ac_status); } &&
90918          { ac_try='test -z "$ac_cxx_werror_flag"
90919                          || test ! -s conftest.err'
90920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90921   (eval $ac_try) 2>&5
90922   ac_status=$?
90923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90924   (exit $ac_status); }; } &&
90925          { ac_try='test -s conftest.$ac_objext'
90926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90927   (eval $ac_try) 2>&5
90928   ac_status=$?
90929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90930   (exit $ac_status); }; }; then
90931   glibcxx_cv_func_atan2l_use=yes
90932 else
90933   echo "$as_me: failed program was:" >&5
90934 sed 's/^/| /' conftest.$ac_ext >&5
90935
90936 glibcxx_cv_func_atan2l_use=no
90937 fi
90938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90939       ac_ext=c
90940 ac_cpp='$CPP $CPPFLAGS'
90941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90944
90945
90946 fi
90947
90948   fi
90949   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
90950 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
90951
90952   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
90953
90954 for ac_func in atan2l
90955 do
90956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90957 echo "$as_me:$LINENO: checking for $ac_func" >&5
90958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90959 if eval "test \"\${$as_ac_var+set}\" = set"; then
90960   echo $ECHO_N "(cached) $ECHO_C" >&6
90961 else
90962   if test x$gcc_no_link = xyes; then
90963   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90965    { (exit 1); exit 1; }; }
90966 fi
90967 cat >conftest.$ac_ext <<_ACEOF
90968 /* confdefs.h.  */
90969 _ACEOF
90970 cat confdefs.h >>conftest.$ac_ext
90971 cat >>conftest.$ac_ext <<_ACEOF
90972 /* end confdefs.h.  */
90973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90974    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90975 #define $ac_func innocuous_$ac_func
90976
90977 /* System header to define __stub macros and hopefully few prototypes,
90978     which can conflict with char $ac_func (); below.
90979     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90980     <limits.h> exists even on freestanding compilers.  */
90981
90982 #ifdef __STDC__
90983 # include <limits.h>
90984 #else
90985 # include <assert.h>
90986 #endif
90987
90988 #undef $ac_func
90989
90990 /* Override any gcc2 internal prototype to avoid an error.  */
90991 #ifdef __cplusplus
90992 extern "C"
90993 {
90994 #endif
90995 /* We use char because int might match the return type of a gcc2
90996    builtin and then its argument prototype would still apply.  */
90997 char $ac_func ();
90998 /* The GNU C library defines this for functions which it implements
90999     to always fail with ENOSYS.  Some functions are actually named
91000     something starting with __ and the normal name is an alias.  */
91001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91002 choke me
91003 #else
91004 char (*f) () = $ac_func;
91005 #endif
91006 #ifdef __cplusplus
91007 }
91008 #endif
91009
91010 int
91011 main ()
91012 {
91013 return f != $ac_func;
91014   ;
91015   return 0;
91016 }
91017 _ACEOF
91018 rm -f conftest.$ac_objext conftest$ac_exeext
91019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91020   (eval $ac_link) 2>conftest.er1
91021   ac_status=$?
91022   grep -v '^ *+' conftest.er1 >conftest.err
91023   rm -f conftest.er1
91024   cat conftest.err >&5
91025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91026   (exit $ac_status); } &&
91027          { ac_try='test -z "$ac_c_werror_flag"
91028                          || test ! -s conftest.err'
91029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91030   (eval $ac_try) 2>&5
91031   ac_status=$?
91032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91033   (exit $ac_status); }; } &&
91034          { ac_try='test -s conftest$ac_exeext'
91035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91036   (eval $ac_try) 2>&5
91037   ac_status=$?
91038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91039   (exit $ac_status); }; }; then
91040   eval "$as_ac_var=yes"
91041 else
91042   echo "$as_me: failed program was:" >&5
91043 sed 's/^/| /' conftest.$ac_ext >&5
91044
91045 eval "$as_ac_var=no"
91046 fi
91047 rm -f conftest.err conftest.$ac_objext \
91048       conftest$ac_exeext conftest.$ac_ext
91049 fi
91050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91052 if test `eval echo '${'$as_ac_var'}'` = yes; then
91053   cat >>confdefs.h <<_ACEOF
91054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91055 _ACEOF
91056
91057 fi
91058 done
91059
91060   else
91061
91062   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
91063 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
91064   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
91065     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
91066   echo $ECHO_N "(cached) $ECHO_C" >&6
91067 else
91068
91069
91070
91071       ac_ext=cc
91072 ac_cpp='$CXXCPP $CPPFLAGS'
91073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91076
91077       cat >conftest.$ac_ext <<_ACEOF
91078 /* confdefs.h.  */
91079 _ACEOF
91080 cat confdefs.h >>conftest.$ac_ext
91081 cat >>conftest.$ac_ext <<_ACEOF
91082 /* end confdefs.h.  */
91083 #include <math.h>
91084 int
91085 main ()
91086 {
91087  _atan2l(0, 0);
91088   ;
91089   return 0;
91090 }
91091 _ACEOF
91092 rm -f conftest.$ac_objext
91093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91094   (eval $ac_compile) 2>conftest.er1
91095   ac_status=$?
91096   grep -v '^ *+' conftest.er1 >conftest.err
91097   rm -f conftest.er1
91098   cat conftest.err >&5
91099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91100   (exit $ac_status); } &&
91101          { ac_try='test -z "$ac_cxx_werror_flag"
91102                          || test ! -s conftest.err'
91103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91104   (eval $ac_try) 2>&5
91105   ac_status=$?
91106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91107   (exit $ac_status); }; } &&
91108          { ac_try='test -s conftest.$ac_objext'
91109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91110   (eval $ac_try) 2>&5
91111   ac_status=$?
91112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91113   (exit $ac_status); }; }; then
91114   glibcxx_cv_func__atan2l_use=yes
91115 else
91116   echo "$as_me: failed program was:" >&5
91117 sed 's/^/| /' conftest.$ac_ext >&5
91118
91119 glibcxx_cv_func__atan2l_use=no
91120 fi
91121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91122       ac_ext=c
91123 ac_cpp='$CPP $CPPFLAGS'
91124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91127
91128
91129 fi
91130
91131   fi
91132   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
91133 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
91134
91135     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
91136
91137 for ac_func in _atan2l
91138 do
91139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91140 echo "$as_me:$LINENO: checking for $ac_func" >&5
91141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91142 if eval "test \"\${$as_ac_var+set}\" = set"; then
91143   echo $ECHO_N "(cached) $ECHO_C" >&6
91144 else
91145   if test x$gcc_no_link = xyes; then
91146   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91148    { (exit 1); exit 1; }; }
91149 fi
91150 cat >conftest.$ac_ext <<_ACEOF
91151 /* confdefs.h.  */
91152 _ACEOF
91153 cat confdefs.h >>conftest.$ac_ext
91154 cat >>conftest.$ac_ext <<_ACEOF
91155 /* end confdefs.h.  */
91156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91157    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91158 #define $ac_func innocuous_$ac_func
91159
91160 /* System header to define __stub macros and hopefully few prototypes,
91161     which can conflict with char $ac_func (); below.
91162     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91163     <limits.h> exists even on freestanding compilers.  */
91164
91165 #ifdef __STDC__
91166 # include <limits.h>
91167 #else
91168 # include <assert.h>
91169 #endif
91170
91171 #undef $ac_func
91172
91173 /* Override any gcc2 internal prototype to avoid an error.  */
91174 #ifdef __cplusplus
91175 extern "C"
91176 {
91177 #endif
91178 /* We use char because int might match the return type of a gcc2
91179    builtin and then its argument prototype would still apply.  */
91180 char $ac_func ();
91181 /* The GNU C library defines this for functions which it implements
91182     to always fail with ENOSYS.  Some functions are actually named
91183     something starting with __ and the normal name is an alias.  */
91184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91185 choke me
91186 #else
91187 char (*f) () = $ac_func;
91188 #endif
91189 #ifdef __cplusplus
91190 }
91191 #endif
91192
91193 int
91194 main ()
91195 {
91196 return f != $ac_func;
91197   ;
91198   return 0;
91199 }
91200 _ACEOF
91201 rm -f conftest.$ac_objext conftest$ac_exeext
91202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91203   (eval $ac_link) 2>conftest.er1
91204   ac_status=$?
91205   grep -v '^ *+' conftest.er1 >conftest.err
91206   rm -f conftest.er1
91207   cat conftest.err >&5
91208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91209   (exit $ac_status); } &&
91210          { ac_try='test -z "$ac_c_werror_flag"
91211                          || test ! -s conftest.err'
91212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91213   (eval $ac_try) 2>&5
91214   ac_status=$?
91215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91216   (exit $ac_status); }; } &&
91217          { ac_try='test -s conftest$ac_exeext'
91218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91219   (eval $ac_try) 2>&5
91220   ac_status=$?
91221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91222   (exit $ac_status); }; }; then
91223   eval "$as_ac_var=yes"
91224 else
91225   echo "$as_me: failed program was:" >&5
91226 sed 's/^/| /' conftest.$ac_ext >&5
91227
91228 eval "$as_ac_var=no"
91229 fi
91230 rm -f conftest.err conftest.$ac_objext \
91231       conftest$ac_exeext conftest.$ac_ext
91232 fi
91233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91235 if test `eval echo '${'$as_ac_var'}'` = yes; then
91236   cat >>confdefs.h <<_ACEOF
91237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91238 _ACEOF
91239
91240 fi
91241 done
91242
91243     fi
91244   fi
91245
91246
91247
91248
91249
91250
91251   echo "$as_me:$LINENO: checking for expl declaration" >&5
91252 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
91253   if test x${glibcxx_cv_func_expl_use+set} != xset; then
91254     if test "${glibcxx_cv_func_expl_use+set}" = set; then
91255   echo $ECHO_N "(cached) $ECHO_C" >&6
91256 else
91257
91258
91259
91260       ac_ext=cc
91261 ac_cpp='$CXXCPP $CPPFLAGS'
91262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91265
91266       cat >conftest.$ac_ext <<_ACEOF
91267 /* confdefs.h.  */
91268 _ACEOF
91269 cat confdefs.h >>conftest.$ac_ext
91270 cat >>conftest.$ac_ext <<_ACEOF
91271 /* end confdefs.h.  */
91272 #include <math.h>
91273                       #ifdef HAVE_IEEEFP_H
91274                       #include <ieeefp.h>
91275                       #endif
91276
91277 int
91278 main ()
91279 {
91280  expl(0);
91281   ;
91282   return 0;
91283 }
91284 _ACEOF
91285 rm -f conftest.$ac_objext
91286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91287   (eval $ac_compile) 2>conftest.er1
91288   ac_status=$?
91289   grep -v '^ *+' conftest.er1 >conftest.err
91290   rm -f conftest.er1
91291   cat conftest.err >&5
91292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91293   (exit $ac_status); } &&
91294          { ac_try='test -z "$ac_cxx_werror_flag"
91295                          || test ! -s conftest.err'
91296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91297   (eval $ac_try) 2>&5
91298   ac_status=$?
91299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91300   (exit $ac_status); }; } &&
91301          { ac_try='test -s conftest.$ac_objext'
91302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91303   (eval $ac_try) 2>&5
91304   ac_status=$?
91305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91306   (exit $ac_status); }; }; then
91307   glibcxx_cv_func_expl_use=yes
91308 else
91309   echo "$as_me: failed program was:" >&5
91310 sed 's/^/| /' conftest.$ac_ext >&5
91311
91312 glibcxx_cv_func_expl_use=no
91313 fi
91314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91315       ac_ext=c
91316 ac_cpp='$CPP $CPPFLAGS'
91317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91320
91321
91322 fi
91323
91324   fi
91325   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
91326 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
91327
91328   if test x$glibcxx_cv_func_expl_use = x"yes"; then
91329
91330 for ac_func in expl
91331 do
91332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91333 echo "$as_me:$LINENO: checking for $ac_func" >&5
91334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91335 if eval "test \"\${$as_ac_var+set}\" = set"; then
91336   echo $ECHO_N "(cached) $ECHO_C" >&6
91337 else
91338   if test x$gcc_no_link = xyes; then
91339   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91341    { (exit 1); exit 1; }; }
91342 fi
91343 cat >conftest.$ac_ext <<_ACEOF
91344 /* confdefs.h.  */
91345 _ACEOF
91346 cat confdefs.h >>conftest.$ac_ext
91347 cat >>conftest.$ac_ext <<_ACEOF
91348 /* end confdefs.h.  */
91349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91350    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91351 #define $ac_func innocuous_$ac_func
91352
91353 /* System header to define __stub macros and hopefully few prototypes,
91354     which can conflict with char $ac_func (); below.
91355     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91356     <limits.h> exists even on freestanding compilers.  */
91357
91358 #ifdef __STDC__
91359 # include <limits.h>
91360 #else
91361 # include <assert.h>
91362 #endif
91363
91364 #undef $ac_func
91365
91366 /* Override any gcc2 internal prototype to avoid an error.  */
91367 #ifdef __cplusplus
91368 extern "C"
91369 {
91370 #endif
91371 /* We use char because int might match the return type of a gcc2
91372    builtin and then its argument prototype would still apply.  */
91373 char $ac_func ();
91374 /* The GNU C library defines this for functions which it implements
91375     to always fail with ENOSYS.  Some functions are actually named
91376     something starting with __ and the normal name is an alias.  */
91377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91378 choke me
91379 #else
91380 char (*f) () = $ac_func;
91381 #endif
91382 #ifdef __cplusplus
91383 }
91384 #endif
91385
91386 int
91387 main ()
91388 {
91389 return f != $ac_func;
91390   ;
91391   return 0;
91392 }
91393 _ACEOF
91394 rm -f conftest.$ac_objext conftest$ac_exeext
91395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91396   (eval $ac_link) 2>conftest.er1
91397   ac_status=$?
91398   grep -v '^ *+' conftest.er1 >conftest.err
91399   rm -f conftest.er1
91400   cat conftest.err >&5
91401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91402   (exit $ac_status); } &&
91403          { ac_try='test -z "$ac_c_werror_flag"
91404                          || test ! -s conftest.err'
91405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91406   (eval $ac_try) 2>&5
91407   ac_status=$?
91408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91409   (exit $ac_status); }; } &&
91410          { ac_try='test -s conftest$ac_exeext'
91411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91412   (eval $ac_try) 2>&5
91413   ac_status=$?
91414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91415   (exit $ac_status); }; }; then
91416   eval "$as_ac_var=yes"
91417 else
91418   echo "$as_me: failed program was:" >&5
91419 sed 's/^/| /' conftest.$ac_ext >&5
91420
91421 eval "$as_ac_var=no"
91422 fi
91423 rm -f conftest.err conftest.$ac_objext \
91424       conftest$ac_exeext conftest.$ac_ext
91425 fi
91426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91428 if test `eval echo '${'$as_ac_var'}'` = yes; then
91429   cat >>confdefs.h <<_ACEOF
91430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91431 _ACEOF
91432
91433 fi
91434 done
91435
91436   else
91437
91438   echo "$as_me:$LINENO: checking for _expl declaration" >&5
91439 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
91440   if test x${glibcxx_cv_func__expl_use+set} != xset; then
91441     if test "${glibcxx_cv_func__expl_use+set}" = set; then
91442   echo $ECHO_N "(cached) $ECHO_C" >&6
91443 else
91444
91445
91446
91447       ac_ext=cc
91448 ac_cpp='$CXXCPP $CPPFLAGS'
91449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91452
91453       cat >conftest.$ac_ext <<_ACEOF
91454 /* confdefs.h.  */
91455 _ACEOF
91456 cat confdefs.h >>conftest.$ac_ext
91457 cat >>conftest.$ac_ext <<_ACEOF
91458 /* end confdefs.h.  */
91459 #include <math.h>
91460                       #ifdef HAVE_IEEEFP_H
91461                       #include <ieeefp.h>
91462                       #endif
91463
91464 int
91465 main ()
91466 {
91467  _expl(0);
91468   ;
91469   return 0;
91470 }
91471 _ACEOF
91472 rm -f conftest.$ac_objext
91473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91474   (eval $ac_compile) 2>conftest.er1
91475   ac_status=$?
91476   grep -v '^ *+' conftest.er1 >conftest.err
91477   rm -f conftest.er1
91478   cat conftest.err >&5
91479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91480   (exit $ac_status); } &&
91481          { ac_try='test -z "$ac_cxx_werror_flag"
91482                          || test ! -s conftest.err'
91483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91484   (eval $ac_try) 2>&5
91485   ac_status=$?
91486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91487   (exit $ac_status); }; } &&
91488          { ac_try='test -s conftest.$ac_objext'
91489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91490   (eval $ac_try) 2>&5
91491   ac_status=$?
91492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91493   (exit $ac_status); }; }; then
91494   glibcxx_cv_func__expl_use=yes
91495 else
91496   echo "$as_me: failed program was:" >&5
91497 sed 's/^/| /' conftest.$ac_ext >&5
91498
91499 glibcxx_cv_func__expl_use=no
91500 fi
91501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91502       ac_ext=c
91503 ac_cpp='$CPP $CPPFLAGS'
91504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91507
91508
91509 fi
91510
91511   fi
91512   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
91513 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
91514
91515     if test x$glibcxx_cv_func__expl_use = x"yes"; then
91516
91517 for ac_func in _expl
91518 do
91519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91520 echo "$as_me:$LINENO: checking for $ac_func" >&5
91521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91522 if eval "test \"\${$as_ac_var+set}\" = set"; then
91523   echo $ECHO_N "(cached) $ECHO_C" >&6
91524 else
91525   if test x$gcc_no_link = xyes; then
91526   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91528    { (exit 1); exit 1; }; }
91529 fi
91530 cat >conftest.$ac_ext <<_ACEOF
91531 /* confdefs.h.  */
91532 _ACEOF
91533 cat confdefs.h >>conftest.$ac_ext
91534 cat >>conftest.$ac_ext <<_ACEOF
91535 /* end confdefs.h.  */
91536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91537    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91538 #define $ac_func innocuous_$ac_func
91539
91540 /* System header to define __stub macros and hopefully few prototypes,
91541     which can conflict with char $ac_func (); below.
91542     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91543     <limits.h> exists even on freestanding compilers.  */
91544
91545 #ifdef __STDC__
91546 # include <limits.h>
91547 #else
91548 # include <assert.h>
91549 #endif
91550
91551 #undef $ac_func
91552
91553 /* Override any gcc2 internal prototype to avoid an error.  */
91554 #ifdef __cplusplus
91555 extern "C"
91556 {
91557 #endif
91558 /* We use char because int might match the return type of a gcc2
91559    builtin and then its argument prototype would still apply.  */
91560 char $ac_func ();
91561 /* The GNU C library defines this for functions which it implements
91562     to always fail with ENOSYS.  Some functions are actually named
91563     something starting with __ and the normal name is an alias.  */
91564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91565 choke me
91566 #else
91567 char (*f) () = $ac_func;
91568 #endif
91569 #ifdef __cplusplus
91570 }
91571 #endif
91572
91573 int
91574 main ()
91575 {
91576 return f != $ac_func;
91577   ;
91578   return 0;
91579 }
91580 _ACEOF
91581 rm -f conftest.$ac_objext conftest$ac_exeext
91582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91583   (eval $ac_link) 2>conftest.er1
91584   ac_status=$?
91585   grep -v '^ *+' conftest.er1 >conftest.err
91586   rm -f conftest.er1
91587   cat conftest.err >&5
91588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91589   (exit $ac_status); } &&
91590          { ac_try='test -z "$ac_c_werror_flag"
91591                          || test ! -s conftest.err'
91592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91593   (eval $ac_try) 2>&5
91594   ac_status=$?
91595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91596   (exit $ac_status); }; } &&
91597          { ac_try='test -s conftest$ac_exeext'
91598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91599   (eval $ac_try) 2>&5
91600   ac_status=$?
91601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91602   (exit $ac_status); }; }; then
91603   eval "$as_ac_var=yes"
91604 else
91605   echo "$as_me: failed program was:" >&5
91606 sed 's/^/| /' conftest.$ac_ext >&5
91607
91608 eval "$as_ac_var=no"
91609 fi
91610 rm -f conftest.err conftest.$ac_objext \
91611       conftest$ac_exeext conftest.$ac_ext
91612 fi
91613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91615 if test `eval echo '${'$as_ac_var'}'` = yes; then
91616   cat >>confdefs.h <<_ACEOF
91617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91618 _ACEOF
91619
91620 fi
91621 done
91622
91623     fi
91624   fi
91625
91626
91627
91628
91629
91630
91631   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
91632 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
91633   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
91634     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
91635   echo $ECHO_N "(cached) $ECHO_C" >&6
91636 else
91637
91638
91639
91640       ac_ext=cc
91641 ac_cpp='$CXXCPP $CPPFLAGS'
91642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91645
91646       cat >conftest.$ac_ext <<_ACEOF
91647 /* confdefs.h.  */
91648 _ACEOF
91649 cat confdefs.h >>conftest.$ac_ext
91650 cat >>conftest.$ac_ext <<_ACEOF
91651 /* end confdefs.h.  */
91652 #include <math.h>
91653                       #ifdef HAVE_IEEEFP_H
91654                       #include <ieeefp.h>
91655                       #endif
91656
91657 int
91658 main ()
91659 {
91660  fabsl(0);
91661   ;
91662   return 0;
91663 }
91664 _ACEOF
91665 rm -f conftest.$ac_objext
91666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91667   (eval $ac_compile) 2>conftest.er1
91668   ac_status=$?
91669   grep -v '^ *+' conftest.er1 >conftest.err
91670   rm -f conftest.er1
91671   cat conftest.err >&5
91672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91673   (exit $ac_status); } &&
91674          { ac_try='test -z "$ac_cxx_werror_flag"
91675                          || test ! -s conftest.err'
91676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91677   (eval $ac_try) 2>&5
91678   ac_status=$?
91679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91680   (exit $ac_status); }; } &&
91681          { ac_try='test -s conftest.$ac_objext'
91682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91683   (eval $ac_try) 2>&5
91684   ac_status=$?
91685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91686   (exit $ac_status); }; }; then
91687   glibcxx_cv_func_fabsl_use=yes
91688 else
91689   echo "$as_me: failed program was:" >&5
91690 sed 's/^/| /' conftest.$ac_ext >&5
91691
91692 glibcxx_cv_func_fabsl_use=no
91693 fi
91694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91695       ac_ext=c
91696 ac_cpp='$CPP $CPPFLAGS'
91697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91700
91701
91702 fi
91703
91704   fi
91705   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
91706 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
91707
91708   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
91709
91710 for ac_func in fabsl
91711 do
91712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91713 echo "$as_me:$LINENO: checking for $ac_func" >&5
91714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91715 if eval "test \"\${$as_ac_var+set}\" = set"; then
91716   echo $ECHO_N "(cached) $ECHO_C" >&6
91717 else
91718   if test x$gcc_no_link = xyes; then
91719   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91721    { (exit 1); exit 1; }; }
91722 fi
91723 cat >conftest.$ac_ext <<_ACEOF
91724 /* confdefs.h.  */
91725 _ACEOF
91726 cat confdefs.h >>conftest.$ac_ext
91727 cat >>conftest.$ac_ext <<_ACEOF
91728 /* end confdefs.h.  */
91729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91730    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91731 #define $ac_func innocuous_$ac_func
91732
91733 /* System header to define __stub macros and hopefully few prototypes,
91734     which can conflict with char $ac_func (); below.
91735     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91736     <limits.h> exists even on freestanding compilers.  */
91737
91738 #ifdef __STDC__
91739 # include <limits.h>
91740 #else
91741 # include <assert.h>
91742 #endif
91743
91744 #undef $ac_func
91745
91746 /* Override any gcc2 internal prototype to avoid an error.  */
91747 #ifdef __cplusplus
91748 extern "C"
91749 {
91750 #endif
91751 /* We use char because int might match the return type of a gcc2
91752    builtin and then its argument prototype would still apply.  */
91753 char $ac_func ();
91754 /* The GNU C library defines this for functions which it implements
91755     to always fail with ENOSYS.  Some functions are actually named
91756     something starting with __ and the normal name is an alias.  */
91757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91758 choke me
91759 #else
91760 char (*f) () = $ac_func;
91761 #endif
91762 #ifdef __cplusplus
91763 }
91764 #endif
91765
91766 int
91767 main ()
91768 {
91769 return f != $ac_func;
91770   ;
91771   return 0;
91772 }
91773 _ACEOF
91774 rm -f conftest.$ac_objext conftest$ac_exeext
91775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91776   (eval $ac_link) 2>conftest.er1
91777   ac_status=$?
91778   grep -v '^ *+' conftest.er1 >conftest.err
91779   rm -f conftest.er1
91780   cat conftest.err >&5
91781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91782   (exit $ac_status); } &&
91783          { ac_try='test -z "$ac_c_werror_flag"
91784                          || test ! -s conftest.err'
91785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91786   (eval $ac_try) 2>&5
91787   ac_status=$?
91788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91789   (exit $ac_status); }; } &&
91790          { ac_try='test -s conftest$ac_exeext'
91791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91792   (eval $ac_try) 2>&5
91793   ac_status=$?
91794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91795   (exit $ac_status); }; }; then
91796   eval "$as_ac_var=yes"
91797 else
91798   echo "$as_me: failed program was:" >&5
91799 sed 's/^/| /' conftest.$ac_ext >&5
91800
91801 eval "$as_ac_var=no"
91802 fi
91803 rm -f conftest.err conftest.$ac_objext \
91804       conftest$ac_exeext conftest.$ac_ext
91805 fi
91806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91808 if test `eval echo '${'$as_ac_var'}'` = yes; then
91809   cat >>confdefs.h <<_ACEOF
91810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91811 _ACEOF
91812
91813 fi
91814 done
91815
91816   else
91817
91818   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
91819 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
91820   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
91821     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
91822   echo $ECHO_N "(cached) $ECHO_C" >&6
91823 else
91824
91825
91826
91827       ac_ext=cc
91828 ac_cpp='$CXXCPP $CPPFLAGS'
91829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91832
91833       cat >conftest.$ac_ext <<_ACEOF
91834 /* confdefs.h.  */
91835 _ACEOF
91836 cat confdefs.h >>conftest.$ac_ext
91837 cat >>conftest.$ac_ext <<_ACEOF
91838 /* end confdefs.h.  */
91839 #include <math.h>
91840                       #ifdef HAVE_IEEEFP_H
91841                       #include <ieeefp.h>
91842                       #endif
91843
91844 int
91845 main ()
91846 {
91847  _fabsl(0);
91848   ;
91849   return 0;
91850 }
91851 _ACEOF
91852 rm -f conftest.$ac_objext
91853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91854   (eval $ac_compile) 2>conftest.er1
91855   ac_status=$?
91856   grep -v '^ *+' conftest.er1 >conftest.err
91857   rm -f conftest.er1
91858   cat conftest.err >&5
91859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91860   (exit $ac_status); } &&
91861          { ac_try='test -z "$ac_cxx_werror_flag"
91862                          || test ! -s conftest.err'
91863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91864   (eval $ac_try) 2>&5
91865   ac_status=$?
91866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91867   (exit $ac_status); }; } &&
91868          { ac_try='test -s conftest.$ac_objext'
91869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91870   (eval $ac_try) 2>&5
91871   ac_status=$?
91872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91873   (exit $ac_status); }; }; then
91874   glibcxx_cv_func__fabsl_use=yes
91875 else
91876   echo "$as_me: failed program was:" >&5
91877 sed 's/^/| /' conftest.$ac_ext >&5
91878
91879 glibcxx_cv_func__fabsl_use=no
91880 fi
91881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91882       ac_ext=c
91883 ac_cpp='$CPP $CPPFLAGS'
91884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91887
91888
91889 fi
91890
91891   fi
91892   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
91893 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
91894
91895     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
91896
91897 for ac_func in _fabsl
91898 do
91899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91900 echo "$as_me:$LINENO: checking for $ac_func" >&5
91901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91902 if eval "test \"\${$as_ac_var+set}\" = set"; then
91903   echo $ECHO_N "(cached) $ECHO_C" >&6
91904 else
91905   if test x$gcc_no_link = xyes; then
91906   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91908    { (exit 1); exit 1; }; }
91909 fi
91910 cat >conftest.$ac_ext <<_ACEOF
91911 /* confdefs.h.  */
91912 _ACEOF
91913 cat confdefs.h >>conftest.$ac_ext
91914 cat >>conftest.$ac_ext <<_ACEOF
91915 /* end confdefs.h.  */
91916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91917    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91918 #define $ac_func innocuous_$ac_func
91919
91920 /* System header to define __stub macros and hopefully few prototypes,
91921     which can conflict with char $ac_func (); below.
91922     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91923     <limits.h> exists even on freestanding compilers.  */
91924
91925 #ifdef __STDC__
91926 # include <limits.h>
91927 #else
91928 # include <assert.h>
91929 #endif
91930
91931 #undef $ac_func
91932
91933 /* Override any gcc2 internal prototype to avoid an error.  */
91934 #ifdef __cplusplus
91935 extern "C"
91936 {
91937 #endif
91938 /* We use char because int might match the return type of a gcc2
91939    builtin and then its argument prototype would still apply.  */
91940 char $ac_func ();
91941 /* The GNU C library defines this for functions which it implements
91942     to always fail with ENOSYS.  Some functions are actually named
91943     something starting with __ and the normal name is an alias.  */
91944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91945 choke me
91946 #else
91947 char (*f) () = $ac_func;
91948 #endif
91949 #ifdef __cplusplus
91950 }
91951 #endif
91952
91953 int
91954 main ()
91955 {
91956 return f != $ac_func;
91957   ;
91958   return 0;
91959 }
91960 _ACEOF
91961 rm -f conftest.$ac_objext conftest$ac_exeext
91962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91963   (eval $ac_link) 2>conftest.er1
91964   ac_status=$?
91965   grep -v '^ *+' conftest.er1 >conftest.err
91966   rm -f conftest.er1
91967   cat conftest.err >&5
91968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91969   (exit $ac_status); } &&
91970          { ac_try='test -z "$ac_c_werror_flag"
91971                          || test ! -s conftest.err'
91972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91973   (eval $ac_try) 2>&5
91974   ac_status=$?
91975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91976   (exit $ac_status); }; } &&
91977          { ac_try='test -s conftest$ac_exeext'
91978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91979   (eval $ac_try) 2>&5
91980   ac_status=$?
91981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91982   (exit $ac_status); }; }; then
91983   eval "$as_ac_var=yes"
91984 else
91985   echo "$as_me: failed program was:" >&5
91986 sed 's/^/| /' conftest.$ac_ext >&5
91987
91988 eval "$as_ac_var=no"
91989 fi
91990 rm -f conftest.err conftest.$ac_objext \
91991       conftest$ac_exeext conftest.$ac_ext
91992 fi
91993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91995 if test `eval echo '${'$as_ac_var'}'` = yes; then
91996   cat >>confdefs.h <<_ACEOF
91997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91998 _ACEOF
91999
92000 fi
92001 done
92002
92003     fi
92004   fi
92005
92006
92007
92008
92009
92010
92011   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
92012 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
92013   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
92014     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
92015   echo $ECHO_N "(cached) $ECHO_C" >&6
92016 else
92017
92018
92019
92020       ac_ext=cc
92021 ac_cpp='$CXXCPP $CPPFLAGS'
92022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92025
92026       cat >conftest.$ac_ext <<_ACEOF
92027 /* confdefs.h.  */
92028 _ACEOF
92029 cat confdefs.h >>conftest.$ac_ext
92030 cat >>conftest.$ac_ext <<_ACEOF
92031 /* end confdefs.h.  */
92032 #include <math.h>
92033 int
92034 main ()
92035 {
92036  fmodl(0, 0);
92037   ;
92038   return 0;
92039 }
92040 _ACEOF
92041 rm -f conftest.$ac_objext
92042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92043   (eval $ac_compile) 2>conftest.er1
92044   ac_status=$?
92045   grep -v '^ *+' conftest.er1 >conftest.err
92046   rm -f conftest.er1
92047   cat conftest.err >&5
92048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92049   (exit $ac_status); } &&
92050          { ac_try='test -z "$ac_cxx_werror_flag"
92051                          || test ! -s conftest.err'
92052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92053   (eval $ac_try) 2>&5
92054   ac_status=$?
92055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92056   (exit $ac_status); }; } &&
92057          { ac_try='test -s conftest.$ac_objext'
92058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92059   (eval $ac_try) 2>&5
92060   ac_status=$?
92061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92062   (exit $ac_status); }; }; then
92063   glibcxx_cv_func_fmodl_use=yes
92064 else
92065   echo "$as_me: failed program was:" >&5
92066 sed 's/^/| /' conftest.$ac_ext >&5
92067
92068 glibcxx_cv_func_fmodl_use=no
92069 fi
92070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92071       ac_ext=c
92072 ac_cpp='$CPP $CPPFLAGS'
92073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92076
92077
92078 fi
92079
92080   fi
92081   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
92082 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
92083
92084   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
92085
92086 for ac_func in fmodl
92087 do
92088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92089 echo "$as_me:$LINENO: checking for $ac_func" >&5
92090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92091 if eval "test \"\${$as_ac_var+set}\" = set"; then
92092   echo $ECHO_N "(cached) $ECHO_C" >&6
92093 else
92094   if test x$gcc_no_link = xyes; then
92095   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92097    { (exit 1); exit 1; }; }
92098 fi
92099 cat >conftest.$ac_ext <<_ACEOF
92100 /* confdefs.h.  */
92101 _ACEOF
92102 cat confdefs.h >>conftest.$ac_ext
92103 cat >>conftest.$ac_ext <<_ACEOF
92104 /* end confdefs.h.  */
92105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92106    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92107 #define $ac_func innocuous_$ac_func
92108
92109 /* System header to define __stub macros and hopefully few prototypes,
92110     which can conflict with char $ac_func (); below.
92111     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92112     <limits.h> exists even on freestanding compilers.  */
92113
92114 #ifdef __STDC__
92115 # include <limits.h>
92116 #else
92117 # include <assert.h>
92118 #endif
92119
92120 #undef $ac_func
92121
92122 /* Override any gcc2 internal prototype to avoid an error.  */
92123 #ifdef __cplusplus
92124 extern "C"
92125 {
92126 #endif
92127 /* We use char because int might match the return type of a gcc2
92128    builtin and then its argument prototype would still apply.  */
92129 char $ac_func ();
92130 /* The GNU C library defines this for functions which it implements
92131     to always fail with ENOSYS.  Some functions are actually named
92132     something starting with __ and the normal name is an alias.  */
92133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92134 choke me
92135 #else
92136 char (*f) () = $ac_func;
92137 #endif
92138 #ifdef __cplusplus
92139 }
92140 #endif
92141
92142 int
92143 main ()
92144 {
92145 return f != $ac_func;
92146   ;
92147   return 0;
92148 }
92149 _ACEOF
92150 rm -f conftest.$ac_objext conftest$ac_exeext
92151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92152   (eval $ac_link) 2>conftest.er1
92153   ac_status=$?
92154   grep -v '^ *+' conftest.er1 >conftest.err
92155   rm -f conftest.er1
92156   cat conftest.err >&5
92157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92158   (exit $ac_status); } &&
92159          { ac_try='test -z "$ac_c_werror_flag"
92160                          || test ! -s conftest.err'
92161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92162   (eval $ac_try) 2>&5
92163   ac_status=$?
92164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92165   (exit $ac_status); }; } &&
92166          { ac_try='test -s conftest$ac_exeext'
92167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92168   (eval $ac_try) 2>&5
92169   ac_status=$?
92170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92171   (exit $ac_status); }; }; then
92172   eval "$as_ac_var=yes"
92173 else
92174   echo "$as_me: failed program was:" >&5
92175 sed 's/^/| /' conftest.$ac_ext >&5
92176
92177 eval "$as_ac_var=no"
92178 fi
92179 rm -f conftest.err conftest.$ac_objext \
92180       conftest$ac_exeext conftest.$ac_ext
92181 fi
92182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92184 if test `eval echo '${'$as_ac_var'}'` = yes; then
92185   cat >>confdefs.h <<_ACEOF
92186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92187 _ACEOF
92188
92189 fi
92190 done
92191
92192   else
92193
92194   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
92195 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
92196   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
92197     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
92198   echo $ECHO_N "(cached) $ECHO_C" >&6
92199 else
92200
92201
92202
92203       ac_ext=cc
92204 ac_cpp='$CXXCPP $CPPFLAGS'
92205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92208
92209       cat >conftest.$ac_ext <<_ACEOF
92210 /* confdefs.h.  */
92211 _ACEOF
92212 cat confdefs.h >>conftest.$ac_ext
92213 cat >>conftest.$ac_ext <<_ACEOF
92214 /* end confdefs.h.  */
92215 #include <math.h>
92216 int
92217 main ()
92218 {
92219  _fmodl(0, 0);
92220   ;
92221   return 0;
92222 }
92223 _ACEOF
92224 rm -f conftest.$ac_objext
92225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92226   (eval $ac_compile) 2>conftest.er1
92227   ac_status=$?
92228   grep -v '^ *+' conftest.er1 >conftest.err
92229   rm -f conftest.er1
92230   cat conftest.err >&5
92231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92232   (exit $ac_status); } &&
92233          { ac_try='test -z "$ac_cxx_werror_flag"
92234                          || test ! -s conftest.err'
92235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92236   (eval $ac_try) 2>&5
92237   ac_status=$?
92238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92239   (exit $ac_status); }; } &&
92240          { ac_try='test -s conftest.$ac_objext'
92241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92242   (eval $ac_try) 2>&5
92243   ac_status=$?
92244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92245   (exit $ac_status); }; }; then
92246   glibcxx_cv_func__fmodl_use=yes
92247 else
92248   echo "$as_me: failed program was:" >&5
92249 sed 's/^/| /' conftest.$ac_ext >&5
92250
92251 glibcxx_cv_func__fmodl_use=no
92252 fi
92253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92254       ac_ext=c
92255 ac_cpp='$CPP $CPPFLAGS'
92256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92259
92260
92261 fi
92262
92263   fi
92264   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
92265 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
92266
92267     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
92268
92269 for ac_func in _fmodl
92270 do
92271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92272 echo "$as_me:$LINENO: checking for $ac_func" >&5
92273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92274 if eval "test \"\${$as_ac_var+set}\" = set"; then
92275   echo $ECHO_N "(cached) $ECHO_C" >&6
92276 else
92277   if test x$gcc_no_link = xyes; then
92278   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92280    { (exit 1); exit 1; }; }
92281 fi
92282 cat >conftest.$ac_ext <<_ACEOF
92283 /* confdefs.h.  */
92284 _ACEOF
92285 cat confdefs.h >>conftest.$ac_ext
92286 cat >>conftest.$ac_ext <<_ACEOF
92287 /* end confdefs.h.  */
92288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92289    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92290 #define $ac_func innocuous_$ac_func
92291
92292 /* System header to define __stub macros and hopefully few prototypes,
92293     which can conflict with char $ac_func (); below.
92294     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92295     <limits.h> exists even on freestanding compilers.  */
92296
92297 #ifdef __STDC__
92298 # include <limits.h>
92299 #else
92300 # include <assert.h>
92301 #endif
92302
92303 #undef $ac_func
92304
92305 /* Override any gcc2 internal prototype to avoid an error.  */
92306 #ifdef __cplusplus
92307 extern "C"
92308 {
92309 #endif
92310 /* We use char because int might match the return type of a gcc2
92311    builtin and then its argument prototype would still apply.  */
92312 char $ac_func ();
92313 /* The GNU C library defines this for functions which it implements
92314     to always fail with ENOSYS.  Some functions are actually named
92315     something starting with __ and the normal name is an alias.  */
92316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92317 choke me
92318 #else
92319 char (*f) () = $ac_func;
92320 #endif
92321 #ifdef __cplusplus
92322 }
92323 #endif
92324
92325 int
92326 main ()
92327 {
92328 return f != $ac_func;
92329   ;
92330   return 0;
92331 }
92332 _ACEOF
92333 rm -f conftest.$ac_objext conftest$ac_exeext
92334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92335   (eval $ac_link) 2>conftest.er1
92336   ac_status=$?
92337   grep -v '^ *+' conftest.er1 >conftest.err
92338   rm -f conftest.er1
92339   cat conftest.err >&5
92340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92341   (exit $ac_status); } &&
92342          { ac_try='test -z "$ac_c_werror_flag"
92343                          || test ! -s conftest.err'
92344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92345   (eval $ac_try) 2>&5
92346   ac_status=$?
92347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92348   (exit $ac_status); }; } &&
92349          { ac_try='test -s conftest$ac_exeext'
92350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92351   (eval $ac_try) 2>&5
92352   ac_status=$?
92353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92354   (exit $ac_status); }; }; then
92355   eval "$as_ac_var=yes"
92356 else
92357   echo "$as_me: failed program was:" >&5
92358 sed 's/^/| /' conftest.$ac_ext >&5
92359
92360 eval "$as_ac_var=no"
92361 fi
92362 rm -f conftest.err conftest.$ac_objext \
92363       conftest$ac_exeext conftest.$ac_ext
92364 fi
92365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92367 if test `eval echo '${'$as_ac_var'}'` = yes; then
92368   cat >>confdefs.h <<_ACEOF
92369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92370 _ACEOF
92371
92372 fi
92373 done
92374
92375     fi
92376   fi
92377
92378
92379
92380
92381
92382
92383   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
92384 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
92385   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
92386     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
92387   echo $ECHO_N "(cached) $ECHO_C" >&6
92388 else
92389
92390
92391
92392       ac_ext=cc
92393 ac_cpp='$CXXCPP $CPPFLAGS'
92394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92397
92398       cat >conftest.$ac_ext <<_ACEOF
92399 /* confdefs.h.  */
92400 _ACEOF
92401 cat confdefs.h >>conftest.$ac_ext
92402 cat >>conftest.$ac_ext <<_ACEOF
92403 /* end confdefs.h.  */
92404 #include <math.h>
92405 int
92406 main ()
92407 {
92408  frexpl(0, 0);
92409   ;
92410   return 0;
92411 }
92412 _ACEOF
92413 rm -f conftest.$ac_objext
92414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92415   (eval $ac_compile) 2>conftest.er1
92416   ac_status=$?
92417   grep -v '^ *+' conftest.er1 >conftest.err
92418   rm -f conftest.er1
92419   cat conftest.err >&5
92420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92421   (exit $ac_status); } &&
92422          { ac_try='test -z "$ac_cxx_werror_flag"
92423                          || test ! -s conftest.err'
92424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92425   (eval $ac_try) 2>&5
92426   ac_status=$?
92427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92428   (exit $ac_status); }; } &&
92429          { ac_try='test -s conftest.$ac_objext'
92430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92431   (eval $ac_try) 2>&5
92432   ac_status=$?
92433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92434   (exit $ac_status); }; }; then
92435   glibcxx_cv_func_frexpl_use=yes
92436 else
92437   echo "$as_me: failed program was:" >&5
92438 sed 's/^/| /' conftest.$ac_ext >&5
92439
92440 glibcxx_cv_func_frexpl_use=no
92441 fi
92442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92443       ac_ext=c
92444 ac_cpp='$CPP $CPPFLAGS'
92445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92448
92449
92450 fi
92451
92452   fi
92453   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
92454 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
92455
92456   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
92457
92458 for ac_func in frexpl
92459 do
92460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92461 echo "$as_me:$LINENO: checking for $ac_func" >&5
92462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92463 if eval "test \"\${$as_ac_var+set}\" = set"; then
92464   echo $ECHO_N "(cached) $ECHO_C" >&6
92465 else
92466   if test x$gcc_no_link = xyes; then
92467   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92469    { (exit 1); exit 1; }; }
92470 fi
92471 cat >conftest.$ac_ext <<_ACEOF
92472 /* confdefs.h.  */
92473 _ACEOF
92474 cat confdefs.h >>conftest.$ac_ext
92475 cat >>conftest.$ac_ext <<_ACEOF
92476 /* end confdefs.h.  */
92477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92478    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92479 #define $ac_func innocuous_$ac_func
92480
92481 /* System header to define __stub macros and hopefully few prototypes,
92482     which can conflict with char $ac_func (); below.
92483     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92484     <limits.h> exists even on freestanding compilers.  */
92485
92486 #ifdef __STDC__
92487 # include <limits.h>
92488 #else
92489 # include <assert.h>
92490 #endif
92491
92492 #undef $ac_func
92493
92494 /* Override any gcc2 internal prototype to avoid an error.  */
92495 #ifdef __cplusplus
92496 extern "C"
92497 {
92498 #endif
92499 /* We use char because int might match the return type of a gcc2
92500    builtin and then its argument prototype would still apply.  */
92501 char $ac_func ();
92502 /* The GNU C library defines this for functions which it implements
92503     to always fail with ENOSYS.  Some functions are actually named
92504     something starting with __ and the normal name is an alias.  */
92505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92506 choke me
92507 #else
92508 char (*f) () = $ac_func;
92509 #endif
92510 #ifdef __cplusplus
92511 }
92512 #endif
92513
92514 int
92515 main ()
92516 {
92517 return f != $ac_func;
92518   ;
92519   return 0;
92520 }
92521 _ACEOF
92522 rm -f conftest.$ac_objext conftest$ac_exeext
92523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92524   (eval $ac_link) 2>conftest.er1
92525   ac_status=$?
92526   grep -v '^ *+' conftest.er1 >conftest.err
92527   rm -f conftest.er1
92528   cat conftest.err >&5
92529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92530   (exit $ac_status); } &&
92531          { ac_try='test -z "$ac_c_werror_flag"
92532                          || test ! -s conftest.err'
92533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92534   (eval $ac_try) 2>&5
92535   ac_status=$?
92536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92537   (exit $ac_status); }; } &&
92538          { ac_try='test -s conftest$ac_exeext'
92539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92540   (eval $ac_try) 2>&5
92541   ac_status=$?
92542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92543   (exit $ac_status); }; }; then
92544   eval "$as_ac_var=yes"
92545 else
92546   echo "$as_me: failed program was:" >&5
92547 sed 's/^/| /' conftest.$ac_ext >&5
92548
92549 eval "$as_ac_var=no"
92550 fi
92551 rm -f conftest.err conftest.$ac_objext \
92552       conftest$ac_exeext conftest.$ac_ext
92553 fi
92554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92556 if test `eval echo '${'$as_ac_var'}'` = yes; then
92557   cat >>confdefs.h <<_ACEOF
92558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92559 _ACEOF
92560
92561 fi
92562 done
92563
92564   else
92565
92566   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
92567 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
92568   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
92569     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
92570   echo $ECHO_N "(cached) $ECHO_C" >&6
92571 else
92572
92573
92574
92575       ac_ext=cc
92576 ac_cpp='$CXXCPP $CPPFLAGS'
92577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92580
92581       cat >conftest.$ac_ext <<_ACEOF
92582 /* confdefs.h.  */
92583 _ACEOF
92584 cat confdefs.h >>conftest.$ac_ext
92585 cat >>conftest.$ac_ext <<_ACEOF
92586 /* end confdefs.h.  */
92587 #include <math.h>
92588 int
92589 main ()
92590 {
92591  _frexpl(0, 0);
92592   ;
92593   return 0;
92594 }
92595 _ACEOF
92596 rm -f conftest.$ac_objext
92597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92598   (eval $ac_compile) 2>conftest.er1
92599   ac_status=$?
92600   grep -v '^ *+' conftest.er1 >conftest.err
92601   rm -f conftest.er1
92602   cat conftest.err >&5
92603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92604   (exit $ac_status); } &&
92605          { ac_try='test -z "$ac_cxx_werror_flag"
92606                          || test ! -s conftest.err'
92607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92608   (eval $ac_try) 2>&5
92609   ac_status=$?
92610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92611   (exit $ac_status); }; } &&
92612          { ac_try='test -s conftest.$ac_objext'
92613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92614   (eval $ac_try) 2>&5
92615   ac_status=$?
92616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92617   (exit $ac_status); }; }; then
92618   glibcxx_cv_func__frexpl_use=yes
92619 else
92620   echo "$as_me: failed program was:" >&5
92621 sed 's/^/| /' conftest.$ac_ext >&5
92622
92623 glibcxx_cv_func__frexpl_use=no
92624 fi
92625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92626       ac_ext=c
92627 ac_cpp='$CPP $CPPFLAGS'
92628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92631
92632
92633 fi
92634
92635   fi
92636   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
92637 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
92638
92639     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
92640
92641 for ac_func in _frexpl
92642 do
92643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92644 echo "$as_me:$LINENO: checking for $ac_func" >&5
92645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92646 if eval "test \"\${$as_ac_var+set}\" = set"; then
92647   echo $ECHO_N "(cached) $ECHO_C" >&6
92648 else
92649   if test x$gcc_no_link = xyes; then
92650   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92652    { (exit 1); exit 1; }; }
92653 fi
92654 cat >conftest.$ac_ext <<_ACEOF
92655 /* confdefs.h.  */
92656 _ACEOF
92657 cat confdefs.h >>conftest.$ac_ext
92658 cat >>conftest.$ac_ext <<_ACEOF
92659 /* end confdefs.h.  */
92660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92661    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92662 #define $ac_func innocuous_$ac_func
92663
92664 /* System header to define __stub macros and hopefully few prototypes,
92665     which can conflict with char $ac_func (); below.
92666     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92667     <limits.h> exists even on freestanding compilers.  */
92668
92669 #ifdef __STDC__
92670 # include <limits.h>
92671 #else
92672 # include <assert.h>
92673 #endif
92674
92675 #undef $ac_func
92676
92677 /* Override any gcc2 internal prototype to avoid an error.  */
92678 #ifdef __cplusplus
92679 extern "C"
92680 {
92681 #endif
92682 /* We use char because int might match the return type of a gcc2
92683    builtin and then its argument prototype would still apply.  */
92684 char $ac_func ();
92685 /* The GNU C library defines this for functions which it implements
92686     to always fail with ENOSYS.  Some functions are actually named
92687     something starting with __ and the normal name is an alias.  */
92688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92689 choke me
92690 #else
92691 char (*f) () = $ac_func;
92692 #endif
92693 #ifdef __cplusplus
92694 }
92695 #endif
92696
92697 int
92698 main ()
92699 {
92700 return f != $ac_func;
92701   ;
92702   return 0;
92703 }
92704 _ACEOF
92705 rm -f conftest.$ac_objext conftest$ac_exeext
92706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92707   (eval $ac_link) 2>conftest.er1
92708   ac_status=$?
92709   grep -v '^ *+' conftest.er1 >conftest.err
92710   rm -f conftest.er1
92711   cat conftest.err >&5
92712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92713   (exit $ac_status); } &&
92714          { ac_try='test -z "$ac_c_werror_flag"
92715                          || test ! -s conftest.err'
92716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92717   (eval $ac_try) 2>&5
92718   ac_status=$?
92719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92720   (exit $ac_status); }; } &&
92721          { ac_try='test -s conftest$ac_exeext'
92722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92723   (eval $ac_try) 2>&5
92724   ac_status=$?
92725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92726   (exit $ac_status); }; }; then
92727   eval "$as_ac_var=yes"
92728 else
92729   echo "$as_me: failed program was:" >&5
92730 sed 's/^/| /' conftest.$ac_ext >&5
92731
92732 eval "$as_ac_var=no"
92733 fi
92734 rm -f conftest.err conftest.$ac_objext \
92735       conftest$ac_exeext conftest.$ac_ext
92736 fi
92737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92739 if test `eval echo '${'$as_ac_var'}'` = yes; then
92740   cat >>confdefs.h <<_ACEOF
92741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92742 _ACEOF
92743
92744 fi
92745 done
92746
92747     fi
92748   fi
92749
92750
92751
92752
92753
92754
92755   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
92756 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
92757   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
92758     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
92759   echo $ECHO_N "(cached) $ECHO_C" >&6
92760 else
92761
92762
92763
92764       ac_ext=cc
92765 ac_cpp='$CXXCPP $CPPFLAGS'
92766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92769
92770       cat >conftest.$ac_ext <<_ACEOF
92771 /* confdefs.h.  */
92772 _ACEOF
92773 cat confdefs.h >>conftest.$ac_ext
92774 cat >>conftest.$ac_ext <<_ACEOF
92775 /* end confdefs.h.  */
92776 #include <math.h>
92777 int
92778 main ()
92779 {
92780  hypotl(0, 0);
92781   ;
92782   return 0;
92783 }
92784 _ACEOF
92785 rm -f conftest.$ac_objext
92786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92787   (eval $ac_compile) 2>conftest.er1
92788   ac_status=$?
92789   grep -v '^ *+' conftest.er1 >conftest.err
92790   rm -f conftest.er1
92791   cat conftest.err >&5
92792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92793   (exit $ac_status); } &&
92794          { ac_try='test -z "$ac_cxx_werror_flag"
92795                          || test ! -s conftest.err'
92796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92797   (eval $ac_try) 2>&5
92798   ac_status=$?
92799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92800   (exit $ac_status); }; } &&
92801          { ac_try='test -s conftest.$ac_objext'
92802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92803   (eval $ac_try) 2>&5
92804   ac_status=$?
92805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92806   (exit $ac_status); }; }; then
92807   glibcxx_cv_func_hypotl_use=yes
92808 else
92809   echo "$as_me: failed program was:" >&5
92810 sed 's/^/| /' conftest.$ac_ext >&5
92811
92812 glibcxx_cv_func_hypotl_use=no
92813 fi
92814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92815       ac_ext=c
92816 ac_cpp='$CPP $CPPFLAGS'
92817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92820
92821
92822 fi
92823
92824   fi
92825   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
92826 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
92827
92828   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
92829
92830 for ac_func in hypotl
92831 do
92832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92833 echo "$as_me:$LINENO: checking for $ac_func" >&5
92834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92835 if eval "test \"\${$as_ac_var+set}\" = set"; then
92836   echo $ECHO_N "(cached) $ECHO_C" >&6
92837 else
92838   if test x$gcc_no_link = xyes; then
92839   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92841    { (exit 1); exit 1; }; }
92842 fi
92843 cat >conftest.$ac_ext <<_ACEOF
92844 /* confdefs.h.  */
92845 _ACEOF
92846 cat confdefs.h >>conftest.$ac_ext
92847 cat >>conftest.$ac_ext <<_ACEOF
92848 /* end confdefs.h.  */
92849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92850    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92851 #define $ac_func innocuous_$ac_func
92852
92853 /* System header to define __stub macros and hopefully few prototypes,
92854     which can conflict with char $ac_func (); below.
92855     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92856     <limits.h> exists even on freestanding compilers.  */
92857
92858 #ifdef __STDC__
92859 # include <limits.h>
92860 #else
92861 # include <assert.h>
92862 #endif
92863
92864 #undef $ac_func
92865
92866 /* Override any gcc2 internal prototype to avoid an error.  */
92867 #ifdef __cplusplus
92868 extern "C"
92869 {
92870 #endif
92871 /* We use char because int might match the return type of a gcc2
92872    builtin and then its argument prototype would still apply.  */
92873 char $ac_func ();
92874 /* The GNU C library defines this for functions which it implements
92875     to always fail with ENOSYS.  Some functions are actually named
92876     something starting with __ and the normal name is an alias.  */
92877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92878 choke me
92879 #else
92880 char (*f) () = $ac_func;
92881 #endif
92882 #ifdef __cplusplus
92883 }
92884 #endif
92885
92886 int
92887 main ()
92888 {
92889 return f != $ac_func;
92890   ;
92891   return 0;
92892 }
92893 _ACEOF
92894 rm -f conftest.$ac_objext conftest$ac_exeext
92895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92896   (eval $ac_link) 2>conftest.er1
92897   ac_status=$?
92898   grep -v '^ *+' conftest.er1 >conftest.err
92899   rm -f conftest.er1
92900   cat conftest.err >&5
92901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92902   (exit $ac_status); } &&
92903          { ac_try='test -z "$ac_c_werror_flag"
92904                          || test ! -s conftest.err'
92905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92906   (eval $ac_try) 2>&5
92907   ac_status=$?
92908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92909   (exit $ac_status); }; } &&
92910          { ac_try='test -s conftest$ac_exeext'
92911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92912   (eval $ac_try) 2>&5
92913   ac_status=$?
92914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92915   (exit $ac_status); }; }; then
92916   eval "$as_ac_var=yes"
92917 else
92918   echo "$as_me: failed program was:" >&5
92919 sed 's/^/| /' conftest.$ac_ext >&5
92920
92921 eval "$as_ac_var=no"
92922 fi
92923 rm -f conftest.err conftest.$ac_objext \
92924       conftest$ac_exeext conftest.$ac_ext
92925 fi
92926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92928 if test `eval echo '${'$as_ac_var'}'` = yes; then
92929   cat >>confdefs.h <<_ACEOF
92930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92931 _ACEOF
92932
92933 fi
92934 done
92935
92936   else
92937
92938   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
92939 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
92940   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
92941     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
92942   echo $ECHO_N "(cached) $ECHO_C" >&6
92943 else
92944
92945
92946
92947       ac_ext=cc
92948 ac_cpp='$CXXCPP $CPPFLAGS'
92949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92952
92953       cat >conftest.$ac_ext <<_ACEOF
92954 /* confdefs.h.  */
92955 _ACEOF
92956 cat confdefs.h >>conftest.$ac_ext
92957 cat >>conftest.$ac_ext <<_ACEOF
92958 /* end confdefs.h.  */
92959 #include <math.h>
92960 int
92961 main ()
92962 {
92963  _hypotl(0, 0);
92964   ;
92965   return 0;
92966 }
92967 _ACEOF
92968 rm -f conftest.$ac_objext
92969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92970   (eval $ac_compile) 2>conftest.er1
92971   ac_status=$?
92972   grep -v '^ *+' conftest.er1 >conftest.err
92973   rm -f conftest.er1
92974   cat conftest.err >&5
92975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92976   (exit $ac_status); } &&
92977          { ac_try='test -z "$ac_cxx_werror_flag"
92978                          || test ! -s conftest.err'
92979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92980   (eval $ac_try) 2>&5
92981   ac_status=$?
92982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92983   (exit $ac_status); }; } &&
92984          { ac_try='test -s conftest.$ac_objext'
92985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92986   (eval $ac_try) 2>&5
92987   ac_status=$?
92988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92989   (exit $ac_status); }; }; then
92990   glibcxx_cv_func__hypotl_use=yes
92991 else
92992   echo "$as_me: failed program was:" >&5
92993 sed 's/^/| /' conftest.$ac_ext >&5
92994
92995 glibcxx_cv_func__hypotl_use=no
92996 fi
92997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92998       ac_ext=c
92999 ac_cpp='$CPP $CPPFLAGS'
93000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93003
93004
93005 fi
93006
93007   fi
93008   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
93009 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
93010
93011     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
93012
93013 for ac_func in _hypotl
93014 do
93015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93016 echo "$as_me:$LINENO: checking for $ac_func" >&5
93017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93018 if eval "test \"\${$as_ac_var+set}\" = set"; then
93019   echo $ECHO_N "(cached) $ECHO_C" >&6
93020 else
93021   if test x$gcc_no_link = xyes; then
93022   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93024    { (exit 1); exit 1; }; }
93025 fi
93026 cat >conftest.$ac_ext <<_ACEOF
93027 /* confdefs.h.  */
93028 _ACEOF
93029 cat confdefs.h >>conftest.$ac_ext
93030 cat >>conftest.$ac_ext <<_ACEOF
93031 /* end confdefs.h.  */
93032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93033    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93034 #define $ac_func innocuous_$ac_func
93035
93036 /* System header to define __stub macros and hopefully few prototypes,
93037     which can conflict with char $ac_func (); below.
93038     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93039     <limits.h> exists even on freestanding compilers.  */
93040
93041 #ifdef __STDC__
93042 # include <limits.h>
93043 #else
93044 # include <assert.h>
93045 #endif
93046
93047 #undef $ac_func
93048
93049 /* Override any gcc2 internal prototype to avoid an error.  */
93050 #ifdef __cplusplus
93051 extern "C"
93052 {
93053 #endif
93054 /* We use char because int might match the return type of a gcc2
93055    builtin and then its argument prototype would still apply.  */
93056 char $ac_func ();
93057 /* The GNU C library defines this for functions which it implements
93058     to always fail with ENOSYS.  Some functions are actually named
93059     something starting with __ and the normal name is an alias.  */
93060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93061 choke me
93062 #else
93063 char (*f) () = $ac_func;
93064 #endif
93065 #ifdef __cplusplus
93066 }
93067 #endif
93068
93069 int
93070 main ()
93071 {
93072 return f != $ac_func;
93073   ;
93074   return 0;
93075 }
93076 _ACEOF
93077 rm -f conftest.$ac_objext conftest$ac_exeext
93078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93079   (eval $ac_link) 2>conftest.er1
93080   ac_status=$?
93081   grep -v '^ *+' conftest.er1 >conftest.err
93082   rm -f conftest.er1
93083   cat conftest.err >&5
93084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93085   (exit $ac_status); } &&
93086          { ac_try='test -z "$ac_c_werror_flag"
93087                          || test ! -s conftest.err'
93088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93089   (eval $ac_try) 2>&5
93090   ac_status=$?
93091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93092   (exit $ac_status); }; } &&
93093          { ac_try='test -s conftest$ac_exeext'
93094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93095   (eval $ac_try) 2>&5
93096   ac_status=$?
93097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93098   (exit $ac_status); }; }; then
93099   eval "$as_ac_var=yes"
93100 else
93101   echo "$as_me: failed program was:" >&5
93102 sed 's/^/| /' conftest.$ac_ext >&5
93103
93104 eval "$as_ac_var=no"
93105 fi
93106 rm -f conftest.err conftest.$ac_objext \
93107       conftest$ac_exeext conftest.$ac_ext
93108 fi
93109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93111 if test `eval echo '${'$as_ac_var'}'` = yes; then
93112   cat >>confdefs.h <<_ACEOF
93113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93114 _ACEOF
93115
93116 fi
93117 done
93118
93119     fi
93120   fi
93121
93122
93123
93124
93125
93126
93127   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
93128 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
93129   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
93130     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
93131   echo $ECHO_N "(cached) $ECHO_C" >&6
93132 else
93133
93134
93135
93136       ac_ext=cc
93137 ac_cpp='$CXXCPP $CPPFLAGS'
93138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93141
93142       cat >conftest.$ac_ext <<_ACEOF
93143 /* confdefs.h.  */
93144 _ACEOF
93145 cat confdefs.h >>conftest.$ac_ext
93146 cat >>conftest.$ac_ext <<_ACEOF
93147 /* end confdefs.h.  */
93148 #include <math.h>
93149 int
93150 main ()
93151 {
93152  ldexpl(0, 0);
93153   ;
93154   return 0;
93155 }
93156 _ACEOF
93157 rm -f conftest.$ac_objext
93158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93159   (eval $ac_compile) 2>conftest.er1
93160   ac_status=$?
93161   grep -v '^ *+' conftest.er1 >conftest.err
93162   rm -f conftest.er1
93163   cat conftest.err >&5
93164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93165   (exit $ac_status); } &&
93166          { ac_try='test -z "$ac_cxx_werror_flag"
93167                          || test ! -s conftest.err'
93168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93169   (eval $ac_try) 2>&5
93170   ac_status=$?
93171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93172   (exit $ac_status); }; } &&
93173          { ac_try='test -s conftest.$ac_objext'
93174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93175   (eval $ac_try) 2>&5
93176   ac_status=$?
93177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93178   (exit $ac_status); }; }; then
93179   glibcxx_cv_func_ldexpl_use=yes
93180 else
93181   echo "$as_me: failed program was:" >&5
93182 sed 's/^/| /' conftest.$ac_ext >&5
93183
93184 glibcxx_cv_func_ldexpl_use=no
93185 fi
93186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93187       ac_ext=c
93188 ac_cpp='$CPP $CPPFLAGS'
93189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93192
93193
93194 fi
93195
93196   fi
93197   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
93198 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
93199
93200   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
93201
93202 for ac_func in ldexpl
93203 do
93204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93205 echo "$as_me:$LINENO: checking for $ac_func" >&5
93206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93207 if eval "test \"\${$as_ac_var+set}\" = set"; then
93208   echo $ECHO_N "(cached) $ECHO_C" >&6
93209 else
93210   if test x$gcc_no_link = xyes; then
93211   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93213    { (exit 1); exit 1; }; }
93214 fi
93215 cat >conftest.$ac_ext <<_ACEOF
93216 /* confdefs.h.  */
93217 _ACEOF
93218 cat confdefs.h >>conftest.$ac_ext
93219 cat >>conftest.$ac_ext <<_ACEOF
93220 /* end confdefs.h.  */
93221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93222    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93223 #define $ac_func innocuous_$ac_func
93224
93225 /* System header to define __stub macros and hopefully few prototypes,
93226     which can conflict with char $ac_func (); below.
93227     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93228     <limits.h> exists even on freestanding compilers.  */
93229
93230 #ifdef __STDC__
93231 # include <limits.h>
93232 #else
93233 # include <assert.h>
93234 #endif
93235
93236 #undef $ac_func
93237
93238 /* Override any gcc2 internal prototype to avoid an error.  */
93239 #ifdef __cplusplus
93240 extern "C"
93241 {
93242 #endif
93243 /* We use char because int might match the return type of a gcc2
93244    builtin and then its argument prototype would still apply.  */
93245 char $ac_func ();
93246 /* The GNU C library defines this for functions which it implements
93247     to always fail with ENOSYS.  Some functions are actually named
93248     something starting with __ and the normal name is an alias.  */
93249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93250 choke me
93251 #else
93252 char (*f) () = $ac_func;
93253 #endif
93254 #ifdef __cplusplus
93255 }
93256 #endif
93257
93258 int
93259 main ()
93260 {
93261 return f != $ac_func;
93262   ;
93263   return 0;
93264 }
93265 _ACEOF
93266 rm -f conftest.$ac_objext conftest$ac_exeext
93267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93268   (eval $ac_link) 2>conftest.er1
93269   ac_status=$?
93270   grep -v '^ *+' conftest.er1 >conftest.err
93271   rm -f conftest.er1
93272   cat conftest.err >&5
93273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93274   (exit $ac_status); } &&
93275          { ac_try='test -z "$ac_c_werror_flag"
93276                          || test ! -s conftest.err'
93277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93278   (eval $ac_try) 2>&5
93279   ac_status=$?
93280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93281   (exit $ac_status); }; } &&
93282          { ac_try='test -s conftest$ac_exeext'
93283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93284   (eval $ac_try) 2>&5
93285   ac_status=$?
93286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93287   (exit $ac_status); }; }; then
93288   eval "$as_ac_var=yes"
93289 else
93290   echo "$as_me: failed program was:" >&5
93291 sed 's/^/| /' conftest.$ac_ext >&5
93292
93293 eval "$as_ac_var=no"
93294 fi
93295 rm -f conftest.err conftest.$ac_objext \
93296       conftest$ac_exeext conftest.$ac_ext
93297 fi
93298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93300 if test `eval echo '${'$as_ac_var'}'` = yes; then
93301   cat >>confdefs.h <<_ACEOF
93302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93303 _ACEOF
93304
93305 fi
93306 done
93307
93308   else
93309
93310   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
93311 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
93312   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
93313     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
93314   echo $ECHO_N "(cached) $ECHO_C" >&6
93315 else
93316
93317
93318
93319       ac_ext=cc
93320 ac_cpp='$CXXCPP $CPPFLAGS'
93321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93324
93325       cat >conftest.$ac_ext <<_ACEOF
93326 /* confdefs.h.  */
93327 _ACEOF
93328 cat confdefs.h >>conftest.$ac_ext
93329 cat >>conftest.$ac_ext <<_ACEOF
93330 /* end confdefs.h.  */
93331 #include <math.h>
93332 int
93333 main ()
93334 {
93335  _ldexpl(0, 0);
93336   ;
93337   return 0;
93338 }
93339 _ACEOF
93340 rm -f conftest.$ac_objext
93341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93342   (eval $ac_compile) 2>conftest.er1
93343   ac_status=$?
93344   grep -v '^ *+' conftest.er1 >conftest.err
93345   rm -f conftest.er1
93346   cat conftest.err >&5
93347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93348   (exit $ac_status); } &&
93349          { ac_try='test -z "$ac_cxx_werror_flag"
93350                          || test ! -s conftest.err'
93351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93352   (eval $ac_try) 2>&5
93353   ac_status=$?
93354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93355   (exit $ac_status); }; } &&
93356          { ac_try='test -s conftest.$ac_objext'
93357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93358   (eval $ac_try) 2>&5
93359   ac_status=$?
93360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93361   (exit $ac_status); }; }; then
93362   glibcxx_cv_func__ldexpl_use=yes
93363 else
93364   echo "$as_me: failed program was:" >&5
93365 sed 's/^/| /' conftest.$ac_ext >&5
93366
93367 glibcxx_cv_func__ldexpl_use=no
93368 fi
93369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93370       ac_ext=c
93371 ac_cpp='$CPP $CPPFLAGS'
93372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93375
93376
93377 fi
93378
93379   fi
93380   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
93381 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
93382
93383     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
93384
93385 for ac_func in _ldexpl
93386 do
93387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93388 echo "$as_me:$LINENO: checking for $ac_func" >&5
93389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93390 if eval "test \"\${$as_ac_var+set}\" = set"; then
93391   echo $ECHO_N "(cached) $ECHO_C" >&6
93392 else
93393   if test x$gcc_no_link = xyes; then
93394   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93396    { (exit 1); exit 1; }; }
93397 fi
93398 cat >conftest.$ac_ext <<_ACEOF
93399 /* confdefs.h.  */
93400 _ACEOF
93401 cat confdefs.h >>conftest.$ac_ext
93402 cat >>conftest.$ac_ext <<_ACEOF
93403 /* end confdefs.h.  */
93404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93405    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93406 #define $ac_func innocuous_$ac_func
93407
93408 /* System header to define __stub macros and hopefully few prototypes,
93409     which can conflict with char $ac_func (); below.
93410     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93411     <limits.h> exists even on freestanding compilers.  */
93412
93413 #ifdef __STDC__
93414 # include <limits.h>
93415 #else
93416 # include <assert.h>
93417 #endif
93418
93419 #undef $ac_func
93420
93421 /* Override any gcc2 internal prototype to avoid an error.  */
93422 #ifdef __cplusplus
93423 extern "C"
93424 {
93425 #endif
93426 /* We use char because int might match the return type of a gcc2
93427    builtin and then its argument prototype would still apply.  */
93428 char $ac_func ();
93429 /* The GNU C library defines this for functions which it implements
93430     to always fail with ENOSYS.  Some functions are actually named
93431     something starting with __ and the normal name is an alias.  */
93432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93433 choke me
93434 #else
93435 char (*f) () = $ac_func;
93436 #endif
93437 #ifdef __cplusplus
93438 }
93439 #endif
93440
93441 int
93442 main ()
93443 {
93444 return f != $ac_func;
93445   ;
93446   return 0;
93447 }
93448 _ACEOF
93449 rm -f conftest.$ac_objext conftest$ac_exeext
93450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93451   (eval $ac_link) 2>conftest.er1
93452   ac_status=$?
93453   grep -v '^ *+' conftest.er1 >conftest.err
93454   rm -f conftest.er1
93455   cat conftest.err >&5
93456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93457   (exit $ac_status); } &&
93458          { ac_try='test -z "$ac_c_werror_flag"
93459                          || test ! -s conftest.err'
93460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93461   (eval $ac_try) 2>&5
93462   ac_status=$?
93463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93464   (exit $ac_status); }; } &&
93465          { ac_try='test -s conftest$ac_exeext'
93466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93467   (eval $ac_try) 2>&5
93468   ac_status=$?
93469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93470   (exit $ac_status); }; }; then
93471   eval "$as_ac_var=yes"
93472 else
93473   echo "$as_me: failed program was:" >&5
93474 sed 's/^/| /' conftest.$ac_ext >&5
93475
93476 eval "$as_ac_var=no"
93477 fi
93478 rm -f conftest.err conftest.$ac_objext \
93479       conftest$ac_exeext conftest.$ac_ext
93480 fi
93481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93483 if test `eval echo '${'$as_ac_var'}'` = yes; then
93484   cat >>confdefs.h <<_ACEOF
93485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93486 _ACEOF
93487
93488 fi
93489 done
93490
93491     fi
93492   fi
93493
93494
93495
93496
93497
93498
93499   echo "$as_me:$LINENO: checking for logl declaration" >&5
93500 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
93501   if test x${glibcxx_cv_func_logl_use+set} != xset; then
93502     if test "${glibcxx_cv_func_logl_use+set}" = set; then
93503   echo $ECHO_N "(cached) $ECHO_C" >&6
93504 else
93505
93506
93507
93508       ac_ext=cc
93509 ac_cpp='$CXXCPP $CPPFLAGS'
93510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93513
93514       cat >conftest.$ac_ext <<_ACEOF
93515 /* confdefs.h.  */
93516 _ACEOF
93517 cat confdefs.h >>conftest.$ac_ext
93518 cat >>conftest.$ac_ext <<_ACEOF
93519 /* end confdefs.h.  */
93520 #include <math.h>
93521                       #ifdef HAVE_IEEEFP_H
93522                       #include <ieeefp.h>
93523                       #endif
93524
93525 int
93526 main ()
93527 {
93528  logl(0);
93529   ;
93530   return 0;
93531 }
93532 _ACEOF
93533 rm -f conftest.$ac_objext
93534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93535   (eval $ac_compile) 2>conftest.er1
93536   ac_status=$?
93537   grep -v '^ *+' conftest.er1 >conftest.err
93538   rm -f conftest.er1
93539   cat conftest.err >&5
93540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93541   (exit $ac_status); } &&
93542          { ac_try='test -z "$ac_cxx_werror_flag"
93543                          || test ! -s conftest.err'
93544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93545   (eval $ac_try) 2>&5
93546   ac_status=$?
93547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93548   (exit $ac_status); }; } &&
93549          { ac_try='test -s conftest.$ac_objext'
93550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93551   (eval $ac_try) 2>&5
93552   ac_status=$?
93553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93554   (exit $ac_status); }; }; then
93555   glibcxx_cv_func_logl_use=yes
93556 else
93557   echo "$as_me: failed program was:" >&5
93558 sed 's/^/| /' conftest.$ac_ext >&5
93559
93560 glibcxx_cv_func_logl_use=no
93561 fi
93562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93563       ac_ext=c
93564 ac_cpp='$CPP $CPPFLAGS'
93565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93568
93569
93570 fi
93571
93572   fi
93573   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
93574 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
93575
93576   if test x$glibcxx_cv_func_logl_use = x"yes"; then
93577
93578 for ac_func in logl
93579 do
93580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93581 echo "$as_me:$LINENO: checking for $ac_func" >&5
93582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93583 if eval "test \"\${$as_ac_var+set}\" = set"; then
93584   echo $ECHO_N "(cached) $ECHO_C" >&6
93585 else
93586   if test x$gcc_no_link = xyes; then
93587   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93589    { (exit 1); exit 1; }; }
93590 fi
93591 cat >conftest.$ac_ext <<_ACEOF
93592 /* confdefs.h.  */
93593 _ACEOF
93594 cat confdefs.h >>conftest.$ac_ext
93595 cat >>conftest.$ac_ext <<_ACEOF
93596 /* end confdefs.h.  */
93597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93598    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93599 #define $ac_func innocuous_$ac_func
93600
93601 /* System header to define __stub macros and hopefully few prototypes,
93602     which can conflict with char $ac_func (); below.
93603     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93604     <limits.h> exists even on freestanding compilers.  */
93605
93606 #ifdef __STDC__
93607 # include <limits.h>
93608 #else
93609 # include <assert.h>
93610 #endif
93611
93612 #undef $ac_func
93613
93614 /* Override any gcc2 internal prototype to avoid an error.  */
93615 #ifdef __cplusplus
93616 extern "C"
93617 {
93618 #endif
93619 /* We use char because int might match the return type of a gcc2
93620    builtin and then its argument prototype would still apply.  */
93621 char $ac_func ();
93622 /* The GNU C library defines this for functions which it implements
93623     to always fail with ENOSYS.  Some functions are actually named
93624     something starting with __ and the normal name is an alias.  */
93625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93626 choke me
93627 #else
93628 char (*f) () = $ac_func;
93629 #endif
93630 #ifdef __cplusplus
93631 }
93632 #endif
93633
93634 int
93635 main ()
93636 {
93637 return f != $ac_func;
93638   ;
93639   return 0;
93640 }
93641 _ACEOF
93642 rm -f conftest.$ac_objext conftest$ac_exeext
93643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93644   (eval $ac_link) 2>conftest.er1
93645   ac_status=$?
93646   grep -v '^ *+' conftest.er1 >conftest.err
93647   rm -f conftest.er1
93648   cat conftest.err >&5
93649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93650   (exit $ac_status); } &&
93651          { ac_try='test -z "$ac_c_werror_flag"
93652                          || test ! -s conftest.err'
93653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93654   (eval $ac_try) 2>&5
93655   ac_status=$?
93656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93657   (exit $ac_status); }; } &&
93658          { ac_try='test -s conftest$ac_exeext'
93659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93660   (eval $ac_try) 2>&5
93661   ac_status=$?
93662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93663   (exit $ac_status); }; }; then
93664   eval "$as_ac_var=yes"
93665 else
93666   echo "$as_me: failed program was:" >&5
93667 sed 's/^/| /' conftest.$ac_ext >&5
93668
93669 eval "$as_ac_var=no"
93670 fi
93671 rm -f conftest.err conftest.$ac_objext \
93672       conftest$ac_exeext conftest.$ac_ext
93673 fi
93674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93676 if test `eval echo '${'$as_ac_var'}'` = yes; then
93677   cat >>confdefs.h <<_ACEOF
93678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93679 _ACEOF
93680
93681 fi
93682 done
93683
93684   else
93685
93686   echo "$as_me:$LINENO: checking for _logl declaration" >&5
93687 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
93688   if test x${glibcxx_cv_func__logl_use+set} != xset; then
93689     if test "${glibcxx_cv_func__logl_use+set}" = set; then
93690   echo $ECHO_N "(cached) $ECHO_C" >&6
93691 else
93692
93693
93694
93695       ac_ext=cc
93696 ac_cpp='$CXXCPP $CPPFLAGS'
93697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93700
93701       cat >conftest.$ac_ext <<_ACEOF
93702 /* confdefs.h.  */
93703 _ACEOF
93704 cat confdefs.h >>conftest.$ac_ext
93705 cat >>conftest.$ac_ext <<_ACEOF
93706 /* end confdefs.h.  */
93707 #include <math.h>
93708                       #ifdef HAVE_IEEEFP_H
93709                       #include <ieeefp.h>
93710                       #endif
93711
93712 int
93713 main ()
93714 {
93715  _logl(0);
93716   ;
93717   return 0;
93718 }
93719 _ACEOF
93720 rm -f conftest.$ac_objext
93721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93722   (eval $ac_compile) 2>conftest.er1
93723   ac_status=$?
93724   grep -v '^ *+' conftest.er1 >conftest.err
93725   rm -f conftest.er1
93726   cat conftest.err >&5
93727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93728   (exit $ac_status); } &&
93729          { ac_try='test -z "$ac_cxx_werror_flag"
93730                          || test ! -s conftest.err'
93731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93732   (eval $ac_try) 2>&5
93733   ac_status=$?
93734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93735   (exit $ac_status); }; } &&
93736          { ac_try='test -s conftest.$ac_objext'
93737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93738   (eval $ac_try) 2>&5
93739   ac_status=$?
93740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93741   (exit $ac_status); }; }; then
93742   glibcxx_cv_func__logl_use=yes
93743 else
93744   echo "$as_me: failed program was:" >&5
93745 sed 's/^/| /' conftest.$ac_ext >&5
93746
93747 glibcxx_cv_func__logl_use=no
93748 fi
93749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93750       ac_ext=c
93751 ac_cpp='$CPP $CPPFLAGS'
93752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93755
93756
93757 fi
93758
93759   fi
93760   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
93761 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
93762
93763     if test x$glibcxx_cv_func__logl_use = x"yes"; then
93764
93765 for ac_func in _logl
93766 do
93767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93768 echo "$as_me:$LINENO: checking for $ac_func" >&5
93769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93770 if eval "test \"\${$as_ac_var+set}\" = set"; then
93771   echo $ECHO_N "(cached) $ECHO_C" >&6
93772 else
93773   if test x$gcc_no_link = xyes; then
93774   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93776    { (exit 1); exit 1; }; }
93777 fi
93778 cat >conftest.$ac_ext <<_ACEOF
93779 /* confdefs.h.  */
93780 _ACEOF
93781 cat confdefs.h >>conftest.$ac_ext
93782 cat >>conftest.$ac_ext <<_ACEOF
93783 /* end confdefs.h.  */
93784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93785    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93786 #define $ac_func innocuous_$ac_func
93787
93788 /* System header to define __stub macros and hopefully few prototypes,
93789     which can conflict with char $ac_func (); below.
93790     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93791     <limits.h> exists even on freestanding compilers.  */
93792
93793 #ifdef __STDC__
93794 # include <limits.h>
93795 #else
93796 # include <assert.h>
93797 #endif
93798
93799 #undef $ac_func
93800
93801 /* Override any gcc2 internal prototype to avoid an error.  */
93802 #ifdef __cplusplus
93803 extern "C"
93804 {
93805 #endif
93806 /* We use char because int might match the return type of a gcc2
93807    builtin and then its argument prototype would still apply.  */
93808 char $ac_func ();
93809 /* The GNU C library defines this for functions which it implements
93810     to always fail with ENOSYS.  Some functions are actually named
93811     something starting with __ and the normal name is an alias.  */
93812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93813 choke me
93814 #else
93815 char (*f) () = $ac_func;
93816 #endif
93817 #ifdef __cplusplus
93818 }
93819 #endif
93820
93821 int
93822 main ()
93823 {
93824 return f != $ac_func;
93825   ;
93826   return 0;
93827 }
93828 _ACEOF
93829 rm -f conftest.$ac_objext conftest$ac_exeext
93830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93831   (eval $ac_link) 2>conftest.er1
93832   ac_status=$?
93833   grep -v '^ *+' conftest.er1 >conftest.err
93834   rm -f conftest.er1
93835   cat conftest.err >&5
93836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93837   (exit $ac_status); } &&
93838          { ac_try='test -z "$ac_c_werror_flag"
93839                          || test ! -s conftest.err'
93840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93841   (eval $ac_try) 2>&5
93842   ac_status=$?
93843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93844   (exit $ac_status); }; } &&
93845          { ac_try='test -s conftest$ac_exeext'
93846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93847   (eval $ac_try) 2>&5
93848   ac_status=$?
93849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93850   (exit $ac_status); }; }; then
93851   eval "$as_ac_var=yes"
93852 else
93853   echo "$as_me: failed program was:" >&5
93854 sed 's/^/| /' conftest.$ac_ext >&5
93855
93856 eval "$as_ac_var=no"
93857 fi
93858 rm -f conftest.err conftest.$ac_objext \
93859       conftest$ac_exeext conftest.$ac_ext
93860 fi
93861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93863 if test `eval echo '${'$as_ac_var'}'` = yes; then
93864   cat >>confdefs.h <<_ACEOF
93865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93866 _ACEOF
93867
93868 fi
93869 done
93870
93871     fi
93872   fi
93873
93874
93875
93876
93877
93878
93879   echo "$as_me:$LINENO: checking for log10l declaration" >&5
93880 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
93881   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
93882     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
93883   echo $ECHO_N "(cached) $ECHO_C" >&6
93884 else
93885
93886
93887
93888       ac_ext=cc
93889 ac_cpp='$CXXCPP $CPPFLAGS'
93890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93893
93894       cat >conftest.$ac_ext <<_ACEOF
93895 /* confdefs.h.  */
93896 _ACEOF
93897 cat confdefs.h >>conftest.$ac_ext
93898 cat >>conftest.$ac_ext <<_ACEOF
93899 /* end confdefs.h.  */
93900 #include <math.h>
93901                       #ifdef HAVE_IEEEFP_H
93902                       #include <ieeefp.h>
93903                       #endif
93904
93905 int
93906 main ()
93907 {
93908  log10l(0);
93909   ;
93910   return 0;
93911 }
93912 _ACEOF
93913 rm -f conftest.$ac_objext
93914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93915   (eval $ac_compile) 2>conftest.er1
93916   ac_status=$?
93917   grep -v '^ *+' conftest.er1 >conftest.err
93918   rm -f conftest.er1
93919   cat conftest.err >&5
93920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93921   (exit $ac_status); } &&
93922          { ac_try='test -z "$ac_cxx_werror_flag"
93923                          || test ! -s conftest.err'
93924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93925   (eval $ac_try) 2>&5
93926   ac_status=$?
93927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93928   (exit $ac_status); }; } &&
93929          { ac_try='test -s conftest.$ac_objext'
93930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93931   (eval $ac_try) 2>&5
93932   ac_status=$?
93933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93934   (exit $ac_status); }; }; then
93935   glibcxx_cv_func_log10l_use=yes
93936 else
93937   echo "$as_me: failed program was:" >&5
93938 sed 's/^/| /' conftest.$ac_ext >&5
93939
93940 glibcxx_cv_func_log10l_use=no
93941 fi
93942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93943       ac_ext=c
93944 ac_cpp='$CPP $CPPFLAGS'
93945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93948
93949
93950 fi
93951
93952   fi
93953   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
93954 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
93955
93956   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
93957
93958 for ac_func in log10l
93959 do
93960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93961 echo "$as_me:$LINENO: checking for $ac_func" >&5
93962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93963 if eval "test \"\${$as_ac_var+set}\" = set"; then
93964   echo $ECHO_N "(cached) $ECHO_C" >&6
93965 else
93966   if test x$gcc_no_link = xyes; then
93967   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93969    { (exit 1); exit 1; }; }
93970 fi
93971 cat >conftest.$ac_ext <<_ACEOF
93972 /* confdefs.h.  */
93973 _ACEOF
93974 cat confdefs.h >>conftest.$ac_ext
93975 cat >>conftest.$ac_ext <<_ACEOF
93976 /* end confdefs.h.  */
93977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93978    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93979 #define $ac_func innocuous_$ac_func
93980
93981 /* System header to define __stub macros and hopefully few prototypes,
93982     which can conflict with char $ac_func (); below.
93983     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93984     <limits.h> exists even on freestanding compilers.  */
93985
93986 #ifdef __STDC__
93987 # include <limits.h>
93988 #else
93989 # include <assert.h>
93990 #endif
93991
93992 #undef $ac_func
93993
93994 /* Override any gcc2 internal prototype to avoid an error.  */
93995 #ifdef __cplusplus
93996 extern "C"
93997 {
93998 #endif
93999 /* We use char because int might match the return type of a gcc2
94000    builtin and then its argument prototype would still apply.  */
94001 char $ac_func ();
94002 /* The GNU C library defines this for functions which it implements
94003     to always fail with ENOSYS.  Some functions are actually named
94004     something starting with __ and the normal name is an alias.  */
94005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94006 choke me
94007 #else
94008 char (*f) () = $ac_func;
94009 #endif
94010 #ifdef __cplusplus
94011 }
94012 #endif
94013
94014 int
94015 main ()
94016 {
94017 return f != $ac_func;
94018   ;
94019   return 0;
94020 }
94021 _ACEOF
94022 rm -f conftest.$ac_objext conftest$ac_exeext
94023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94024   (eval $ac_link) 2>conftest.er1
94025   ac_status=$?
94026   grep -v '^ *+' conftest.er1 >conftest.err
94027   rm -f conftest.er1
94028   cat conftest.err >&5
94029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94030   (exit $ac_status); } &&
94031          { ac_try='test -z "$ac_c_werror_flag"
94032                          || test ! -s conftest.err'
94033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94034   (eval $ac_try) 2>&5
94035   ac_status=$?
94036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94037   (exit $ac_status); }; } &&
94038          { ac_try='test -s conftest$ac_exeext'
94039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94040   (eval $ac_try) 2>&5
94041   ac_status=$?
94042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94043   (exit $ac_status); }; }; then
94044   eval "$as_ac_var=yes"
94045 else
94046   echo "$as_me: failed program was:" >&5
94047 sed 's/^/| /' conftest.$ac_ext >&5
94048
94049 eval "$as_ac_var=no"
94050 fi
94051 rm -f conftest.err conftest.$ac_objext \
94052       conftest$ac_exeext conftest.$ac_ext
94053 fi
94054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94056 if test `eval echo '${'$as_ac_var'}'` = yes; then
94057   cat >>confdefs.h <<_ACEOF
94058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94059 _ACEOF
94060
94061 fi
94062 done
94063
94064   else
94065
94066   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
94067 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
94068   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
94069     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
94070   echo $ECHO_N "(cached) $ECHO_C" >&6
94071 else
94072
94073
94074
94075       ac_ext=cc
94076 ac_cpp='$CXXCPP $CPPFLAGS'
94077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94080
94081       cat >conftest.$ac_ext <<_ACEOF
94082 /* confdefs.h.  */
94083 _ACEOF
94084 cat confdefs.h >>conftest.$ac_ext
94085 cat >>conftest.$ac_ext <<_ACEOF
94086 /* end confdefs.h.  */
94087 #include <math.h>
94088                       #ifdef HAVE_IEEEFP_H
94089                       #include <ieeefp.h>
94090                       #endif
94091
94092 int
94093 main ()
94094 {
94095  _log10l(0);
94096   ;
94097   return 0;
94098 }
94099 _ACEOF
94100 rm -f conftest.$ac_objext
94101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94102   (eval $ac_compile) 2>conftest.er1
94103   ac_status=$?
94104   grep -v '^ *+' conftest.er1 >conftest.err
94105   rm -f conftest.er1
94106   cat conftest.err >&5
94107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94108   (exit $ac_status); } &&
94109          { ac_try='test -z "$ac_cxx_werror_flag"
94110                          || test ! -s conftest.err'
94111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94112   (eval $ac_try) 2>&5
94113   ac_status=$?
94114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94115   (exit $ac_status); }; } &&
94116          { ac_try='test -s conftest.$ac_objext'
94117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94118   (eval $ac_try) 2>&5
94119   ac_status=$?
94120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94121   (exit $ac_status); }; }; then
94122   glibcxx_cv_func__log10l_use=yes
94123 else
94124   echo "$as_me: failed program was:" >&5
94125 sed 's/^/| /' conftest.$ac_ext >&5
94126
94127 glibcxx_cv_func__log10l_use=no
94128 fi
94129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94130       ac_ext=c
94131 ac_cpp='$CPP $CPPFLAGS'
94132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94135
94136
94137 fi
94138
94139   fi
94140   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
94141 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
94142
94143     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
94144
94145 for ac_func in _log10l
94146 do
94147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94148 echo "$as_me:$LINENO: checking for $ac_func" >&5
94149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94150 if eval "test \"\${$as_ac_var+set}\" = set"; then
94151   echo $ECHO_N "(cached) $ECHO_C" >&6
94152 else
94153   if test x$gcc_no_link = xyes; then
94154   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94156    { (exit 1); exit 1; }; }
94157 fi
94158 cat >conftest.$ac_ext <<_ACEOF
94159 /* confdefs.h.  */
94160 _ACEOF
94161 cat confdefs.h >>conftest.$ac_ext
94162 cat >>conftest.$ac_ext <<_ACEOF
94163 /* end confdefs.h.  */
94164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94165    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94166 #define $ac_func innocuous_$ac_func
94167
94168 /* System header to define __stub macros and hopefully few prototypes,
94169     which can conflict with char $ac_func (); below.
94170     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94171     <limits.h> exists even on freestanding compilers.  */
94172
94173 #ifdef __STDC__
94174 # include <limits.h>
94175 #else
94176 # include <assert.h>
94177 #endif
94178
94179 #undef $ac_func
94180
94181 /* Override any gcc2 internal prototype to avoid an error.  */
94182 #ifdef __cplusplus
94183 extern "C"
94184 {
94185 #endif
94186 /* We use char because int might match the return type of a gcc2
94187    builtin and then its argument prototype would still apply.  */
94188 char $ac_func ();
94189 /* The GNU C library defines this for functions which it implements
94190     to always fail with ENOSYS.  Some functions are actually named
94191     something starting with __ and the normal name is an alias.  */
94192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94193 choke me
94194 #else
94195 char (*f) () = $ac_func;
94196 #endif
94197 #ifdef __cplusplus
94198 }
94199 #endif
94200
94201 int
94202 main ()
94203 {
94204 return f != $ac_func;
94205   ;
94206   return 0;
94207 }
94208 _ACEOF
94209 rm -f conftest.$ac_objext conftest$ac_exeext
94210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94211   (eval $ac_link) 2>conftest.er1
94212   ac_status=$?
94213   grep -v '^ *+' conftest.er1 >conftest.err
94214   rm -f conftest.er1
94215   cat conftest.err >&5
94216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94217   (exit $ac_status); } &&
94218          { ac_try='test -z "$ac_c_werror_flag"
94219                          || test ! -s conftest.err'
94220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94221   (eval $ac_try) 2>&5
94222   ac_status=$?
94223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94224   (exit $ac_status); }; } &&
94225          { ac_try='test -s conftest$ac_exeext'
94226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94227   (eval $ac_try) 2>&5
94228   ac_status=$?
94229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94230   (exit $ac_status); }; }; then
94231   eval "$as_ac_var=yes"
94232 else
94233   echo "$as_me: failed program was:" >&5
94234 sed 's/^/| /' conftest.$ac_ext >&5
94235
94236 eval "$as_ac_var=no"
94237 fi
94238 rm -f conftest.err conftest.$ac_objext \
94239       conftest$ac_exeext conftest.$ac_ext
94240 fi
94241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94243 if test `eval echo '${'$as_ac_var'}'` = yes; then
94244   cat >>confdefs.h <<_ACEOF
94245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94246 _ACEOF
94247
94248 fi
94249 done
94250
94251     fi
94252   fi
94253
94254
94255
94256
94257
94258
94259   echo "$as_me:$LINENO: checking for modfl declaration" >&5
94260 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
94261   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
94262     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
94263   echo $ECHO_N "(cached) $ECHO_C" >&6
94264 else
94265
94266
94267
94268       ac_ext=cc
94269 ac_cpp='$CXXCPP $CPPFLAGS'
94270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94273
94274       cat >conftest.$ac_ext <<_ACEOF
94275 /* confdefs.h.  */
94276 _ACEOF
94277 cat confdefs.h >>conftest.$ac_ext
94278 cat >>conftest.$ac_ext <<_ACEOF
94279 /* end confdefs.h.  */
94280 #include <math.h>
94281 int
94282 main ()
94283 {
94284  modfl(0, 0);
94285   ;
94286   return 0;
94287 }
94288 _ACEOF
94289 rm -f conftest.$ac_objext
94290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94291   (eval $ac_compile) 2>conftest.er1
94292   ac_status=$?
94293   grep -v '^ *+' conftest.er1 >conftest.err
94294   rm -f conftest.er1
94295   cat conftest.err >&5
94296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94297   (exit $ac_status); } &&
94298          { ac_try='test -z "$ac_cxx_werror_flag"
94299                          || test ! -s conftest.err'
94300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94301   (eval $ac_try) 2>&5
94302   ac_status=$?
94303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94304   (exit $ac_status); }; } &&
94305          { ac_try='test -s conftest.$ac_objext'
94306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94307   (eval $ac_try) 2>&5
94308   ac_status=$?
94309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94310   (exit $ac_status); }; }; then
94311   glibcxx_cv_func_modfl_use=yes
94312 else
94313   echo "$as_me: failed program was:" >&5
94314 sed 's/^/| /' conftest.$ac_ext >&5
94315
94316 glibcxx_cv_func_modfl_use=no
94317 fi
94318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94319       ac_ext=c
94320 ac_cpp='$CPP $CPPFLAGS'
94321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94324
94325
94326 fi
94327
94328   fi
94329   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
94330 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
94331
94332   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
94333
94334 for ac_func in modfl
94335 do
94336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94337 echo "$as_me:$LINENO: checking for $ac_func" >&5
94338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94339 if eval "test \"\${$as_ac_var+set}\" = set"; then
94340   echo $ECHO_N "(cached) $ECHO_C" >&6
94341 else
94342   if test x$gcc_no_link = xyes; then
94343   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94345    { (exit 1); exit 1; }; }
94346 fi
94347 cat >conftest.$ac_ext <<_ACEOF
94348 /* confdefs.h.  */
94349 _ACEOF
94350 cat confdefs.h >>conftest.$ac_ext
94351 cat >>conftest.$ac_ext <<_ACEOF
94352 /* end confdefs.h.  */
94353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94354    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94355 #define $ac_func innocuous_$ac_func
94356
94357 /* System header to define __stub macros and hopefully few prototypes,
94358     which can conflict with char $ac_func (); below.
94359     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94360     <limits.h> exists even on freestanding compilers.  */
94361
94362 #ifdef __STDC__
94363 # include <limits.h>
94364 #else
94365 # include <assert.h>
94366 #endif
94367
94368 #undef $ac_func
94369
94370 /* Override any gcc2 internal prototype to avoid an error.  */
94371 #ifdef __cplusplus
94372 extern "C"
94373 {
94374 #endif
94375 /* We use char because int might match the return type of a gcc2
94376    builtin and then its argument prototype would still apply.  */
94377 char $ac_func ();
94378 /* The GNU C library defines this for functions which it implements
94379     to always fail with ENOSYS.  Some functions are actually named
94380     something starting with __ and the normal name is an alias.  */
94381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94382 choke me
94383 #else
94384 char (*f) () = $ac_func;
94385 #endif
94386 #ifdef __cplusplus
94387 }
94388 #endif
94389
94390 int
94391 main ()
94392 {
94393 return f != $ac_func;
94394   ;
94395   return 0;
94396 }
94397 _ACEOF
94398 rm -f conftest.$ac_objext conftest$ac_exeext
94399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94400   (eval $ac_link) 2>conftest.er1
94401   ac_status=$?
94402   grep -v '^ *+' conftest.er1 >conftest.err
94403   rm -f conftest.er1
94404   cat conftest.err >&5
94405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94406   (exit $ac_status); } &&
94407          { ac_try='test -z "$ac_c_werror_flag"
94408                          || test ! -s conftest.err'
94409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94410   (eval $ac_try) 2>&5
94411   ac_status=$?
94412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94413   (exit $ac_status); }; } &&
94414          { ac_try='test -s conftest$ac_exeext'
94415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94416   (eval $ac_try) 2>&5
94417   ac_status=$?
94418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94419   (exit $ac_status); }; }; then
94420   eval "$as_ac_var=yes"
94421 else
94422   echo "$as_me: failed program was:" >&5
94423 sed 's/^/| /' conftest.$ac_ext >&5
94424
94425 eval "$as_ac_var=no"
94426 fi
94427 rm -f conftest.err conftest.$ac_objext \
94428       conftest$ac_exeext conftest.$ac_ext
94429 fi
94430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94432 if test `eval echo '${'$as_ac_var'}'` = yes; then
94433   cat >>confdefs.h <<_ACEOF
94434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94435 _ACEOF
94436
94437 fi
94438 done
94439
94440   else
94441
94442   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
94443 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
94444   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
94445     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
94446   echo $ECHO_N "(cached) $ECHO_C" >&6
94447 else
94448
94449
94450
94451       ac_ext=cc
94452 ac_cpp='$CXXCPP $CPPFLAGS'
94453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94456
94457       cat >conftest.$ac_ext <<_ACEOF
94458 /* confdefs.h.  */
94459 _ACEOF
94460 cat confdefs.h >>conftest.$ac_ext
94461 cat >>conftest.$ac_ext <<_ACEOF
94462 /* end confdefs.h.  */
94463 #include <math.h>
94464 int
94465 main ()
94466 {
94467  _modfl(0, 0);
94468   ;
94469   return 0;
94470 }
94471 _ACEOF
94472 rm -f conftest.$ac_objext
94473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94474   (eval $ac_compile) 2>conftest.er1
94475   ac_status=$?
94476   grep -v '^ *+' conftest.er1 >conftest.err
94477   rm -f conftest.er1
94478   cat conftest.err >&5
94479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94480   (exit $ac_status); } &&
94481          { ac_try='test -z "$ac_cxx_werror_flag"
94482                          || test ! -s conftest.err'
94483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94484   (eval $ac_try) 2>&5
94485   ac_status=$?
94486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94487   (exit $ac_status); }; } &&
94488          { ac_try='test -s conftest.$ac_objext'
94489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94490   (eval $ac_try) 2>&5
94491   ac_status=$?
94492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94493   (exit $ac_status); }; }; then
94494   glibcxx_cv_func__modfl_use=yes
94495 else
94496   echo "$as_me: failed program was:" >&5
94497 sed 's/^/| /' conftest.$ac_ext >&5
94498
94499 glibcxx_cv_func__modfl_use=no
94500 fi
94501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94502       ac_ext=c
94503 ac_cpp='$CPP $CPPFLAGS'
94504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94507
94508
94509 fi
94510
94511   fi
94512   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
94513 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
94514
94515     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
94516
94517 for ac_func in _modfl
94518 do
94519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94520 echo "$as_me:$LINENO: checking for $ac_func" >&5
94521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94522 if eval "test \"\${$as_ac_var+set}\" = set"; then
94523   echo $ECHO_N "(cached) $ECHO_C" >&6
94524 else
94525   if test x$gcc_no_link = xyes; then
94526   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94528    { (exit 1); exit 1; }; }
94529 fi
94530 cat >conftest.$ac_ext <<_ACEOF
94531 /* confdefs.h.  */
94532 _ACEOF
94533 cat confdefs.h >>conftest.$ac_ext
94534 cat >>conftest.$ac_ext <<_ACEOF
94535 /* end confdefs.h.  */
94536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94537    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94538 #define $ac_func innocuous_$ac_func
94539
94540 /* System header to define __stub macros and hopefully few prototypes,
94541     which can conflict with char $ac_func (); below.
94542     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94543     <limits.h> exists even on freestanding compilers.  */
94544
94545 #ifdef __STDC__
94546 # include <limits.h>
94547 #else
94548 # include <assert.h>
94549 #endif
94550
94551 #undef $ac_func
94552
94553 /* Override any gcc2 internal prototype to avoid an error.  */
94554 #ifdef __cplusplus
94555 extern "C"
94556 {
94557 #endif
94558 /* We use char because int might match the return type of a gcc2
94559    builtin and then its argument prototype would still apply.  */
94560 char $ac_func ();
94561 /* The GNU C library defines this for functions which it implements
94562     to always fail with ENOSYS.  Some functions are actually named
94563     something starting with __ and the normal name is an alias.  */
94564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94565 choke me
94566 #else
94567 char (*f) () = $ac_func;
94568 #endif
94569 #ifdef __cplusplus
94570 }
94571 #endif
94572
94573 int
94574 main ()
94575 {
94576 return f != $ac_func;
94577   ;
94578   return 0;
94579 }
94580 _ACEOF
94581 rm -f conftest.$ac_objext conftest$ac_exeext
94582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94583   (eval $ac_link) 2>conftest.er1
94584   ac_status=$?
94585   grep -v '^ *+' conftest.er1 >conftest.err
94586   rm -f conftest.er1
94587   cat conftest.err >&5
94588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94589   (exit $ac_status); } &&
94590          { ac_try='test -z "$ac_c_werror_flag"
94591                          || test ! -s conftest.err'
94592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94593   (eval $ac_try) 2>&5
94594   ac_status=$?
94595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94596   (exit $ac_status); }; } &&
94597          { ac_try='test -s conftest$ac_exeext'
94598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94599   (eval $ac_try) 2>&5
94600   ac_status=$?
94601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94602   (exit $ac_status); }; }; then
94603   eval "$as_ac_var=yes"
94604 else
94605   echo "$as_me: failed program was:" >&5
94606 sed 's/^/| /' conftest.$ac_ext >&5
94607
94608 eval "$as_ac_var=no"
94609 fi
94610 rm -f conftest.err conftest.$ac_objext \
94611       conftest$ac_exeext conftest.$ac_ext
94612 fi
94613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94615 if test `eval echo '${'$as_ac_var'}'` = yes; then
94616   cat >>confdefs.h <<_ACEOF
94617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94618 _ACEOF
94619
94620 fi
94621 done
94622
94623     fi
94624   fi
94625
94626
94627
94628
94629
94630
94631   echo "$as_me:$LINENO: checking for powl declaration" >&5
94632 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
94633   if test x${glibcxx_cv_func_powl_use+set} != xset; then
94634     if test "${glibcxx_cv_func_powl_use+set}" = set; then
94635   echo $ECHO_N "(cached) $ECHO_C" >&6
94636 else
94637
94638
94639
94640       ac_ext=cc
94641 ac_cpp='$CXXCPP $CPPFLAGS'
94642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94645
94646       cat >conftest.$ac_ext <<_ACEOF
94647 /* confdefs.h.  */
94648 _ACEOF
94649 cat confdefs.h >>conftest.$ac_ext
94650 cat >>conftest.$ac_ext <<_ACEOF
94651 /* end confdefs.h.  */
94652 #include <math.h>
94653 int
94654 main ()
94655 {
94656  powl(0, 0);
94657   ;
94658   return 0;
94659 }
94660 _ACEOF
94661 rm -f conftest.$ac_objext
94662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94663   (eval $ac_compile) 2>conftest.er1
94664   ac_status=$?
94665   grep -v '^ *+' conftest.er1 >conftest.err
94666   rm -f conftest.er1
94667   cat conftest.err >&5
94668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94669   (exit $ac_status); } &&
94670          { ac_try='test -z "$ac_cxx_werror_flag"
94671                          || test ! -s conftest.err'
94672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94673   (eval $ac_try) 2>&5
94674   ac_status=$?
94675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94676   (exit $ac_status); }; } &&
94677          { ac_try='test -s conftest.$ac_objext'
94678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94679   (eval $ac_try) 2>&5
94680   ac_status=$?
94681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94682   (exit $ac_status); }; }; then
94683   glibcxx_cv_func_powl_use=yes
94684 else
94685   echo "$as_me: failed program was:" >&5
94686 sed 's/^/| /' conftest.$ac_ext >&5
94687
94688 glibcxx_cv_func_powl_use=no
94689 fi
94690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94691       ac_ext=c
94692 ac_cpp='$CPP $CPPFLAGS'
94693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94696
94697
94698 fi
94699
94700   fi
94701   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
94702 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
94703
94704   if test x$glibcxx_cv_func_powl_use = x"yes"; then
94705
94706 for ac_func in powl
94707 do
94708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94709 echo "$as_me:$LINENO: checking for $ac_func" >&5
94710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94711 if eval "test \"\${$as_ac_var+set}\" = set"; then
94712   echo $ECHO_N "(cached) $ECHO_C" >&6
94713 else
94714   if test x$gcc_no_link = xyes; then
94715   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94717    { (exit 1); exit 1; }; }
94718 fi
94719 cat >conftest.$ac_ext <<_ACEOF
94720 /* confdefs.h.  */
94721 _ACEOF
94722 cat confdefs.h >>conftest.$ac_ext
94723 cat >>conftest.$ac_ext <<_ACEOF
94724 /* end confdefs.h.  */
94725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94726    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94727 #define $ac_func innocuous_$ac_func
94728
94729 /* System header to define __stub macros and hopefully few prototypes,
94730     which can conflict with char $ac_func (); below.
94731     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94732     <limits.h> exists even on freestanding compilers.  */
94733
94734 #ifdef __STDC__
94735 # include <limits.h>
94736 #else
94737 # include <assert.h>
94738 #endif
94739
94740 #undef $ac_func
94741
94742 /* Override any gcc2 internal prototype to avoid an error.  */
94743 #ifdef __cplusplus
94744 extern "C"
94745 {
94746 #endif
94747 /* We use char because int might match the return type of a gcc2
94748    builtin and then its argument prototype would still apply.  */
94749 char $ac_func ();
94750 /* The GNU C library defines this for functions which it implements
94751     to always fail with ENOSYS.  Some functions are actually named
94752     something starting with __ and the normal name is an alias.  */
94753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94754 choke me
94755 #else
94756 char (*f) () = $ac_func;
94757 #endif
94758 #ifdef __cplusplus
94759 }
94760 #endif
94761
94762 int
94763 main ()
94764 {
94765 return f != $ac_func;
94766   ;
94767   return 0;
94768 }
94769 _ACEOF
94770 rm -f conftest.$ac_objext conftest$ac_exeext
94771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94772   (eval $ac_link) 2>conftest.er1
94773   ac_status=$?
94774   grep -v '^ *+' conftest.er1 >conftest.err
94775   rm -f conftest.er1
94776   cat conftest.err >&5
94777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94778   (exit $ac_status); } &&
94779          { ac_try='test -z "$ac_c_werror_flag"
94780                          || test ! -s conftest.err'
94781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94782   (eval $ac_try) 2>&5
94783   ac_status=$?
94784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94785   (exit $ac_status); }; } &&
94786          { ac_try='test -s conftest$ac_exeext'
94787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94788   (eval $ac_try) 2>&5
94789   ac_status=$?
94790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94791   (exit $ac_status); }; }; then
94792   eval "$as_ac_var=yes"
94793 else
94794   echo "$as_me: failed program was:" >&5
94795 sed 's/^/| /' conftest.$ac_ext >&5
94796
94797 eval "$as_ac_var=no"
94798 fi
94799 rm -f conftest.err conftest.$ac_objext \
94800       conftest$ac_exeext conftest.$ac_ext
94801 fi
94802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94804 if test `eval echo '${'$as_ac_var'}'` = yes; then
94805   cat >>confdefs.h <<_ACEOF
94806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94807 _ACEOF
94808
94809 fi
94810 done
94811
94812   else
94813
94814   echo "$as_me:$LINENO: checking for _powl declaration" >&5
94815 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
94816   if test x${glibcxx_cv_func__powl_use+set} != xset; then
94817     if test "${glibcxx_cv_func__powl_use+set}" = set; then
94818   echo $ECHO_N "(cached) $ECHO_C" >&6
94819 else
94820
94821
94822
94823       ac_ext=cc
94824 ac_cpp='$CXXCPP $CPPFLAGS'
94825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94828
94829       cat >conftest.$ac_ext <<_ACEOF
94830 /* confdefs.h.  */
94831 _ACEOF
94832 cat confdefs.h >>conftest.$ac_ext
94833 cat >>conftest.$ac_ext <<_ACEOF
94834 /* end confdefs.h.  */
94835 #include <math.h>
94836 int
94837 main ()
94838 {
94839  _powl(0, 0);
94840   ;
94841   return 0;
94842 }
94843 _ACEOF
94844 rm -f conftest.$ac_objext
94845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94846   (eval $ac_compile) 2>conftest.er1
94847   ac_status=$?
94848   grep -v '^ *+' conftest.er1 >conftest.err
94849   rm -f conftest.er1
94850   cat conftest.err >&5
94851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94852   (exit $ac_status); } &&
94853          { ac_try='test -z "$ac_cxx_werror_flag"
94854                          || test ! -s conftest.err'
94855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94856   (eval $ac_try) 2>&5
94857   ac_status=$?
94858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94859   (exit $ac_status); }; } &&
94860          { ac_try='test -s conftest.$ac_objext'
94861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94862   (eval $ac_try) 2>&5
94863   ac_status=$?
94864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94865   (exit $ac_status); }; }; then
94866   glibcxx_cv_func__powl_use=yes
94867 else
94868   echo "$as_me: failed program was:" >&5
94869 sed 's/^/| /' conftest.$ac_ext >&5
94870
94871 glibcxx_cv_func__powl_use=no
94872 fi
94873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94874       ac_ext=c
94875 ac_cpp='$CPP $CPPFLAGS'
94876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94879
94880
94881 fi
94882
94883   fi
94884   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
94885 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
94886
94887     if test x$glibcxx_cv_func__powl_use = x"yes"; then
94888
94889 for ac_func in _powl
94890 do
94891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94892 echo "$as_me:$LINENO: checking for $ac_func" >&5
94893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94894 if eval "test \"\${$as_ac_var+set}\" = set"; then
94895   echo $ECHO_N "(cached) $ECHO_C" >&6
94896 else
94897   if test x$gcc_no_link = xyes; then
94898   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94900    { (exit 1); exit 1; }; }
94901 fi
94902 cat >conftest.$ac_ext <<_ACEOF
94903 /* confdefs.h.  */
94904 _ACEOF
94905 cat confdefs.h >>conftest.$ac_ext
94906 cat >>conftest.$ac_ext <<_ACEOF
94907 /* end confdefs.h.  */
94908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94909    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94910 #define $ac_func innocuous_$ac_func
94911
94912 /* System header to define __stub macros and hopefully few prototypes,
94913     which can conflict with char $ac_func (); below.
94914     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94915     <limits.h> exists even on freestanding compilers.  */
94916
94917 #ifdef __STDC__
94918 # include <limits.h>
94919 #else
94920 # include <assert.h>
94921 #endif
94922
94923 #undef $ac_func
94924
94925 /* Override any gcc2 internal prototype to avoid an error.  */
94926 #ifdef __cplusplus
94927 extern "C"
94928 {
94929 #endif
94930 /* We use char because int might match the return type of a gcc2
94931    builtin and then its argument prototype would still apply.  */
94932 char $ac_func ();
94933 /* The GNU C library defines this for functions which it implements
94934     to always fail with ENOSYS.  Some functions are actually named
94935     something starting with __ and the normal name is an alias.  */
94936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94937 choke me
94938 #else
94939 char (*f) () = $ac_func;
94940 #endif
94941 #ifdef __cplusplus
94942 }
94943 #endif
94944
94945 int
94946 main ()
94947 {
94948 return f != $ac_func;
94949   ;
94950   return 0;
94951 }
94952 _ACEOF
94953 rm -f conftest.$ac_objext conftest$ac_exeext
94954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94955   (eval $ac_link) 2>conftest.er1
94956   ac_status=$?
94957   grep -v '^ *+' conftest.er1 >conftest.err
94958   rm -f conftest.er1
94959   cat conftest.err >&5
94960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94961   (exit $ac_status); } &&
94962          { ac_try='test -z "$ac_c_werror_flag"
94963                          || test ! -s conftest.err'
94964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94965   (eval $ac_try) 2>&5
94966   ac_status=$?
94967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94968   (exit $ac_status); }; } &&
94969          { ac_try='test -s conftest$ac_exeext'
94970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94971   (eval $ac_try) 2>&5
94972   ac_status=$?
94973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94974   (exit $ac_status); }; }; then
94975   eval "$as_ac_var=yes"
94976 else
94977   echo "$as_me: failed program was:" >&5
94978 sed 's/^/| /' conftest.$ac_ext >&5
94979
94980 eval "$as_ac_var=no"
94981 fi
94982 rm -f conftest.err conftest.$ac_objext \
94983       conftest$ac_exeext conftest.$ac_ext
94984 fi
94985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94987 if test `eval echo '${'$as_ac_var'}'` = yes; then
94988   cat >>confdefs.h <<_ACEOF
94989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94990 _ACEOF
94991
94992 fi
94993 done
94994
94995     fi
94996   fi
94997
94998
94999
95000
95001
95002
95003   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
95004 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
95005   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
95006     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
95007   echo $ECHO_N "(cached) $ECHO_C" >&6
95008 else
95009
95010
95011
95012       ac_ext=cc
95013 ac_cpp='$CXXCPP $CPPFLAGS'
95014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95017
95018       cat >conftest.$ac_ext <<_ACEOF
95019 /* confdefs.h.  */
95020 _ACEOF
95021 cat confdefs.h >>conftest.$ac_ext
95022 cat >>conftest.$ac_ext <<_ACEOF
95023 /* end confdefs.h.  */
95024 #include <math.h>
95025                       #ifdef HAVE_IEEEFP_H
95026                       #include <ieeefp.h>
95027                       #endif
95028
95029 int
95030 main ()
95031 {
95032  sqrtl(0);
95033   ;
95034   return 0;
95035 }
95036 _ACEOF
95037 rm -f conftest.$ac_objext
95038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95039   (eval $ac_compile) 2>conftest.er1
95040   ac_status=$?
95041   grep -v '^ *+' conftest.er1 >conftest.err
95042   rm -f conftest.er1
95043   cat conftest.err >&5
95044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95045   (exit $ac_status); } &&
95046          { ac_try='test -z "$ac_cxx_werror_flag"
95047                          || test ! -s conftest.err'
95048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95049   (eval $ac_try) 2>&5
95050   ac_status=$?
95051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95052   (exit $ac_status); }; } &&
95053          { ac_try='test -s conftest.$ac_objext'
95054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95055   (eval $ac_try) 2>&5
95056   ac_status=$?
95057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95058   (exit $ac_status); }; }; then
95059   glibcxx_cv_func_sqrtl_use=yes
95060 else
95061   echo "$as_me: failed program was:" >&5
95062 sed 's/^/| /' conftest.$ac_ext >&5
95063
95064 glibcxx_cv_func_sqrtl_use=no
95065 fi
95066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95067       ac_ext=c
95068 ac_cpp='$CPP $CPPFLAGS'
95069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95072
95073
95074 fi
95075
95076   fi
95077   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
95078 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
95079
95080   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
95081
95082 for ac_func in sqrtl
95083 do
95084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95085 echo "$as_me:$LINENO: checking for $ac_func" >&5
95086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95087 if eval "test \"\${$as_ac_var+set}\" = set"; then
95088   echo $ECHO_N "(cached) $ECHO_C" >&6
95089 else
95090   if test x$gcc_no_link = xyes; then
95091   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95093    { (exit 1); exit 1; }; }
95094 fi
95095 cat >conftest.$ac_ext <<_ACEOF
95096 /* confdefs.h.  */
95097 _ACEOF
95098 cat confdefs.h >>conftest.$ac_ext
95099 cat >>conftest.$ac_ext <<_ACEOF
95100 /* end confdefs.h.  */
95101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95102    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95103 #define $ac_func innocuous_$ac_func
95104
95105 /* System header to define __stub macros and hopefully few prototypes,
95106     which can conflict with char $ac_func (); below.
95107     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95108     <limits.h> exists even on freestanding compilers.  */
95109
95110 #ifdef __STDC__
95111 # include <limits.h>
95112 #else
95113 # include <assert.h>
95114 #endif
95115
95116 #undef $ac_func
95117
95118 /* Override any gcc2 internal prototype to avoid an error.  */
95119 #ifdef __cplusplus
95120 extern "C"
95121 {
95122 #endif
95123 /* We use char because int might match the return type of a gcc2
95124    builtin and then its argument prototype would still apply.  */
95125 char $ac_func ();
95126 /* The GNU C library defines this for functions which it implements
95127     to always fail with ENOSYS.  Some functions are actually named
95128     something starting with __ and the normal name is an alias.  */
95129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95130 choke me
95131 #else
95132 char (*f) () = $ac_func;
95133 #endif
95134 #ifdef __cplusplus
95135 }
95136 #endif
95137
95138 int
95139 main ()
95140 {
95141 return f != $ac_func;
95142   ;
95143   return 0;
95144 }
95145 _ACEOF
95146 rm -f conftest.$ac_objext conftest$ac_exeext
95147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95148   (eval $ac_link) 2>conftest.er1
95149   ac_status=$?
95150   grep -v '^ *+' conftest.er1 >conftest.err
95151   rm -f conftest.er1
95152   cat conftest.err >&5
95153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95154   (exit $ac_status); } &&
95155          { ac_try='test -z "$ac_c_werror_flag"
95156                          || test ! -s conftest.err'
95157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95158   (eval $ac_try) 2>&5
95159   ac_status=$?
95160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95161   (exit $ac_status); }; } &&
95162          { ac_try='test -s conftest$ac_exeext'
95163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95164   (eval $ac_try) 2>&5
95165   ac_status=$?
95166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95167   (exit $ac_status); }; }; then
95168   eval "$as_ac_var=yes"
95169 else
95170   echo "$as_me: failed program was:" >&5
95171 sed 's/^/| /' conftest.$ac_ext >&5
95172
95173 eval "$as_ac_var=no"
95174 fi
95175 rm -f conftest.err conftest.$ac_objext \
95176       conftest$ac_exeext conftest.$ac_ext
95177 fi
95178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95180 if test `eval echo '${'$as_ac_var'}'` = yes; then
95181   cat >>confdefs.h <<_ACEOF
95182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95183 _ACEOF
95184
95185 fi
95186 done
95187
95188   else
95189
95190   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
95191 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
95192   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
95193     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
95194   echo $ECHO_N "(cached) $ECHO_C" >&6
95195 else
95196
95197
95198
95199       ac_ext=cc
95200 ac_cpp='$CXXCPP $CPPFLAGS'
95201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95204
95205       cat >conftest.$ac_ext <<_ACEOF
95206 /* confdefs.h.  */
95207 _ACEOF
95208 cat confdefs.h >>conftest.$ac_ext
95209 cat >>conftest.$ac_ext <<_ACEOF
95210 /* end confdefs.h.  */
95211 #include <math.h>
95212                       #ifdef HAVE_IEEEFP_H
95213                       #include <ieeefp.h>
95214                       #endif
95215
95216 int
95217 main ()
95218 {
95219  _sqrtl(0);
95220   ;
95221   return 0;
95222 }
95223 _ACEOF
95224 rm -f conftest.$ac_objext
95225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95226   (eval $ac_compile) 2>conftest.er1
95227   ac_status=$?
95228   grep -v '^ *+' conftest.er1 >conftest.err
95229   rm -f conftest.er1
95230   cat conftest.err >&5
95231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95232   (exit $ac_status); } &&
95233          { ac_try='test -z "$ac_cxx_werror_flag"
95234                          || test ! -s conftest.err'
95235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95236   (eval $ac_try) 2>&5
95237   ac_status=$?
95238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95239   (exit $ac_status); }; } &&
95240          { ac_try='test -s conftest.$ac_objext'
95241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95242   (eval $ac_try) 2>&5
95243   ac_status=$?
95244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95245   (exit $ac_status); }; }; then
95246   glibcxx_cv_func__sqrtl_use=yes
95247 else
95248   echo "$as_me: failed program was:" >&5
95249 sed 's/^/| /' conftest.$ac_ext >&5
95250
95251 glibcxx_cv_func__sqrtl_use=no
95252 fi
95253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95254       ac_ext=c
95255 ac_cpp='$CPP $CPPFLAGS'
95256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95259
95260
95261 fi
95262
95263   fi
95264   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
95265 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
95266
95267     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
95268
95269 for ac_func in _sqrtl
95270 do
95271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95272 echo "$as_me:$LINENO: checking for $ac_func" >&5
95273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95274 if eval "test \"\${$as_ac_var+set}\" = set"; then
95275   echo $ECHO_N "(cached) $ECHO_C" >&6
95276 else
95277   if test x$gcc_no_link = xyes; then
95278   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95280    { (exit 1); exit 1; }; }
95281 fi
95282 cat >conftest.$ac_ext <<_ACEOF
95283 /* confdefs.h.  */
95284 _ACEOF
95285 cat confdefs.h >>conftest.$ac_ext
95286 cat >>conftest.$ac_ext <<_ACEOF
95287 /* end confdefs.h.  */
95288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95289    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95290 #define $ac_func innocuous_$ac_func
95291
95292 /* System header to define __stub macros and hopefully few prototypes,
95293     which can conflict with char $ac_func (); below.
95294     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95295     <limits.h> exists even on freestanding compilers.  */
95296
95297 #ifdef __STDC__
95298 # include <limits.h>
95299 #else
95300 # include <assert.h>
95301 #endif
95302
95303 #undef $ac_func
95304
95305 /* Override any gcc2 internal prototype to avoid an error.  */
95306 #ifdef __cplusplus
95307 extern "C"
95308 {
95309 #endif
95310 /* We use char because int might match the return type of a gcc2
95311    builtin and then its argument prototype would still apply.  */
95312 char $ac_func ();
95313 /* The GNU C library defines this for functions which it implements
95314     to always fail with ENOSYS.  Some functions are actually named
95315     something starting with __ and the normal name is an alias.  */
95316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95317 choke me
95318 #else
95319 char (*f) () = $ac_func;
95320 #endif
95321 #ifdef __cplusplus
95322 }
95323 #endif
95324
95325 int
95326 main ()
95327 {
95328 return f != $ac_func;
95329   ;
95330   return 0;
95331 }
95332 _ACEOF
95333 rm -f conftest.$ac_objext conftest$ac_exeext
95334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95335   (eval $ac_link) 2>conftest.er1
95336   ac_status=$?
95337   grep -v '^ *+' conftest.er1 >conftest.err
95338   rm -f conftest.er1
95339   cat conftest.err >&5
95340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95341   (exit $ac_status); } &&
95342          { ac_try='test -z "$ac_c_werror_flag"
95343                          || test ! -s conftest.err'
95344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95345   (eval $ac_try) 2>&5
95346   ac_status=$?
95347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95348   (exit $ac_status); }; } &&
95349          { ac_try='test -s conftest$ac_exeext'
95350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95351   (eval $ac_try) 2>&5
95352   ac_status=$?
95353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95354   (exit $ac_status); }; }; then
95355   eval "$as_ac_var=yes"
95356 else
95357   echo "$as_me: failed program was:" >&5
95358 sed 's/^/| /' conftest.$ac_ext >&5
95359
95360 eval "$as_ac_var=no"
95361 fi
95362 rm -f conftest.err conftest.$ac_objext \
95363       conftest$ac_exeext conftest.$ac_ext
95364 fi
95365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95367 if test `eval echo '${'$as_ac_var'}'` = yes; then
95368   cat >>confdefs.h <<_ACEOF
95369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95370 _ACEOF
95371
95372 fi
95373 done
95374
95375     fi
95376   fi
95377
95378
95379
95380
95381
95382
95383   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
95384 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
95385   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
95386     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
95387   echo $ECHO_N "(cached) $ECHO_C" >&6
95388 else
95389
95390
95391
95392       ac_ext=cc
95393 ac_cpp='$CXXCPP $CPPFLAGS'
95394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95397
95398       cat >conftest.$ac_ext <<_ACEOF
95399 /* confdefs.h.  */
95400 _ACEOF
95401 cat confdefs.h >>conftest.$ac_ext
95402 cat >>conftest.$ac_ext <<_ACEOF
95403 /* end confdefs.h.  */
95404 #include <math.h>
95405 int
95406 main ()
95407 {
95408  sincosl(0, 0, 0);
95409   ;
95410   return 0;
95411 }
95412 _ACEOF
95413 rm -f conftest.$ac_objext
95414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95415   (eval $ac_compile) 2>conftest.er1
95416   ac_status=$?
95417   grep -v '^ *+' conftest.er1 >conftest.err
95418   rm -f conftest.er1
95419   cat conftest.err >&5
95420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95421   (exit $ac_status); } &&
95422          { ac_try='test -z "$ac_cxx_werror_flag"
95423                          || test ! -s conftest.err'
95424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95425   (eval $ac_try) 2>&5
95426   ac_status=$?
95427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95428   (exit $ac_status); }; } &&
95429          { ac_try='test -s conftest.$ac_objext'
95430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95431   (eval $ac_try) 2>&5
95432   ac_status=$?
95433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95434   (exit $ac_status); }; }; then
95435   glibcxx_cv_func_sincosl_use=yes
95436 else
95437   echo "$as_me: failed program was:" >&5
95438 sed 's/^/| /' conftest.$ac_ext >&5
95439
95440 glibcxx_cv_func_sincosl_use=no
95441 fi
95442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95443       ac_ext=c
95444 ac_cpp='$CPP $CPPFLAGS'
95445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95448
95449
95450 fi
95451
95452   fi
95453   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
95454 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
95455
95456   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
95457
95458 for ac_func in sincosl
95459 do
95460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95461 echo "$as_me:$LINENO: checking for $ac_func" >&5
95462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95463 if eval "test \"\${$as_ac_var+set}\" = set"; then
95464   echo $ECHO_N "(cached) $ECHO_C" >&6
95465 else
95466   if test x$gcc_no_link = xyes; then
95467   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95469    { (exit 1); exit 1; }; }
95470 fi
95471 cat >conftest.$ac_ext <<_ACEOF
95472 /* confdefs.h.  */
95473 _ACEOF
95474 cat confdefs.h >>conftest.$ac_ext
95475 cat >>conftest.$ac_ext <<_ACEOF
95476 /* end confdefs.h.  */
95477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95478    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95479 #define $ac_func innocuous_$ac_func
95480
95481 /* System header to define __stub macros and hopefully few prototypes,
95482     which can conflict with char $ac_func (); below.
95483     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95484     <limits.h> exists even on freestanding compilers.  */
95485
95486 #ifdef __STDC__
95487 # include <limits.h>
95488 #else
95489 # include <assert.h>
95490 #endif
95491
95492 #undef $ac_func
95493
95494 /* Override any gcc2 internal prototype to avoid an error.  */
95495 #ifdef __cplusplus
95496 extern "C"
95497 {
95498 #endif
95499 /* We use char because int might match the return type of a gcc2
95500    builtin and then its argument prototype would still apply.  */
95501 char $ac_func ();
95502 /* The GNU C library defines this for functions which it implements
95503     to always fail with ENOSYS.  Some functions are actually named
95504     something starting with __ and the normal name is an alias.  */
95505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95506 choke me
95507 #else
95508 char (*f) () = $ac_func;
95509 #endif
95510 #ifdef __cplusplus
95511 }
95512 #endif
95513
95514 int
95515 main ()
95516 {
95517 return f != $ac_func;
95518   ;
95519   return 0;
95520 }
95521 _ACEOF
95522 rm -f conftest.$ac_objext conftest$ac_exeext
95523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95524   (eval $ac_link) 2>conftest.er1
95525   ac_status=$?
95526   grep -v '^ *+' conftest.er1 >conftest.err
95527   rm -f conftest.er1
95528   cat conftest.err >&5
95529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95530   (exit $ac_status); } &&
95531          { ac_try='test -z "$ac_c_werror_flag"
95532                          || test ! -s conftest.err'
95533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95534   (eval $ac_try) 2>&5
95535   ac_status=$?
95536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95537   (exit $ac_status); }; } &&
95538          { ac_try='test -s conftest$ac_exeext'
95539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95540   (eval $ac_try) 2>&5
95541   ac_status=$?
95542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95543   (exit $ac_status); }; }; then
95544   eval "$as_ac_var=yes"
95545 else
95546   echo "$as_me: failed program was:" >&5
95547 sed 's/^/| /' conftest.$ac_ext >&5
95548
95549 eval "$as_ac_var=no"
95550 fi
95551 rm -f conftest.err conftest.$ac_objext \
95552       conftest$ac_exeext conftest.$ac_ext
95553 fi
95554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95556 if test `eval echo '${'$as_ac_var'}'` = yes; then
95557   cat >>confdefs.h <<_ACEOF
95558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95559 _ACEOF
95560
95561 fi
95562 done
95563
95564   else
95565
95566   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
95567 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
95568   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
95569     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
95570   echo $ECHO_N "(cached) $ECHO_C" >&6
95571 else
95572
95573
95574
95575       ac_ext=cc
95576 ac_cpp='$CXXCPP $CPPFLAGS'
95577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95580
95581       cat >conftest.$ac_ext <<_ACEOF
95582 /* confdefs.h.  */
95583 _ACEOF
95584 cat confdefs.h >>conftest.$ac_ext
95585 cat >>conftest.$ac_ext <<_ACEOF
95586 /* end confdefs.h.  */
95587 #include <math.h>
95588 int
95589 main ()
95590 {
95591  _sincosl(0, 0, 0);
95592   ;
95593   return 0;
95594 }
95595 _ACEOF
95596 rm -f conftest.$ac_objext
95597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95598   (eval $ac_compile) 2>conftest.er1
95599   ac_status=$?
95600   grep -v '^ *+' conftest.er1 >conftest.err
95601   rm -f conftest.er1
95602   cat conftest.err >&5
95603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95604   (exit $ac_status); } &&
95605          { ac_try='test -z "$ac_cxx_werror_flag"
95606                          || test ! -s conftest.err'
95607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95608   (eval $ac_try) 2>&5
95609   ac_status=$?
95610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95611   (exit $ac_status); }; } &&
95612          { ac_try='test -s conftest.$ac_objext'
95613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95614   (eval $ac_try) 2>&5
95615   ac_status=$?
95616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95617   (exit $ac_status); }; }; then
95618   glibcxx_cv_func__sincosl_use=yes
95619 else
95620   echo "$as_me: failed program was:" >&5
95621 sed 's/^/| /' conftest.$ac_ext >&5
95622
95623 glibcxx_cv_func__sincosl_use=no
95624 fi
95625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95626       ac_ext=c
95627 ac_cpp='$CPP $CPPFLAGS'
95628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95631
95632
95633 fi
95634
95635   fi
95636   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
95637 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
95638
95639     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
95640
95641 for ac_func in _sincosl
95642 do
95643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95644 echo "$as_me:$LINENO: checking for $ac_func" >&5
95645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95646 if eval "test \"\${$as_ac_var+set}\" = set"; then
95647   echo $ECHO_N "(cached) $ECHO_C" >&6
95648 else
95649   if test x$gcc_no_link = xyes; then
95650   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95652    { (exit 1); exit 1; }; }
95653 fi
95654 cat >conftest.$ac_ext <<_ACEOF
95655 /* confdefs.h.  */
95656 _ACEOF
95657 cat confdefs.h >>conftest.$ac_ext
95658 cat >>conftest.$ac_ext <<_ACEOF
95659 /* end confdefs.h.  */
95660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95661    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95662 #define $ac_func innocuous_$ac_func
95663
95664 /* System header to define __stub macros and hopefully few prototypes,
95665     which can conflict with char $ac_func (); below.
95666     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95667     <limits.h> exists even on freestanding compilers.  */
95668
95669 #ifdef __STDC__
95670 # include <limits.h>
95671 #else
95672 # include <assert.h>
95673 #endif
95674
95675 #undef $ac_func
95676
95677 /* Override any gcc2 internal prototype to avoid an error.  */
95678 #ifdef __cplusplus
95679 extern "C"
95680 {
95681 #endif
95682 /* We use char because int might match the return type of a gcc2
95683    builtin and then its argument prototype would still apply.  */
95684 char $ac_func ();
95685 /* The GNU C library defines this for functions which it implements
95686     to always fail with ENOSYS.  Some functions are actually named
95687     something starting with __ and the normal name is an alias.  */
95688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95689 choke me
95690 #else
95691 char (*f) () = $ac_func;
95692 #endif
95693 #ifdef __cplusplus
95694 }
95695 #endif
95696
95697 int
95698 main ()
95699 {
95700 return f != $ac_func;
95701   ;
95702   return 0;
95703 }
95704 _ACEOF
95705 rm -f conftest.$ac_objext conftest$ac_exeext
95706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95707   (eval $ac_link) 2>conftest.er1
95708   ac_status=$?
95709   grep -v '^ *+' conftest.er1 >conftest.err
95710   rm -f conftest.er1
95711   cat conftest.err >&5
95712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95713   (exit $ac_status); } &&
95714          { ac_try='test -z "$ac_c_werror_flag"
95715                          || test ! -s conftest.err'
95716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95717   (eval $ac_try) 2>&5
95718   ac_status=$?
95719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95720   (exit $ac_status); }; } &&
95721          { ac_try='test -s conftest$ac_exeext'
95722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95723   (eval $ac_try) 2>&5
95724   ac_status=$?
95725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95726   (exit $ac_status); }; }; then
95727   eval "$as_ac_var=yes"
95728 else
95729   echo "$as_me: failed program was:" >&5
95730 sed 's/^/| /' conftest.$ac_ext >&5
95731
95732 eval "$as_ac_var=no"
95733 fi
95734 rm -f conftest.err conftest.$ac_objext \
95735       conftest$ac_exeext conftest.$ac_ext
95736 fi
95737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95739 if test `eval echo '${'$as_ac_var'}'` = yes; then
95740   cat >>confdefs.h <<_ACEOF
95741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95742 _ACEOF
95743
95744 fi
95745 done
95746
95747     fi
95748   fi
95749
95750
95751
95752
95753
95754
95755   echo "$as_me:$LINENO: checking for finitel declaration" >&5
95756 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
95757   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
95758     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
95759   echo $ECHO_N "(cached) $ECHO_C" >&6
95760 else
95761
95762
95763
95764       ac_ext=cc
95765 ac_cpp='$CXXCPP $CPPFLAGS'
95766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95769
95770       cat >conftest.$ac_ext <<_ACEOF
95771 /* confdefs.h.  */
95772 _ACEOF
95773 cat confdefs.h >>conftest.$ac_ext
95774 cat >>conftest.$ac_ext <<_ACEOF
95775 /* end confdefs.h.  */
95776 #include <math.h>
95777                       #ifdef HAVE_IEEEFP_H
95778                       #include <ieeefp.h>
95779                       #endif
95780
95781 int
95782 main ()
95783 {
95784  finitel(0);
95785   ;
95786   return 0;
95787 }
95788 _ACEOF
95789 rm -f conftest.$ac_objext
95790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95791   (eval $ac_compile) 2>conftest.er1
95792   ac_status=$?
95793   grep -v '^ *+' conftest.er1 >conftest.err
95794   rm -f conftest.er1
95795   cat conftest.err >&5
95796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95797   (exit $ac_status); } &&
95798          { ac_try='test -z "$ac_cxx_werror_flag"
95799                          || test ! -s conftest.err'
95800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95801   (eval $ac_try) 2>&5
95802   ac_status=$?
95803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95804   (exit $ac_status); }; } &&
95805          { ac_try='test -s conftest.$ac_objext'
95806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95807   (eval $ac_try) 2>&5
95808   ac_status=$?
95809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95810   (exit $ac_status); }; }; then
95811   glibcxx_cv_func_finitel_use=yes
95812 else
95813   echo "$as_me: failed program was:" >&5
95814 sed 's/^/| /' conftest.$ac_ext >&5
95815
95816 glibcxx_cv_func_finitel_use=no
95817 fi
95818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95819       ac_ext=c
95820 ac_cpp='$CPP $CPPFLAGS'
95821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95824
95825
95826 fi
95827
95828   fi
95829   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
95830 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
95831
95832   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
95833
95834 for ac_func in finitel
95835 do
95836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95837 echo "$as_me:$LINENO: checking for $ac_func" >&5
95838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95839 if eval "test \"\${$as_ac_var+set}\" = set"; then
95840   echo $ECHO_N "(cached) $ECHO_C" >&6
95841 else
95842   if test x$gcc_no_link = xyes; then
95843   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95845    { (exit 1); exit 1; }; }
95846 fi
95847 cat >conftest.$ac_ext <<_ACEOF
95848 /* confdefs.h.  */
95849 _ACEOF
95850 cat confdefs.h >>conftest.$ac_ext
95851 cat >>conftest.$ac_ext <<_ACEOF
95852 /* end confdefs.h.  */
95853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95854    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95855 #define $ac_func innocuous_$ac_func
95856
95857 /* System header to define __stub macros and hopefully few prototypes,
95858     which can conflict with char $ac_func (); below.
95859     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95860     <limits.h> exists even on freestanding compilers.  */
95861
95862 #ifdef __STDC__
95863 # include <limits.h>
95864 #else
95865 # include <assert.h>
95866 #endif
95867
95868 #undef $ac_func
95869
95870 /* Override any gcc2 internal prototype to avoid an error.  */
95871 #ifdef __cplusplus
95872 extern "C"
95873 {
95874 #endif
95875 /* We use char because int might match the return type of a gcc2
95876    builtin and then its argument prototype would still apply.  */
95877 char $ac_func ();
95878 /* The GNU C library defines this for functions which it implements
95879     to always fail with ENOSYS.  Some functions are actually named
95880     something starting with __ and the normal name is an alias.  */
95881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95882 choke me
95883 #else
95884 char (*f) () = $ac_func;
95885 #endif
95886 #ifdef __cplusplus
95887 }
95888 #endif
95889
95890 int
95891 main ()
95892 {
95893 return f != $ac_func;
95894   ;
95895   return 0;
95896 }
95897 _ACEOF
95898 rm -f conftest.$ac_objext conftest$ac_exeext
95899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95900   (eval $ac_link) 2>conftest.er1
95901   ac_status=$?
95902   grep -v '^ *+' conftest.er1 >conftest.err
95903   rm -f conftest.er1
95904   cat conftest.err >&5
95905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95906   (exit $ac_status); } &&
95907          { ac_try='test -z "$ac_c_werror_flag"
95908                          || test ! -s conftest.err'
95909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95910   (eval $ac_try) 2>&5
95911   ac_status=$?
95912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95913   (exit $ac_status); }; } &&
95914          { ac_try='test -s conftest$ac_exeext'
95915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95916   (eval $ac_try) 2>&5
95917   ac_status=$?
95918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95919   (exit $ac_status); }; }; then
95920   eval "$as_ac_var=yes"
95921 else
95922   echo "$as_me: failed program was:" >&5
95923 sed 's/^/| /' conftest.$ac_ext >&5
95924
95925 eval "$as_ac_var=no"
95926 fi
95927 rm -f conftest.err conftest.$ac_objext \
95928       conftest$ac_exeext conftest.$ac_ext
95929 fi
95930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95932 if test `eval echo '${'$as_ac_var'}'` = yes; then
95933   cat >>confdefs.h <<_ACEOF
95934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95935 _ACEOF
95936
95937 fi
95938 done
95939
95940   else
95941
95942   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
95943 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
95944   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
95945     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
95946   echo $ECHO_N "(cached) $ECHO_C" >&6
95947 else
95948
95949
95950
95951       ac_ext=cc
95952 ac_cpp='$CXXCPP $CPPFLAGS'
95953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95956
95957       cat >conftest.$ac_ext <<_ACEOF
95958 /* confdefs.h.  */
95959 _ACEOF
95960 cat confdefs.h >>conftest.$ac_ext
95961 cat >>conftest.$ac_ext <<_ACEOF
95962 /* end confdefs.h.  */
95963 #include <math.h>
95964                       #ifdef HAVE_IEEEFP_H
95965                       #include <ieeefp.h>
95966                       #endif
95967
95968 int
95969 main ()
95970 {
95971  _finitel(0);
95972   ;
95973   return 0;
95974 }
95975 _ACEOF
95976 rm -f conftest.$ac_objext
95977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95978   (eval $ac_compile) 2>conftest.er1
95979   ac_status=$?
95980   grep -v '^ *+' conftest.er1 >conftest.err
95981   rm -f conftest.er1
95982   cat conftest.err >&5
95983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95984   (exit $ac_status); } &&
95985          { ac_try='test -z "$ac_cxx_werror_flag"
95986                          || test ! -s conftest.err'
95987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95988   (eval $ac_try) 2>&5
95989   ac_status=$?
95990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95991   (exit $ac_status); }; } &&
95992          { ac_try='test -s conftest.$ac_objext'
95993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95994   (eval $ac_try) 2>&5
95995   ac_status=$?
95996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95997   (exit $ac_status); }; }; then
95998   glibcxx_cv_func__finitel_use=yes
95999 else
96000   echo "$as_me: failed program was:" >&5
96001 sed 's/^/| /' conftest.$ac_ext >&5
96002
96003 glibcxx_cv_func__finitel_use=no
96004 fi
96005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96006       ac_ext=c
96007 ac_cpp='$CPP $CPPFLAGS'
96008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96011
96012
96013 fi
96014
96015   fi
96016   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
96017 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
96018
96019     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
96020
96021 for ac_func in _finitel
96022 do
96023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96024 echo "$as_me:$LINENO: checking for $ac_func" >&5
96025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96026 if eval "test \"\${$as_ac_var+set}\" = set"; then
96027   echo $ECHO_N "(cached) $ECHO_C" >&6
96028 else
96029   if test x$gcc_no_link = xyes; then
96030   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96032    { (exit 1); exit 1; }; }
96033 fi
96034 cat >conftest.$ac_ext <<_ACEOF
96035 /* confdefs.h.  */
96036 _ACEOF
96037 cat confdefs.h >>conftest.$ac_ext
96038 cat >>conftest.$ac_ext <<_ACEOF
96039 /* end confdefs.h.  */
96040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96041    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96042 #define $ac_func innocuous_$ac_func
96043
96044 /* System header to define __stub macros and hopefully few prototypes,
96045     which can conflict with char $ac_func (); below.
96046     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96047     <limits.h> exists even on freestanding compilers.  */
96048
96049 #ifdef __STDC__
96050 # include <limits.h>
96051 #else
96052 # include <assert.h>
96053 #endif
96054
96055 #undef $ac_func
96056
96057 /* Override any gcc2 internal prototype to avoid an error.  */
96058 #ifdef __cplusplus
96059 extern "C"
96060 {
96061 #endif
96062 /* We use char because int might match the return type of a gcc2
96063    builtin and then its argument prototype would still apply.  */
96064 char $ac_func ();
96065 /* The GNU C library defines this for functions which it implements
96066     to always fail with ENOSYS.  Some functions are actually named
96067     something starting with __ and the normal name is an alias.  */
96068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96069 choke me
96070 #else
96071 char (*f) () = $ac_func;
96072 #endif
96073 #ifdef __cplusplus
96074 }
96075 #endif
96076
96077 int
96078 main ()
96079 {
96080 return f != $ac_func;
96081   ;
96082   return 0;
96083 }
96084 _ACEOF
96085 rm -f conftest.$ac_objext conftest$ac_exeext
96086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96087   (eval $ac_link) 2>conftest.er1
96088   ac_status=$?
96089   grep -v '^ *+' conftest.er1 >conftest.err
96090   rm -f conftest.er1
96091   cat conftest.err >&5
96092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96093   (exit $ac_status); } &&
96094          { ac_try='test -z "$ac_c_werror_flag"
96095                          || test ! -s conftest.err'
96096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96097   (eval $ac_try) 2>&5
96098   ac_status=$?
96099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96100   (exit $ac_status); }; } &&
96101          { ac_try='test -s conftest$ac_exeext'
96102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96103   (eval $ac_try) 2>&5
96104   ac_status=$?
96105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96106   (exit $ac_status); }; }; then
96107   eval "$as_ac_var=yes"
96108 else
96109   echo "$as_me: failed program was:" >&5
96110 sed 's/^/| /' conftest.$ac_ext >&5
96111
96112 eval "$as_ac_var=no"
96113 fi
96114 rm -f conftest.err conftest.$ac_objext \
96115       conftest$ac_exeext conftest.$ac_ext
96116 fi
96117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96119 if test `eval echo '${'$as_ac_var'}'` = yes; then
96120   cat >>confdefs.h <<_ACEOF
96121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96122 _ACEOF
96123
96124 fi
96125 done
96126
96127     fi
96128   fi
96129
96130
96131
96132
96133
96134   LIBS="$ac_save_LIBS"
96135   CXXFLAGS="$ac_save_CXXFLAGS"
96136
96137
96138
96139   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
96140 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
96141   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
96142     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
96143   echo $ECHO_N "(cached) $ECHO_C" >&6
96144 else
96145
96146
96147
96148       ac_ext=cc
96149 ac_cpp='$CXXCPP $CPPFLAGS'
96150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96153
96154       cat >conftest.$ac_ext <<_ACEOF
96155 /* confdefs.h.  */
96156 _ACEOF
96157 cat confdefs.h >>conftest.$ac_ext
96158 cat >>conftest.$ac_ext <<_ACEOF
96159 /* end confdefs.h.  */
96160 #include <math.h>
96161 int
96162 main ()
96163 {
96164  __builtin_abs(0);
96165   ;
96166   return 0;
96167 }
96168 _ACEOF
96169 rm -f conftest.$ac_objext
96170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96171   (eval $ac_compile) 2>conftest.er1
96172   ac_status=$?
96173   grep -v '^ *+' conftest.er1 >conftest.err
96174   rm -f conftest.er1
96175   cat conftest.err >&5
96176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96177   (exit $ac_status); } &&
96178          { ac_try='test -z "$ac_cxx_werror_flag"
96179                          || test ! -s conftest.err'
96180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96181   (eval $ac_try) 2>&5
96182   ac_status=$?
96183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96184   (exit $ac_status); }; } &&
96185          { ac_try='test -s conftest.$ac_objext'
96186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96187   (eval $ac_try) 2>&5
96188   ac_status=$?
96189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96190   (exit $ac_status); }; }; then
96191   glibcxx_cv_func___builtin_abs_use=yes
96192 else
96193   echo "$as_me: failed program was:" >&5
96194 sed 's/^/| /' conftest.$ac_ext >&5
96195
96196 glibcxx_cv_func___builtin_abs_use=no
96197 fi
96198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96199       ac_ext=c
96200 ac_cpp='$CPP $CPPFLAGS'
96201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96204
96205
96206 fi
96207
96208   fi
96209   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
96210 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
96211   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
96212     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
96213 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
96214     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
96215       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
96216   echo $ECHO_N "(cached) $ECHO_C" >&6
96217 else
96218
96219         if test x$gcc_no_link = xyes; then
96220   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96222    { (exit 1); exit 1; }; }
96223 fi
96224 cat >conftest.$ac_ext <<_ACEOF
96225 /* confdefs.h.  */
96226 _ACEOF
96227 cat confdefs.h >>conftest.$ac_ext
96228 cat >>conftest.$ac_ext <<_ACEOF
96229 /* end confdefs.h.  */
96230 #include <math.h>
96231 int
96232 main ()
96233 {
96234  __builtin_abs(0);
96235   ;
96236   return 0;
96237 }
96238 _ACEOF
96239 rm -f conftest.$ac_objext conftest$ac_exeext
96240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96241   (eval $ac_link) 2>conftest.er1
96242   ac_status=$?
96243   grep -v '^ *+' conftest.er1 >conftest.err
96244   rm -f conftest.er1
96245   cat conftest.err >&5
96246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96247   (exit $ac_status); } &&
96248          { ac_try='test -z "$ac_c_werror_flag"
96249                          || test ! -s conftest.err'
96250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96251   (eval $ac_try) 2>&5
96252   ac_status=$?
96253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96254   (exit $ac_status); }; } &&
96255          { ac_try='test -s conftest$ac_exeext'
96256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96257   (eval $ac_try) 2>&5
96258   ac_status=$?
96259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96260   (exit $ac_status); }; }; then
96261   glibcxx_cv_func___builtin_abs_link=yes
96262 else
96263   echo "$as_me: failed program was:" >&5
96264 sed 's/^/| /' conftest.$ac_ext >&5
96265
96266 glibcxx_cv_func___builtin_abs_link=no
96267 fi
96268 rm -f conftest.err conftest.$ac_objext \
96269       conftest$ac_exeext conftest.$ac_ext
96270
96271 fi
96272
96273     fi
96274     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
96275 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
96276
96277     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
96278
96279 cat >>confdefs.h <<\_ACEOF
96280 #define HAVE___BUILTIN_ABS 1
96281 _ACEOF
96282
96283     fi
96284
96285   fi
96286
96287
96288   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
96289 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
96290   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
96291     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
96292   echo $ECHO_N "(cached) $ECHO_C" >&6
96293 else
96294
96295
96296
96297       ac_ext=cc
96298 ac_cpp='$CXXCPP $CPPFLAGS'
96299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96302
96303       cat >conftest.$ac_ext <<_ACEOF
96304 /* confdefs.h.  */
96305 _ACEOF
96306 cat confdefs.h >>conftest.$ac_ext
96307 cat >>conftest.$ac_ext <<_ACEOF
96308 /* end confdefs.h.  */
96309 #include <math.h>
96310 int
96311 main ()
96312 {
96313  __builtin_fabsf(0);
96314   ;
96315   return 0;
96316 }
96317 _ACEOF
96318 rm -f conftest.$ac_objext
96319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96320   (eval $ac_compile) 2>conftest.er1
96321   ac_status=$?
96322   grep -v '^ *+' conftest.er1 >conftest.err
96323   rm -f conftest.er1
96324   cat conftest.err >&5
96325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96326   (exit $ac_status); } &&
96327          { ac_try='test -z "$ac_cxx_werror_flag"
96328                          || test ! -s conftest.err'
96329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96330   (eval $ac_try) 2>&5
96331   ac_status=$?
96332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96333   (exit $ac_status); }; } &&
96334          { ac_try='test -s conftest.$ac_objext'
96335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96336   (eval $ac_try) 2>&5
96337   ac_status=$?
96338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96339   (exit $ac_status); }; }; then
96340   glibcxx_cv_func___builtin_fabsf_use=yes
96341 else
96342   echo "$as_me: failed program was:" >&5
96343 sed 's/^/| /' conftest.$ac_ext >&5
96344
96345 glibcxx_cv_func___builtin_fabsf_use=no
96346 fi
96347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96348       ac_ext=c
96349 ac_cpp='$CPP $CPPFLAGS'
96350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96353
96354
96355 fi
96356
96357   fi
96358   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
96359 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
96360   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
96361     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
96362 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
96363     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
96364       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
96365   echo $ECHO_N "(cached) $ECHO_C" >&6
96366 else
96367
96368         if test x$gcc_no_link = xyes; then
96369   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96371    { (exit 1); exit 1; }; }
96372 fi
96373 cat >conftest.$ac_ext <<_ACEOF
96374 /* confdefs.h.  */
96375 _ACEOF
96376 cat confdefs.h >>conftest.$ac_ext
96377 cat >>conftest.$ac_ext <<_ACEOF
96378 /* end confdefs.h.  */
96379 #include <math.h>
96380 int
96381 main ()
96382 {
96383  __builtin_fabsf(0);
96384   ;
96385   return 0;
96386 }
96387 _ACEOF
96388 rm -f conftest.$ac_objext conftest$ac_exeext
96389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96390   (eval $ac_link) 2>conftest.er1
96391   ac_status=$?
96392   grep -v '^ *+' conftest.er1 >conftest.err
96393   rm -f conftest.er1
96394   cat conftest.err >&5
96395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96396   (exit $ac_status); } &&
96397          { ac_try='test -z "$ac_c_werror_flag"
96398                          || test ! -s conftest.err'
96399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96400   (eval $ac_try) 2>&5
96401   ac_status=$?
96402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96403   (exit $ac_status); }; } &&
96404          { ac_try='test -s conftest$ac_exeext'
96405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96406   (eval $ac_try) 2>&5
96407   ac_status=$?
96408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96409   (exit $ac_status); }; }; then
96410   glibcxx_cv_func___builtin_fabsf_link=yes
96411 else
96412   echo "$as_me: failed program was:" >&5
96413 sed 's/^/| /' conftest.$ac_ext >&5
96414
96415 glibcxx_cv_func___builtin_fabsf_link=no
96416 fi
96417 rm -f conftest.err conftest.$ac_objext \
96418       conftest$ac_exeext conftest.$ac_ext
96419
96420 fi
96421
96422     fi
96423     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
96424 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
96425
96426     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
96427
96428 cat >>confdefs.h <<\_ACEOF
96429 #define HAVE___BUILTIN_FABSF 1
96430 _ACEOF
96431
96432     fi
96433
96434   fi
96435
96436
96437   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
96438 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
96439   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
96440     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
96441   echo $ECHO_N "(cached) $ECHO_C" >&6
96442 else
96443
96444
96445
96446       ac_ext=cc
96447 ac_cpp='$CXXCPP $CPPFLAGS'
96448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96451
96452       cat >conftest.$ac_ext <<_ACEOF
96453 /* confdefs.h.  */
96454 _ACEOF
96455 cat confdefs.h >>conftest.$ac_ext
96456 cat >>conftest.$ac_ext <<_ACEOF
96457 /* end confdefs.h.  */
96458 #include <math.h>
96459 int
96460 main ()
96461 {
96462  __builtin_fabs(0);
96463   ;
96464   return 0;
96465 }
96466 _ACEOF
96467 rm -f conftest.$ac_objext
96468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96469   (eval $ac_compile) 2>conftest.er1
96470   ac_status=$?
96471   grep -v '^ *+' conftest.er1 >conftest.err
96472   rm -f conftest.er1
96473   cat conftest.err >&5
96474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96475   (exit $ac_status); } &&
96476          { ac_try='test -z "$ac_cxx_werror_flag"
96477                          || test ! -s conftest.err'
96478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96479   (eval $ac_try) 2>&5
96480   ac_status=$?
96481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96482   (exit $ac_status); }; } &&
96483          { ac_try='test -s conftest.$ac_objext'
96484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96485   (eval $ac_try) 2>&5
96486   ac_status=$?
96487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96488   (exit $ac_status); }; }; then
96489   glibcxx_cv_func___builtin_fabs_use=yes
96490 else
96491   echo "$as_me: failed program was:" >&5
96492 sed 's/^/| /' conftest.$ac_ext >&5
96493
96494 glibcxx_cv_func___builtin_fabs_use=no
96495 fi
96496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96497       ac_ext=c
96498 ac_cpp='$CPP $CPPFLAGS'
96499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96502
96503
96504 fi
96505
96506   fi
96507   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
96508 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
96509   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
96510     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
96511 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
96512     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
96513       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
96514   echo $ECHO_N "(cached) $ECHO_C" >&6
96515 else
96516
96517         if test x$gcc_no_link = xyes; then
96518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96520    { (exit 1); exit 1; }; }
96521 fi
96522 cat >conftest.$ac_ext <<_ACEOF
96523 /* confdefs.h.  */
96524 _ACEOF
96525 cat confdefs.h >>conftest.$ac_ext
96526 cat >>conftest.$ac_ext <<_ACEOF
96527 /* end confdefs.h.  */
96528 #include <math.h>
96529 int
96530 main ()
96531 {
96532  __builtin_fabs(0);
96533   ;
96534   return 0;
96535 }
96536 _ACEOF
96537 rm -f conftest.$ac_objext conftest$ac_exeext
96538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96539   (eval $ac_link) 2>conftest.er1
96540   ac_status=$?
96541   grep -v '^ *+' conftest.er1 >conftest.err
96542   rm -f conftest.er1
96543   cat conftest.err >&5
96544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96545   (exit $ac_status); } &&
96546          { ac_try='test -z "$ac_c_werror_flag"
96547                          || test ! -s conftest.err'
96548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96549   (eval $ac_try) 2>&5
96550   ac_status=$?
96551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96552   (exit $ac_status); }; } &&
96553          { ac_try='test -s conftest$ac_exeext'
96554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96555   (eval $ac_try) 2>&5
96556   ac_status=$?
96557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96558   (exit $ac_status); }; }; then
96559   glibcxx_cv_func___builtin_fabs_link=yes
96560 else
96561   echo "$as_me: failed program was:" >&5
96562 sed 's/^/| /' conftest.$ac_ext >&5
96563
96564 glibcxx_cv_func___builtin_fabs_link=no
96565 fi
96566 rm -f conftest.err conftest.$ac_objext \
96567       conftest$ac_exeext conftest.$ac_ext
96568
96569 fi
96570
96571     fi
96572     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
96573 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
96574
96575     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
96576
96577 cat >>confdefs.h <<\_ACEOF
96578 #define HAVE___BUILTIN_FABS 1
96579 _ACEOF
96580
96581     fi
96582
96583   fi
96584
96585
96586   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
96587 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
96588   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
96589     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
96590   echo $ECHO_N "(cached) $ECHO_C" >&6
96591 else
96592
96593
96594
96595       ac_ext=cc
96596 ac_cpp='$CXXCPP $CPPFLAGS'
96597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96600
96601       cat >conftest.$ac_ext <<_ACEOF
96602 /* confdefs.h.  */
96603 _ACEOF
96604 cat confdefs.h >>conftest.$ac_ext
96605 cat >>conftest.$ac_ext <<_ACEOF
96606 /* end confdefs.h.  */
96607 #include <math.h>
96608 int
96609 main ()
96610 {
96611  __builtin_fabsl(0);
96612   ;
96613   return 0;
96614 }
96615 _ACEOF
96616 rm -f conftest.$ac_objext
96617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96618   (eval $ac_compile) 2>conftest.er1
96619   ac_status=$?
96620   grep -v '^ *+' conftest.er1 >conftest.err
96621   rm -f conftest.er1
96622   cat conftest.err >&5
96623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96624   (exit $ac_status); } &&
96625          { ac_try='test -z "$ac_cxx_werror_flag"
96626                          || test ! -s conftest.err'
96627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96628   (eval $ac_try) 2>&5
96629   ac_status=$?
96630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96631   (exit $ac_status); }; } &&
96632          { ac_try='test -s conftest.$ac_objext'
96633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96634   (eval $ac_try) 2>&5
96635   ac_status=$?
96636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96637   (exit $ac_status); }; }; then
96638   glibcxx_cv_func___builtin_fabsl_use=yes
96639 else
96640   echo "$as_me: failed program was:" >&5
96641 sed 's/^/| /' conftest.$ac_ext >&5
96642
96643 glibcxx_cv_func___builtin_fabsl_use=no
96644 fi
96645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96646       ac_ext=c
96647 ac_cpp='$CPP $CPPFLAGS'
96648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96651
96652
96653 fi
96654
96655   fi
96656   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
96657 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
96658   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
96659     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
96660 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
96661     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
96662       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
96663   echo $ECHO_N "(cached) $ECHO_C" >&6
96664 else
96665
96666         if test x$gcc_no_link = xyes; then
96667   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96669    { (exit 1); exit 1; }; }
96670 fi
96671 cat >conftest.$ac_ext <<_ACEOF
96672 /* confdefs.h.  */
96673 _ACEOF
96674 cat confdefs.h >>conftest.$ac_ext
96675 cat >>conftest.$ac_ext <<_ACEOF
96676 /* end confdefs.h.  */
96677 #include <math.h>
96678 int
96679 main ()
96680 {
96681  __builtin_fabsl(0);
96682   ;
96683   return 0;
96684 }
96685 _ACEOF
96686 rm -f conftest.$ac_objext conftest$ac_exeext
96687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96688   (eval $ac_link) 2>conftest.er1
96689   ac_status=$?
96690   grep -v '^ *+' conftest.er1 >conftest.err
96691   rm -f conftest.er1
96692   cat conftest.err >&5
96693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96694   (exit $ac_status); } &&
96695          { ac_try='test -z "$ac_c_werror_flag"
96696                          || test ! -s conftest.err'
96697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96698   (eval $ac_try) 2>&5
96699   ac_status=$?
96700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96701   (exit $ac_status); }; } &&
96702          { ac_try='test -s conftest$ac_exeext'
96703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96704   (eval $ac_try) 2>&5
96705   ac_status=$?
96706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96707   (exit $ac_status); }; }; then
96708   glibcxx_cv_func___builtin_fabsl_link=yes
96709 else
96710   echo "$as_me: failed program was:" >&5
96711 sed 's/^/| /' conftest.$ac_ext >&5
96712
96713 glibcxx_cv_func___builtin_fabsl_link=no
96714 fi
96715 rm -f conftest.err conftest.$ac_objext \
96716       conftest$ac_exeext conftest.$ac_ext
96717
96718 fi
96719
96720     fi
96721     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
96722 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
96723
96724     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
96725
96726 cat >>confdefs.h <<\_ACEOF
96727 #define HAVE___BUILTIN_FABSL 1
96728 _ACEOF
96729
96730     fi
96731
96732   fi
96733
96734
96735   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
96736 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
96737   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
96738     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
96739   echo $ECHO_N "(cached) $ECHO_C" >&6
96740 else
96741
96742
96743
96744       ac_ext=cc
96745 ac_cpp='$CXXCPP $CPPFLAGS'
96746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96749
96750       cat >conftest.$ac_ext <<_ACEOF
96751 /* confdefs.h.  */
96752 _ACEOF
96753 cat confdefs.h >>conftest.$ac_ext
96754 cat >>conftest.$ac_ext <<_ACEOF
96755 /* end confdefs.h.  */
96756 #include <math.h>
96757 int
96758 main ()
96759 {
96760  __builtin_labs(0);
96761   ;
96762   return 0;
96763 }
96764 _ACEOF
96765 rm -f conftest.$ac_objext
96766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96767   (eval $ac_compile) 2>conftest.er1
96768   ac_status=$?
96769   grep -v '^ *+' conftest.er1 >conftest.err
96770   rm -f conftest.er1
96771   cat conftest.err >&5
96772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96773   (exit $ac_status); } &&
96774          { ac_try='test -z "$ac_cxx_werror_flag"
96775                          || test ! -s conftest.err'
96776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96777   (eval $ac_try) 2>&5
96778   ac_status=$?
96779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96780   (exit $ac_status); }; } &&
96781          { ac_try='test -s conftest.$ac_objext'
96782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96783   (eval $ac_try) 2>&5
96784   ac_status=$?
96785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96786   (exit $ac_status); }; }; then
96787   glibcxx_cv_func___builtin_labs_use=yes
96788 else
96789   echo "$as_me: failed program was:" >&5
96790 sed 's/^/| /' conftest.$ac_ext >&5
96791
96792 glibcxx_cv_func___builtin_labs_use=no
96793 fi
96794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96795       ac_ext=c
96796 ac_cpp='$CPP $CPPFLAGS'
96797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96800
96801
96802 fi
96803
96804   fi
96805   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
96806 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
96807   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
96808     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
96809 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
96810     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
96811       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
96812   echo $ECHO_N "(cached) $ECHO_C" >&6
96813 else
96814
96815         if test x$gcc_no_link = xyes; then
96816   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96818    { (exit 1); exit 1; }; }
96819 fi
96820 cat >conftest.$ac_ext <<_ACEOF
96821 /* confdefs.h.  */
96822 _ACEOF
96823 cat confdefs.h >>conftest.$ac_ext
96824 cat >>conftest.$ac_ext <<_ACEOF
96825 /* end confdefs.h.  */
96826 #include <math.h>
96827 int
96828 main ()
96829 {
96830  __builtin_labs(0);
96831   ;
96832   return 0;
96833 }
96834 _ACEOF
96835 rm -f conftest.$ac_objext conftest$ac_exeext
96836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96837   (eval $ac_link) 2>conftest.er1
96838   ac_status=$?
96839   grep -v '^ *+' conftest.er1 >conftest.err
96840   rm -f conftest.er1
96841   cat conftest.err >&5
96842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96843   (exit $ac_status); } &&
96844          { ac_try='test -z "$ac_c_werror_flag"
96845                          || test ! -s conftest.err'
96846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96847   (eval $ac_try) 2>&5
96848   ac_status=$?
96849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96850   (exit $ac_status); }; } &&
96851          { ac_try='test -s conftest$ac_exeext'
96852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96853   (eval $ac_try) 2>&5
96854   ac_status=$?
96855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96856   (exit $ac_status); }; }; then
96857   glibcxx_cv_func___builtin_labs_link=yes
96858 else
96859   echo "$as_me: failed program was:" >&5
96860 sed 's/^/| /' conftest.$ac_ext >&5
96861
96862 glibcxx_cv_func___builtin_labs_link=no
96863 fi
96864 rm -f conftest.err conftest.$ac_objext \
96865       conftest$ac_exeext conftest.$ac_ext
96866
96867 fi
96868
96869     fi
96870     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
96871 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
96872
96873     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
96874
96875 cat >>confdefs.h <<\_ACEOF
96876 #define HAVE___BUILTIN_LABS 1
96877 _ACEOF
96878
96879     fi
96880
96881   fi
96882
96883
96884
96885   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
96886 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
96887   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
96888     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
96889   echo $ECHO_N "(cached) $ECHO_C" >&6
96890 else
96891
96892
96893
96894       ac_ext=cc
96895 ac_cpp='$CXXCPP $CPPFLAGS'
96896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96899
96900       cat >conftest.$ac_ext <<_ACEOF
96901 /* confdefs.h.  */
96902 _ACEOF
96903 cat confdefs.h >>conftest.$ac_ext
96904 cat >>conftest.$ac_ext <<_ACEOF
96905 /* end confdefs.h.  */
96906 #include <math.h>
96907 int
96908 main ()
96909 {
96910  __builtin_sqrtf(0);
96911   ;
96912   return 0;
96913 }
96914 _ACEOF
96915 rm -f conftest.$ac_objext
96916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96917   (eval $ac_compile) 2>conftest.er1
96918   ac_status=$?
96919   grep -v '^ *+' conftest.er1 >conftest.err
96920   rm -f conftest.er1
96921   cat conftest.err >&5
96922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96923   (exit $ac_status); } &&
96924          { ac_try='test -z "$ac_cxx_werror_flag"
96925                          || test ! -s conftest.err'
96926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96927   (eval $ac_try) 2>&5
96928   ac_status=$?
96929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96930   (exit $ac_status); }; } &&
96931          { ac_try='test -s conftest.$ac_objext'
96932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96933   (eval $ac_try) 2>&5
96934   ac_status=$?
96935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96936   (exit $ac_status); }; }; then
96937   glibcxx_cv_func___builtin_sqrtf_use=yes
96938 else
96939   echo "$as_me: failed program was:" >&5
96940 sed 's/^/| /' conftest.$ac_ext >&5
96941
96942 glibcxx_cv_func___builtin_sqrtf_use=no
96943 fi
96944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96945       ac_ext=c
96946 ac_cpp='$CPP $CPPFLAGS'
96947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96950
96951
96952 fi
96953
96954   fi
96955   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
96956 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
96957   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
96958     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
96959 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
96960     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
96961       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
96962   echo $ECHO_N "(cached) $ECHO_C" >&6
96963 else
96964
96965         if test x$gcc_no_link = xyes; then
96966   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96968    { (exit 1); exit 1; }; }
96969 fi
96970 cat >conftest.$ac_ext <<_ACEOF
96971 /* confdefs.h.  */
96972 _ACEOF
96973 cat confdefs.h >>conftest.$ac_ext
96974 cat >>conftest.$ac_ext <<_ACEOF
96975 /* end confdefs.h.  */
96976 #include <math.h>
96977 int
96978 main ()
96979 {
96980  __builtin_sqrtf(0);
96981   ;
96982   return 0;
96983 }
96984 _ACEOF
96985 rm -f conftest.$ac_objext conftest$ac_exeext
96986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96987   (eval $ac_link) 2>conftest.er1
96988   ac_status=$?
96989   grep -v '^ *+' conftest.er1 >conftest.err
96990   rm -f conftest.er1
96991   cat conftest.err >&5
96992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96993   (exit $ac_status); } &&
96994          { ac_try='test -z "$ac_c_werror_flag"
96995                          || test ! -s conftest.err'
96996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96997   (eval $ac_try) 2>&5
96998   ac_status=$?
96999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97000   (exit $ac_status); }; } &&
97001          { ac_try='test -s conftest$ac_exeext'
97002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97003   (eval $ac_try) 2>&5
97004   ac_status=$?
97005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97006   (exit $ac_status); }; }; then
97007   glibcxx_cv_func___builtin_sqrtf_link=yes
97008 else
97009   echo "$as_me: failed program was:" >&5
97010 sed 's/^/| /' conftest.$ac_ext >&5
97011
97012 glibcxx_cv_func___builtin_sqrtf_link=no
97013 fi
97014 rm -f conftest.err conftest.$ac_objext \
97015       conftest$ac_exeext conftest.$ac_ext
97016
97017 fi
97018
97019     fi
97020     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
97021 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
97022
97023     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
97024
97025 cat >>confdefs.h <<\_ACEOF
97026 #define HAVE___BUILTIN_SQRTF 1
97027 _ACEOF
97028
97029     fi
97030
97031   fi
97032
97033
97034   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
97035 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
97036   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
97037     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
97038   echo $ECHO_N "(cached) $ECHO_C" >&6
97039 else
97040
97041
97042
97043       ac_ext=cc
97044 ac_cpp='$CXXCPP $CPPFLAGS'
97045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97048
97049       cat >conftest.$ac_ext <<_ACEOF
97050 /* confdefs.h.  */
97051 _ACEOF
97052 cat confdefs.h >>conftest.$ac_ext
97053 cat >>conftest.$ac_ext <<_ACEOF
97054 /* end confdefs.h.  */
97055 #include <math.h>
97056 int
97057 main ()
97058 {
97059  __builtin_sqrt(0);
97060   ;
97061   return 0;
97062 }
97063 _ACEOF
97064 rm -f conftest.$ac_objext
97065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97066   (eval $ac_compile) 2>conftest.er1
97067   ac_status=$?
97068   grep -v '^ *+' conftest.er1 >conftest.err
97069   rm -f conftest.er1
97070   cat conftest.err >&5
97071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97072   (exit $ac_status); } &&
97073          { ac_try='test -z "$ac_cxx_werror_flag"
97074                          || test ! -s conftest.err'
97075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97076   (eval $ac_try) 2>&5
97077   ac_status=$?
97078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97079   (exit $ac_status); }; } &&
97080          { ac_try='test -s conftest.$ac_objext'
97081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97082   (eval $ac_try) 2>&5
97083   ac_status=$?
97084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97085   (exit $ac_status); }; }; then
97086   glibcxx_cv_func___builtin_sqrt_use=yes
97087 else
97088   echo "$as_me: failed program was:" >&5
97089 sed 's/^/| /' conftest.$ac_ext >&5
97090
97091 glibcxx_cv_func___builtin_sqrt_use=no
97092 fi
97093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97094       ac_ext=c
97095 ac_cpp='$CPP $CPPFLAGS'
97096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97099
97100
97101 fi
97102
97103   fi
97104   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
97105 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
97106   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
97107     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
97108 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
97109     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
97110       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
97111   echo $ECHO_N "(cached) $ECHO_C" >&6
97112 else
97113
97114         if test x$gcc_no_link = xyes; then
97115   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97117    { (exit 1); exit 1; }; }
97118 fi
97119 cat >conftest.$ac_ext <<_ACEOF
97120 /* confdefs.h.  */
97121 _ACEOF
97122 cat confdefs.h >>conftest.$ac_ext
97123 cat >>conftest.$ac_ext <<_ACEOF
97124 /* end confdefs.h.  */
97125 #include <math.h>
97126 int
97127 main ()
97128 {
97129  __builtin_sqrt(0);
97130   ;
97131   return 0;
97132 }
97133 _ACEOF
97134 rm -f conftest.$ac_objext conftest$ac_exeext
97135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97136   (eval $ac_link) 2>conftest.er1
97137   ac_status=$?
97138   grep -v '^ *+' conftest.er1 >conftest.err
97139   rm -f conftest.er1
97140   cat conftest.err >&5
97141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97142   (exit $ac_status); } &&
97143          { ac_try='test -z "$ac_c_werror_flag"
97144                          || test ! -s conftest.err'
97145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97146   (eval $ac_try) 2>&5
97147   ac_status=$?
97148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97149   (exit $ac_status); }; } &&
97150          { ac_try='test -s conftest$ac_exeext'
97151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97152   (eval $ac_try) 2>&5
97153   ac_status=$?
97154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97155   (exit $ac_status); }; }; then
97156   glibcxx_cv_func___builtin_sqrt_link=yes
97157 else
97158   echo "$as_me: failed program was:" >&5
97159 sed 's/^/| /' conftest.$ac_ext >&5
97160
97161 glibcxx_cv_func___builtin_sqrt_link=no
97162 fi
97163 rm -f conftest.err conftest.$ac_objext \
97164       conftest$ac_exeext conftest.$ac_ext
97165
97166 fi
97167
97168     fi
97169     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
97170 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
97171
97172     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
97173
97174 cat >>confdefs.h <<\_ACEOF
97175 #define HAVE___BUILTIN_SQRT 1
97176 _ACEOF
97177
97178     fi
97179
97180   fi
97181
97182
97183   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
97184 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
97185   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
97186     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
97187   echo $ECHO_N "(cached) $ECHO_C" >&6
97188 else
97189
97190
97191
97192       ac_ext=cc
97193 ac_cpp='$CXXCPP $CPPFLAGS'
97194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97197
97198       cat >conftest.$ac_ext <<_ACEOF
97199 /* confdefs.h.  */
97200 _ACEOF
97201 cat confdefs.h >>conftest.$ac_ext
97202 cat >>conftest.$ac_ext <<_ACEOF
97203 /* end confdefs.h.  */
97204 #include <math.h>
97205 int
97206 main ()
97207 {
97208  __builtin_sqrtl(0);
97209   ;
97210   return 0;
97211 }
97212 _ACEOF
97213 rm -f conftest.$ac_objext
97214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97215   (eval $ac_compile) 2>conftest.er1
97216   ac_status=$?
97217   grep -v '^ *+' conftest.er1 >conftest.err
97218   rm -f conftest.er1
97219   cat conftest.err >&5
97220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97221   (exit $ac_status); } &&
97222          { ac_try='test -z "$ac_cxx_werror_flag"
97223                          || test ! -s conftest.err'
97224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97225   (eval $ac_try) 2>&5
97226   ac_status=$?
97227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97228   (exit $ac_status); }; } &&
97229          { ac_try='test -s conftest.$ac_objext'
97230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97231   (eval $ac_try) 2>&5
97232   ac_status=$?
97233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97234   (exit $ac_status); }; }; then
97235   glibcxx_cv_func___builtin_sqrtl_use=yes
97236 else
97237   echo "$as_me: failed program was:" >&5
97238 sed 's/^/| /' conftest.$ac_ext >&5
97239
97240 glibcxx_cv_func___builtin_sqrtl_use=no
97241 fi
97242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97243       ac_ext=c
97244 ac_cpp='$CPP $CPPFLAGS'
97245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97248
97249
97250 fi
97251
97252   fi
97253   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
97254 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
97255   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
97256     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
97257 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
97258     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
97259       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
97260   echo $ECHO_N "(cached) $ECHO_C" >&6
97261 else
97262
97263         if test x$gcc_no_link = xyes; then
97264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97266    { (exit 1); exit 1; }; }
97267 fi
97268 cat >conftest.$ac_ext <<_ACEOF
97269 /* confdefs.h.  */
97270 _ACEOF
97271 cat confdefs.h >>conftest.$ac_ext
97272 cat >>conftest.$ac_ext <<_ACEOF
97273 /* end confdefs.h.  */
97274 #include <math.h>
97275 int
97276 main ()
97277 {
97278  __builtin_sqrtl(0);
97279   ;
97280   return 0;
97281 }
97282 _ACEOF
97283 rm -f conftest.$ac_objext conftest$ac_exeext
97284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97285   (eval $ac_link) 2>conftest.er1
97286   ac_status=$?
97287   grep -v '^ *+' conftest.er1 >conftest.err
97288   rm -f conftest.er1
97289   cat conftest.err >&5
97290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97291   (exit $ac_status); } &&
97292          { ac_try='test -z "$ac_c_werror_flag"
97293                          || test ! -s conftest.err'
97294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97295   (eval $ac_try) 2>&5
97296   ac_status=$?
97297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97298   (exit $ac_status); }; } &&
97299          { ac_try='test -s conftest$ac_exeext'
97300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97301   (eval $ac_try) 2>&5
97302   ac_status=$?
97303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97304   (exit $ac_status); }; }; then
97305   glibcxx_cv_func___builtin_sqrtl_link=yes
97306 else
97307   echo "$as_me: failed program was:" >&5
97308 sed 's/^/| /' conftest.$ac_ext >&5
97309
97310 glibcxx_cv_func___builtin_sqrtl_link=no
97311 fi
97312 rm -f conftest.err conftest.$ac_objext \
97313       conftest$ac_exeext conftest.$ac_ext
97314
97315 fi
97316
97317     fi
97318     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
97319 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
97320
97321     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
97322
97323 cat >>confdefs.h <<\_ACEOF
97324 #define HAVE___BUILTIN_SQRTL 1
97325 _ACEOF
97326
97327     fi
97328
97329   fi
97330
97331
97332
97333   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
97334 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
97335   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
97336     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
97337   echo $ECHO_N "(cached) $ECHO_C" >&6
97338 else
97339
97340
97341
97342       ac_ext=cc
97343 ac_cpp='$CXXCPP $CPPFLAGS'
97344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97347
97348       cat >conftest.$ac_ext <<_ACEOF
97349 /* confdefs.h.  */
97350 _ACEOF
97351 cat confdefs.h >>conftest.$ac_ext
97352 cat >>conftest.$ac_ext <<_ACEOF
97353 /* end confdefs.h.  */
97354 #include <math.h>
97355 int
97356 main ()
97357 {
97358  __builtin_sinf(0);
97359   ;
97360   return 0;
97361 }
97362 _ACEOF
97363 rm -f conftest.$ac_objext
97364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97365   (eval $ac_compile) 2>conftest.er1
97366   ac_status=$?
97367   grep -v '^ *+' conftest.er1 >conftest.err
97368   rm -f conftest.er1
97369   cat conftest.err >&5
97370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97371   (exit $ac_status); } &&
97372          { ac_try='test -z "$ac_cxx_werror_flag"
97373                          || test ! -s conftest.err'
97374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97375   (eval $ac_try) 2>&5
97376   ac_status=$?
97377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97378   (exit $ac_status); }; } &&
97379          { ac_try='test -s conftest.$ac_objext'
97380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97381   (eval $ac_try) 2>&5
97382   ac_status=$?
97383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97384   (exit $ac_status); }; }; then
97385   glibcxx_cv_func___builtin_sinf_use=yes
97386 else
97387   echo "$as_me: failed program was:" >&5
97388 sed 's/^/| /' conftest.$ac_ext >&5
97389
97390 glibcxx_cv_func___builtin_sinf_use=no
97391 fi
97392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97393       ac_ext=c
97394 ac_cpp='$CPP $CPPFLAGS'
97395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97398
97399
97400 fi
97401
97402   fi
97403   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
97404 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
97405   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
97406     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
97407 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
97408     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
97409       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
97410   echo $ECHO_N "(cached) $ECHO_C" >&6
97411 else
97412
97413         if test x$gcc_no_link = xyes; then
97414   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97416    { (exit 1); exit 1; }; }
97417 fi
97418 cat >conftest.$ac_ext <<_ACEOF
97419 /* confdefs.h.  */
97420 _ACEOF
97421 cat confdefs.h >>conftest.$ac_ext
97422 cat >>conftest.$ac_ext <<_ACEOF
97423 /* end confdefs.h.  */
97424 #include <math.h>
97425 int
97426 main ()
97427 {
97428  __builtin_sinf(0);
97429   ;
97430   return 0;
97431 }
97432 _ACEOF
97433 rm -f conftest.$ac_objext conftest$ac_exeext
97434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97435   (eval $ac_link) 2>conftest.er1
97436   ac_status=$?
97437   grep -v '^ *+' conftest.er1 >conftest.err
97438   rm -f conftest.er1
97439   cat conftest.err >&5
97440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97441   (exit $ac_status); } &&
97442          { ac_try='test -z "$ac_c_werror_flag"
97443                          || test ! -s conftest.err'
97444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97445   (eval $ac_try) 2>&5
97446   ac_status=$?
97447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97448   (exit $ac_status); }; } &&
97449          { ac_try='test -s conftest$ac_exeext'
97450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97451   (eval $ac_try) 2>&5
97452   ac_status=$?
97453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97454   (exit $ac_status); }; }; then
97455   glibcxx_cv_func___builtin_sinf_link=yes
97456 else
97457   echo "$as_me: failed program was:" >&5
97458 sed 's/^/| /' conftest.$ac_ext >&5
97459
97460 glibcxx_cv_func___builtin_sinf_link=no
97461 fi
97462 rm -f conftest.err conftest.$ac_objext \
97463       conftest$ac_exeext conftest.$ac_ext
97464
97465 fi
97466
97467     fi
97468     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
97469 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
97470
97471     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
97472
97473 cat >>confdefs.h <<\_ACEOF
97474 #define HAVE___BUILTIN_SINF 1
97475 _ACEOF
97476
97477     fi
97478
97479   fi
97480
97481
97482   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
97483 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
97484   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
97485     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
97486   echo $ECHO_N "(cached) $ECHO_C" >&6
97487 else
97488
97489
97490
97491       ac_ext=cc
97492 ac_cpp='$CXXCPP $CPPFLAGS'
97493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97496
97497       cat >conftest.$ac_ext <<_ACEOF
97498 /* confdefs.h.  */
97499 _ACEOF
97500 cat confdefs.h >>conftest.$ac_ext
97501 cat >>conftest.$ac_ext <<_ACEOF
97502 /* end confdefs.h.  */
97503 #include <math.h>
97504 int
97505 main ()
97506 {
97507  __builtin_sin(0);
97508   ;
97509   return 0;
97510 }
97511 _ACEOF
97512 rm -f conftest.$ac_objext
97513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97514   (eval $ac_compile) 2>conftest.er1
97515   ac_status=$?
97516   grep -v '^ *+' conftest.er1 >conftest.err
97517   rm -f conftest.er1
97518   cat conftest.err >&5
97519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97520   (exit $ac_status); } &&
97521          { ac_try='test -z "$ac_cxx_werror_flag"
97522                          || test ! -s conftest.err'
97523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97524   (eval $ac_try) 2>&5
97525   ac_status=$?
97526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97527   (exit $ac_status); }; } &&
97528          { ac_try='test -s conftest.$ac_objext'
97529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97530   (eval $ac_try) 2>&5
97531   ac_status=$?
97532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97533   (exit $ac_status); }; }; then
97534   glibcxx_cv_func___builtin_sin_use=yes
97535 else
97536   echo "$as_me: failed program was:" >&5
97537 sed 's/^/| /' conftest.$ac_ext >&5
97538
97539 glibcxx_cv_func___builtin_sin_use=no
97540 fi
97541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97542       ac_ext=c
97543 ac_cpp='$CPP $CPPFLAGS'
97544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97547
97548
97549 fi
97550
97551   fi
97552   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
97553 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
97554   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
97555     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
97556 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
97557     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
97558       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
97559   echo $ECHO_N "(cached) $ECHO_C" >&6
97560 else
97561
97562         if test x$gcc_no_link = xyes; then
97563   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97565    { (exit 1); exit 1; }; }
97566 fi
97567 cat >conftest.$ac_ext <<_ACEOF
97568 /* confdefs.h.  */
97569 _ACEOF
97570 cat confdefs.h >>conftest.$ac_ext
97571 cat >>conftest.$ac_ext <<_ACEOF
97572 /* end confdefs.h.  */
97573 #include <math.h>
97574 int
97575 main ()
97576 {
97577  __builtin_sin(0);
97578   ;
97579   return 0;
97580 }
97581 _ACEOF
97582 rm -f conftest.$ac_objext conftest$ac_exeext
97583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97584   (eval $ac_link) 2>conftest.er1
97585   ac_status=$?
97586   grep -v '^ *+' conftest.er1 >conftest.err
97587   rm -f conftest.er1
97588   cat conftest.err >&5
97589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97590   (exit $ac_status); } &&
97591          { ac_try='test -z "$ac_c_werror_flag"
97592                          || test ! -s conftest.err'
97593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97594   (eval $ac_try) 2>&5
97595   ac_status=$?
97596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97597   (exit $ac_status); }; } &&
97598          { ac_try='test -s conftest$ac_exeext'
97599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97600   (eval $ac_try) 2>&5
97601   ac_status=$?
97602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97603   (exit $ac_status); }; }; then
97604   glibcxx_cv_func___builtin_sin_link=yes
97605 else
97606   echo "$as_me: failed program was:" >&5
97607 sed 's/^/| /' conftest.$ac_ext >&5
97608
97609 glibcxx_cv_func___builtin_sin_link=no
97610 fi
97611 rm -f conftest.err conftest.$ac_objext \
97612       conftest$ac_exeext conftest.$ac_ext
97613
97614 fi
97615
97616     fi
97617     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
97618 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
97619
97620     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
97621
97622 cat >>confdefs.h <<\_ACEOF
97623 #define HAVE___BUILTIN_SIN 1
97624 _ACEOF
97625
97626     fi
97627
97628   fi
97629
97630
97631   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
97632 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
97633   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
97634     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
97635   echo $ECHO_N "(cached) $ECHO_C" >&6
97636 else
97637
97638
97639
97640       ac_ext=cc
97641 ac_cpp='$CXXCPP $CPPFLAGS'
97642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97645
97646       cat >conftest.$ac_ext <<_ACEOF
97647 /* confdefs.h.  */
97648 _ACEOF
97649 cat confdefs.h >>conftest.$ac_ext
97650 cat >>conftest.$ac_ext <<_ACEOF
97651 /* end confdefs.h.  */
97652 #include <math.h>
97653 int
97654 main ()
97655 {
97656  __builtin_sinl(0);
97657   ;
97658   return 0;
97659 }
97660 _ACEOF
97661 rm -f conftest.$ac_objext
97662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97663   (eval $ac_compile) 2>conftest.er1
97664   ac_status=$?
97665   grep -v '^ *+' conftest.er1 >conftest.err
97666   rm -f conftest.er1
97667   cat conftest.err >&5
97668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97669   (exit $ac_status); } &&
97670          { ac_try='test -z "$ac_cxx_werror_flag"
97671                          || test ! -s conftest.err'
97672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97673   (eval $ac_try) 2>&5
97674   ac_status=$?
97675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97676   (exit $ac_status); }; } &&
97677          { ac_try='test -s conftest.$ac_objext'
97678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97679   (eval $ac_try) 2>&5
97680   ac_status=$?
97681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97682   (exit $ac_status); }; }; then
97683   glibcxx_cv_func___builtin_sinl_use=yes
97684 else
97685   echo "$as_me: failed program was:" >&5
97686 sed 's/^/| /' conftest.$ac_ext >&5
97687
97688 glibcxx_cv_func___builtin_sinl_use=no
97689 fi
97690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97691       ac_ext=c
97692 ac_cpp='$CPP $CPPFLAGS'
97693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97696
97697
97698 fi
97699
97700   fi
97701   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
97702 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
97703   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
97704     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
97705 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
97706     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
97707       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
97708   echo $ECHO_N "(cached) $ECHO_C" >&6
97709 else
97710
97711         if test x$gcc_no_link = xyes; then
97712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97714    { (exit 1); exit 1; }; }
97715 fi
97716 cat >conftest.$ac_ext <<_ACEOF
97717 /* confdefs.h.  */
97718 _ACEOF
97719 cat confdefs.h >>conftest.$ac_ext
97720 cat >>conftest.$ac_ext <<_ACEOF
97721 /* end confdefs.h.  */
97722 #include <math.h>
97723 int
97724 main ()
97725 {
97726  __builtin_sinl(0);
97727   ;
97728   return 0;
97729 }
97730 _ACEOF
97731 rm -f conftest.$ac_objext conftest$ac_exeext
97732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97733   (eval $ac_link) 2>conftest.er1
97734   ac_status=$?
97735   grep -v '^ *+' conftest.er1 >conftest.err
97736   rm -f conftest.er1
97737   cat conftest.err >&5
97738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97739   (exit $ac_status); } &&
97740          { ac_try='test -z "$ac_c_werror_flag"
97741                          || test ! -s conftest.err'
97742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97743   (eval $ac_try) 2>&5
97744   ac_status=$?
97745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97746   (exit $ac_status); }; } &&
97747          { ac_try='test -s conftest$ac_exeext'
97748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97749   (eval $ac_try) 2>&5
97750   ac_status=$?
97751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97752   (exit $ac_status); }; }; then
97753   glibcxx_cv_func___builtin_sinl_link=yes
97754 else
97755   echo "$as_me: failed program was:" >&5
97756 sed 's/^/| /' conftest.$ac_ext >&5
97757
97758 glibcxx_cv_func___builtin_sinl_link=no
97759 fi
97760 rm -f conftest.err conftest.$ac_objext \
97761       conftest$ac_exeext conftest.$ac_ext
97762
97763 fi
97764
97765     fi
97766     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
97767 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
97768
97769     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
97770
97771 cat >>confdefs.h <<\_ACEOF
97772 #define HAVE___BUILTIN_SINL 1
97773 _ACEOF
97774
97775     fi
97776
97777   fi
97778
97779
97780
97781   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
97782 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
97783   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
97784     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
97785   echo $ECHO_N "(cached) $ECHO_C" >&6
97786 else
97787
97788
97789
97790       ac_ext=cc
97791 ac_cpp='$CXXCPP $CPPFLAGS'
97792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97795
97796       cat >conftest.$ac_ext <<_ACEOF
97797 /* confdefs.h.  */
97798 _ACEOF
97799 cat confdefs.h >>conftest.$ac_ext
97800 cat >>conftest.$ac_ext <<_ACEOF
97801 /* end confdefs.h.  */
97802 #include <math.h>
97803 int
97804 main ()
97805 {
97806  __builtin_cosf(0);
97807   ;
97808   return 0;
97809 }
97810 _ACEOF
97811 rm -f conftest.$ac_objext
97812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97813   (eval $ac_compile) 2>conftest.er1
97814   ac_status=$?
97815   grep -v '^ *+' conftest.er1 >conftest.err
97816   rm -f conftest.er1
97817   cat conftest.err >&5
97818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97819   (exit $ac_status); } &&
97820          { ac_try='test -z "$ac_cxx_werror_flag"
97821                          || test ! -s conftest.err'
97822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97823   (eval $ac_try) 2>&5
97824   ac_status=$?
97825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97826   (exit $ac_status); }; } &&
97827          { ac_try='test -s conftest.$ac_objext'
97828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97829   (eval $ac_try) 2>&5
97830   ac_status=$?
97831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97832   (exit $ac_status); }; }; then
97833   glibcxx_cv_func___builtin_cosf_use=yes
97834 else
97835   echo "$as_me: failed program was:" >&5
97836 sed 's/^/| /' conftest.$ac_ext >&5
97837
97838 glibcxx_cv_func___builtin_cosf_use=no
97839 fi
97840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97841       ac_ext=c
97842 ac_cpp='$CPP $CPPFLAGS'
97843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97846
97847
97848 fi
97849
97850   fi
97851   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
97852 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
97853   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
97854     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
97855 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
97856     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
97857       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
97858   echo $ECHO_N "(cached) $ECHO_C" >&6
97859 else
97860
97861         if test x$gcc_no_link = xyes; then
97862   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97864    { (exit 1); exit 1; }; }
97865 fi
97866 cat >conftest.$ac_ext <<_ACEOF
97867 /* confdefs.h.  */
97868 _ACEOF
97869 cat confdefs.h >>conftest.$ac_ext
97870 cat >>conftest.$ac_ext <<_ACEOF
97871 /* end confdefs.h.  */
97872 #include <math.h>
97873 int
97874 main ()
97875 {
97876  __builtin_cosf(0);
97877   ;
97878   return 0;
97879 }
97880 _ACEOF
97881 rm -f conftest.$ac_objext conftest$ac_exeext
97882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97883   (eval $ac_link) 2>conftest.er1
97884   ac_status=$?
97885   grep -v '^ *+' conftest.er1 >conftest.err
97886   rm -f conftest.er1
97887   cat conftest.err >&5
97888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97889   (exit $ac_status); } &&
97890          { ac_try='test -z "$ac_c_werror_flag"
97891                          || test ! -s conftest.err'
97892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97893   (eval $ac_try) 2>&5
97894   ac_status=$?
97895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97896   (exit $ac_status); }; } &&
97897          { ac_try='test -s conftest$ac_exeext'
97898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97899   (eval $ac_try) 2>&5
97900   ac_status=$?
97901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97902   (exit $ac_status); }; }; then
97903   glibcxx_cv_func___builtin_cosf_link=yes
97904 else
97905   echo "$as_me: failed program was:" >&5
97906 sed 's/^/| /' conftest.$ac_ext >&5
97907
97908 glibcxx_cv_func___builtin_cosf_link=no
97909 fi
97910 rm -f conftest.err conftest.$ac_objext \
97911       conftest$ac_exeext conftest.$ac_ext
97912
97913 fi
97914
97915     fi
97916     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
97917 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
97918
97919     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
97920
97921 cat >>confdefs.h <<\_ACEOF
97922 #define HAVE___BUILTIN_COSF 1
97923 _ACEOF
97924
97925     fi
97926
97927   fi
97928
97929
97930   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
97931 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
97932   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
97933     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
97934   echo $ECHO_N "(cached) $ECHO_C" >&6
97935 else
97936
97937
97938
97939       ac_ext=cc
97940 ac_cpp='$CXXCPP $CPPFLAGS'
97941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97944
97945       cat >conftest.$ac_ext <<_ACEOF
97946 /* confdefs.h.  */
97947 _ACEOF
97948 cat confdefs.h >>conftest.$ac_ext
97949 cat >>conftest.$ac_ext <<_ACEOF
97950 /* end confdefs.h.  */
97951 #include <math.h>
97952 int
97953 main ()
97954 {
97955  __builtin_cos(0);
97956   ;
97957   return 0;
97958 }
97959 _ACEOF
97960 rm -f conftest.$ac_objext
97961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97962   (eval $ac_compile) 2>conftest.er1
97963   ac_status=$?
97964   grep -v '^ *+' conftest.er1 >conftest.err
97965   rm -f conftest.er1
97966   cat conftest.err >&5
97967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97968   (exit $ac_status); } &&
97969          { ac_try='test -z "$ac_cxx_werror_flag"
97970                          || test ! -s conftest.err'
97971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97972   (eval $ac_try) 2>&5
97973   ac_status=$?
97974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97975   (exit $ac_status); }; } &&
97976          { ac_try='test -s conftest.$ac_objext'
97977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97978   (eval $ac_try) 2>&5
97979   ac_status=$?
97980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97981   (exit $ac_status); }; }; then
97982   glibcxx_cv_func___builtin_cos_use=yes
97983 else
97984   echo "$as_me: failed program was:" >&5
97985 sed 's/^/| /' conftest.$ac_ext >&5
97986
97987 glibcxx_cv_func___builtin_cos_use=no
97988 fi
97989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97990       ac_ext=c
97991 ac_cpp='$CPP $CPPFLAGS'
97992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97995
97996
97997 fi
97998
97999   fi
98000   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
98001 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
98002   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
98003     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
98004 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
98005     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
98006       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
98007   echo $ECHO_N "(cached) $ECHO_C" >&6
98008 else
98009
98010         if test x$gcc_no_link = xyes; then
98011   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98013    { (exit 1); exit 1; }; }
98014 fi
98015 cat >conftest.$ac_ext <<_ACEOF
98016 /* confdefs.h.  */
98017 _ACEOF
98018 cat confdefs.h >>conftest.$ac_ext
98019 cat >>conftest.$ac_ext <<_ACEOF
98020 /* end confdefs.h.  */
98021 #include <math.h>
98022 int
98023 main ()
98024 {
98025  __builtin_cos(0);
98026   ;
98027   return 0;
98028 }
98029 _ACEOF
98030 rm -f conftest.$ac_objext conftest$ac_exeext
98031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98032   (eval $ac_link) 2>conftest.er1
98033   ac_status=$?
98034   grep -v '^ *+' conftest.er1 >conftest.err
98035   rm -f conftest.er1
98036   cat conftest.err >&5
98037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98038   (exit $ac_status); } &&
98039          { ac_try='test -z "$ac_c_werror_flag"
98040                          || test ! -s conftest.err'
98041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98042   (eval $ac_try) 2>&5
98043   ac_status=$?
98044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98045   (exit $ac_status); }; } &&
98046          { ac_try='test -s conftest$ac_exeext'
98047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98048   (eval $ac_try) 2>&5
98049   ac_status=$?
98050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98051   (exit $ac_status); }; }; then
98052   glibcxx_cv_func___builtin_cos_link=yes
98053 else
98054   echo "$as_me: failed program was:" >&5
98055 sed 's/^/| /' conftest.$ac_ext >&5
98056
98057 glibcxx_cv_func___builtin_cos_link=no
98058 fi
98059 rm -f conftest.err conftest.$ac_objext \
98060       conftest$ac_exeext conftest.$ac_ext
98061
98062 fi
98063
98064     fi
98065     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
98066 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
98067
98068     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
98069
98070 cat >>confdefs.h <<\_ACEOF
98071 #define HAVE___BUILTIN_COS 1
98072 _ACEOF
98073
98074     fi
98075
98076   fi
98077
98078
98079   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
98080 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
98081   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
98082     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
98083   echo $ECHO_N "(cached) $ECHO_C" >&6
98084 else
98085
98086
98087
98088       ac_ext=cc
98089 ac_cpp='$CXXCPP $CPPFLAGS'
98090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98093
98094       cat >conftest.$ac_ext <<_ACEOF
98095 /* confdefs.h.  */
98096 _ACEOF
98097 cat confdefs.h >>conftest.$ac_ext
98098 cat >>conftest.$ac_ext <<_ACEOF
98099 /* end confdefs.h.  */
98100 #include <math.h>
98101 int
98102 main ()
98103 {
98104  __builtin_cosl(0);
98105   ;
98106   return 0;
98107 }
98108 _ACEOF
98109 rm -f conftest.$ac_objext
98110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98111   (eval $ac_compile) 2>conftest.er1
98112   ac_status=$?
98113   grep -v '^ *+' conftest.er1 >conftest.err
98114   rm -f conftest.er1
98115   cat conftest.err >&5
98116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98117   (exit $ac_status); } &&
98118          { ac_try='test -z "$ac_cxx_werror_flag"
98119                          || test ! -s conftest.err'
98120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98121   (eval $ac_try) 2>&5
98122   ac_status=$?
98123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98124   (exit $ac_status); }; } &&
98125          { ac_try='test -s conftest.$ac_objext'
98126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98127   (eval $ac_try) 2>&5
98128   ac_status=$?
98129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98130   (exit $ac_status); }; }; then
98131   glibcxx_cv_func___builtin_cosl_use=yes
98132 else
98133   echo "$as_me: failed program was:" >&5
98134 sed 's/^/| /' conftest.$ac_ext >&5
98135
98136 glibcxx_cv_func___builtin_cosl_use=no
98137 fi
98138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98139       ac_ext=c
98140 ac_cpp='$CPP $CPPFLAGS'
98141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98144
98145
98146 fi
98147
98148   fi
98149   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
98150 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
98151   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
98152     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
98153 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
98154     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
98155       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
98156   echo $ECHO_N "(cached) $ECHO_C" >&6
98157 else
98158
98159         if test x$gcc_no_link = xyes; then
98160   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98162    { (exit 1); exit 1; }; }
98163 fi
98164 cat >conftest.$ac_ext <<_ACEOF
98165 /* confdefs.h.  */
98166 _ACEOF
98167 cat confdefs.h >>conftest.$ac_ext
98168 cat >>conftest.$ac_ext <<_ACEOF
98169 /* end confdefs.h.  */
98170 #include <math.h>
98171 int
98172 main ()
98173 {
98174  __builtin_cosl(0);
98175   ;
98176   return 0;
98177 }
98178 _ACEOF
98179 rm -f conftest.$ac_objext conftest$ac_exeext
98180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98181   (eval $ac_link) 2>conftest.er1
98182   ac_status=$?
98183   grep -v '^ *+' conftest.er1 >conftest.err
98184   rm -f conftest.er1
98185   cat conftest.err >&5
98186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98187   (exit $ac_status); } &&
98188          { ac_try='test -z "$ac_c_werror_flag"
98189                          || test ! -s conftest.err'
98190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98191   (eval $ac_try) 2>&5
98192   ac_status=$?
98193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98194   (exit $ac_status); }; } &&
98195          { ac_try='test -s conftest$ac_exeext'
98196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98197   (eval $ac_try) 2>&5
98198   ac_status=$?
98199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98200   (exit $ac_status); }; }; then
98201   glibcxx_cv_func___builtin_cosl_link=yes
98202 else
98203   echo "$as_me: failed program was:" >&5
98204 sed 's/^/| /' conftest.$ac_ext >&5
98205
98206 glibcxx_cv_func___builtin_cosl_link=no
98207 fi
98208 rm -f conftest.err conftest.$ac_objext \
98209       conftest$ac_exeext conftest.$ac_ext
98210
98211 fi
98212
98213     fi
98214     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
98215 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
98216
98217     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
98218
98219 cat >>confdefs.h <<\_ACEOF
98220 #define HAVE___BUILTIN_COSL 1
98221 _ACEOF
98222
98223     fi
98224
98225   fi
98226
98227
98228
98229
98230 echo "$as_me:$LINENO: checking for main in -lm" >&5
98231 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
98232 if test "${ac_cv_lib_m_main+set}" = set; then
98233   echo $ECHO_N "(cached) $ECHO_C" >&6
98234 else
98235   ac_check_lib_save_LIBS=$LIBS
98236 LIBS="-lm  $LIBS"
98237 if test x$gcc_no_link = xyes; then
98238   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98240    { (exit 1); exit 1; }; }
98241 fi
98242 cat >conftest.$ac_ext <<_ACEOF
98243 /* confdefs.h.  */
98244 _ACEOF
98245 cat confdefs.h >>conftest.$ac_ext
98246 cat >>conftest.$ac_ext <<_ACEOF
98247 /* end confdefs.h.  */
98248
98249
98250 int
98251 main ()
98252 {
98253 main ();
98254   ;
98255   return 0;
98256 }
98257 _ACEOF
98258 rm -f conftest.$ac_objext conftest$ac_exeext
98259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98260   (eval $ac_link) 2>conftest.er1
98261   ac_status=$?
98262   grep -v '^ *+' conftest.er1 >conftest.err
98263   rm -f conftest.er1
98264   cat conftest.err >&5
98265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98266   (exit $ac_status); } &&
98267          { ac_try='test -z "$ac_c_werror_flag"
98268                          || test ! -s conftest.err'
98269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98270   (eval $ac_try) 2>&5
98271   ac_status=$?
98272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98273   (exit $ac_status); }; } &&
98274          { ac_try='test -s conftest$ac_exeext'
98275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98276   (eval $ac_try) 2>&5
98277   ac_status=$?
98278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98279   (exit $ac_status); }; }; then
98280   ac_cv_lib_m_main=yes
98281 else
98282   echo "$as_me: failed program was:" >&5
98283 sed 's/^/| /' conftest.$ac_ext >&5
98284
98285 ac_cv_lib_m_main=no
98286 fi
98287 rm -f conftest.err conftest.$ac_objext \
98288       conftest$ac_exeext conftest.$ac_ext
98289 LIBS=$ac_check_lib_save_LIBS
98290 fi
98291 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
98292 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
98293 if test $ac_cv_lib_m_main = yes; then
98294   cat >>confdefs.h <<_ACEOF
98295 #define HAVE_LIBM 1
98296 _ACEOF
98297
98298   LIBS="-lm $LIBS"
98299
98300 fi
98301
98302
98303 for ac_func in copysignf
98304 do
98305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98306 echo "$as_me:$LINENO: checking for $ac_func" >&5
98307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98308 if eval "test \"\${$as_ac_var+set}\" = set"; then
98309   echo $ECHO_N "(cached) $ECHO_C" >&6
98310 else
98311   if test x$gcc_no_link = xyes; then
98312   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98314    { (exit 1); exit 1; }; }
98315 fi
98316 cat >conftest.$ac_ext <<_ACEOF
98317 /* confdefs.h.  */
98318 _ACEOF
98319 cat confdefs.h >>conftest.$ac_ext
98320 cat >>conftest.$ac_ext <<_ACEOF
98321 /* end confdefs.h.  */
98322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98323    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98324 #define $ac_func innocuous_$ac_func
98325
98326 /* System header to define __stub macros and hopefully few prototypes,
98327     which can conflict with char $ac_func (); below.
98328     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98329     <limits.h> exists even on freestanding compilers.  */
98330
98331 #ifdef __STDC__
98332 # include <limits.h>
98333 #else
98334 # include <assert.h>
98335 #endif
98336
98337 #undef $ac_func
98338
98339 /* Override any gcc2 internal prototype to avoid an error.  */
98340 #ifdef __cplusplus
98341 extern "C"
98342 {
98343 #endif
98344 /* We use char because int might match the return type of a gcc2
98345    builtin and then its argument prototype would still apply.  */
98346 char $ac_func ();
98347 /* The GNU C library defines this for functions which it implements
98348     to always fail with ENOSYS.  Some functions are actually named
98349     something starting with __ and the normal name is an alias.  */
98350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98351 choke me
98352 #else
98353 char (*f) () = $ac_func;
98354 #endif
98355 #ifdef __cplusplus
98356 }
98357 #endif
98358
98359 int
98360 main ()
98361 {
98362 return f != $ac_func;
98363   ;
98364   return 0;
98365 }
98366 _ACEOF
98367 rm -f conftest.$ac_objext conftest$ac_exeext
98368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98369   (eval $ac_link) 2>conftest.er1
98370   ac_status=$?
98371   grep -v '^ *+' conftest.er1 >conftest.err
98372   rm -f conftest.er1
98373   cat conftest.err >&5
98374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98375   (exit $ac_status); } &&
98376          { ac_try='test -z "$ac_c_werror_flag"
98377                          || test ! -s conftest.err'
98378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98379   (eval $ac_try) 2>&5
98380   ac_status=$?
98381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98382   (exit $ac_status); }; } &&
98383          { ac_try='test -s conftest$ac_exeext'
98384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98385   (eval $ac_try) 2>&5
98386   ac_status=$?
98387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98388   (exit $ac_status); }; }; then
98389   eval "$as_ac_var=yes"
98390 else
98391   echo "$as_me: failed program was:" >&5
98392 sed 's/^/| /' conftest.$ac_ext >&5
98393
98394 eval "$as_ac_var=no"
98395 fi
98396 rm -f conftest.err conftest.$ac_objext \
98397       conftest$ac_exeext conftest.$ac_ext
98398 fi
98399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98401 if test `eval echo '${'$as_ac_var'}'` = yes; then
98402   cat >>confdefs.h <<_ACEOF
98403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98404 _ACEOF
98405
98406 else
98407   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
98408 fi
98409 done
98410
98411
98412
98413 for ac_func in __signbit
98414 do
98415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98416 echo "$as_me:$LINENO: checking for $ac_func" >&5
98417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98418 if eval "test \"\${$as_ac_var+set}\" = set"; then
98419   echo $ECHO_N "(cached) $ECHO_C" >&6
98420 else
98421   if test x$gcc_no_link = xyes; then
98422   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98424    { (exit 1); exit 1; }; }
98425 fi
98426 cat >conftest.$ac_ext <<_ACEOF
98427 /* confdefs.h.  */
98428 _ACEOF
98429 cat confdefs.h >>conftest.$ac_ext
98430 cat >>conftest.$ac_ext <<_ACEOF
98431 /* end confdefs.h.  */
98432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98433    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98434 #define $ac_func innocuous_$ac_func
98435
98436 /* System header to define __stub macros and hopefully few prototypes,
98437     which can conflict with char $ac_func (); below.
98438     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98439     <limits.h> exists even on freestanding compilers.  */
98440
98441 #ifdef __STDC__
98442 # include <limits.h>
98443 #else
98444 # include <assert.h>
98445 #endif
98446
98447 #undef $ac_func
98448
98449 /* Override any gcc2 internal prototype to avoid an error.  */
98450 #ifdef __cplusplus
98451 extern "C"
98452 {
98453 #endif
98454 /* We use char because int might match the return type of a gcc2
98455    builtin and then its argument prototype would still apply.  */
98456 char $ac_func ();
98457 /* The GNU C library defines this for functions which it implements
98458     to always fail with ENOSYS.  Some functions are actually named
98459     something starting with __ and the normal name is an alias.  */
98460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98461 choke me
98462 #else
98463 char (*f) () = $ac_func;
98464 #endif
98465 #ifdef __cplusplus
98466 }
98467 #endif
98468
98469 int
98470 main ()
98471 {
98472 return f != $ac_func;
98473   ;
98474   return 0;
98475 }
98476 _ACEOF
98477 rm -f conftest.$ac_objext conftest$ac_exeext
98478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98479   (eval $ac_link) 2>conftest.er1
98480   ac_status=$?
98481   grep -v '^ *+' conftest.er1 >conftest.err
98482   rm -f conftest.er1
98483   cat conftest.err >&5
98484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98485   (exit $ac_status); } &&
98486          { ac_try='test -z "$ac_c_werror_flag"
98487                          || test ! -s conftest.err'
98488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98489   (eval $ac_try) 2>&5
98490   ac_status=$?
98491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98492   (exit $ac_status); }; } &&
98493          { ac_try='test -s conftest$ac_exeext'
98494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98495   (eval $ac_try) 2>&5
98496   ac_status=$?
98497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98498   (exit $ac_status); }; }; then
98499   eval "$as_ac_var=yes"
98500 else
98501   echo "$as_me: failed program was:" >&5
98502 sed 's/^/| /' conftest.$ac_ext >&5
98503
98504 eval "$as_ac_var=no"
98505 fi
98506 rm -f conftest.err conftest.$ac_objext \
98507       conftest$ac_exeext conftest.$ac_ext
98508 fi
98509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98511 if test `eval echo '${'$as_ac_var'}'` = yes; then
98512   cat >>confdefs.h <<_ACEOF
98513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98514 _ACEOF
98515
98516 else
98517   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
98518 fi
98519 done
98520
98521
98522
98523 for ac_func in __signbitf
98524 do
98525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98526 echo "$as_me:$LINENO: checking for $ac_func" >&5
98527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98528 if eval "test \"\${$as_ac_var+set}\" = set"; then
98529   echo $ECHO_N "(cached) $ECHO_C" >&6
98530 else
98531   if test x$gcc_no_link = xyes; then
98532   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98534    { (exit 1); exit 1; }; }
98535 fi
98536 cat >conftest.$ac_ext <<_ACEOF
98537 /* confdefs.h.  */
98538 _ACEOF
98539 cat confdefs.h >>conftest.$ac_ext
98540 cat >>conftest.$ac_ext <<_ACEOF
98541 /* end confdefs.h.  */
98542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98543    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98544 #define $ac_func innocuous_$ac_func
98545
98546 /* System header to define __stub macros and hopefully few prototypes,
98547     which can conflict with char $ac_func (); below.
98548     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98549     <limits.h> exists even on freestanding compilers.  */
98550
98551 #ifdef __STDC__
98552 # include <limits.h>
98553 #else
98554 # include <assert.h>
98555 #endif
98556
98557 #undef $ac_func
98558
98559 /* Override any gcc2 internal prototype to avoid an error.  */
98560 #ifdef __cplusplus
98561 extern "C"
98562 {
98563 #endif
98564 /* We use char because int might match the return type of a gcc2
98565    builtin and then its argument prototype would still apply.  */
98566 char $ac_func ();
98567 /* The GNU C library defines this for functions which it implements
98568     to always fail with ENOSYS.  Some functions are actually named
98569     something starting with __ and the normal name is an alias.  */
98570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98571 choke me
98572 #else
98573 char (*f) () = $ac_func;
98574 #endif
98575 #ifdef __cplusplus
98576 }
98577 #endif
98578
98579 int
98580 main ()
98581 {
98582 return f != $ac_func;
98583   ;
98584   return 0;
98585 }
98586 _ACEOF
98587 rm -f conftest.$ac_objext conftest$ac_exeext
98588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98589   (eval $ac_link) 2>conftest.er1
98590   ac_status=$?
98591   grep -v '^ *+' conftest.er1 >conftest.err
98592   rm -f conftest.er1
98593   cat conftest.err >&5
98594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98595   (exit $ac_status); } &&
98596          { ac_try='test -z "$ac_c_werror_flag"
98597                          || test ! -s conftest.err'
98598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98599   (eval $ac_try) 2>&5
98600   ac_status=$?
98601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98602   (exit $ac_status); }; } &&
98603          { ac_try='test -s conftest$ac_exeext'
98604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98605   (eval $ac_try) 2>&5
98606   ac_status=$?
98607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98608   (exit $ac_status); }; }; then
98609   eval "$as_ac_var=yes"
98610 else
98611   echo "$as_me: failed program was:" >&5
98612 sed 's/^/| /' conftest.$ac_ext >&5
98613
98614 eval "$as_ac_var=no"
98615 fi
98616 rm -f conftest.err conftest.$ac_objext \
98617       conftest$ac_exeext conftest.$ac_ext
98618 fi
98619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98621 if test `eval echo '${'$as_ac_var'}'` = yes; then
98622   cat >>confdefs.h <<_ACEOF
98623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98624 _ACEOF
98625
98626 else
98627   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
98628 fi
98629 done
98630
98631
98632           if test x$ac_cv_func_copysignl = x"yes"; then
98633
98634 for ac_func in __signbitl
98635 do
98636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98637 echo "$as_me:$LINENO: checking for $ac_func" >&5
98638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98639 if eval "test \"\${$as_ac_var+set}\" = set"; then
98640   echo $ECHO_N "(cached) $ECHO_C" >&6
98641 else
98642   if test x$gcc_no_link = xyes; then
98643   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98645    { (exit 1); exit 1; }; }
98646 fi
98647 cat >conftest.$ac_ext <<_ACEOF
98648 /* confdefs.h.  */
98649 _ACEOF
98650 cat confdefs.h >>conftest.$ac_ext
98651 cat >>conftest.$ac_ext <<_ACEOF
98652 /* end confdefs.h.  */
98653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98654    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98655 #define $ac_func innocuous_$ac_func
98656
98657 /* System header to define __stub macros and hopefully few prototypes,
98658     which can conflict with char $ac_func (); below.
98659     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98660     <limits.h> exists even on freestanding compilers.  */
98661
98662 #ifdef __STDC__
98663 # include <limits.h>
98664 #else
98665 # include <assert.h>
98666 #endif
98667
98668 #undef $ac_func
98669
98670 /* Override any gcc2 internal prototype to avoid an error.  */
98671 #ifdef __cplusplus
98672 extern "C"
98673 {
98674 #endif
98675 /* We use char because int might match the return type of a gcc2
98676    builtin and then its argument prototype would still apply.  */
98677 char $ac_func ();
98678 /* The GNU C library defines this for functions which it implements
98679     to always fail with ENOSYS.  Some functions are actually named
98680     something starting with __ and the normal name is an alias.  */
98681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98682 choke me
98683 #else
98684 char (*f) () = $ac_func;
98685 #endif
98686 #ifdef __cplusplus
98687 }
98688 #endif
98689
98690 int
98691 main ()
98692 {
98693 return f != $ac_func;
98694   ;
98695   return 0;
98696 }
98697 _ACEOF
98698 rm -f conftest.$ac_objext conftest$ac_exeext
98699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98700   (eval $ac_link) 2>conftest.er1
98701   ac_status=$?
98702   grep -v '^ *+' conftest.er1 >conftest.err
98703   rm -f conftest.er1
98704   cat conftest.err >&5
98705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98706   (exit $ac_status); } &&
98707          { ac_try='test -z "$ac_c_werror_flag"
98708                          || test ! -s conftest.err'
98709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98710   (eval $ac_try) 2>&5
98711   ac_status=$?
98712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98713   (exit $ac_status); }; } &&
98714          { ac_try='test -s conftest$ac_exeext'
98715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98716   (eval $ac_try) 2>&5
98717   ac_status=$?
98718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98719   (exit $ac_status); }; }; then
98720   eval "$as_ac_var=yes"
98721 else
98722   echo "$as_me: failed program was:" >&5
98723 sed 's/^/| /' conftest.$ac_ext >&5
98724
98725 eval "$as_ac_var=no"
98726 fi
98727 rm -f conftest.err conftest.$ac_objext \
98728       conftest$ac_exeext conftest.$ac_ext
98729 fi
98730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98732 if test `eval echo '${'$as_ac_var'}'` = yes; then
98733   cat >>confdefs.h <<_ACEOF
98734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98735 _ACEOF
98736
98737 else
98738   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
98739 fi
98740 done
98741
98742   fi
98743
98744   # Used in libmath/Makefile.am.
98745   if test -n "$LIBMATHOBJS"; then
98746     need_libmath=yes
98747   fi
98748
98749
98750
98751
98752   enable_iconv=no
98753   # Only continue checking if the ISO C99 headers exist and support is on.
98754   if test x"$enable_wchar_t" = xyes; then
98755
98756     # Use iconv for wchar_t to char conversions. As such, check for
98757     # X/Open Portability Guide, version 2 features (XPG2).
98758     if test "${ac_cv_header_iconv_h+set}" = set; then
98759   echo "$as_me:$LINENO: checking for iconv.h" >&5
98760 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
98761 if test "${ac_cv_header_iconv_h+set}" = set; then
98762   echo $ECHO_N "(cached) $ECHO_C" >&6
98763 fi
98764 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
98765 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
98766 else
98767   # Is the header compilable?
98768 echo "$as_me:$LINENO: checking iconv.h usability" >&5
98769 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
98770 cat >conftest.$ac_ext <<_ACEOF
98771 /* confdefs.h.  */
98772 _ACEOF
98773 cat confdefs.h >>conftest.$ac_ext
98774 cat >>conftest.$ac_ext <<_ACEOF
98775 /* end confdefs.h.  */
98776 $ac_includes_default
98777 #include <iconv.h>
98778 _ACEOF
98779 rm -f conftest.$ac_objext
98780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98781   (eval $ac_compile) 2>conftest.er1
98782   ac_status=$?
98783   grep -v '^ *+' conftest.er1 >conftest.err
98784   rm -f conftest.er1
98785   cat conftest.err >&5
98786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98787   (exit $ac_status); } &&
98788          { ac_try='test -z "$ac_c_werror_flag"
98789                          || test ! -s conftest.err'
98790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98791   (eval $ac_try) 2>&5
98792   ac_status=$?
98793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98794   (exit $ac_status); }; } &&
98795          { ac_try='test -s conftest.$ac_objext'
98796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98797   (eval $ac_try) 2>&5
98798   ac_status=$?
98799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98800   (exit $ac_status); }; }; then
98801   ac_header_compiler=yes
98802 else
98803   echo "$as_me: failed program was:" >&5
98804 sed 's/^/| /' conftest.$ac_ext >&5
98805
98806 ac_header_compiler=no
98807 fi
98808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98809 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
98810 echo "${ECHO_T}$ac_header_compiler" >&6
98811
98812 # Is the header present?
98813 echo "$as_me:$LINENO: checking iconv.h presence" >&5
98814 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
98815 cat >conftest.$ac_ext <<_ACEOF
98816 /* confdefs.h.  */
98817 _ACEOF
98818 cat confdefs.h >>conftest.$ac_ext
98819 cat >>conftest.$ac_ext <<_ACEOF
98820 /* end confdefs.h.  */
98821 #include <iconv.h>
98822 _ACEOF
98823 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
98824   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
98825   ac_status=$?
98826   grep -v '^ *+' conftest.er1 >conftest.err
98827   rm -f conftest.er1
98828   cat conftest.err >&5
98829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98830   (exit $ac_status); } >/dev/null; then
98831   if test -s conftest.err; then
98832     ac_cpp_err=$ac_c_preproc_warn_flag
98833     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
98834   else
98835     ac_cpp_err=
98836   fi
98837 else
98838   ac_cpp_err=yes
98839 fi
98840 if test -z "$ac_cpp_err"; then
98841   ac_header_preproc=yes
98842 else
98843   echo "$as_me: failed program was:" >&5
98844 sed 's/^/| /' conftest.$ac_ext >&5
98845
98846   ac_header_preproc=no
98847 fi
98848 rm -f conftest.err conftest.$ac_ext
98849 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
98850 echo "${ECHO_T}$ac_header_preproc" >&6
98851
98852 # So?  What about this header?
98853 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
98854   yes:no: )
98855     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
98856 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
98857     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
98858 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
98859     ac_header_preproc=yes
98860     ;;
98861   no:yes:* )
98862     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
98863 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
98864     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
98865 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
98866     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
98867 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
98868     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
98869 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
98870     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
98871 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
98872     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
98873 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
98874     (
98875       cat <<\_ASBOX
98876 ## ----------------------------------------- ##
98877 ## Report this to the package-unused lists.  ##
98878 ## ----------------------------------------- ##
98879 _ASBOX
98880     ) |
98881       sed "s/^/$as_me: WARNING:     /" >&2
98882     ;;
98883 esac
98884 echo "$as_me:$LINENO: checking for iconv.h" >&5
98885 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
98886 if test "${ac_cv_header_iconv_h+set}" = set; then
98887   echo $ECHO_N "(cached) $ECHO_C" >&6
98888 else
98889   ac_cv_header_iconv_h=$ac_header_preproc
98890 fi
98891 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
98892 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
98893
98894 fi
98895 if test $ac_cv_header_iconv_h = yes; then
98896   ac_has_iconv_h=yes
98897 else
98898   ac_has_iconv_h=no
98899 fi
98900
98901
98902     if test "${ac_cv_header_langinfo_h+set}" = set; then
98903   echo "$as_me:$LINENO: checking for langinfo.h" >&5
98904 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
98905 if test "${ac_cv_header_langinfo_h+set}" = set; then
98906   echo $ECHO_N "(cached) $ECHO_C" >&6
98907 fi
98908 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
98909 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
98910 else
98911   # Is the header compilable?
98912 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
98913 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
98914 cat >conftest.$ac_ext <<_ACEOF
98915 /* confdefs.h.  */
98916 _ACEOF
98917 cat confdefs.h >>conftest.$ac_ext
98918 cat >>conftest.$ac_ext <<_ACEOF
98919 /* end confdefs.h.  */
98920 $ac_includes_default
98921 #include <langinfo.h>
98922 _ACEOF
98923 rm -f conftest.$ac_objext
98924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98925   (eval $ac_compile) 2>conftest.er1
98926   ac_status=$?
98927   grep -v '^ *+' conftest.er1 >conftest.err
98928   rm -f conftest.er1
98929   cat conftest.err >&5
98930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98931   (exit $ac_status); } &&
98932          { ac_try='test -z "$ac_c_werror_flag"
98933                          || test ! -s conftest.err'
98934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98935   (eval $ac_try) 2>&5
98936   ac_status=$?
98937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98938   (exit $ac_status); }; } &&
98939          { ac_try='test -s conftest.$ac_objext'
98940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98941   (eval $ac_try) 2>&5
98942   ac_status=$?
98943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98944   (exit $ac_status); }; }; then
98945   ac_header_compiler=yes
98946 else
98947   echo "$as_me: failed program was:" >&5
98948 sed 's/^/| /' conftest.$ac_ext >&5
98949
98950 ac_header_compiler=no
98951 fi
98952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98953 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
98954 echo "${ECHO_T}$ac_header_compiler" >&6
98955
98956 # Is the header present?
98957 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
98958 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
98959 cat >conftest.$ac_ext <<_ACEOF
98960 /* confdefs.h.  */
98961 _ACEOF
98962 cat confdefs.h >>conftest.$ac_ext
98963 cat >>conftest.$ac_ext <<_ACEOF
98964 /* end confdefs.h.  */
98965 #include <langinfo.h>
98966 _ACEOF
98967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
98968   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
98969   ac_status=$?
98970   grep -v '^ *+' conftest.er1 >conftest.err
98971   rm -f conftest.er1
98972   cat conftest.err >&5
98973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98974   (exit $ac_status); } >/dev/null; then
98975   if test -s conftest.err; then
98976     ac_cpp_err=$ac_c_preproc_warn_flag
98977     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
98978   else
98979     ac_cpp_err=
98980   fi
98981 else
98982   ac_cpp_err=yes
98983 fi
98984 if test -z "$ac_cpp_err"; then
98985   ac_header_preproc=yes
98986 else
98987   echo "$as_me: failed program was:" >&5
98988 sed 's/^/| /' conftest.$ac_ext >&5
98989
98990   ac_header_preproc=no
98991 fi
98992 rm -f conftest.err conftest.$ac_ext
98993 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
98994 echo "${ECHO_T}$ac_header_preproc" >&6
98995
98996 # So?  What about this header?
98997 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
98998   yes:no: )
98999     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
99000 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
99001     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
99002 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
99003     ac_header_preproc=yes
99004     ;;
99005   no:yes:* )
99006     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
99007 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
99008     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
99009 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
99010     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
99011 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
99012     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
99013 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
99014     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
99015 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
99016     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
99017 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
99018     (
99019       cat <<\_ASBOX
99020 ## ----------------------------------------- ##
99021 ## Report this to the package-unused lists.  ##
99022 ## ----------------------------------------- ##
99023 _ASBOX
99024     ) |
99025       sed "s/^/$as_me: WARNING:     /" >&2
99026     ;;
99027 esac
99028 echo "$as_me:$LINENO: checking for langinfo.h" >&5
99029 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
99030 if test "${ac_cv_header_langinfo_h+set}" = set; then
99031   echo $ECHO_N "(cached) $ECHO_C" >&6
99032 else
99033   ac_cv_header_langinfo_h=$ac_header_preproc
99034 fi
99035 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
99036 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
99037
99038 fi
99039 if test $ac_cv_header_langinfo_h = yes; then
99040   ac_has_langinfo_h=yes
99041 else
99042   ac_has_langinfo_h=no
99043 fi
99044
99045
99046
99047     # Check for existence of libiconv.a providing XPG2 wchar_t support.
99048     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
99049 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
99050 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
99051   echo $ECHO_N "(cached) $ECHO_C" >&6
99052 else
99053   ac_check_lib_save_LIBS=$LIBS
99054 LIBS="-liconv  $LIBS"
99055 if test x$gcc_no_link = xyes; then
99056   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99058    { (exit 1); exit 1; }; }
99059 fi
99060 cat >conftest.$ac_ext <<_ACEOF
99061 /* confdefs.h.  */
99062 _ACEOF
99063 cat confdefs.h >>conftest.$ac_ext
99064 cat >>conftest.$ac_ext <<_ACEOF
99065 /* end confdefs.h.  */
99066
99067 /* Override any gcc2 internal prototype to avoid an error.  */
99068 #ifdef __cplusplus
99069 extern "C"
99070 #endif
99071 /* We use char because int might match the return type of a gcc2
99072    builtin and then its argument prototype would still apply.  */
99073 char iconv ();
99074 int
99075 main ()
99076 {
99077 iconv ();
99078   ;
99079   return 0;
99080 }
99081 _ACEOF
99082 rm -f conftest.$ac_objext conftest$ac_exeext
99083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99084   (eval $ac_link) 2>conftest.er1
99085   ac_status=$?
99086   grep -v '^ *+' conftest.er1 >conftest.err
99087   rm -f conftest.er1
99088   cat conftest.err >&5
99089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99090   (exit $ac_status); } &&
99091          { ac_try='test -z "$ac_c_werror_flag"
99092                          || test ! -s conftest.err'
99093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99094   (eval $ac_try) 2>&5
99095   ac_status=$?
99096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99097   (exit $ac_status); }; } &&
99098          { ac_try='test -s conftest$ac_exeext'
99099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99100   (eval $ac_try) 2>&5
99101   ac_status=$?
99102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99103   (exit $ac_status); }; }; then
99104   ac_cv_lib_iconv_iconv=yes
99105 else
99106   echo "$as_me: failed program was:" >&5
99107 sed 's/^/| /' conftest.$ac_ext >&5
99108
99109 ac_cv_lib_iconv_iconv=no
99110 fi
99111 rm -f conftest.err conftest.$ac_objext \
99112       conftest$ac_exeext conftest.$ac_ext
99113 LIBS=$ac_check_lib_save_LIBS
99114 fi
99115 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
99116 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
99117 if test $ac_cv_lib_iconv_iconv = yes; then
99118   LIBICONV="-liconv"
99119 fi
99120
99121     ac_save_LIBS="$LIBS"
99122     LIBS="$LIBS $LIBICONV"
99123
99124
99125
99126
99127
99128
99129 for ac_func in iconv_open iconv_close iconv nl_langinfo
99130 do
99131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99132 echo "$as_me:$LINENO: checking for $ac_func" >&5
99133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99134 if eval "test \"\${$as_ac_var+set}\" = set"; then
99135   echo $ECHO_N "(cached) $ECHO_C" >&6
99136 else
99137   if test x$gcc_no_link = xyes; then
99138   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99140    { (exit 1); exit 1; }; }
99141 fi
99142 cat >conftest.$ac_ext <<_ACEOF
99143 /* confdefs.h.  */
99144 _ACEOF
99145 cat confdefs.h >>conftest.$ac_ext
99146 cat >>conftest.$ac_ext <<_ACEOF
99147 /* end confdefs.h.  */
99148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99149    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99150 #define $ac_func innocuous_$ac_func
99151
99152 /* System header to define __stub macros and hopefully few prototypes,
99153     which can conflict with char $ac_func (); below.
99154     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99155     <limits.h> exists even on freestanding compilers.  */
99156
99157 #ifdef __STDC__
99158 # include <limits.h>
99159 #else
99160 # include <assert.h>
99161 #endif
99162
99163 #undef $ac_func
99164
99165 /* Override any gcc2 internal prototype to avoid an error.  */
99166 #ifdef __cplusplus
99167 extern "C"
99168 {
99169 #endif
99170 /* We use char because int might match the return type of a gcc2
99171    builtin and then its argument prototype would still apply.  */
99172 char $ac_func ();
99173 /* The GNU C library defines this for functions which it implements
99174     to always fail with ENOSYS.  Some functions are actually named
99175     something starting with __ and the normal name is an alias.  */
99176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99177 choke me
99178 #else
99179 char (*f) () = $ac_func;
99180 #endif
99181 #ifdef __cplusplus
99182 }
99183 #endif
99184
99185 int
99186 main ()
99187 {
99188 return f != $ac_func;
99189   ;
99190   return 0;
99191 }
99192 _ACEOF
99193 rm -f conftest.$ac_objext conftest$ac_exeext
99194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99195   (eval $ac_link) 2>conftest.er1
99196   ac_status=$?
99197   grep -v '^ *+' conftest.er1 >conftest.err
99198   rm -f conftest.er1
99199   cat conftest.err >&5
99200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99201   (exit $ac_status); } &&
99202          { ac_try='test -z "$ac_c_werror_flag"
99203                          || test ! -s conftest.err'
99204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99205   (eval $ac_try) 2>&5
99206   ac_status=$?
99207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99208   (exit $ac_status); }; } &&
99209          { ac_try='test -s conftest$ac_exeext'
99210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99211   (eval $ac_try) 2>&5
99212   ac_status=$?
99213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99214   (exit $ac_status); }; }; then
99215   eval "$as_ac_var=yes"
99216 else
99217   echo "$as_me: failed program was:" >&5
99218 sed 's/^/| /' conftest.$ac_ext >&5
99219
99220 eval "$as_ac_var=no"
99221 fi
99222 rm -f conftest.err conftest.$ac_objext \
99223       conftest$ac_exeext conftest.$ac_ext
99224 fi
99225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99227 if test `eval echo '${'$as_ac_var'}'` = yes; then
99228   cat >>confdefs.h <<_ACEOF
99229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99230 _ACEOF
99231  ac_XPG2funcs=yes
99232 else
99233   ac_XPG2funcs=no
99234 fi
99235 done
99236
99237
99238     LIBS="$ac_save_LIBS"
99239
99240     if test x"$ac_has_iconv_h" = xyes &&
99241        test x"$ac_has_langinfo_h" = xyes &&
99242        test x"$ac_XPG2funcs" = xyes;
99243     then
99244
99245 cat >>confdefs.h <<\_ACEOF
99246 #define _GLIBCXX_USE_ICONV 1
99247 _ACEOF
99248
99249       enable_iconv=yes
99250     fi
99251   fi
99252   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
99253 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
99254   echo "$as_me:$LINENO: result: $enable_iconv" >&5
99255 echo "${ECHO_T}$enable_iconv" >&6
99256
99257
99258   ac_test_CXXFLAGS="${CXXFLAGS+set}"
99259   ac_save_CXXFLAGS="$CXXFLAGS"
99260   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
99261
99262
99263   echo "$as_me:$LINENO: checking for strtold declaration" >&5
99264 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
99265   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
99266     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
99267   echo $ECHO_N "(cached) $ECHO_C" >&6
99268 else
99269
99270
99271
99272       ac_ext=cc
99273 ac_cpp='$CXXCPP $CPPFLAGS'
99274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99277
99278       cat >conftest.$ac_ext <<_ACEOF
99279 /* confdefs.h.  */
99280 _ACEOF
99281 cat confdefs.h >>conftest.$ac_ext
99282 cat >>conftest.$ac_ext <<_ACEOF
99283 /* end confdefs.h.  */
99284 #include <stdlib.h>
99285 int
99286 main ()
99287 {
99288  strtold(0, 0);
99289   ;
99290   return 0;
99291 }
99292 _ACEOF
99293 rm -f conftest.$ac_objext
99294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99295   (eval $ac_compile) 2>conftest.er1
99296   ac_status=$?
99297   grep -v '^ *+' conftest.er1 >conftest.err
99298   rm -f conftest.er1
99299   cat conftest.err >&5
99300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99301   (exit $ac_status); } &&
99302          { ac_try='test -z "$ac_cxx_werror_flag"
99303                          || test ! -s conftest.err'
99304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99305   (eval $ac_try) 2>&5
99306   ac_status=$?
99307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99308   (exit $ac_status); }; } &&
99309          { ac_try='test -s conftest.$ac_objext'
99310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99311   (eval $ac_try) 2>&5
99312   ac_status=$?
99313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99314   (exit $ac_status); }; }; then
99315   glibcxx_cv_func_strtold_use=yes
99316 else
99317   echo "$as_me: failed program was:" >&5
99318 sed 's/^/| /' conftest.$ac_ext >&5
99319
99320 glibcxx_cv_func_strtold_use=no
99321 fi
99322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99323       ac_ext=c
99324 ac_cpp='$CPP $CPPFLAGS'
99325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99328
99329
99330 fi
99331
99332   fi
99333   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
99334 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
99335   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
99336
99337 for ac_func in strtold
99338 do
99339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99340 echo "$as_me:$LINENO: checking for $ac_func" >&5
99341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99342 if eval "test \"\${$as_ac_var+set}\" = set"; then
99343   echo $ECHO_N "(cached) $ECHO_C" >&6
99344 else
99345   if test x$gcc_no_link = xyes; then
99346   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99348    { (exit 1); exit 1; }; }
99349 fi
99350 cat >conftest.$ac_ext <<_ACEOF
99351 /* confdefs.h.  */
99352 _ACEOF
99353 cat confdefs.h >>conftest.$ac_ext
99354 cat >>conftest.$ac_ext <<_ACEOF
99355 /* end confdefs.h.  */
99356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99357    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99358 #define $ac_func innocuous_$ac_func
99359
99360 /* System header to define __stub macros and hopefully few prototypes,
99361     which can conflict with char $ac_func (); below.
99362     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99363     <limits.h> exists even on freestanding compilers.  */
99364
99365 #ifdef __STDC__
99366 # include <limits.h>
99367 #else
99368 # include <assert.h>
99369 #endif
99370
99371 #undef $ac_func
99372
99373 /* Override any gcc2 internal prototype to avoid an error.  */
99374 #ifdef __cplusplus
99375 extern "C"
99376 {
99377 #endif
99378 /* We use char because int might match the return type of a gcc2
99379    builtin and then its argument prototype would still apply.  */
99380 char $ac_func ();
99381 /* The GNU C library defines this for functions which it implements
99382     to always fail with ENOSYS.  Some functions are actually named
99383     something starting with __ and the normal name is an alias.  */
99384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99385 choke me
99386 #else
99387 char (*f) () = $ac_func;
99388 #endif
99389 #ifdef __cplusplus
99390 }
99391 #endif
99392
99393 int
99394 main ()
99395 {
99396 return f != $ac_func;
99397   ;
99398   return 0;
99399 }
99400 _ACEOF
99401 rm -f conftest.$ac_objext conftest$ac_exeext
99402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99403   (eval $ac_link) 2>conftest.er1
99404   ac_status=$?
99405   grep -v '^ *+' conftest.er1 >conftest.err
99406   rm -f conftest.er1
99407   cat conftest.err >&5
99408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99409   (exit $ac_status); } &&
99410          { ac_try='test -z "$ac_c_werror_flag"
99411                          || test ! -s conftest.err'
99412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99413   (eval $ac_try) 2>&5
99414   ac_status=$?
99415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99416   (exit $ac_status); }; } &&
99417          { ac_try='test -s conftest$ac_exeext'
99418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99419   (eval $ac_try) 2>&5
99420   ac_status=$?
99421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99422   (exit $ac_status); }; }; then
99423   eval "$as_ac_var=yes"
99424 else
99425   echo "$as_me: failed program was:" >&5
99426 sed 's/^/| /' conftest.$ac_ext >&5
99427
99428 eval "$as_ac_var=no"
99429 fi
99430 rm -f conftest.err conftest.$ac_objext \
99431       conftest$ac_exeext conftest.$ac_ext
99432 fi
99433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99435 if test `eval echo '${'$as_ac_var'}'` = yes; then
99436   cat >>confdefs.h <<_ACEOF
99437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99438 _ACEOF
99439
99440 fi
99441 done
99442
99443   fi
99444
99445
99446
99447
99448
99449   echo "$as_me:$LINENO: checking for strtof declaration" >&5
99450 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
99451   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
99452     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
99453   echo $ECHO_N "(cached) $ECHO_C" >&6
99454 else
99455
99456
99457
99458       ac_ext=cc
99459 ac_cpp='$CXXCPP $CPPFLAGS'
99460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99463
99464       cat >conftest.$ac_ext <<_ACEOF
99465 /* confdefs.h.  */
99466 _ACEOF
99467 cat confdefs.h >>conftest.$ac_ext
99468 cat >>conftest.$ac_ext <<_ACEOF
99469 /* end confdefs.h.  */
99470 #include <stdlib.h>
99471 int
99472 main ()
99473 {
99474  strtof(0, 0);
99475   ;
99476   return 0;
99477 }
99478 _ACEOF
99479 rm -f conftest.$ac_objext
99480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99481   (eval $ac_compile) 2>conftest.er1
99482   ac_status=$?
99483   grep -v '^ *+' conftest.er1 >conftest.err
99484   rm -f conftest.er1
99485   cat conftest.err >&5
99486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99487   (exit $ac_status); } &&
99488          { ac_try='test -z "$ac_cxx_werror_flag"
99489                          || test ! -s conftest.err'
99490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99491   (eval $ac_try) 2>&5
99492   ac_status=$?
99493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99494   (exit $ac_status); }; } &&
99495          { ac_try='test -s conftest.$ac_objext'
99496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99497   (eval $ac_try) 2>&5
99498   ac_status=$?
99499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99500   (exit $ac_status); }; }; then
99501   glibcxx_cv_func_strtof_use=yes
99502 else
99503   echo "$as_me: failed program was:" >&5
99504 sed 's/^/| /' conftest.$ac_ext >&5
99505
99506 glibcxx_cv_func_strtof_use=no
99507 fi
99508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99509       ac_ext=c
99510 ac_cpp='$CPP $CPPFLAGS'
99511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99514
99515
99516 fi
99517
99518   fi
99519   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
99520 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
99521   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
99522
99523 for ac_func in strtof
99524 do
99525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99526 echo "$as_me:$LINENO: checking for $ac_func" >&5
99527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99528 if eval "test \"\${$as_ac_var+set}\" = set"; then
99529   echo $ECHO_N "(cached) $ECHO_C" >&6
99530 else
99531   if test x$gcc_no_link = xyes; then
99532   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99534    { (exit 1); exit 1; }; }
99535 fi
99536 cat >conftest.$ac_ext <<_ACEOF
99537 /* confdefs.h.  */
99538 _ACEOF
99539 cat confdefs.h >>conftest.$ac_ext
99540 cat >>conftest.$ac_ext <<_ACEOF
99541 /* end confdefs.h.  */
99542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99543    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99544 #define $ac_func innocuous_$ac_func
99545
99546 /* System header to define __stub macros and hopefully few prototypes,
99547     which can conflict with char $ac_func (); below.
99548     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99549     <limits.h> exists even on freestanding compilers.  */
99550
99551 #ifdef __STDC__
99552 # include <limits.h>
99553 #else
99554 # include <assert.h>
99555 #endif
99556
99557 #undef $ac_func
99558
99559 /* Override any gcc2 internal prototype to avoid an error.  */
99560 #ifdef __cplusplus
99561 extern "C"
99562 {
99563 #endif
99564 /* We use char because int might match the return type of a gcc2
99565    builtin and then its argument prototype would still apply.  */
99566 char $ac_func ();
99567 /* The GNU C library defines this for functions which it implements
99568     to always fail with ENOSYS.  Some functions are actually named
99569     something starting with __ and the normal name is an alias.  */
99570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99571 choke me
99572 #else
99573 char (*f) () = $ac_func;
99574 #endif
99575 #ifdef __cplusplus
99576 }
99577 #endif
99578
99579 int
99580 main ()
99581 {
99582 return f != $ac_func;
99583   ;
99584   return 0;
99585 }
99586 _ACEOF
99587 rm -f conftest.$ac_objext conftest$ac_exeext
99588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99589   (eval $ac_link) 2>conftest.er1
99590   ac_status=$?
99591   grep -v '^ *+' conftest.er1 >conftest.err
99592   rm -f conftest.er1
99593   cat conftest.err >&5
99594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99595   (exit $ac_status); } &&
99596          { ac_try='test -z "$ac_c_werror_flag"
99597                          || test ! -s conftest.err'
99598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99599   (eval $ac_try) 2>&5
99600   ac_status=$?
99601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99602   (exit $ac_status); }; } &&
99603          { ac_try='test -s conftest$ac_exeext'
99604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99605   (eval $ac_try) 2>&5
99606   ac_status=$?
99607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99608   (exit $ac_status); }; }; then
99609   eval "$as_ac_var=yes"
99610 else
99611   echo "$as_me: failed program was:" >&5
99612 sed 's/^/| /' conftest.$ac_ext >&5
99613
99614 eval "$as_ac_var=no"
99615 fi
99616 rm -f conftest.err conftest.$ac_objext \
99617       conftest$ac_exeext conftest.$ac_ext
99618 fi
99619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99621 if test `eval echo '${'$as_ac_var'}'` = yes; then
99622   cat >>confdefs.h <<_ACEOF
99623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99624 _ACEOF
99625
99626 fi
99627 done
99628
99629   fi
99630
99631
99632
99633
99634
99635   CXXFLAGS="$ac_save_CXXFLAGS"
99636
99637
99638     # For LFS.
99639     cat >>confdefs.h <<\_ACEOF
99640 #define HAVE_INT64_T 1
99641 _ACEOF
99642
99643     case "$target" in
99644       *-uclinux*)
99645         # Don't enable LFS with uClibc
99646         ;;
99647       *)
99648         cat >>confdefs.h <<\_ACEOF
99649 #define _GLIBCXX_USE_LFS 1
99650 _ACEOF
99651
99652     esac
99653
99654     # For showmanyc_helper().
99655
99656
99657 for ac_header in sys/ioctl.h sys/filio.h
99658 do
99659 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
99660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99661   echo "$as_me:$LINENO: checking for $ac_header" >&5
99662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99664   echo $ECHO_N "(cached) $ECHO_C" >&6
99665 fi
99666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99668 else
99669   # Is the header compilable?
99670 echo "$as_me:$LINENO: checking $ac_header usability" >&5
99671 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
99672 cat >conftest.$ac_ext <<_ACEOF
99673 /* confdefs.h.  */
99674 _ACEOF
99675 cat confdefs.h >>conftest.$ac_ext
99676 cat >>conftest.$ac_ext <<_ACEOF
99677 /* end confdefs.h.  */
99678 $ac_includes_default
99679 #include <$ac_header>
99680 _ACEOF
99681 rm -f conftest.$ac_objext
99682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99683   (eval $ac_compile) 2>conftest.er1
99684   ac_status=$?
99685   grep -v '^ *+' conftest.er1 >conftest.err
99686   rm -f conftest.er1
99687   cat conftest.err >&5
99688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99689   (exit $ac_status); } &&
99690          { ac_try='test -z "$ac_c_werror_flag"
99691                          || test ! -s conftest.err'
99692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99693   (eval $ac_try) 2>&5
99694   ac_status=$?
99695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99696   (exit $ac_status); }; } &&
99697          { ac_try='test -s conftest.$ac_objext'
99698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99699   (eval $ac_try) 2>&5
99700   ac_status=$?
99701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99702   (exit $ac_status); }; }; then
99703   ac_header_compiler=yes
99704 else
99705   echo "$as_me: failed program was:" >&5
99706 sed 's/^/| /' conftest.$ac_ext >&5
99707
99708 ac_header_compiler=no
99709 fi
99710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99711 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
99712 echo "${ECHO_T}$ac_header_compiler" >&6
99713
99714 # Is the header present?
99715 echo "$as_me:$LINENO: checking $ac_header presence" >&5
99716 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
99717 cat >conftest.$ac_ext <<_ACEOF
99718 /* confdefs.h.  */
99719 _ACEOF
99720 cat confdefs.h >>conftest.$ac_ext
99721 cat >>conftest.$ac_ext <<_ACEOF
99722 /* end confdefs.h.  */
99723 #include <$ac_header>
99724 _ACEOF
99725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
99726   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
99727   ac_status=$?
99728   grep -v '^ *+' conftest.er1 >conftest.err
99729   rm -f conftest.er1
99730   cat conftest.err >&5
99731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99732   (exit $ac_status); } >/dev/null; then
99733   if test -s conftest.err; then
99734     ac_cpp_err=$ac_c_preproc_warn_flag
99735     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
99736   else
99737     ac_cpp_err=
99738   fi
99739 else
99740   ac_cpp_err=yes
99741 fi
99742 if test -z "$ac_cpp_err"; then
99743   ac_header_preproc=yes
99744 else
99745   echo "$as_me: failed program was:" >&5
99746 sed 's/^/| /' conftest.$ac_ext >&5
99747
99748   ac_header_preproc=no
99749 fi
99750 rm -f conftest.err conftest.$ac_ext
99751 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
99752 echo "${ECHO_T}$ac_header_preproc" >&6
99753
99754 # So?  What about this header?
99755 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
99756   yes:no: )
99757     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
99758 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
99759     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
99760 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
99761     ac_header_preproc=yes
99762     ;;
99763   no:yes:* )
99764     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
99765 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
99766     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
99767 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
99768     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
99769 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
99770     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
99771 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
99772     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
99773 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
99774     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
99775 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
99776     (
99777       cat <<\_ASBOX
99778 ## ----------------------------------------- ##
99779 ## Report this to the package-unused lists.  ##
99780 ## ----------------------------------------- ##
99781 _ASBOX
99782     ) |
99783       sed "s/^/$as_me: WARNING:     /" >&2
99784     ;;
99785 esac
99786 echo "$as_me:$LINENO: checking for $ac_header" >&5
99787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99789   echo $ECHO_N "(cached) $ECHO_C" >&6
99790 else
99791   eval "$as_ac_Header=\$ac_header_preproc"
99792 fi
99793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99795
99796 fi
99797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
99798   cat >>confdefs.h <<_ACEOF
99799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
99800 _ACEOF
99801
99802 fi
99803
99804 done
99805
99806
99807   echo "$as_me:$LINENO: checking for poll" >&5
99808 echo $ECHO_N "checking for poll... $ECHO_C" >&6
99809   if test "${glibcxx_cv_POLL+set}" = set; then
99810   echo $ECHO_N "(cached) $ECHO_C" >&6
99811 else
99812
99813     if test x$gcc_no_link = xyes; then
99814   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99816    { (exit 1); exit 1; }; }
99817 fi
99818 cat >conftest.$ac_ext <<_ACEOF
99819 /* confdefs.h.  */
99820 _ACEOF
99821 cat confdefs.h >>conftest.$ac_ext
99822 cat >>conftest.$ac_ext <<_ACEOF
99823 /* end confdefs.h.  */
99824 #include <poll.h>
99825 int
99826 main ()
99827 {
99828 struct pollfd pfd[1];
99829        pfd[0].events = POLLIN;
99830        poll(pfd, 1, 0);
99831   ;
99832   return 0;
99833 }
99834 _ACEOF
99835 rm -f conftest.$ac_objext conftest$ac_exeext
99836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99837   (eval $ac_link) 2>conftest.er1
99838   ac_status=$?
99839   grep -v '^ *+' conftest.er1 >conftest.err
99840   rm -f conftest.er1
99841   cat conftest.err >&5
99842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99843   (exit $ac_status); } &&
99844          { ac_try='test -z "$ac_c_werror_flag"
99845                          || test ! -s conftest.err'
99846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99847   (eval $ac_try) 2>&5
99848   ac_status=$?
99849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99850   (exit $ac_status); }; } &&
99851          { ac_try='test -s conftest$ac_exeext'
99852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99853   (eval $ac_try) 2>&5
99854   ac_status=$?
99855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99856   (exit $ac_status); }; }; then
99857   glibcxx_cv_POLL=yes
99858 else
99859   echo "$as_me: failed program was:" >&5
99860 sed 's/^/| /' conftest.$ac_ext >&5
99861
99862 glibcxx_cv_POLL=no
99863 fi
99864 rm -f conftest.err conftest.$ac_objext \
99865       conftest$ac_exeext conftest.$ac_ext
99866
99867 fi
99868
99869   if test $glibcxx_cv_POLL = yes; then
99870
99871 cat >>confdefs.h <<\_ACEOF
99872 #define HAVE_POLL 1
99873 _ACEOF
99874
99875   fi
99876   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
99877 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
99878
99879
99880   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
99881 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
99882   if test "${glibcxx_cv_S_ISREG+set}" = set; then
99883   echo $ECHO_N "(cached) $ECHO_C" >&6
99884 else
99885
99886     if test x$gcc_no_link = xyes; then
99887   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99889    { (exit 1); exit 1; }; }
99890 fi
99891 cat >conftest.$ac_ext <<_ACEOF
99892 /* confdefs.h.  */
99893 _ACEOF
99894 cat confdefs.h >>conftest.$ac_ext
99895 cat >>conftest.$ac_ext <<_ACEOF
99896 /* end confdefs.h.  */
99897 #include <sys/stat.h>
99898 int
99899 main ()
99900 {
99901 struct stat buffer;
99902        fstat(0, &buffer);
99903        S_ISREG(buffer.st_mode);
99904   ;
99905   return 0;
99906 }
99907 _ACEOF
99908 rm -f conftest.$ac_objext conftest$ac_exeext
99909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99910   (eval $ac_link) 2>conftest.er1
99911   ac_status=$?
99912   grep -v '^ *+' conftest.er1 >conftest.err
99913   rm -f conftest.er1
99914   cat conftest.err >&5
99915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99916   (exit $ac_status); } &&
99917          { ac_try='test -z "$ac_c_werror_flag"
99918                          || test ! -s conftest.err'
99919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99920   (eval $ac_try) 2>&5
99921   ac_status=$?
99922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99923   (exit $ac_status); }; } &&
99924          { ac_try='test -s conftest$ac_exeext'
99925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99926   (eval $ac_try) 2>&5
99927   ac_status=$?
99928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99929   (exit $ac_status); }; }; then
99930   glibcxx_cv_S_ISREG=yes
99931 else
99932   echo "$as_me: failed program was:" >&5
99933 sed 's/^/| /' conftest.$ac_ext >&5
99934
99935 glibcxx_cv_S_ISREG=no
99936 fi
99937 rm -f conftest.err conftest.$ac_objext \
99938       conftest$ac_exeext conftest.$ac_ext
99939
99940 fi
99941
99942   if test "${glibcxx_cv_S_IFREG+set}" = set; then
99943   echo $ECHO_N "(cached) $ECHO_C" >&6
99944 else
99945
99946     if test x$gcc_no_link = xyes; then
99947   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99949    { (exit 1); exit 1; }; }
99950 fi
99951 cat >conftest.$ac_ext <<_ACEOF
99952 /* confdefs.h.  */
99953 _ACEOF
99954 cat confdefs.h >>conftest.$ac_ext
99955 cat >>conftest.$ac_ext <<_ACEOF
99956 /* end confdefs.h.  */
99957 #include <sys/stat.h>
99958 int
99959 main ()
99960 {
99961 struct stat buffer;
99962        fstat(0, &buffer);
99963        S_IFREG & buffer.st_mode;
99964   ;
99965   return 0;
99966 }
99967 _ACEOF
99968 rm -f conftest.$ac_objext conftest$ac_exeext
99969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99970   (eval $ac_link) 2>conftest.er1
99971   ac_status=$?
99972   grep -v '^ *+' conftest.er1 >conftest.err
99973   rm -f conftest.er1
99974   cat conftest.err >&5
99975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99976   (exit $ac_status); } &&
99977          { ac_try='test -z "$ac_c_werror_flag"
99978                          || test ! -s conftest.err'
99979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99980   (eval $ac_try) 2>&5
99981   ac_status=$?
99982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99983   (exit $ac_status); }; } &&
99984          { ac_try='test -s conftest$ac_exeext'
99985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99986   (eval $ac_try) 2>&5
99987   ac_status=$?
99988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99989   (exit $ac_status); }; }; then
99990   glibcxx_cv_S_IFREG=yes
99991 else
99992   echo "$as_me: failed program was:" >&5
99993 sed 's/^/| /' conftest.$ac_ext >&5
99994
99995 glibcxx_cv_S_IFREG=no
99996 fi
99997 rm -f conftest.err conftest.$ac_objext \
99998       conftest$ac_exeext conftest.$ac_ext
99999
100000 fi
100001
100002   res=no
100003   if test $glibcxx_cv_S_ISREG = yes; then
100004
100005 cat >>confdefs.h <<\_ACEOF
100006 #define HAVE_S_ISREG 1
100007 _ACEOF
100008
100009     res=S_ISREG
100010   elif test $glibcxx_cv_S_IFREG = yes; then
100011
100012 cat >>confdefs.h <<\_ACEOF
100013 #define HAVE_S_IFREG 1
100014 _ACEOF
100015
100016     res=S_IFREG
100017   fi
100018   echo "$as_me:$LINENO: result: $res" >&5
100019 echo "${ECHO_T}$res" >&6
100020
100021
100022     # For xsputn_2().
100023
100024 for ac_header in sys/uio.h
100025 do
100026 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
100027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100028   echo "$as_me:$LINENO: checking for $ac_header" >&5
100029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100031   echo $ECHO_N "(cached) $ECHO_C" >&6
100032 fi
100033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100034 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100035 else
100036   # Is the header compilable?
100037 echo "$as_me:$LINENO: checking $ac_header usability" >&5
100038 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
100039 cat >conftest.$ac_ext <<_ACEOF
100040 /* confdefs.h.  */
100041 _ACEOF
100042 cat confdefs.h >>conftest.$ac_ext
100043 cat >>conftest.$ac_ext <<_ACEOF
100044 /* end confdefs.h.  */
100045 $ac_includes_default
100046 #include <$ac_header>
100047 _ACEOF
100048 rm -f conftest.$ac_objext
100049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100050   (eval $ac_compile) 2>conftest.er1
100051   ac_status=$?
100052   grep -v '^ *+' conftest.er1 >conftest.err
100053   rm -f conftest.er1
100054   cat conftest.err >&5
100055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100056   (exit $ac_status); } &&
100057          { ac_try='test -z "$ac_c_werror_flag"
100058                          || test ! -s conftest.err'
100059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100060   (eval $ac_try) 2>&5
100061   ac_status=$?
100062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100063   (exit $ac_status); }; } &&
100064          { ac_try='test -s conftest.$ac_objext'
100065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100066   (eval $ac_try) 2>&5
100067   ac_status=$?
100068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100069   (exit $ac_status); }; }; then
100070   ac_header_compiler=yes
100071 else
100072   echo "$as_me: failed program was:" >&5
100073 sed 's/^/| /' conftest.$ac_ext >&5
100074
100075 ac_header_compiler=no
100076 fi
100077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100078 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100079 echo "${ECHO_T}$ac_header_compiler" >&6
100080
100081 # Is the header present?
100082 echo "$as_me:$LINENO: checking $ac_header presence" >&5
100083 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100084 cat >conftest.$ac_ext <<_ACEOF
100085 /* confdefs.h.  */
100086 _ACEOF
100087 cat confdefs.h >>conftest.$ac_ext
100088 cat >>conftest.$ac_ext <<_ACEOF
100089 /* end confdefs.h.  */
100090 #include <$ac_header>
100091 _ACEOF
100092 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100093   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100094   ac_status=$?
100095   grep -v '^ *+' conftest.er1 >conftest.err
100096   rm -f conftest.er1
100097   cat conftest.err >&5
100098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100099   (exit $ac_status); } >/dev/null; then
100100   if test -s conftest.err; then
100101     ac_cpp_err=$ac_c_preproc_warn_flag
100102     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100103   else
100104     ac_cpp_err=
100105   fi
100106 else
100107   ac_cpp_err=yes
100108 fi
100109 if test -z "$ac_cpp_err"; then
100110   ac_header_preproc=yes
100111 else
100112   echo "$as_me: failed program was:" >&5
100113 sed 's/^/| /' conftest.$ac_ext >&5
100114
100115   ac_header_preproc=no
100116 fi
100117 rm -f conftest.err conftest.$ac_ext
100118 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100119 echo "${ECHO_T}$ac_header_preproc" >&6
100120
100121 # So?  What about this header?
100122 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100123   yes:no: )
100124     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100125 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100126     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100127 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100128     ac_header_preproc=yes
100129     ;;
100130   no:yes:* )
100131     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100132 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100133     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
100134 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
100135     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100136 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100137     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
100138 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
100139     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100140 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100141     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100142 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100143     (
100144       cat <<\_ASBOX
100145 ## ----------------------------------------- ##
100146 ## Report this to the package-unused lists.  ##
100147 ## ----------------------------------------- ##
100148 _ASBOX
100149     ) |
100150       sed "s/^/$as_me: WARNING:     /" >&2
100151     ;;
100152 esac
100153 echo "$as_me:$LINENO: checking for $ac_header" >&5
100154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100155 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100156   echo $ECHO_N "(cached) $ECHO_C" >&6
100157 else
100158   eval "$as_ac_Header=\$ac_header_preproc"
100159 fi
100160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100162
100163 fi
100164 if test `eval echo '${'$as_ac_Header'}'` = yes; then
100165   cat >>confdefs.h <<_ACEOF
100166 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100167 _ACEOF
100168
100169 fi
100170
100171 done
100172
100173
100174   echo "$as_me:$LINENO: checking for writev" >&5
100175 echo $ECHO_N "checking for writev... $ECHO_C" >&6
100176   if test "${glibcxx_cv_WRITEV+set}" = set; then
100177   echo $ECHO_N "(cached) $ECHO_C" >&6
100178 else
100179
100180     if test x$gcc_no_link = xyes; then
100181   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100183    { (exit 1); exit 1; }; }
100184 fi
100185 cat >conftest.$ac_ext <<_ACEOF
100186 /* confdefs.h.  */
100187 _ACEOF
100188 cat confdefs.h >>conftest.$ac_ext
100189 cat >>conftest.$ac_ext <<_ACEOF
100190 /* end confdefs.h.  */
100191 #include <sys/uio.h>
100192 int
100193 main ()
100194 {
100195 struct iovec iov[2];
100196        writev(0, iov, 0);
100197   ;
100198   return 0;
100199 }
100200 _ACEOF
100201 rm -f conftest.$ac_objext conftest$ac_exeext
100202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100203   (eval $ac_link) 2>conftest.er1
100204   ac_status=$?
100205   grep -v '^ *+' conftest.er1 >conftest.err
100206   rm -f conftest.er1
100207   cat conftest.err >&5
100208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100209   (exit $ac_status); } &&
100210          { ac_try='test -z "$ac_c_werror_flag"
100211                          || test ! -s conftest.err'
100212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100213   (eval $ac_try) 2>&5
100214   ac_status=$?
100215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100216   (exit $ac_status); }; } &&
100217          { ac_try='test -s conftest$ac_exeext'
100218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100219   (eval $ac_try) 2>&5
100220   ac_status=$?
100221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100222   (exit $ac_status); }; }; then
100223   glibcxx_cv_WRITEV=yes
100224 else
100225   echo "$as_me: failed program was:" >&5
100226 sed 's/^/| /' conftest.$ac_ext >&5
100227
100228 glibcxx_cv_WRITEV=no
100229 fi
100230 rm -f conftest.err conftest.$ac_objext \
100231       conftest$ac_exeext conftest.$ac_ext
100232
100233 fi
100234
100235   if test $glibcxx_cv_WRITEV = yes; then
100236
100237 cat >>confdefs.h <<\_ACEOF
100238 #define HAVE_WRITEV 1
100239 _ACEOF
100240
100241   fi
100242   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
100243 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
100244
100245     ;;
100246   *-mingw32*)
100247
100248
100249
100250 for ac_header in sys/types.h locale.h float.h
100251 do
100252 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
100253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100254   echo "$as_me:$LINENO: checking for $ac_header" >&5
100255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100257   echo $ECHO_N "(cached) $ECHO_C" >&6
100258 fi
100259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100261 else
100262   # Is the header compilable?
100263 echo "$as_me:$LINENO: checking $ac_header usability" >&5
100264 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
100265 cat >conftest.$ac_ext <<_ACEOF
100266 /* confdefs.h.  */
100267 _ACEOF
100268 cat confdefs.h >>conftest.$ac_ext
100269 cat >>conftest.$ac_ext <<_ACEOF
100270 /* end confdefs.h.  */
100271 $ac_includes_default
100272 #include <$ac_header>
100273 _ACEOF
100274 rm -f conftest.$ac_objext
100275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100276   (eval $ac_compile) 2>conftest.er1
100277   ac_status=$?
100278   grep -v '^ *+' conftest.er1 >conftest.err
100279   rm -f conftest.er1
100280   cat conftest.err >&5
100281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100282   (exit $ac_status); } &&
100283          { ac_try='test -z "$ac_c_werror_flag"
100284                          || test ! -s conftest.err'
100285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100286   (eval $ac_try) 2>&5
100287   ac_status=$?
100288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100289   (exit $ac_status); }; } &&
100290          { ac_try='test -s conftest.$ac_objext'
100291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100292   (eval $ac_try) 2>&5
100293   ac_status=$?
100294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100295   (exit $ac_status); }; }; then
100296   ac_header_compiler=yes
100297 else
100298   echo "$as_me: failed program was:" >&5
100299 sed 's/^/| /' conftest.$ac_ext >&5
100300
100301 ac_header_compiler=no
100302 fi
100303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100304 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100305 echo "${ECHO_T}$ac_header_compiler" >&6
100306
100307 # Is the header present?
100308 echo "$as_me:$LINENO: checking $ac_header presence" >&5
100309 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100310 cat >conftest.$ac_ext <<_ACEOF
100311 /* confdefs.h.  */
100312 _ACEOF
100313 cat confdefs.h >>conftest.$ac_ext
100314 cat >>conftest.$ac_ext <<_ACEOF
100315 /* end confdefs.h.  */
100316 #include <$ac_header>
100317 _ACEOF
100318 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100319   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100320   ac_status=$?
100321   grep -v '^ *+' conftest.er1 >conftest.err
100322   rm -f conftest.er1
100323   cat conftest.err >&5
100324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100325   (exit $ac_status); } >/dev/null; then
100326   if test -s conftest.err; then
100327     ac_cpp_err=$ac_c_preproc_warn_flag
100328     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100329   else
100330     ac_cpp_err=
100331   fi
100332 else
100333   ac_cpp_err=yes
100334 fi
100335 if test -z "$ac_cpp_err"; then
100336   ac_header_preproc=yes
100337 else
100338   echo "$as_me: failed program was:" >&5
100339 sed 's/^/| /' conftest.$ac_ext >&5
100340
100341   ac_header_preproc=no
100342 fi
100343 rm -f conftest.err conftest.$ac_ext
100344 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100345 echo "${ECHO_T}$ac_header_preproc" >&6
100346
100347 # So?  What about this header?
100348 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100349   yes:no: )
100350     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100351 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100352     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100353 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100354     ac_header_preproc=yes
100355     ;;
100356   no:yes:* )
100357     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100358 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100359     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
100360 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
100361     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100362 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100363     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
100364 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
100365     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100366 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100367     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100368 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100369     (
100370       cat <<\_ASBOX
100371 ## ----------------------------------------- ##
100372 ## Report this to the package-unused lists.  ##
100373 ## ----------------------------------------- ##
100374 _ASBOX
100375     ) |
100376       sed "s/^/$as_me: WARNING:     /" >&2
100377     ;;
100378 esac
100379 echo "$as_me:$LINENO: checking for $ac_header" >&5
100380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100382   echo $ECHO_N "(cached) $ECHO_C" >&6
100383 else
100384   eval "$as_ac_Header=\$ac_header_preproc"
100385 fi
100386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100388
100389 fi
100390 if test `eval echo '${'$as_ac_Header'}'` = yes; then
100391   cat >>confdefs.h <<_ACEOF
100392 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100393 _ACEOF
100394
100395 fi
100396
100397 done
100398
100399
100400   # If we're not using GNU ld, then there's no point in even trying these
100401   # tests.  Check for that first.  We should have already tested for gld
100402   # by now (in libtool), but require it now just to be safe...
100403   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
100404   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
100405
100406
100407
100408   # The name set by libtool depends on the version of libtool.  Shame on us
100409   # for depending on an impl detail, but c'est la vie.  Older versions used
100410   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
100411   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
100412   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
100413   # set (hence we're using an older libtool), then set it.
100414   if test x${with_gnu_ld+set} != xset; then
100415     if test x${ac_cv_prog_gnu_ld+set} != xset; then
100416       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
100417       with_gnu_ld=no
100418     else
100419       with_gnu_ld=$ac_cv_prog_gnu_ld
100420     fi
100421   fi
100422
100423   # Start by getting the version number.  I think the libtool test already
100424   # does some of this, but throws away the result.
100425   echo "$as_me:$LINENO: checking for ld version" >&5
100426 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
100427
100428   ldver=`$LD --version 2>/dev/null | head -1 | \
100429          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
100430
100431   glibcxx_gnu_ld_version=`echo $ldver | \
100432          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
100433   echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
100434 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
100435
100436   # Set --gc-sections.
100437   glibcxx_gcsections_min_ld=21602
100438   if test x"$with_gnu_ld" = x"yes" &&
100439         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
100440
100441     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
100442     # NB: This flag only works reliably after 2.16.1. Configure tests
100443     # for this are difficult, so hard wire a value that should work.
100444
100445     # All these tests are for C++, but run with the "C" compiler driver.
100446     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
100447     ac_test_CFLAGS="${CFLAGS+set}"
100448     ac_save_CFLAGS="$CFLAGS"
100449     CFLAGS='-x c++ -Wl,--gc-sections'
100450
100451     # Check for -Wl,--gc-sections
100452     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
100453 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
100454     if test x$gcc_no_link = xyes; then
100455   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100457    { (exit 1); exit 1; }; }
100458 fi
100459 cat >conftest.$ac_ext <<_ACEOF
100460 /* confdefs.h.  */
100461 _ACEOF
100462 cat confdefs.h >>conftest.$ac_ext
100463 cat >>conftest.$ac_ext <<_ACEOF
100464 /* end confdefs.h.  */
100465  int one(void) { return 1; }
100466      int two(void) { return 2; }
100467
100468 int
100469 main ()
100470 {
100471  two();
100472   ;
100473   return 0;
100474 }
100475 _ACEOF
100476 rm -f conftest.$ac_objext conftest$ac_exeext
100477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100478   (eval $ac_link) 2>conftest.er1
100479   ac_status=$?
100480   grep -v '^ *+' conftest.er1 >conftest.err
100481   rm -f conftest.er1
100482   cat conftest.err >&5
100483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100484   (exit $ac_status); } &&
100485          { ac_try='test -z "$ac_c_werror_flag"
100486                          || test ! -s conftest.err'
100487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100488   (eval $ac_try) 2>&5
100489   ac_status=$?
100490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100491   (exit $ac_status); }; } &&
100492          { ac_try='test -s conftest$ac_exeext'
100493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100494   (eval $ac_try) 2>&5
100495   ac_status=$?
100496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100497   (exit $ac_status); }; }; then
100498   ac_gcsections=yes
100499 else
100500   echo "$as_me: failed program was:" >&5
100501 sed 's/^/| /' conftest.$ac_ext >&5
100502
100503 ac_gcsections=no
100504 fi
100505 rm -f conftest.err conftest.$ac_objext \
100506       conftest$ac_exeext conftest.$ac_ext
100507     if test "$ac_gcsections" = "yes"; then
100508       rm -f conftest.c
100509       touch conftest.c
100510       if $CC -c conftest.c; then
100511         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
100512            grep "Warning: gc-sections option ignored" > /dev/null; then
100513           ac_gcsections=no
100514         fi
100515       fi
100516       rm -f conftest.c conftest.o conftest
100517     fi
100518     if test "$ac_gcsections" = "yes"; then
100519       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
100520     fi
100521     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
100522 echo "${ECHO_T}$ac_gcsections" >&6
100523
100524     if test "$ac_test_CFLAGS" = set; then
100525       CFLAGS="$ac_save_CFLAGS"
100526     else
100527       # this is the suspicious part
100528       CFLAGS=''
100529     fi
100530   fi
100531
100532   # Set -z,relro.
100533   # Note this is only for shared objects.
100534   ac_ld_relro=no
100535   if test x"$with_gnu_ld" = x"yes"; then
100536     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
100537 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
100538     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
100539     if test -n "$cxx_z_relo"; then
100540       OPT_LDFLAGS="-Wl,-z,relro"
100541       ac_ld_relro=yes
100542     fi
100543     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
100544 echo "${ECHO_T}$ac_ld_relro" >&6
100545   fi
100546
100547   # Set linker optimization flags.
100548   if test x"$with_gnu_ld" = x"yes"; then
100549     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
100550   fi
100551
100552
100553
100554
100555
100556
100557 echo "$as_me:$LINENO: checking for main in -lm" >&5
100558 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
100559 if test "${ac_cv_lib_m_main+set}" = set; then
100560   echo $ECHO_N "(cached) $ECHO_C" >&6
100561 else
100562   ac_check_lib_save_LIBS=$LIBS
100563 LIBS="-lm  $LIBS"
100564 if test x$gcc_no_link = xyes; then
100565   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100567    { (exit 1); exit 1; }; }
100568 fi
100569 cat >conftest.$ac_ext <<_ACEOF
100570 /* confdefs.h.  */
100571 _ACEOF
100572 cat confdefs.h >>conftest.$ac_ext
100573 cat >>conftest.$ac_ext <<_ACEOF
100574 /* end confdefs.h.  */
100575
100576
100577 int
100578 main ()
100579 {
100580 main ();
100581   ;
100582   return 0;
100583 }
100584 _ACEOF
100585 rm -f conftest.$ac_objext conftest$ac_exeext
100586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100587   (eval $ac_link) 2>conftest.er1
100588   ac_status=$?
100589   grep -v '^ *+' conftest.er1 >conftest.err
100590   rm -f conftest.er1
100591   cat conftest.err >&5
100592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100593   (exit $ac_status); } &&
100594          { ac_try='test -z "$ac_c_werror_flag"
100595                          || test ! -s conftest.err'
100596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100597   (eval $ac_try) 2>&5
100598   ac_status=$?
100599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100600   (exit $ac_status); }; } &&
100601          { ac_try='test -s conftest$ac_exeext'
100602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100603   (eval $ac_try) 2>&5
100604   ac_status=$?
100605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100606   (exit $ac_status); }; }; then
100607   ac_cv_lib_m_main=yes
100608 else
100609   echo "$as_me: failed program was:" >&5
100610 sed 's/^/| /' conftest.$ac_ext >&5
100611
100612 ac_cv_lib_m_main=no
100613 fi
100614 rm -f conftest.err conftest.$ac_objext \
100615       conftest$ac_exeext conftest.$ac_ext
100616 LIBS=$ac_check_lib_save_LIBS
100617 fi
100618 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
100619 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
100620 if test $ac_cv_lib_m_main = yes; then
100621   cat >>confdefs.h <<_ACEOF
100622 #define HAVE_LIBM 1
100623 _ACEOF
100624
100625   LIBS="-lm $LIBS"
100626
100627 fi
100628
100629
100630 for ac_func in copysignf
100631 do
100632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100633 echo "$as_me:$LINENO: checking for $ac_func" >&5
100634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100635 if eval "test \"\${$as_ac_var+set}\" = set"; then
100636   echo $ECHO_N "(cached) $ECHO_C" >&6
100637 else
100638   if test x$gcc_no_link = xyes; then
100639   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100641    { (exit 1); exit 1; }; }
100642 fi
100643 cat >conftest.$ac_ext <<_ACEOF
100644 /* confdefs.h.  */
100645 _ACEOF
100646 cat confdefs.h >>conftest.$ac_ext
100647 cat >>conftest.$ac_ext <<_ACEOF
100648 /* end confdefs.h.  */
100649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100650    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100651 #define $ac_func innocuous_$ac_func
100652
100653 /* System header to define __stub macros and hopefully few prototypes,
100654     which can conflict with char $ac_func (); below.
100655     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100656     <limits.h> exists even on freestanding compilers.  */
100657
100658 #ifdef __STDC__
100659 # include <limits.h>
100660 #else
100661 # include <assert.h>
100662 #endif
100663
100664 #undef $ac_func
100665
100666 /* Override any gcc2 internal prototype to avoid an error.  */
100667 #ifdef __cplusplus
100668 extern "C"
100669 {
100670 #endif
100671 /* We use char because int might match the return type of a gcc2
100672    builtin and then its argument prototype would still apply.  */
100673 char $ac_func ();
100674 /* The GNU C library defines this for functions which it implements
100675     to always fail with ENOSYS.  Some functions are actually named
100676     something starting with __ and the normal name is an alias.  */
100677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100678 choke me
100679 #else
100680 char (*f) () = $ac_func;
100681 #endif
100682 #ifdef __cplusplus
100683 }
100684 #endif
100685
100686 int
100687 main ()
100688 {
100689 return f != $ac_func;
100690   ;
100691   return 0;
100692 }
100693 _ACEOF
100694 rm -f conftest.$ac_objext conftest$ac_exeext
100695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100696   (eval $ac_link) 2>conftest.er1
100697   ac_status=$?
100698   grep -v '^ *+' conftest.er1 >conftest.err
100699   rm -f conftest.er1
100700   cat conftest.err >&5
100701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100702   (exit $ac_status); } &&
100703          { ac_try='test -z "$ac_c_werror_flag"
100704                          || test ! -s conftest.err'
100705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100706   (eval $ac_try) 2>&5
100707   ac_status=$?
100708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100709   (exit $ac_status); }; } &&
100710          { ac_try='test -s conftest$ac_exeext'
100711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100712   (eval $ac_try) 2>&5
100713   ac_status=$?
100714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100715   (exit $ac_status); }; }; then
100716   eval "$as_ac_var=yes"
100717 else
100718   echo "$as_me: failed program was:" >&5
100719 sed 's/^/| /' conftest.$ac_ext >&5
100720
100721 eval "$as_ac_var=no"
100722 fi
100723 rm -f conftest.err conftest.$ac_objext \
100724       conftest$ac_exeext conftest.$ac_ext
100725 fi
100726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100728 if test `eval echo '${'$as_ac_var'}'` = yes; then
100729   cat >>confdefs.h <<_ACEOF
100730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100731 _ACEOF
100732
100733 else
100734   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
100735 fi
100736 done
100737
100738
100739
100740 for ac_func in __signbit
100741 do
100742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100743 echo "$as_me:$LINENO: checking for $ac_func" >&5
100744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100745 if eval "test \"\${$as_ac_var+set}\" = set"; then
100746   echo $ECHO_N "(cached) $ECHO_C" >&6
100747 else
100748   if test x$gcc_no_link = xyes; then
100749   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100751    { (exit 1); exit 1; }; }
100752 fi
100753 cat >conftest.$ac_ext <<_ACEOF
100754 /* confdefs.h.  */
100755 _ACEOF
100756 cat confdefs.h >>conftest.$ac_ext
100757 cat >>conftest.$ac_ext <<_ACEOF
100758 /* end confdefs.h.  */
100759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100760    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100761 #define $ac_func innocuous_$ac_func
100762
100763 /* System header to define __stub macros and hopefully few prototypes,
100764     which can conflict with char $ac_func (); below.
100765     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100766     <limits.h> exists even on freestanding compilers.  */
100767
100768 #ifdef __STDC__
100769 # include <limits.h>
100770 #else
100771 # include <assert.h>
100772 #endif
100773
100774 #undef $ac_func
100775
100776 /* Override any gcc2 internal prototype to avoid an error.  */
100777 #ifdef __cplusplus
100778 extern "C"
100779 {
100780 #endif
100781 /* We use char because int might match the return type of a gcc2
100782    builtin and then its argument prototype would still apply.  */
100783 char $ac_func ();
100784 /* The GNU C library defines this for functions which it implements
100785     to always fail with ENOSYS.  Some functions are actually named
100786     something starting with __ and the normal name is an alias.  */
100787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100788 choke me
100789 #else
100790 char (*f) () = $ac_func;
100791 #endif
100792 #ifdef __cplusplus
100793 }
100794 #endif
100795
100796 int
100797 main ()
100798 {
100799 return f != $ac_func;
100800   ;
100801   return 0;
100802 }
100803 _ACEOF
100804 rm -f conftest.$ac_objext conftest$ac_exeext
100805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100806   (eval $ac_link) 2>conftest.er1
100807   ac_status=$?
100808   grep -v '^ *+' conftest.er1 >conftest.err
100809   rm -f conftest.er1
100810   cat conftest.err >&5
100811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100812   (exit $ac_status); } &&
100813          { ac_try='test -z "$ac_c_werror_flag"
100814                          || test ! -s conftest.err'
100815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100816   (eval $ac_try) 2>&5
100817   ac_status=$?
100818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100819   (exit $ac_status); }; } &&
100820          { ac_try='test -s conftest$ac_exeext'
100821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100822   (eval $ac_try) 2>&5
100823   ac_status=$?
100824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100825   (exit $ac_status); }; }; then
100826   eval "$as_ac_var=yes"
100827 else
100828   echo "$as_me: failed program was:" >&5
100829 sed 's/^/| /' conftest.$ac_ext >&5
100830
100831 eval "$as_ac_var=no"
100832 fi
100833 rm -f conftest.err conftest.$ac_objext \
100834       conftest$ac_exeext conftest.$ac_ext
100835 fi
100836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100838 if test `eval echo '${'$as_ac_var'}'` = yes; then
100839   cat >>confdefs.h <<_ACEOF
100840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100841 _ACEOF
100842
100843 else
100844   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
100845 fi
100846 done
100847
100848
100849
100850 for ac_func in __signbitf
100851 do
100852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100853 echo "$as_me:$LINENO: checking for $ac_func" >&5
100854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100855 if eval "test \"\${$as_ac_var+set}\" = set"; then
100856   echo $ECHO_N "(cached) $ECHO_C" >&6
100857 else
100858   if test x$gcc_no_link = xyes; then
100859   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100861    { (exit 1); exit 1; }; }
100862 fi
100863 cat >conftest.$ac_ext <<_ACEOF
100864 /* confdefs.h.  */
100865 _ACEOF
100866 cat confdefs.h >>conftest.$ac_ext
100867 cat >>conftest.$ac_ext <<_ACEOF
100868 /* end confdefs.h.  */
100869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100870    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100871 #define $ac_func innocuous_$ac_func
100872
100873 /* System header to define __stub macros and hopefully few prototypes,
100874     which can conflict with char $ac_func (); below.
100875     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100876     <limits.h> exists even on freestanding compilers.  */
100877
100878 #ifdef __STDC__
100879 # include <limits.h>
100880 #else
100881 # include <assert.h>
100882 #endif
100883
100884 #undef $ac_func
100885
100886 /* Override any gcc2 internal prototype to avoid an error.  */
100887 #ifdef __cplusplus
100888 extern "C"
100889 {
100890 #endif
100891 /* We use char because int might match the return type of a gcc2
100892    builtin and then its argument prototype would still apply.  */
100893 char $ac_func ();
100894 /* The GNU C library defines this for functions which it implements
100895     to always fail with ENOSYS.  Some functions are actually named
100896     something starting with __ and the normal name is an alias.  */
100897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100898 choke me
100899 #else
100900 char (*f) () = $ac_func;
100901 #endif
100902 #ifdef __cplusplus
100903 }
100904 #endif
100905
100906 int
100907 main ()
100908 {
100909 return f != $ac_func;
100910   ;
100911   return 0;
100912 }
100913 _ACEOF
100914 rm -f conftest.$ac_objext conftest$ac_exeext
100915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100916   (eval $ac_link) 2>conftest.er1
100917   ac_status=$?
100918   grep -v '^ *+' conftest.er1 >conftest.err
100919   rm -f conftest.er1
100920   cat conftest.err >&5
100921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100922   (exit $ac_status); } &&
100923          { ac_try='test -z "$ac_c_werror_flag"
100924                          || test ! -s conftest.err'
100925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100926   (eval $ac_try) 2>&5
100927   ac_status=$?
100928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100929   (exit $ac_status); }; } &&
100930          { ac_try='test -s conftest$ac_exeext'
100931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100932   (eval $ac_try) 2>&5
100933   ac_status=$?
100934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100935   (exit $ac_status); }; }; then
100936   eval "$as_ac_var=yes"
100937 else
100938   echo "$as_me: failed program was:" >&5
100939 sed 's/^/| /' conftest.$ac_ext >&5
100940
100941 eval "$as_ac_var=no"
100942 fi
100943 rm -f conftest.err conftest.$ac_objext \
100944       conftest$ac_exeext conftest.$ac_ext
100945 fi
100946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100948 if test `eval echo '${'$as_ac_var'}'` = yes; then
100949   cat >>confdefs.h <<_ACEOF
100950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100951 _ACEOF
100952
100953 else
100954   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
100955 fi
100956 done
100957
100958
100959           if test x$ac_cv_func_copysignl = x"yes"; then
100960
100961 for ac_func in __signbitl
100962 do
100963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100964 echo "$as_me:$LINENO: checking for $ac_func" >&5
100965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100966 if eval "test \"\${$as_ac_var+set}\" = set"; then
100967   echo $ECHO_N "(cached) $ECHO_C" >&6
100968 else
100969   if test x$gcc_no_link = xyes; then
100970   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100972    { (exit 1); exit 1; }; }
100973 fi
100974 cat >conftest.$ac_ext <<_ACEOF
100975 /* confdefs.h.  */
100976 _ACEOF
100977 cat confdefs.h >>conftest.$ac_ext
100978 cat >>conftest.$ac_ext <<_ACEOF
100979 /* end confdefs.h.  */
100980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100981    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100982 #define $ac_func innocuous_$ac_func
100983
100984 /* System header to define __stub macros and hopefully few prototypes,
100985     which can conflict with char $ac_func (); below.
100986     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100987     <limits.h> exists even on freestanding compilers.  */
100988
100989 #ifdef __STDC__
100990 # include <limits.h>
100991 #else
100992 # include <assert.h>
100993 #endif
100994
100995 #undef $ac_func
100996
100997 /* Override any gcc2 internal prototype to avoid an error.  */
100998 #ifdef __cplusplus
100999 extern "C"
101000 {
101001 #endif
101002 /* We use char because int might match the return type of a gcc2
101003    builtin and then its argument prototype would still apply.  */
101004 char $ac_func ();
101005 /* The GNU C library defines this for functions which it implements
101006     to always fail with ENOSYS.  Some functions are actually named
101007     something starting with __ and the normal name is an alias.  */
101008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101009 choke me
101010 #else
101011 char (*f) () = $ac_func;
101012 #endif
101013 #ifdef __cplusplus
101014 }
101015 #endif
101016
101017 int
101018 main ()
101019 {
101020 return f != $ac_func;
101021   ;
101022   return 0;
101023 }
101024 _ACEOF
101025 rm -f conftest.$ac_objext conftest$ac_exeext
101026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101027   (eval $ac_link) 2>conftest.er1
101028   ac_status=$?
101029   grep -v '^ *+' conftest.er1 >conftest.err
101030   rm -f conftest.er1
101031   cat conftest.err >&5
101032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101033   (exit $ac_status); } &&
101034          { ac_try='test -z "$ac_c_werror_flag"
101035                          || test ! -s conftest.err'
101036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101037   (eval $ac_try) 2>&5
101038   ac_status=$?
101039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101040   (exit $ac_status); }; } &&
101041          { ac_try='test -s conftest$ac_exeext'
101042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101043   (eval $ac_try) 2>&5
101044   ac_status=$?
101045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101046   (exit $ac_status); }; }; then
101047   eval "$as_ac_var=yes"
101048 else
101049   echo "$as_me: failed program was:" >&5
101050 sed 's/^/| /' conftest.$ac_ext >&5
101051
101052 eval "$as_ac_var=no"
101053 fi
101054 rm -f conftest.err conftest.$ac_objext \
101055       conftest$ac_exeext conftest.$ac_ext
101056 fi
101057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101059 if test `eval echo '${'$as_ac_var'}'` = yes; then
101060   cat >>confdefs.h <<_ACEOF
101061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101062 _ACEOF
101063
101064 else
101065   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
101066 fi
101067 done
101068
101069   fi
101070
101071   # Used in libmath/Makefile.am.
101072   if test -n "$LIBMATHOBJS"; then
101073     need_libmath=yes
101074   fi
101075
101076
101077
101078
101079   enable_iconv=no
101080   # Only continue checking if the ISO C99 headers exist and support is on.
101081   if test x"$enable_wchar_t" = xyes; then
101082
101083     # Use iconv for wchar_t to char conversions. As such, check for
101084     # X/Open Portability Guide, version 2 features (XPG2).
101085     if test "${ac_cv_header_iconv_h+set}" = set; then
101086   echo "$as_me:$LINENO: checking for iconv.h" >&5
101087 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
101088 if test "${ac_cv_header_iconv_h+set}" = set; then
101089   echo $ECHO_N "(cached) $ECHO_C" >&6
101090 fi
101091 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
101092 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
101093 else
101094   # Is the header compilable?
101095 echo "$as_me:$LINENO: checking iconv.h usability" >&5
101096 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
101097 cat >conftest.$ac_ext <<_ACEOF
101098 /* confdefs.h.  */
101099 _ACEOF
101100 cat confdefs.h >>conftest.$ac_ext
101101 cat >>conftest.$ac_ext <<_ACEOF
101102 /* end confdefs.h.  */
101103 $ac_includes_default
101104 #include <iconv.h>
101105 _ACEOF
101106 rm -f conftest.$ac_objext
101107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101108   (eval $ac_compile) 2>conftest.er1
101109   ac_status=$?
101110   grep -v '^ *+' conftest.er1 >conftest.err
101111   rm -f conftest.er1
101112   cat conftest.err >&5
101113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101114   (exit $ac_status); } &&
101115          { ac_try='test -z "$ac_c_werror_flag"
101116                          || test ! -s conftest.err'
101117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101118   (eval $ac_try) 2>&5
101119   ac_status=$?
101120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101121   (exit $ac_status); }; } &&
101122          { ac_try='test -s conftest.$ac_objext'
101123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101124   (eval $ac_try) 2>&5
101125   ac_status=$?
101126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101127   (exit $ac_status); }; }; then
101128   ac_header_compiler=yes
101129 else
101130   echo "$as_me: failed program was:" >&5
101131 sed 's/^/| /' conftest.$ac_ext >&5
101132
101133 ac_header_compiler=no
101134 fi
101135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101136 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101137 echo "${ECHO_T}$ac_header_compiler" >&6
101138
101139 # Is the header present?
101140 echo "$as_me:$LINENO: checking iconv.h presence" >&5
101141 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
101142 cat >conftest.$ac_ext <<_ACEOF
101143 /* confdefs.h.  */
101144 _ACEOF
101145 cat confdefs.h >>conftest.$ac_ext
101146 cat >>conftest.$ac_ext <<_ACEOF
101147 /* end confdefs.h.  */
101148 #include <iconv.h>
101149 _ACEOF
101150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101151   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101152   ac_status=$?
101153   grep -v '^ *+' conftest.er1 >conftest.err
101154   rm -f conftest.er1
101155   cat conftest.err >&5
101156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101157   (exit $ac_status); } >/dev/null; then
101158   if test -s conftest.err; then
101159     ac_cpp_err=$ac_c_preproc_warn_flag
101160     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101161   else
101162     ac_cpp_err=
101163   fi
101164 else
101165   ac_cpp_err=yes
101166 fi
101167 if test -z "$ac_cpp_err"; then
101168   ac_header_preproc=yes
101169 else
101170   echo "$as_me: failed program was:" >&5
101171 sed 's/^/| /' conftest.$ac_ext >&5
101172
101173   ac_header_preproc=no
101174 fi
101175 rm -f conftest.err conftest.$ac_ext
101176 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101177 echo "${ECHO_T}$ac_header_preproc" >&6
101178
101179 # So?  What about this header?
101180 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101181   yes:no: )
101182     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
101183 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
101184     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
101185 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
101186     ac_header_preproc=yes
101187     ;;
101188   no:yes:* )
101189     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
101190 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
101191     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
101192 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
101193     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
101194 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
101195     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
101196 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
101197     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
101198 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
101199     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
101200 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
101201     (
101202       cat <<\_ASBOX
101203 ## ----------------------------------------- ##
101204 ## Report this to the package-unused lists.  ##
101205 ## ----------------------------------------- ##
101206 _ASBOX
101207     ) |
101208       sed "s/^/$as_me: WARNING:     /" >&2
101209     ;;
101210 esac
101211 echo "$as_me:$LINENO: checking for iconv.h" >&5
101212 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
101213 if test "${ac_cv_header_iconv_h+set}" = set; then
101214   echo $ECHO_N "(cached) $ECHO_C" >&6
101215 else
101216   ac_cv_header_iconv_h=$ac_header_preproc
101217 fi
101218 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
101219 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
101220
101221 fi
101222 if test $ac_cv_header_iconv_h = yes; then
101223   ac_has_iconv_h=yes
101224 else
101225   ac_has_iconv_h=no
101226 fi
101227
101228
101229     if test "${ac_cv_header_langinfo_h+set}" = set; then
101230   echo "$as_me:$LINENO: checking for langinfo.h" >&5
101231 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
101232 if test "${ac_cv_header_langinfo_h+set}" = set; then
101233   echo $ECHO_N "(cached) $ECHO_C" >&6
101234 fi
101235 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
101236 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
101237 else
101238   # Is the header compilable?
101239 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
101240 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
101241 cat >conftest.$ac_ext <<_ACEOF
101242 /* confdefs.h.  */
101243 _ACEOF
101244 cat confdefs.h >>conftest.$ac_ext
101245 cat >>conftest.$ac_ext <<_ACEOF
101246 /* end confdefs.h.  */
101247 $ac_includes_default
101248 #include <langinfo.h>
101249 _ACEOF
101250 rm -f conftest.$ac_objext
101251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101252   (eval $ac_compile) 2>conftest.er1
101253   ac_status=$?
101254   grep -v '^ *+' conftest.er1 >conftest.err
101255   rm -f conftest.er1
101256   cat conftest.err >&5
101257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101258   (exit $ac_status); } &&
101259          { ac_try='test -z "$ac_c_werror_flag"
101260                          || test ! -s conftest.err'
101261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101262   (eval $ac_try) 2>&5
101263   ac_status=$?
101264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101265   (exit $ac_status); }; } &&
101266          { ac_try='test -s conftest.$ac_objext'
101267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101268   (eval $ac_try) 2>&5
101269   ac_status=$?
101270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101271   (exit $ac_status); }; }; then
101272   ac_header_compiler=yes
101273 else
101274   echo "$as_me: failed program was:" >&5
101275 sed 's/^/| /' conftest.$ac_ext >&5
101276
101277 ac_header_compiler=no
101278 fi
101279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101280 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101281 echo "${ECHO_T}$ac_header_compiler" >&6
101282
101283 # Is the header present?
101284 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
101285 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
101286 cat >conftest.$ac_ext <<_ACEOF
101287 /* confdefs.h.  */
101288 _ACEOF
101289 cat confdefs.h >>conftest.$ac_ext
101290 cat >>conftest.$ac_ext <<_ACEOF
101291 /* end confdefs.h.  */
101292 #include <langinfo.h>
101293 _ACEOF
101294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101295   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101296   ac_status=$?
101297   grep -v '^ *+' conftest.er1 >conftest.err
101298   rm -f conftest.er1
101299   cat conftest.err >&5
101300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101301   (exit $ac_status); } >/dev/null; then
101302   if test -s conftest.err; then
101303     ac_cpp_err=$ac_c_preproc_warn_flag
101304     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101305   else
101306     ac_cpp_err=
101307   fi
101308 else
101309   ac_cpp_err=yes
101310 fi
101311 if test -z "$ac_cpp_err"; then
101312   ac_header_preproc=yes
101313 else
101314   echo "$as_me: failed program was:" >&5
101315 sed 's/^/| /' conftest.$ac_ext >&5
101316
101317   ac_header_preproc=no
101318 fi
101319 rm -f conftest.err conftest.$ac_ext
101320 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101321 echo "${ECHO_T}$ac_header_preproc" >&6
101322
101323 # So?  What about this header?
101324 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101325   yes:no: )
101326     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
101327 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
101328     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
101329 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
101330     ac_header_preproc=yes
101331     ;;
101332   no:yes:* )
101333     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
101334 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
101335     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
101336 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
101337     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
101338 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
101339     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
101340 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
101341     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
101342 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
101343     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
101344 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
101345     (
101346       cat <<\_ASBOX
101347 ## ----------------------------------------- ##
101348 ## Report this to the package-unused lists.  ##
101349 ## ----------------------------------------- ##
101350 _ASBOX
101351     ) |
101352       sed "s/^/$as_me: WARNING:     /" >&2
101353     ;;
101354 esac
101355 echo "$as_me:$LINENO: checking for langinfo.h" >&5
101356 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
101357 if test "${ac_cv_header_langinfo_h+set}" = set; then
101358   echo $ECHO_N "(cached) $ECHO_C" >&6
101359 else
101360   ac_cv_header_langinfo_h=$ac_header_preproc
101361 fi
101362 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
101363 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
101364
101365 fi
101366 if test $ac_cv_header_langinfo_h = yes; then
101367   ac_has_langinfo_h=yes
101368 else
101369   ac_has_langinfo_h=no
101370 fi
101371
101372
101373
101374     # Check for existence of libiconv.a providing XPG2 wchar_t support.
101375     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
101376 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
101377 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
101378   echo $ECHO_N "(cached) $ECHO_C" >&6
101379 else
101380   ac_check_lib_save_LIBS=$LIBS
101381 LIBS="-liconv  $LIBS"
101382 if test x$gcc_no_link = xyes; then
101383   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101385    { (exit 1); exit 1; }; }
101386 fi
101387 cat >conftest.$ac_ext <<_ACEOF
101388 /* confdefs.h.  */
101389 _ACEOF
101390 cat confdefs.h >>conftest.$ac_ext
101391 cat >>conftest.$ac_ext <<_ACEOF
101392 /* end confdefs.h.  */
101393
101394 /* Override any gcc2 internal prototype to avoid an error.  */
101395 #ifdef __cplusplus
101396 extern "C"
101397 #endif
101398 /* We use char because int might match the return type of a gcc2
101399    builtin and then its argument prototype would still apply.  */
101400 char iconv ();
101401 int
101402 main ()
101403 {
101404 iconv ();
101405   ;
101406   return 0;
101407 }
101408 _ACEOF
101409 rm -f conftest.$ac_objext conftest$ac_exeext
101410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101411   (eval $ac_link) 2>conftest.er1
101412   ac_status=$?
101413   grep -v '^ *+' conftest.er1 >conftest.err
101414   rm -f conftest.er1
101415   cat conftest.err >&5
101416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101417   (exit $ac_status); } &&
101418          { ac_try='test -z "$ac_c_werror_flag"
101419                          || test ! -s conftest.err'
101420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101421   (eval $ac_try) 2>&5
101422   ac_status=$?
101423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101424   (exit $ac_status); }; } &&
101425          { ac_try='test -s conftest$ac_exeext'
101426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101427   (eval $ac_try) 2>&5
101428   ac_status=$?
101429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101430   (exit $ac_status); }; }; then
101431   ac_cv_lib_iconv_iconv=yes
101432 else
101433   echo "$as_me: failed program was:" >&5
101434 sed 's/^/| /' conftest.$ac_ext >&5
101435
101436 ac_cv_lib_iconv_iconv=no
101437 fi
101438 rm -f conftest.err conftest.$ac_objext \
101439       conftest$ac_exeext conftest.$ac_ext
101440 LIBS=$ac_check_lib_save_LIBS
101441 fi
101442 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
101443 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
101444 if test $ac_cv_lib_iconv_iconv = yes; then
101445   LIBICONV="-liconv"
101446 fi
101447
101448     ac_save_LIBS="$LIBS"
101449     LIBS="$LIBS $LIBICONV"
101450
101451
101452
101453
101454
101455
101456 for ac_func in iconv_open iconv_close iconv nl_langinfo
101457 do
101458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101459 echo "$as_me:$LINENO: checking for $ac_func" >&5
101460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101461 if eval "test \"\${$as_ac_var+set}\" = set"; then
101462   echo $ECHO_N "(cached) $ECHO_C" >&6
101463 else
101464   if test x$gcc_no_link = xyes; then
101465   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101467    { (exit 1); exit 1; }; }
101468 fi
101469 cat >conftest.$ac_ext <<_ACEOF
101470 /* confdefs.h.  */
101471 _ACEOF
101472 cat confdefs.h >>conftest.$ac_ext
101473 cat >>conftest.$ac_ext <<_ACEOF
101474 /* end confdefs.h.  */
101475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101476    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101477 #define $ac_func innocuous_$ac_func
101478
101479 /* System header to define __stub macros and hopefully few prototypes,
101480     which can conflict with char $ac_func (); below.
101481     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101482     <limits.h> exists even on freestanding compilers.  */
101483
101484 #ifdef __STDC__
101485 # include <limits.h>
101486 #else
101487 # include <assert.h>
101488 #endif
101489
101490 #undef $ac_func
101491
101492 /* Override any gcc2 internal prototype to avoid an error.  */
101493 #ifdef __cplusplus
101494 extern "C"
101495 {
101496 #endif
101497 /* We use char because int might match the return type of a gcc2
101498    builtin and then its argument prototype would still apply.  */
101499 char $ac_func ();
101500 /* The GNU C library defines this for functions which it implements
101501     to always fail with ENOSYS.  Some functions are actually named
101502     something starting with __ and the normal name is an alias.  */
101503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101504 choke me
101505 #else
101506 char (*f) () = $ac_func;
101507 #endif
101508 #ifdef __cplusplus
101509 }
101510 #endif
101511
101512 int
101513 main ()
101514 {
101515 return f != $ac_func;
101516   ;
101517   return 0;
101518 }
101519 _ACEOF
101520 rm -f conftest.$ac_objext conftest$ac_exeext
101521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101522   (eval $ac_link) 2>conftest.er1
101523   ac_status=$?
101524   grep -v '^ *+' conftest.er1 >conftest.err
101525   rm -f conftest.er1
101526   cat conftest.err >&5
101527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101528   (exit $ac_status); } &&
101529          { ac_try='test -z "$ac_c_werror_flag"
101530                          || test ! -s conftest.err'
101531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101532   (eval $ac_try) 2>&5
101533   ac_status=$?
101534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101535   (exit $ac_status); }; } &&
101536          { ac_try='test -s conftest$ac_exeext'
101537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101538   (eval $ac_try) 2>&5
101539   ac_status=$?
101540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101541   (exit $ac_status); }; }; then
101542   eval "$as_ac_var=yes"
101543 else
101544   echo "$as_me: failed program was:" >&5
101545 sed 's/^/| /' conftest.$ac_ext >&5
101546
101547 eval "$as_ac_var=no"
101548 fi
101549 rm -f conftest.err conftest.$ac_objext \
101550       conftest$ac_exeext conftest.$ac_ext
101551 fi
101552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101554 if test `eval echo '${'$as_ac_var'}'` = yes; then
101555   cat >>confdefs.h <<_ACEOF
101556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101557 _ACEOF
101558  ac_XPG2funcs=yes
101559 else
101560   ac_XPG2funcs=no
101561 fi
101562 done
101563
101564
101565     LIBS="$ac_save_LIBS"
101566
101567     if test x"$ac_has_iconv_h" = xyes &&
101568        test x"$ac_has_langinfo_h" = xyes &&
101569        test x"$ac_XPG2funcs" = xyes;
101570     then
101571
101572 cat >>confdefs.h <<\_ACEOF
101573 #define _GLIBCXX_USE_ICONV 1
101574 _ACEOF
101575
101576       enable_iconv=yes
101577     fi
101578   fi
101579   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
101580 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
101581   echo "$as_me:$LINENO: result: $enable_iconv" >&5
101582 echo "${ECHO_T}$enable_iconv" >&6
101583
101584     ;;
101585   *-netbsd*)
101586
101587
101588
101589
101590
101591
101592
101593
101594
101595
101596
101597
101598 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
101599       machine/endian.h machine/param.h sys/machine.h sys/types.h \
101600       fp.h locale.h float.h inttypes.h
101601 do
101602 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
101603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101604   echo "$as_me:$LINENO: checking for $ac_header" >&5
101605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101607   echo $ECHO_N "(cached) $ECHO_C" >&6
101608 fi
101609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
101610 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
101611 else
101612   # Is the header compilable?
101613 echo "$as_me:$LINENO: checking $ac_header usability" >&5
101614 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
101615 cat >conftest.$ac_ext <<_ACEOF
101616 /* confdefs.h.  */
101617 _ACEOF
101618 cat confdefs.h >>conftest.$ac_ext
101619 cat >>conftest.$ac_ext <<_ACEOF
101620 /* end confdefs.h.  */
101621 $ac_includes_default
101622 #include <$ac_header>
101623 _ACEOF
101624 rm -f conftest.$ac_objext
101625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101626   (eval $ac_compile) 2>conftest.er1
101627   ac_status=$?
101628   grep -v '^ *+' conftest.er1 >conftest.err
101629   rm -f conftest.er1
101630   cat conftest.err >&5
101631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101632   (exit $ac_status); } &&
101633          { ac_try='test -z "$ac_c_werror_flag"
101634                          || test ! -s conftest.err'
101635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101636   (eval $ac_try) 2>&5
101637   ac_status=$?
101638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101639   (exit $ac_status); }; } &&
101640          { ac_try='test -s conftest.$ac_objext'
101641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101642   (eval $ac_try) 2>&5
101643   ac_status=$?
101644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101645   (exit $ac_status); }; }; then
101646   ac_header_compiler=yes
101647 else
101648   echo "$as_me: failed program was:" >&5
101649 sed 's/^/| /' conftest.$ac_ext >&5
101650
101651 ac_header_compiler=no
101652 fi
101653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101654 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101655 echo "${ECHO_T}$ac_header_compiler" >&6
101656
101657 # Is the header present?
101658 echo "$as_me:$LINENO: checking $ac_header presence" >&5
101659 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
101660 cat >conftest.$ac_ext <<_ACEOF
101661 /* confdefs.h.  */
101662 _ACEOF
101663 cat confdefs.h >>conftest.$ac_ext
101664 cat >>conftest.$ac_ext <<_ACEOF
101665 /* end confdefs.h.  */
101666 #include <$ac_header>
101667 _ACEOF
101668 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101669   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101670   ac_status=$?
101671   grep -v '^ *+' conftest.er1 >conftest.err
101672   rm -f conftest.er1
101673   cat conftest.err >&5
101674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101675   (exit $ac_status); } >/dev/null; then
101676   if test -s conftest.err; then
101677     ac_cpp_err=$ac_c_preproc_warn_flag
101678     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101679   else
101680     ac_cpp_err=
101681   fi
101682 else
101683   ac_cpp_err=yes
101684 fi
101685 if test -z "$ac_cpp_err"; then
101686   ac_header_preproc=yes
101687 else
101688   echo "$as_me: failed program was:" >&5
101689 sed 's/^/| /' conftest.$ac_ext >&5
101690
101691   ac_header_preproc=no
101692 fi
101693 rm -f conftest.err conftest.$ac_ext
101694 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101695 echo "${ECHO_T}$ac_header_preproc" >&6
101696
101697 # So?  What about this header?
101698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101699   yes:no: )
101700     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
101701 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
101702     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
101703 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
101704     ac_header_preproc=yes
101705     ;;
101706   no:yes:* )
101707     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
101708 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
101709     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
101710 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
101711     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
101712 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
101713     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
101714 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
101715     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
101716 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
101717     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
101718 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
101719     (
101720       cat <<\_ASBOX
101721 ## ----------------------------------------- ##
101722 ## Report this to the package-unused lists.  ##
101723 ## ----------------------------------------- ##
101724 _ASBOX
101725     ) |
101726       sed "s/^/$as_me: WARNING:     /" >&2
101727     ;;
101728 esac
101729 echo "$as_me:$LINENO: checking for $ac_header" >&5
101730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101732   echo $ECHO_N "(cached) $ECHO_C" >&6
101733 else
101734   eval "$as_ac_Header=\$ac_header_preproc"
101735 fi
101736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
101737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
101738
101739 fi
101740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
101741   cat >>confdefs.h <<_ACEOF
101742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
101743 _ACEOF
101744
101745 fi
101746
101747 done
101748
101749     SECTION_FLAGS='-ffunction-sections -fdata-sections'
101750
101751
101752   # If we're not using GNU ld, then there's no point in even trying these
101753   # tests.  Check for that first.  We should have already tested for gld
101754   # by now (in libtool), but require it now just to be safe...
101755   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
101756   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
101757
101758
101759
101760   # The name set by libtool depends on the version of libtool.  Shame on us
101761   # for depending on an impl detail, but c'est la vie.  Older versions used
101762   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
101763   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
101764   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
101765   # set (hence we're using an older libtool), then set it.
101766   if test x${with_gnu_ld+set} != xset; then
101767     if test x${ac_cv_prog_gnu_ld+set} != xset; then
101768       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
101769       with_gnu_ld=no
101770     else
101771       with_gnu_ld=$ac_cv_prog_gnu_ld
101772     fi
101773   fi
101774
101775   # Start by getting the version number.  I think the libtool test already
101776   # does some of this, but throws away the result.
101777   echo "$as_me:$LINENO: checking for ld version" >&5
101778 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
101779
101780   ldver=`$LD --version 2>/dev/null | head -1 | \
101781          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
101782
101783   glibcxx_gnu_ld_version=`echo $ldver | \
101784          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
101785   echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
101786 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
101787
101788   # Set --gc-sections.
101789   glibcxx_gcsections_min_ld=21602
101790   if test x"$with_gnu_ld" = x"yes" &&
101791         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
101792
101793     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
101794     # NB: This flag only works reliably after 2.16.1. Configure tests
101795     # for this are difficult, so hard wire a value that should work.
101796
101797     # All these tests are for C++, but run with the "C" compiler driver.
101798     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
101799     ac_test_CFLAGS="${CFLAGS+set}"
101800     ac_save_CFLAGS="$CFLAGS"
101801     CFLAGS='-x c++ -Wl,--gc-sections'
101802
101803     # Check for -Wl,--gc-sections
101804     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
101805 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
101806     if test x$gcc_no_link = xyes; then
101807   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101809    { (exit 1); exit 1; }; }
101810 fi
101811 cat >conftest.$ac_ext <<_ACEOF
101812 /* confdefs.h.  */
101813 _ACEOF
101814 cat confdefs.h >>conftest.$ac_ext
101815 cat >>conftest.$ac_ext <<_ACEOF
101816 /* end confdefs.h.  */
101817  int one(void) { return 1; }
101818      int two(void) { return 2; }
101819
101820 int
101821 main ()
101822 {
101823  two();
101824   ;
101825   return 0;
101826 }
101827 _ACEOF
101828 rm -f conftest.$ac_objext conftest$ac_exeext
101829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101830   (eval $ac_link) 2>conftest.er1
101831   ac_status=$?
101832   grep -v '^ *+' conftest.er1 >conftest.err
101833   rm -f conftest.er1
101834   cat conftest.err >&5
101835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101836   (exit $ac_status); } &&
101837          { ac_try='test -z "$ac_c_werror_flag"
101838                          || test ! -s conftest.err'
101839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101840   (eval $ac_try) 2>&5
101841   ac_status=$?
101842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101843   (exit $ac_status); }; } &&
101844          { ac_try='test -s conftest$ac_exeext'
101845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101846   (eval $ac_try) 2>&5
101847   ac_status=$?
101848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101849   (exit $ac_status); }; }; then
101850   ac_gcsections=yes
101851 else
101852   echo "$as_me: failed program was:" >&5
101853 sed 's/^/| /' conftest.$ac_ext >&5
101854
101855 ac_gcsections=no
101856 fi
101857 rm -f conftest.err conftest.$ac_objext \
101858       conftest$ac_exeext conftest.$ac_ext
101859     if test "$ac_gcsections" = "yes"; then
101860       rm -f conftest.c
101861       touch conftest.c
101862       if $CC -c conftest.c; then
101863         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
101864            grep "Warning: gc-sections option ignored" > /dev/null; then
101865           ac_gcsections=no
101866         fi
101867       fi
101868       rm -f conftest.c conftest.o conftest
101869     fi
101870     if test "$ac_gcsections" = "yes"; then
101871       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
101872     fi
101873     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
101874 echo "${ECHO_T}$ac_gcsections" >&6
101875
101876     if test "$ac_test_CFLAGS" = set; then
101877       CFLAGS="$ac_save_CFLAGS"
101878     else
101879       # this is the suspicious part
101880       CFLAGS=''
101881     fi
101882   fi
101883
101884   # Set -z,relro.
101885   # Note this is only for shared objects.
101886   ac_ld_relro=no
101887   if test x"$with_gnu_ld" = x"yes"; then
101888     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
101889 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
101890     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
101891     if test -n "$cxx_z_relo"; then
101892       OPT_LDFLAGS="-Wl,-z,relro"
101893       ac_ld_relro=yes
101894     fi
101895     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
101896 echo "${ECHO_T}$ac_ld_relro" >&6
101897   fi
101898
101899   # Set linker optimization flags.
101900   if test x"$with_gnu_ld" = x"yes"; then
101901     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
101902   fi
101903
101904
101905
101906
101907
101908
101909 echo "$as_me:$LINENO: checking for main in -lm" >&5
101910 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
101911 if test "${ac_cv_lib_m_main+set}" = set; then
101912   echo $ECHO_N "(cached) $ECHO_C" >&6
101913 else
101914   ac_check_lib_save_LIBS=$LIBS
101915 LIBS="-lm  $LIBS"
101916 if test x$gcc_no_link = xyes; then
101917   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101919    { (exit 1); exit 1; }; }
101920 fi
101921 cat >conftest.$ac_ext <<_ACEOF
101922 /* confdefs.h.  */
101923 _ACEOF
101924 cat confdefs.h >>conftest.$ac_ext
101925 cat >>conftest.$ac_ext <<_ACEOF
101926 /* end confdefs.h.  */
101927
101928
101929 int
101930 main ()
101931 {
101932 main ();
101933   ;
101934   return 0;
101935 }
101936 _ACEOF
101937 rm -f conftest.$ac_objext conftest$ac_exeext
101938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101939   (eval $ac_link) 2>conftest.er1
101940   ac_status=$?
101941   grep -v '^ *+' conftest.er1 >conftest.err
101942   rm -f conftest.er1
101943   cat conftest.err >&5
101944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101945   (exit $ac_status); } &&
101946          { ac_try='test -z "$ac_c_werror_flag"
101947                          || test ! -s conftest.err'
101948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101949   (eval $ac_try) 2>&5
101950   ac_status=$?
101951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101952   (exit $ac_status); }; } &&
101953          { ac_try='test -s conftest$ac_exeext'
101954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101955   (eval $ac_try) 2>&5
101956   ac_status=$?
101957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101958   (exit $ac_status); }; }; then
101959   ac_cv_lib_m_main=yes
101960 else
101961   echo "$as_me: failed program was:" >&5
101962 sed 's/^/| /' conftest.$ac_ext >&5
101963
101964 ac_cv_lib_m_main=no
101965 fi
101966 rm -f conftest.err conftest.$ac_objext \
101967       conftest$ac_exeext conftest.$ac_ext
101968 LIBS=$ac_check_lib_save_LIBS
101969 fi
101970 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
101971 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
101972 if test $ac_cv_lib_m_main = yes; then
101973   cat >>confdefs.h <<_ACEOF
101974 #define HAVE_LIBM 1
101975 _ACEOF
101976
101977   LIBS="-lm $LIBS"
101978
101979 fi
101980
101981
101982 for ac_func in copysignf
101983 do
101984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101985 echo "$as_me:$LINENO: checking for $ac_func" >&5
101986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101987 if eval "test \"\${$as_ac_var+set}\" = set"; then
101988   echo $ECHO_N "(cached) $ECHO_C" >&6
101989 else
101990   if test x$gcc_no_link = xyes; then
101991   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101993    { (exit 1); exit 1; }; }
101994 fi
101995 cat >conftest.$ac_ext <<_ACEOF
101996 /* confdefs.h.  */
101997 _ACEOF
101998 cat confdefs.h >>conftest.$ac_ext
101999 cat >>conftest.$ac_ext <<_ACEOF
102000 /* end confdefs.h.  */
102001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102002    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102003 #define $ac_func innocuous_$ac_func
102004
102005 /* System header to define __stub macros and hopefully few prototypes,
102006     which can conflict with char $ac_func (); below.
102007     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102008     <limits.h> exists even on freestanding compilers.  */
102009
102010 #ifdef __STDC__
102011 # include <limits.h>
102012 #else
102013 # include <assert.h>
102014 #endif
102015
102016 #undef $ac_func
102017
102018 /* Override any gcc2 internal prototype to avoid an error.  */
102019 #ifdef __cplusplus
102020 extern "C"
102021 {
102022 #endif
102023 /* We use char because int might match the return type of a gcc2
102024    builtin and then its argument prototype would still apply.  */
102025 char $ac_func ();
102026 /* The GNU C library defines this for functions which it implements
102027     to always fail with ENOSYS.  Some functions are actually named
102028     something starting with __ and the normal name is an alias.  */
102029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102030 choke me
102031 #else
102032 char (*f) () = $ac_func;
102033 #endif
102034 #ifdef __cplusplus
102035 }
102036 #endif
102037
102038 int
102039 main ()
102040 {
102041 return f != $ac_func;
102042   ;
102043   return 0;
102044 }
102045 _ACEOF
102046 rm -f conftest.$ac_objext conftest$ac_exeext
102047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102048   (eval $ac_link) 2>conftest.er1
102049   ac_status=$?
102050   grep -v '^ *+' conftest.er1 >conftest.err
102051   rm -f conftest.er1
102052   cat conftest.err >&5
102053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102054   (exit $ac_status); } &&
102055          { ac_try='test -z "$ac_c_werror_flag"
102056                          || test ! -s conftest.err'
102057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102058   (eval $ac_try) 2>&5
102059   ac_status=$?
102060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102061   (exit $ac_status); }; } &&
102062          { ac_try='test -s conftest$ac_exeext'
102063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102064   (eval $ac_try) 2>&5
102065   ac_status=$?
102066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102067   (exit $ac_status); }; }; then
102068   eval "$as_ac_var=yes"
102069 else
102070   echo "$as_me: failed program was:" >&5
102071 sed 's/^/| /' conftest.$ac_ext >&5
102072
102073 eval "$as_ac_var=no"
102074 fi
102075 rm -f conftest.err conftest.$ac_objext \
102076       conftest$ac_exeext conftest.$ac_ext
102077 fi
102078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102080 if test `eval echo '${'$as_ac_var'}'` = yes; then
102081   cat >>confdefs.h <<_ACEOF
102082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102083 _ACEOF
102084
102085 else
102086   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
102087 fi
102088 done
102089
102090
102091
102092 for ac_func in __signbit
102093 do
102094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102095 echo "$as_me:$LINENO: checking for $ac_func" >&5
102096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102097 if eval "test \"\${$as_ac_var+set}\" = set"; then
102098   echo $ECHO_N "(cached) $ECHO_C" >&6
102099 else
102100   if test x$gcc_no_link = xyes; then
102101   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102103    { (exit 1); exit 1; }; }
102104 fi
102105 cat >conftest.$ac_ext <<_ACEOF
102106 /* confdefs.h.  */
102107 _ACEOF
102108 cat confdefs.h >>conftest.$ac_ext
102109 cat >>conftest.$ac_ext <<_ACEOF
102110 /* end confdefs.h.  */
102111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102112    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102113 #define $ac_func innocuous_$ac_func
102114
102115 /* System header to define __stub macros and hopefully few prototypes,
102116     which can conflict with char $ac_func (); below.
102117     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102118     <limits.h> exists even on freestanding compilers.  */
102119
102120 #ifdef __STDC__
102121 # include <limits.h>
102122 #else
102123 # include <assert.h>
102124 #endif
102125
102126 #undef $ac_func
102127
102128 /* Override any gcc2 internal prototype to avoid an error.  */
102129 #ifdef __cplusplus
102130 extern "C"
102131 {
102132 #endif
102133 /* We use char because int might match the return type of a gcc2
102134    builtin and then its argument prototype would still apply.  */
102135 char $ac_func ();
102136 /* The GNU C library defines this for functions which it implements
102137     to always fail with ENOSYS.  Some functions are actually named
102138     something starting with __ and the normal name is an alias.  */
102139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102140 choke me
102141 #else
102142 char (*f) () = $ac_func;
102143 #endif
102144 #ifdef __cplusplus
102145 }
102146 #endif
102147
102148 int
102149 main ()
102150 {
102151 return f != $ac_func;
102152   ;
102153   return 0;
102154 }
102155 _ACEOF
102156 rm -f conftest.$ac_objext conftest$ac_exeext
102157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102158   (eval $ac_link) 2>conftest.er1
102159   ac_status=$?
102160   grep -v '^ *+' conftest.er1 >conftest.err
102161   rm -f conftest.er1
102162   cat conftest.err >&5
102163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102164   (exit $ac_status); } &&
102165          { ac_try='test -z "$ac_c_werror_flag"
102166                          || test ! -s conftest.err'
102167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102168   (eval $ac_try) 2>&5
102169   ac_status=$?
102170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102171   (exit $ac_status); }; } &&
102172          { ac_try='test -s conftest$ac_exeext'
102173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102174   (eval $ac_try) 2>&5
102175   ac_status=$?
102176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102177   (exit $ac_status); }; }; then
102178   eval "$as_ac_var=yes"
102179 else
102180   echo "$as_me: failed program was:" >&5
102181 sed 's/^/| /' conftest.$ac_ext >&5
102182
102183 eval "$as_ac_var=no"
102184 fi
102185 rm -f conftest.err conftest.$ac_objext \
102186       conftest$ac_exeext conftest.$ac_ext
102187 fi
102188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102190 if test `eval echo '${'$as_ac_var'}'` = yes; then
102191   cat >>confdefs.h <<_ACEOF
102192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102193 _ACEOF
102194
102195 else
102196   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
102197 fi
102198 done
102199
102200
102201
102202 for ac_func in __signbitf
102203 do
102204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102205 echo "$as_me:$LINENO: checking for $ac_func" >&5
102206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102207 if eval "test \"\${$as_ac_var+set}\" = set"; then
102208   echo $ECHO_N "(cached) $ECHO_C" >&6
102209 else
102210   if test x$gcc_no_link = xyes; then
102211   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102213    { (exit 1); exit 1; }; }
102214 fi
102215 cat >conftest.$ac_ext <<_ACEOF
102216 /* confdefs.h.  */
102217 _ACEOF
102218 cat confdefs.h >>conftest.$ac_ext
102219 cat >>conftest.$ac_ext <<_ACEOF
102220 /* end confdefs.h.  */
102221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102222    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102223 #define $ac_func innocuous_$ac_func
102224
102225 /* System header to define __stub macros and hopefully few prototypes,
102226     which can conflict with char $ac_func (); below.
102227     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102228     <limits.h> exists even on freestanding compilers.  */
102229
102230 #ifdef __STDC__
102231 # include <limits.h>
102232 #else
102233 # include <assert.h>
102234 #endif
102235
102236 #undef $ac_func
102237
102238 /* Override any gcc2 internal prototype to avoid an error.  */
102239 #ifdef __cplusplus
102240 extern "C"
102241 {
102242 #endif
102243 /* We use char because int might match the return type of a gcc2
102244    builtin and then its argument prototype would still apply.  */
102245 char $ac_func ();
102246 /* The GNU C library defines this for functions which it implements
102247     to always fail with ENOSYS.  Some functions are actually named
102248     something starting with __ and the normal name is an alias.  */
102249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102250 choke me
102251 #else
102252 char (*f) () = $ac_func;
102253 #endif
102254 #ifdef __cplusplus
102255 }
102256 #endif
102257
102258 int
102259 main ()
102260 {
102261 return f != $ac_func;
102262   ;
102263   return 0;
102264 }
102265 _ACEOF
102266 rm -f conftest.$ac_objext conftest$ac_exeext
102267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102268   (eval $ac_link) 2>conftest.er1
102269   ac_status=$?
102270   grep -v '^ *+' conftest.er1 >conftest.err
102271   rm -f conftest.er1
102272   cat conftest.err >&5
102273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102274   (exit $ac_status); } &&
102275          { ac_try='test -z "$ac_c_werror_flag"
102276                          || test ! -s conftest.err'
102277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102278   (eval $ac_try) 2>&5
102279   ac_status=$?
102280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102281   (exit $ac_status); }; } &&
102282          { ac_try='test -s conftest$ac_exeext'
102283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102284   (eval $ac_try) 2>&5
102285   ac_status=$?
102286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102287   (exit $ac_status); }; }; then
102288   eval "$as_ac_var=yes"
102289 else
102290   echo "$as_me: failed program was:" >&5
102291 sed 's/^/| /' conftest.$ac_ext >&5
102292
102293 eval "$as_ac_var=no"
102294 fi
102295 rm -f conftest.err conftest.$ac_objext \
102296       conftest$ac_exeext conftest.$ac_ext
102297 fi
102298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102300 if test `eval echo '${'$as_ac_var'}'` = yes; then
102301   cat >>confdefs.h <<_ACEOF
102302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102303 _ACEOF
102304
102305 else
102306   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
102307 fi
102308 done
102309
102310
102311           if test x$ac_cv_func_copysignl = x"yes"; then
102312
102313 for ac_func in __signbitl
102314 do
102315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102316 echo "$as_me:$LINENO: checking for $ac_func" >&5
102317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102318 if eval "test \"\${$as_ac_var+set}\" = set"; then
102319   echo $ECHO_N "(cached) $ECHO_C" >&6
102320 else
102321   if test x$gcc_no_link = xyes; then
102322   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102324    { (exit 1); exit 1; }; }
102325 fi
102326 cat >conftest.$ac_ext <<_ACEOF
102327 /* confdefs.h.  */
102328 _ACEOF
102329 cat confdefs.h >>conftest.$ac_ext
102330 cat >>conftest.$ac_ext <<_ACEOF
102331 /* end confdefs.h.  */
102332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102333    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102334 #define $ac_func innocuous_$ac_func
102335
102336 /* System header to define __stub macros and hopefully few prototypes,
102337     which can conflict with char $ac_func (); below.
102338     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102339     <limits.h> exists even on freestanding compilers.  */
102340
102341 #ifdef __STDC__
102342 # include <limits.h>
102343 #else
102344 # include <assert.h>
102345 #endif
102346
102347 #undef $ac_func
102348
102349 /* Override any gcc2 internal prototype to avoid an error.  */
102350 #ifdef __cplusplus
102351 extern "C"
102352 {
102353 #endif
102354 /* We use char because int might match the return type of a gcc2
102355    builtin and then its argument prototype would still apply.  */
102356 char $ac_func ();
102357 /* The GNU C library defines this for functions which it implements
102358     to always fail with ENOSYS.  Some functions are actually named
102359     something starting with __ and the normal name is an alias.  */
102360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102361 choke me
102362 #else
102363 char (*f) () = $ac_func;
102364 #endif
102365 #ifdef __cplusplus
102366 }
102367 #endif
102368
102369 int
102370 main ()
102371 {
102372 return f != $ac_func;
102373   ;
102374   return 0;
102375 }
102376 _ACEOF
102377 rm -f conftest.$ac_objext conftest$ac_exeext
102378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102379   (eval $ac_link) 2>conftest.er1
102380   ac_status=$?
102381   grep -v '^ *+' conftest.er1 >conftest.err
102382   rm -f conftest.er1
102383   cat conftest.err >&5
102384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102385   (exit $ac_status); } &&
102386          { ac_try='test -z "$ac_c_werror_flag"
102387                          || test ! -s conftest.err'
102388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102389   (eval $ac_try) 2>&5
102390   ac_status=$?
102391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102392   (exit $ac_status); }; } &&
102393          { ac_try='test -s conftest$ac_exeext'
102394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102395   (eval $ac_try) 2>&5
102396   ac_status=$?
102397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102398   (exit $ac_status); }; }; then
102399   eval "$as_ac_var=yes"
102400 else
102401   echo "$as_me: failed program was:" >&5
102402 sed 's/^/| /' conftest.$ac_ext >&5
102403
102404 eval "$as_ac_var=no"
102405 fi
102406 rm -f conftest.err conftest.$ac_objext \
102407       conftest$ac_exeext conftest.$ac_ext
102408 fi
102409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102411 if test `eval echo '${'$as_ac_var'}'` = yes; then
102412   cat >>confdefs.h <<_ACEOF
102413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102414 _ACEOF
102415
102416 else
102417   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
102418 fi
102419 done
102420
102421   fi
102422
102423   # Used in libmath/Makefile.am.
102424   if test -n "$LIBMATHOBJS"; then
102425     need_libmath=yes
102426   fi
102427
102428
102429
102430
102431   enable_iconv=no
102432   # Only continue checking if the ISO C99 headers exist and support is on.
102433   if test x"$enable_wchar_t" = xyes; then
102434
102435     # Use iconv for wchar_t to char conversions. As such, check for
102436     # X/Open Portability Guide, version 2 features (XPG2).
102437     if test "${ac_cv_header_iconv_h+set}" = set; then
102438   echo "$as_me:$LINENO: checking for iconv.h" >&5
102439 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
102440 if test "${ac_cv_header_iconv_h+set}" = set; then
102441   echo $ECHO_N "(cached) $ECHO_C" >&6
102442 fi
102443 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
102444 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
102445 else
102446   # Is the header compilable?
102447 echo "$as_me:$LINENO: checking iconv.h usability" >&5
102448 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
102449 cat >conftest.$ac_ext <<_ACEOF
102450 /* confdefs.h.  */
102451 _ACEOF
102452 cat confdefs.h >>conftest.$ac_ext
102453 cat >>conftest.$ac_ext <<_ACEOF
102454 /* end confdefs.h.  */
102455 $ac_includes_default
102456 #include <iconv.h>
102457 _ACEOF
102458 rm -f conftest.$ac_objext
102459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102460   (eval $ac_compile) 2>conftest.er1
102461   ac_status=$?
102462   grep -v '^ *+' conftest.er1 >conftest.err
102463   rm -f conftest.er1
102464   cat conftest.err >&5
102465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102466   (exit $ac_status); } &&
102467          { ac_try='test -z "$ac_c_werror_flag"
102468                          || test ! -s conftest.err'
102469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102470   (eval $ac_try) 2>&5
102471   ac_status=$?
102472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102473   (exit $ac_status); }; } &&
102474          { ac_try='test -s conftest.$ac_objext'
102475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102476   (eval $ac_try) 2>&5
102477   ac_status=$?
102478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102479   (exit $ac_status); }; }; then
102480   ac_header_compiler=yes
102481 else
102482   echo "$as_me: failed program was:" >&5
102483 sed 's/^/| /' conftest.$ac_ext >&5
102484
102485 ac_header_compiler=no
102486 fi
102487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102488 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102489 echo "${ECHO_T}$ac_header_compiler" >&6
102490
102491 # Is the header present?
102492 echo "$as_me:$LINENO: checking iconv.h presence" >&5
102493 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
102494 cat >conftest.$ac_ext <<_ACEOF
102495 /* confdefs.h.  */
102496 _ACEOF
102497 cat confdefs.h >>conftest.$ac_ext
102498 cat >>conftest.$ac_ext <<_ACEOF
102499 /* end confdefs.h.  */
102500 #include <iconv.h>
102501 _ACEOF
102502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102503   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102504   ac_status=$?
102505   grep -v '^ *+' conftest.er1 >conftest.err
102506   rm -f conftest.er1
102507   cat conftest.err >&5
102508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102509   (exit $ac_status); } >/dev/null; then
102510   if test -s conftest.err; then
102511     ac_cpp_err=$ac_c_preproc_warn_flag
102512     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102513   else
102514     ac_cpp_err=
102515   fi
102516 else
102517   ac_cpp_err=yes
102518 fi
102519 if test -z "$ac_cpp_err"; then
102520   ac_header_preproc=yes
102521 else
102522   echo "$as_me: failed program was:" >&5
102523 sed 's/^/| /' conftest.$ac_ext >&5
102524
102525   ac_header_preproc=no
102526 fi
102527 rm -f conftest.err conftest.$ac_ext
102528 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102529 echo "${ECHO_T}$ac_header_preproc" >&6
102530
102531 # So?  What about this header?
102532 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102533   yes:no: )
102534     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
102535 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
102536     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
102537 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
102538     ac_header_preproc=yes
102539     ;;
102540   no:yes:* )
102541     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
102542 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
102543     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
102544 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
102545     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
102546 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
102547     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
102548 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
102549     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
102550 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
102551     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
102552 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
102553     (
102554       cat <<\_ASBOX
102555 ## ----------------------------------------- ##
102556 ## Report this to the package-unused lists.  ##
102557 ## ----------------------------------------- ##
102558 _ASBOX
102559     ) |
102560       sed "s/^/$as_me: WARNING:     /" >&2
102561     ;;
102562 esac
102563 echo "$as_me:$LINENO: checking for iconv.h" >&5
102564 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
102565 if test "${ac_cv_header_iconv_h+set}" = set; then
102566   echo $ECHO_N "(cached) $ECHO_C" >&6
102567 else
102568   ac_cv_header_iconv_h=$ac_header_preproc
102569 fi
102570 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
102571 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
102572
102573 fi
102574 if test $ac_cv_header_iconv_h = yes; then
102575   ac_has_iconv_h=yes
102576 else
102577   ac_has_iconv_h=no
102578 fi
102579
102580
102581     if test "${ac_cv_header_langinfo_h+set}" = set; then
102582   echo "$as_me:$LINENO: checking for langinfo.h" >&5
102583 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
102584 if test "${ac_cv_header_langinfo_h+set}" = set; then
102585   echo $ECHO_N "(cached) $ECHO_C" >&6
102586 fi
102587 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
102588 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
102589 else
102590   # Is the header compilable?
102591 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
102592 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
102593 cat >conftest.$ac_ext <<_ACEOF
102594 /* confdefs.h.  */
102595 _ACEOF
102596 cat confdefs.h >>conftest.$ac_ext
102597 cat >>conftest.$ac_ext <<_ACEOF
102598 /* end confdefs.h.  */
102599 $ac_includes_default
102600 #include <langinfo.h>
102601 _ACEOF
102602 rm -f conftest.$ac_objext
102603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102604   (eval $ac_compile) 2>conftest.er1
102605   ac_status=$?
102606   grep -v '^ *+' conftest.er1 >conftest.err
102607   rm -f conftest.er1
102608   cat conftest.err >&5
102609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102610   (exit $ac_status); } &&
102611          { ac_try='test -z "$ac_c_werror_flag"
102612                          || test ! -s conftest.err'
102613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102614   (eval $ac_try) 2>&5
102615   ac_status=$?
102616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102617   (exit $ac_status); }; } &&
102618          { ac_try='test -s conftest.$ac_objext'
102619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102620   (eval $ac_try) 2>&5
102621   ac_status=$?
102622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102623   (exit $ac_status); }; }; then
102624   ac_header_compiler=yes
102625 else
102626   echo "$as_me: failed program was:" >&5
102627 sed 's/^/| /' conftest.$ac_ext >&5
102628
102629 ac_header_compiler=no
102630 fi
102631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102632 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102633 echo "${ECHO_T}$ac_header_compiler" >&6
102634
102635 # Is the header present?
102636 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
102637 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
102638 cat >conftest.$ac_ext <<_ACEOF
102639 /* confdefs.h.  */
102640 _ACEOF
102641 cat confdefs.h >>conftest.$ac_ext
102642 cat >>conftest.$ac_ext <<_ACEOF
102643 /* end confdefs.h.  */
102644 #include <langinfo.h>
102645 _ACEOF
102646 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102647   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102648   ac_status=$?
102649   grep -v '^ *+' conftest.er1 >conftest.err
102650   rm -f conftest.er1
102651   cat conftest.err >&5
102652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102653   (exit $ac_status); } >/dev/null; then
102654   if test -s conftest.err; then
102655     ac_cpp_err=$ac_c_preproc_warn_flag
102656     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102657   else
102658     ac_cpp_err=
102659   fi
102660 else
102661   ac_cpp_err=yes
102662 fi
102663 if test -z "$ac_cpp_err"; then
102664   ac_header_preproc=yes
102665 else
102666   echo "$as_me: failed program was:" >&5
102667 sed 's/^/| /' conftest.$ac_ext >&5
102668
102669   ac_header_preproc=no
102670 fi
102671 rm -f conftest.err conftest.$ac_ext
102672 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102673 echo "${ECHO_T}$ac_header_preproc" >&6
102674
102675 # So?  What about this header?
102676 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102677   yes:no: )
102678     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
102679 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
102680     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
102681 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
102682     ac_header_preproc=yes
102683     ;;
102684   no:yes:* )
102685     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
102686 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
102687     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
102688 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
102689     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
102690 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
102691     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
102692 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
102693     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
102694 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
102695     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
102696 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
102697     (
102698       cat <<\_ASBOX
102699 ## ----------------------------------------- ##
102700 ## Report this to the package-unused lists.  ##
102701 ## ----------------------------------------- ##
102702 _ASBOX
102703     ) |
102704       sed "s/^/$as_me: WARNING:     /" >&2
102705     ;;
102706 esac
102707 echo "$as_me:$LINENO: checking for langinfo.h" >&5
102708 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
102709 if test "${ac_cv_header_langinfo_h+set}" = set; then
102710   echo $ECHO_N "(cached) $ECHO_C" >&6
102711 else
102712   ac_cv_header_langinfo_h=$ac_header_preproc
102713 fi
102714 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
102715 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
102716
102717 fi
102718 if test $ac_cv_header_langinfo_h = yes; then
102719   ac_has_langinfo_h=yes
102720 else
102721   ac_has_langinfo_h=no
102722 fi
102723
102724
102725
102726     # Check for existence of libiconv.a providing XPG2 wchar_t support.
102727     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
102728 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
102729 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
102730   echo $ECHO_N "(cached) $ECHO_C" >&6
102731 else
102732   ac_check_lib_save_LIBS=$LIBS
102733 LIBS="-liconv  $LIBS"
102734 if test x$gcc_no_link = xyes; then
102735   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102737    { (exit 1); exit 1; }; }
102738 fi
102739 cat >conftest.$ac_ext <<_ACEOF
102740 /* confdefs.h.  */
102741 _ACEOF
102742 cat confdefs.h >>conftest.$ac_ext
102743 cat >>conftest.$ac_ext <<_ACEOF
102744 /* end confdefs.h.  */
102745
102746 /* Override any gcc2 internal prototype to avoid an error.  */
102747 #ifdef __cplusplus
102748 extern "C"
102749 #endif
102750 /* We use char because int might match the return type of a gcc2
102751    builtin and then its argument prototype would still apply.  */
102752 char iconv ();
102753 int
102754 main ()
102755 {
102756 iconv ();
102757   ;
102758   return 0;
102759 }
102760 _ACEOF
102761 rm -f conftest.$ac_objext conftest$ac_exeext
102762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102763   (eval $ac_link) 2>conftest.er1
102764   ac_status=$?
102765   grep -v '^ *+' conftest.er1 >conftest.err
102766   rm -f conftest.er1
102767   cat conftest.err >&5
102768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102769   (exit $ac_status); } &&
102770          { ac_try='test -z "$ac_c_werror_flag"
102771                          || test ! -s conftest.err'
102772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102773   (eval $ac_try) 2>&5
102774   ac_status=$?
102775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102776   (exit $ac_status); }; } &&
102777          { ac_try='test -s conftest$ac_exeext'
102778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102779   (eval $ac_try) 2>&5
102780   ac_status=$?
102781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102782   (exit $ac_status); }; }; then
102783   ac_cv_lib_iconv_iconv=yes
102784 else
102785   echo "$as_me: failed program was:" >&5
102786 sed 's/^/| /' conftest.$ac_ext >&5
102787
102788 ac_cv_lib_iconv_iconv=no
102789 fi
102790 rm -f conftest.err conftest.$ac_objext \
102791       conftest$ac_exeext conftest.$ac_ext
102792 LIBS=$ac_check_lib_save_LIBS
102793 fi
102794 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
102795 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
102796 if test $ac_cv_lib_iconv_iconv = yes; then
102797   LIBICONV="-liconv"
102798 fi
102799
102800     ac_save_LIBS="$LIBS"
102801     LIBS="$LIBS $LIBICONV"
102802
102803
102804
102805
102806
102807
102808 for ac_func in iconv_open iconv_close iconv nl_langinfo
102809 do
102810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102811 echo "$as_me:$LINENO: checking for $ac_func" >&5
102812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102813 if eval "test \"\${$as_ac_var+set}\" = set"; then
102814   echo $ECHO_N "(cached) $ECHO_C" >&6
102815 else
102816   if test x$gcc_no_link = xyes; then
102817   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102819    { (exit 1); exit 1; }; }
102820 fi
102821 cat >conftest.$ac_ext <<_ACEOF
102822 /* confdefs.h.  */
102823 _ACEOF
102824 cat confdefs.h >>conftest.$ac_ext
102825 cat >>conftest.$ac_ext <<_ACEOF
102826 /* end confdefs.h.  */
102827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102828    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102829 #define $ac_func innocuous_$ac_func
102830
102831 /* System header to define __stub macros and hopefully few prototypes,
102832     which can conflict with char $ac_func (); below.
102833     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102834     <limits.h> exists even on freestanding compilers.  */
102835
102836 #ifdef __STDC__
102837 # include <limits.h>
102838 #else
102839 # include <assert.h>
102840 #endif
102841
102842 #undef $ac_func
102843
102844 /* Override any gcc2 internal prototype to avoid an error.  */
102845 #ifdef __cplusplus
102846 extern "C"
102847 {
102848 #endif
102849 /* We use char because int might match the return type of a gcc2
102850    builtin and then its argument prototype would still apply.  */
102851 char $ac_func ();
102852 /* The GNU C library defines this for functions which it implements
102853     to always fail with ENOSYS.  Some functions are actually named
102854     something starting with __ and the normal name is an alias.  */
102855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102856 choke me
102857 #else
102858 char (*f) () = $ac_func;
102859 #endif
102860 #ifdef __cplusplus
102861 }
102862 #endif
102863
102864 int
102865 main ()
102866 {
102867 return f != $ac_func;
102868   ;
102869   return 0;
102870 }
102871 _ACEOF
102872 rm -f conftest.$ac_objext conftest$ac_exeext
102873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102874   (eval $ac_link) 2>conftest.er1
102875   ac_status=$?
102876   grep -v '^ *+' conftest.er1 >conftest.err
102877   rm -f conftest.er1
102878   cat conftest.err >&5
102879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102880   (exit $ac_status); } &&
102881          { ac_try='test -z "$ac_c_werror_flag"
102882                          || test ! -s conftest.err'
102883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102884   (eval $ac_try) 2>&5
102885   ac_status=$?
102886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102887   (exit $ac_status); }; } &&
102888          { ac_try='test -s conftest$ac_exeext'
102889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102890   (eval $ac_try) 2>&5
102891   ac_status=$?
102892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102893   (exit $ac_status); }; }; then
102894   eval "$as_ac_var=yes"
102895 else
102896   echo "$as_me: failed program was:" >&5
102897 sed 's/^/| /' conftest.$ac_ext >&5
102898
102899 eval "$as_ac_var=no"
102900 fi
102901 rm -f conftest.err conftest.$ac_objext \
102902       conftest$ac_exeext conftest.$ac_ext
102903 fi
102904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102906 if test `eval echo '${'$as_ac_var'}'` = yes; then
102907   cat >>confdefs.h <<_ACEOF
102908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102909 _ACEOF
102910  ac_XPG2funcs=yes
102911 else
102912   ac_XPG2funcs=no
102913 fi
102914 done
102915
102916
102917     LIBS="$ac_save_LIBS"
102918
102919     if test x"$ac_has_iconv_h" = xyes &&
102920        test x"$ac_has_langinfo_h" = xyes &&
102921        test x"$ac_XPG2funcs" = xyes;
102922     then
102923
102924 cat >>confdefs.h <<\_ACEOF
102925 #define _GLIBCXX_USE_ICONV 1
102926 _ACEOF
102927
102928       enable_iconv=yes
102929     fi
102930   fi
102931   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
102932 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
102933   echo "$as_me:$LINENO: result: $enable_iconv" >&5
102934 echo "${ECHO_T}$enable_iconv" >&6
102935
102936     cat >>confdefs.h <<\_ACEOF
102937 #define HAVE_COPYSIGN 1
102938 _ACEOF
102939
102940     cat >>confdefs.h <<\_ACEOF
102941 #define HAVE_COPYSIGNF 1
102942 _ACEOF
102943
102944     cat >>confdefs.h <<\_ACEOF
102945 #define HAVE_FINITEF 1
102946 _ACEOF
102947
102948     cat >>confdefs.h <<\_ACEOF
102949 #define HAVE_FINITE 1
102950 _ACEOF
102951
102952     cat >>confdefs.h <<\_ACEOF
102953 #define HAVE_FREXPF 1
102954 _ACEOF
102955
102956     cat >>confdefs.h <<\_ACEOF
102957 #define HAVE_HYPOTF 1
102958 _ACEOF
102959
102960     cat >>confdefs.h <<\_ACEOF
102961 #define HAVE_ISINF 1
102962 _ACEOF
102963
102964     cat >>confdefs.h <<\_ACEOF
102965 #define HAVE_ISINFF 1
102966 _ACEOF
102967
102968     cat >>confdefs.h <<\_ACEOF
102969 #define HAVE_ISNAN 1
102970 _ACEOF
102971
102972     cat >>confdefs.h <<\_ACEOF
102973 #define HAVE_ISNANF 1
102974 _ACEOF
102975
102976     if test x"long_double_math_on_this_cpu" = x"yes"; then
102977       cat >>confdefs.h <<\_ACEOF
102978 #define HAVE_FINITEL 1
102979 _ACEOF
102980
102981       cat >>confdefs.h <<\_ACEOF
102982 #define HAVE_ISINFL 1
102983 _ACEOF
102984
102985       cat >>confdefs.h <<\_ACEOF
102986 #define HAVE_ISNANL 1
102987 _ACEOF
102988
102989     fi
102990     ;;
102991   *-netware)
102992
102993
102994
102995
102996
102997
102998
102999
103000 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
103001       sys/types.h locale.h float.h inttypes.h
103002 do
103003 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
103004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103005   echo "$as_me:$LINENO: checking for $ac_header" >&5
103006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
103007 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103008   echo $ECHO_N "(cached) $ECHO_C" >&6
103009 fi
103010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
103011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
103012 else
103013   # Is the header compilable?
103014 echo "$as_me:$LINENO: checking $ac_header usability" >&5
103015 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
103016 cat >conftest.$ac_ext <<_ACEOF
103017 /* confdefs.h.  */
103018 _ACEOF
103019 cat confdefs.h >>conftest.$ac_ext
103020 cat >>conftest.$ac_ext <<_ACEOF
103021 /* end confdefs.h.  */
103022 $ac_includes_default
103023 #include <$ac_header>
103024 _ACEOF
103025 rm -f conftest.$ac_objext
103026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103027   (eval $ac_compile) 2>conftest.er1
103028   ac_status=$?
103029   grep -v '^ *+' conftest.er1 >conftest.err
103030   rm -f conftest.er1
103031   cat conftest.err >&5
103032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103033   (exit $ac_status); } &&
103034          { ac_try='test -z "$ac_c_werror_flag"
103035                          || test ! -s conftest.err'
103036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103037   (eval $ac_try) 2>&5
103038   ac_status=$?
103039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103040   (exit $ac_status); }; } &&
103041          { ac_try='test -s conftest.$ac_objext'
103042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103043   (eval $ac_try) 2>&5
103044   ac_status=$?
103045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103046   (exit $ac_status); }; }; then
103047   ac_header_compiler=yes
103048 else
103049   echo "$as_me: failed program was:" >&5
103050 sed 's/^/| /' conftest.$ac_ext >&5
103051
103052 ac_header_compiler=no
103053 fi
103054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103055 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103056 echo "${ECHO_T}$ac_header_compiler" >&6
103057
103058 # Is the header present?
103059 echo "$as_me:$LINENO: checking $ac_header presence" >&5
103060 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
103061 cat >conftest.$ac_ext <<_ACEOF
103062 /* confdefs.h.  */
103063 _ACEOF
103064 cat confdefs.h >>conftest.$ac_ext
103065 cat >>conftest.$ac_ext <<_ACEOF
103066 /* end confdefs.h.  */
103067 #include <$ac_header>
103068 _ACEOF
103069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
103070   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
103071   ac_status=$?
103072   grep -v '^ *+' conftest.er1 >conftest.err
103073   rm -f conftest.er1
103074   cat conftest.err >&5
103075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103076   (exit $ac_status); } >/dev/null; then
103077   if test -s conftest.err; then
103078     ac_cpp_err=$ac_c_preproc_warn_flag
103079     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
103080   else
103081     ac_cpp_err=
103082   fi
103083 else
103084   ac_cpp_err=yes
103085 fi
103086 if test -z "$ac_cpp_err"; then
103087   ac_header_preproc=yes
103088 else
103089   echo "$as_me: failed program was:" >&5
103090 sed 's/^/| /' conftest.$ac_ext >&5
103091
103092   ac_header_preproc=no
103093 fi
103094 rm -f conftest.err conftest.$ac_ext
103095 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103096 echo "${ECHO_T}$ac_header_preproc" >&6
103097
103098 # So?  What about this header?
103099 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
103100   yes:no: )
103101     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
103102 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
103103     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
103104 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
103105     ac_header_preproc=yes
103106     ;;
103107   no:yes:* )
103108     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
103109 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
103110     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
103111 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
103112     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
103113 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
103114     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
103115 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
103116     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
103117 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
103118     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
103119 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
103120     (
103121       cat <<\_ASBOX
103122 ## ----------------------------------------- ##
103123 ## Report this to the package-unused lists.  ##
103124 ## ----------------------------------------- ##
103125 _ASBOX
103126     ) |
103127       sed "s/^/$as_me: WARNING:     /" >&2
103128     ;;
103129 esac
103130 echo "$as_me:$LINENO: checking for $ac_header" >&5
103131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
103132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103133   echo $ECHO_N "(cached) $ECHO_C" >&6
103134 else
103135   eval "$as_ac_Header=\$ac_header_preproc"
103136 fi
103137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
103138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
103139
103140 fi
103141 if test `eval echo '${'$as_ac_Header'}'` = yes; then
103142   cat >>confdefs.h <<_ACEOF
103143 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
103144 _ACEOF
103145
103146 fi
103147
103148 done
103149
103150     SECTION_FLAGS='-ffunction-sections -fdata-sections'
103151
103152
103153   # If we're not using GNU ld, then there's no point in even trying these
103154   # tests.  Check for that first.  We should have already tested for gld
103155   # by now (in libtool), but require it now just to be safe...
103156   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
103157   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
103158
103159
103160
103161   # The name set by libtool depends on the version of libtool.  Shame on us
103162   # for depending on an impl detail, but c'est la vie.  Older versions used
103163   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
103164   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
103165   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
103166   # set (hence we're using an older libtool), then set it.
103167   if test x${with_gnu_ld+set} != xset; then
103168     if test x${ac_cv_prog_gnu_ld+set} != xset; then
103169       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
103170       with_gnu_ld=no
103171     else
103172       with_gnu_ld=$ac_cv_prog_gnu_ld
103173     fi
103174   fi
103175
103176   # Start by getting the version number.  I think the libtool test already
103177   # does some of this, but throws away the result.
103178   echo "$as_me:$LINENO: checking for ld version" >&5
103179 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
103180
103181   ldver=`$LD --version 2>/dev/null | head -1 | \
103182          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
103183
103184   glibcxx_gnu_ld_version=`echo $ldver | \
103185          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
103186   echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
103187 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
103188
103189   # Set --gc-sections.
103190   glibcxx_gcsections_min_ld=21602
103191   if test x"$with_gnu_ld" = x"yes" &&
103192         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
103193
103194     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
103195     # NB: This flag only works reliably after 2.16.1. Configure tests
103196     # for this are difficult, so hard wire a value that should work.
103197
103198     # All these tests are for C++, but run with the "C" compiler driver.
103199     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
103200     ac_test_CFLAGS="${CFLAGS+set}"
103201     ac_save_CFLAGS="$CFLAGS"
103202     CFLAGS='-x c++ -Wl,--gc-sections'
103203
103204     # Check for -Wl,--gc-sections
103205     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
103206 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
103207     if test x$gcc_no_link = xyes; then
103208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103210    { (exit 1); exit 1; }; }
103211 fi
103212 cat >conftest.$ac_ext <<_ACEOF
103213 /* confdefs.h.  */
103214 _ACEOF
103215 cat confdefs.h >>conftest.$ac_ext
103216 cat >>conftest.$ac_ext <<_ACEOF
103217 /* end confdefs.h.  */
103218  int one(void) { return 1; }
103219      int two(void) { return 2; }
103220
103221 int
103222 main ()
103223 {
103224  two();
103225   ;
103226   return 0;
103227 }
103228 _ACEOF
103229 rm -f conftest.$ac_objext conftest$ac_exeext
103230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103231   (eval $ac_link) 2>conftest.er1
103232   ac_status=$?
103233   grep -v '^ *+' conftest.er1 >conftest.err
103234   rm -f conftest.er1
103235   cat conftest.err >&5
103236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103237   (exit $ac_status); } &&
103238          { ac_try='test -z "$ac_c_werror_flag"
103239                          || test ! -s conftest.err'
103240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103241   (eval $ac_try) 2>&5
103242   ac_status=$?
103243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103244   (exit $ac_status); }; } &&
103245          { ac_try='test -s conftest$ac_exeext'
103246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103247   (eval $ac_try) 2>&5
103248   ac_status=$?
103249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103250   (exit $ac_status); }; }; then
103251   ac_gcsections=yes
103252 else
103253   echo "$as_me: failed program was:" >&5
103254 sed 's/^/| /' conftest.$ac_ext >&5
103255
103256 ac_gcsections=no
103257 fi
103258 rm -f conftest.err conftest.$ac_objext \
103259       conftest$ac_exeext conftest.$ac_ext
103260     if test "$ac_gcsections" = "yes"; then
103261       rm -f conftest.c
103262       touch conftest.c
103263       if $CC -c conftest.c; then
103264         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
103265            grep "Warning: gc-sections option ignored" > /dev/null; then
103266           ac_gcsections=no
103267         fi
103268       fi
103269       rm -f conftest.c conftest.o conftest
103270     fi
103271     if test "$ac_gcsections" = "yes"; then
103272       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
103273     fi
103274     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
103275 echo "${ECHO_T}$ac_gcsections" >&6
103276
103277     if test "$ac_test_CFLAGS" = set; then
103278       CFLAGS="$ac_save_CFLAGS"
103279     else
103280       # this is the suspicious part
103281       CFLAGS=''
103282     fi
103283   fi
103284
103285   # Set -z,relro.
103286   # Note this is only for shared objects.
103287   ac_ld_relro=no
103288   if test x"$with_gnu_ld" = x"yes"; then
103289     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
103290 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
103291     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
103292     if test -n "$cxx_z_relo"; then
103293       OPT_LDFLAGS="-Wl,-z,relro"
103294       ac_ld_relro=yes
103295     fi
103296     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
103297 echo "${ECHO_T}$ac_ld_relro" >&6
103298   fi
103299
103300   # Set linker optimization flags.
103301   if test x"$with_gnu_ld" = x"yes"; then
103302     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
103303   fi
103304
103305
103306
103307
103308
103309
103310 echo "$as_me:$LINENO: checking for main in -lm" >&5
103311 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
103312 if test "${ac_cv_lib_m_main+set}" = set; then
103313   echo $ECHO_N "(cached) $ECHO_C" >&6
103314 else
103315   ac_check_lib_save_LIBS=$LIBS
103316 LIBS="-lm  $LIBS"
103317 if test x$gcc_no_link = xyes; then
103318   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103320    { (exit 1); exit 1; }; }
103321 fi
103322 cat >conftest.$ac_ext <<_ACEOF
103323 /* confdefs.h.  */
103324 _ACEOF
103325 cat confdefs.h >>conftest.$ac_ext
103326 cat >>conftest.$ac_ext <<_ACEOF
103327 /* end confdefs.h.  */
103328
103329
103330 int
103331 main ()
103332 {
103333 main ();
103334   ;
103335   return 0;
103336 }
103337 _ACEOF
103338 rm -f conftest.$ac_objext conftest$ac_exeext
103339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103340   (eval $ac_link) 2>conftest.er1
103341   ac_status=$?
103342   grep -v '^ *+' conftest.er1 >conftest.err
103343   rm -f conftest.er1
103344   cat conftest.err >&5
103345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103346   (exit $ac_status); } &&
103347          { ac_try='test -z "$ac_c_werror_flag"
103348                          || test ! -s conftest.err'
103349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103350   (eval $ac_try) 2>&5
103351   ac_status=$?
103352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103353   (exit $ac_status); }; } &&
103354          { ac_try='test -s conftest$ac_exeext'
103355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103356   (eval $ac_try) 2>&5
103357   ac_status=$?
103358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103359   (exit $ac_status); }; }; then
103360   ac_cv_lib_m_main=yes
103361 else
103362   echo "$as_me: failed program was:" >&5
103363 sed 's/^/| /' conftest.$ac_ext >&5
103364
103365 ac_cv_lib_m_main=no
103366 fi
103367 rm -f conftest.err conftest.$ac_objext \
103368       conftest$ac_exeext conftest.$ac_ext
103369 LIBS=$ac_check_lib_save_LIBS
103370 fi
103371 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
103372 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
103373 if test $ac_cv_lib_m_main = yes; then
103374   cat >>confdefs.h <<_ACEOF
103375 #define HAVE_LIBM 1
103376 _ACEOF
103377
103378   LIBS="-lm $LIBS"
103379
103380 fi
103381
103382
103383 for ac_func in copysignf
103384 do
103385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103386 echo "$as_me:$LINENO: checking for $ac_func" >&5
103387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103388 if eval "test \"\${$as_ac_var+set}\" = set"; then
103389   echo $ECHO_N "(cached) $ECHO_C" >&6
103390 else
103391   if test x$gcc_no_link = xyes; then
103392   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103394    { (exit 1); exit 1; }; }
103395 fi
103396 cat >conftest.$ac_ext <<_ACEOF
103397 /* confdefs.h.  */
103398 _ACEOF
103399 cat confdefs.h >>conftest.$ac_ext
103400 cat >>conftest.$ac_ext <<_ACEOF
103401 /* end confdefs.h.  */
103402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103403    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103404 #define $ac_func innocuous_$ac_func
103405
103406 /* System header to define __stub macros and hopefully few prototypes,
103407     which can conflict with char $ac_func (); below.
103408     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103409     <limits.h> exists even on freestanding compilers.  */
103410
103411 #ifdef __STDC__
103412 # include <limits.h>
103413 #else
103414 # include <assert.h>
103415 #endif
103416
103417 #undef $ac_func
103418
103419 /* Override any gcc2 internal prototype to avoid an error.  */
103420 #ifdef __cplusplus
103421 extern "C"
103422 {
103423 #endif
103424 /* We use char because int might match the return type of a gcc2
103425    builtin and then its argument prototype would still apply.  */
103426 char $ac_func ();
103427 /* The GNU C library defines this for functions which it implements
103428     to always fail with ENOSYS.  Some functions are actually named
103429     something starting with __ and the normal name is an alias.  */
103430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103431 choke me
103432 #else
103433 char (*f) () = $ac_func;
103434 #endif
103435 #ifdef __cplusplus
103436 }
103437 #endif
103438
103439 int
103440 main ()
103441 {
103442 return f != $ac_func;
103443   ;
103444   return 0;
103445 }
103446 _ACEOF
103447 rm -f conftest.$ac_objext conftest$ac_exeext
103448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103449   (eval $ac_link) 2>conftest.er1
103450   ac_status=$?
103451   grep -v '^ *+' conftest.er1 >conftest.err
103452   rm -f conftest.er1
103453   cat conftest.err >&5
103454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103455   (exit $ac_status); } &&
103456          { ac_try='test -z "$ac_c_werror_flag"
103457                          || test ! -s conftest.err'
103458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103459   (eval $ac_try) 2>&5
103460   ac_status=$?
103461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103462   (exit $ac_status); }; } &&
103463          { ac_try='test -s conftest$ac_exeext'
103464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103465   (eval $ac_try) 2>&5
103466   ac_status=$?
103467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103468   (exit $ac_status); }; }; then
103469   eval "$as_ac_var=yes"
103470 else
103471   echo "$as_me: failed program was:" >&5
103472 sed 's/^/| /' conftest.$ac_ext >&5
103473
103474 eval "$as_ac_var=no"
103475 fi
103476 rm -f conftest.err conftest.$ac_objext \
103477       conftest$ac_exeext conftest.$ac_ext
103478 fi
103479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103481 if test `eval echo '${'$as_ac_var'}'` = yes; then
103482   cat >>confdefs.h <<_ACEOF
103483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103484 _ACEOF
103485
103486 else
103487   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
103488 fi
103489 done
103490
103491
103492
103493 for ac_func in __signbit
103494 do
103495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103496 echo "$as_me:$LINENO: checking for $ac_func" >&5
103497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103498 if eval "test \"\${$as_ac_var+set}\" = set"; then
103499   echo $ECHO_N "(cached) $ECHO_C" >&6
103500 else
103501   if test x$gcc_no_link = xyes; then
103502   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103504    { (exit 1); exit 1; }; }
103505 fi
103506 cat >conftest.$ac_ext <<_ACEOF
103507 /* confdefs.h.  */
103508 _ACEOF
103509 cat confdefs.h >>conftest.$ac_ext
103510 cat >>conftest.$ac_ext <<_ACEOF
103511 /* end confdefs.h.  */
103512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103513    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103514 #define $ac_func innocuous_$ac_func
103515
103516 /* System header to define __stub macros and hopefully few prototypes,
103517     which can conflict with char $ac_func (); below.
103518     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103519     <limits.h> exists even on freestanding compilers.  */
103520
103521 #ifdef __STDC__
103522 # include <limits.h>
103523 #else
103524 # include <assert.h>
103525 #endif
103526
103527 #undef $ac_func
103528
103529 /* Override any gcc2 internal prototype to avoid an error.  */
103530 #ifdef __cplusplus
103531 extern "C"
103532 {
103533 #endif
103534 /* We use char because int might match the return type of a gcc2
103535    builtin and then its argument prototype would still apply.  */
103536 char $ac_func ();
103537 /* The GNU C library defines this for functions which it implements
103538     to always fail with ENOSYS.  Some functions are actually named
103539     something starting with __ and the normal name is an alias.  */
103540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103541 choke me
103542 #else
103543 char (*f) () = $ac_func;
103544 #endif
103545 #ifdef __cplusplus
103546 }
103547 #endif
103548
103549 int
103550 main ()
103551 {
103552 return f != $ac_func;
103553   ;
103554   return 0;
103555 }
103556 _ACEOF
103557 rm -f conftest.$ac_objext conftest$ac_exeext
103558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103559   (eval $ac_link) 2>conftest.er1
103560   ac_status=$?
103561   grep -v '^ *+' conftest.er1 >conftest.err
103562   rm -f conftest.er1
103563   cat conftest.err >&5
103564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103565   (exit $ac_status); } &&
103566          { ac_try='test -z "$ac_c_werror_flag"
103567                          || test ! -s conftest.err'
103568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103569   (eval $ac_try) 2>&5
103570   ac_status=$?
103571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103572   (exit $ac_status); }; } &&
103573          { ac_try='test -s conftest$ac_exeext'
103574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103575   (eval $ac_try) 2>&5
103576   ac_status=$?
103577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103578   (exit $ac_status); }; }; then
103579   eval "$as_ac_var=yes"
103580 else
103581   echo "$as_me: failed program was:" >&5
103582 sed 's/^/| /' conftest.$ac_ext >&5
103583
103584 eval "$as_ac_var=no"
103585 fi
103586 rm -f conftest.err conftest.$ac_objext \
103587       conftest$ac_exeext conftest.$ac_ext
103588 fi
103589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103591 if test `eval echo '${'$as_ac_var'}'` = yes; then
103592   cat >>confdefs.h <<_ACEOF
103593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103594 _ACEOF
103595
103596 else
103597   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
103598 fi
103599 done
103600
103601
103602
103603 for ac_func in __signbitf
103604 do
103605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103606 echo "$as_me:$LINENO: checking for $ac_func" >&5
103607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103608 if eval "test \"\${$as_ac_var+set}\" = set"; then
103609   echo $ECHO_N "(cached) $ECHO_C" >&6
103610 else
103611   if test x$gcc_no_link = xyes; then
103612   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103614    { (exit 1); exit 1; }; }
103615 fi
103616 cat >conftest.$ac_ext <<_ACEOF
103617 /* confdefs.h.  */
103618 _ACEOF
103619 cat confdefs.h >>conftest.$ac_ext
103620 cat >>conftest.$ac_ext <<_ACEOF
103621 /* end confdefs.h.  */
103622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103623    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103624 #define $ac_func innocuous_$ac_func
103625
103626 /* System header to define __stub macros and hopefully few prototypes,
103627     which can conflict with char $ac_func (); below.
103628     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103629     <limits.h> exists even on freestanding compilers.  */
103630
103631 #ifdef __STDC__
103632 # include <limits.h>
103633 #else
103634 # include <assert.h>
103635 #endif
103636
103637 #undef $ac_func
103638
103639 /* Override any gcc2 internal prototype to avoid an error.  */
103640 #ifdef __cplusplus
103641 extern "C"
103642 {
103643 #endif
103644 /* We use char because int might match the return type of a gcc2
103645    builtin and then its argument prototype would still apply.  */
103646 char $ac_func ();
103647 /* The GNU C library defines this for functions which it implements
103648     to always fail with ENOSYS.  Some functions are actually named
103649     something starting with __ and the normal name is an alias.  */
103650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103651 choke me
103652 #else
103653 char (*f) () = $ac_func;
103654 #endif
103655 #ifdef __cplusplus
103656 }
103657 #endif
103658
103659 int
103660 main ()
103661 {
103662 return f != $ac_func;
103663   ;
103664   return 0;
103665 }
103666 _ACEOF
103667 rm -f conftest.$ac_objext conftest$ac_exeext
103668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103669   (eval $ac_link) 2>conftest.er1
103670   ac_status=$?
103671   grep -v '^ *+' conftest.er1 >conftest.err
103672   rm -f conftest.er1
103673   cat conftest.err >&5
103674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103675   (exit $ac_status); } &&
103676          { ac_try='test -z "$ac_c_werror_flag"
103677                          || test ! -s conftest.err'
103678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103679   (eval $ac_try) 2>&5
103680   ac_status=$?
103681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103682   (exit $ac_status); }; } &&
103683          { ac_try='test -s conftest$ac_exeext'
103684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103685   (eval $ac_try) 2>&5
103686   ac_status=$?
103687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103688   (exit $ac_status); }; }; then
103689   eval "$as_ac_var=yes"
103690 else
103691   echo "$as_me: failed program was:" >&5
103692 sed 's/^/| /' conftest.$ac_ext >&5
103693
103694 eval "$as_ac_var=no"
103695 fi
103696 rm -f conftest.err conftest.$ac_objext \
103697       conftest$ac_exeext conftest.$ac_ext
103698 fi
103699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103701 if test `eval echo '${'$as_ac_var'}'` = yes; then
103702   cat >>confdefs.h <<_ACEOF
103703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103704 _ACEOF
103705
103706 else
103707   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
103708 fi
103709 done
103710
103711
103712           if test x$ac_cv_func_copysignl = x"yes"; then
103713
103714 for ac_func in __signbitl
103715 do
103716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103717 echo "$as_me:$LINENO: checking for $ac_func" >&5
103718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103719 if eval "test \"\${$as_ac_var+set}\" = set"; then
103720   echo $ECHO_N "(cached) $ECHO_C" >&6
103721 else
103722   if test x$gcc_no_link = xyes; then
103723   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103725    { (exit 1); exit 1; }; }
103726 fi
103727 cat >conftest.$ac_ext <<_ACEOF
103728 /* confdefs.h.  */
103729 _ACEOF
103730 cat confdefs.h >>conftest.$ac_ext
103731 cat >>conftest.$ac_ext <<_ACEOF
103732 /* end confdefs.h.  */
103733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103734    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103735 #define $ac_func innocuous_$ac_func
103736
103737 /* System header to define __stub macros and hopefully few prototypes,
103738     which can conflict with char $ac_func (); below.
103739     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103740     <limits.h> exists even on freestanding compilers.  */
103741
103742 #ifdef __STDC__
103743 # include <limits.h>
103744 #else
103745 # include <assert.h>
103746 #endif
103747
103748 #undef $ac_func
103749
103750 /* Override any gcc2 internal prototype to avoid an error.  */
103751 #ifdef __cplusplus
103752 extern "C"
103753 {
103754 #endif
103755 /* We use char because int might match the return type of a gcc2
103756    builtin and then its argument prototype would still apply.  */
103757 char $ac_func ();
103758 /* The GNU C library defines this for functions which it implements
103759     to always fail with ENOSYS.  Some functions are actually named
103760     something starting with __ and the normal name is an alias.  */
103761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103762 choke me
103763 #else
103764 char (*f) () = $ac_func;
103765 #endif
103766 #ifdef __cplusplus
103767 }
103768 #endif
103769
103770 int
103771 main ()
103772 {
103773 return f != $ac_func;
103774   ;
103775   return 0;
103776 }
103777 _ACEOF
103778 rm -f conftest.$ac_objext conftest$ac_exeext
103779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103780   (eval $ac_link) 2>conftest.er1
103781   ac_status=$?
103782   grep -v '^ *+' conftest.er1 >conftest.err
103783   rm -f conftest.er1
103784   cat conftest.err >&5
103785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103786   (exit $ac_status); } &&
103787          { ac_try='test -z "$ac_c_werror_flag"
103788                          || test ! -s conftest.err'
103789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103790   (eval $ac_try) 2>&5
103791   ac_status=$?
103792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103793   (exit $ac_status); }; } &&
103794          { ac_try='test -s conftest$ac_exeext'
103795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103796   (eval $ac_try) 2>&5
103797   ac_status=$?
103798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103799   (exit $ac_status); }; }; then
103800   eval "$as_ac_var=yes"
103801 else
103802   echo "$as_me: failed program was:" >&5
103803 sed 's/^/| /' conftest.$ac_ext >&5
103804
103805 eval "$as_ac_var=no"
103806 fi
103807 rm -f conftest.err conftest.$ac_objext \
103808       conftest$ac_exeext conftest.$ac_ext
103809 fi
103810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103812 if test `eval echo '${'$as_ac_var'}'` = yes; then
103813   cat >>confdefs.h <<_ACEOF
103814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103815 _ACEOF
103816
103817 else
103818   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
103819 fi
103820 done
103821
103822   fi
103823
103824   # Used in libmath/Makefile.am.
103825   if test -n "$LIBMATHOBJS"; then
103826     need_libmath=yes
103827   fi
103828
103829
103830
103831
103832   enable_iconv=no
103833   # Only continue checking if the ISO C99 headers exist and support is on.
103834   if test x"$enable_wchar_t" = xyes; then
103835
103836     # Use iconv for wchar_t to char conversions. As such, check for
103837     # X/Open Portability Guide, version 2 features (XPG2).
103838     if test "${ac_cv_header_iconv_h+set}" = set; then
103839   echo "$as_me:$LINENO: checking for iconv.h" >&5
103840 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
103841 if test "${ac_cv_header_iconv_h+set}" = set; then
103842   echo $ECHO_N "(cached) $ECHO_C" >&6
103843 fi
103844 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
103845 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
103846 else
103847   # Is the header compilable?
103848 echo "$as_me:$LINENO: checking iconv.h usability" >&5
103849 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
103850 cat >conftest.$ac_ext <<_ACEOF
103851 /* confdefs.h.  */
103852 _ACEOF
103853 cat confdefs.h >>conftest.$ac_ext
103854 cat >>conftest.$ac_ext <<_ACEOF
103855 /* end confdefs.h.  */
103856 $ac_includes_default
103857 #include <iconv.h>
103858 _ACEOF
103859 rm -f conftest.$ac_objext
103860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103861   (eval $ac_compile) 2>conftest.er1
103862   ac_status=$?
103863   grep -v '^ *+' conftest.er1 >conftest.err
103864   rm -f conftest.er1
103865   cat conftest.err >&5
103866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103867   (exit $ac_status); } &&
103868          { ac_try='test -z "$ac_c_werror_flag"
103869                          || test ! -s conftest.err'
103870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103871   (eval $ac_try) 2>&5
103872   ac_status=$?
103873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103874   (exit $ac_status); }; } &&
103875          { ac_try='test -s conftest.$ac_objext'
103876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103877   (eval $ac_try) 2>&5
103878   ac_status=$?
103879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103880   (exit $ac_status); }; }; then
103881   ac_header_compiler=yes
103882 else
103883   echo "$as_me: failed program was:" >&5
103884 sed 's/^/| /' conftest.$ac_ext >&5
103885
103886 ac_header_compiler=no
103887 fi
103888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103889 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103890 echo "${ECHO_T}$ac_header_compiler" >&6
103891
103892 # Is the header present?
103893 echo "$as_me:$LINENO: checking iconv.h presence" >&5
103894 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
103895 cat >conftest.$ac_ext <<_ACEOF
103896 /* confdefs.h.  */
103897 _ACEOF
103898 cat confdefs.h >>conftest.$ac_ext
103899 cat >>conftest.$ac_ext <<_ACEOF
103900 /* end confdefs.h.  */
103901 #include <iconv.h>
103902 _ACEOF
103903 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
103904   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
103905   ac_status=$?
103906   grep -v '^ *+' conftest.er1 >conftest.err
103907   rm -f conftest.er1
103908   cat conftest.err >&5
103909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103910   (exit $ac_status); } >/dev/null; then
103911   if test -s conftest.err; then
103912     ac_cpp_err=$ac_c_preproc_warn_flag
103913     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
103914   else
103915     ac_cpp_err=
103916   fi
103917 else
103918   ac_cpp_err=yes
103919 fi
103920 if test -z "$ac_cpp_err"; then
103921   ac_header_preproc=yes
103922 else
103923   echo "$as_me: failed program was:" >&5
103924 sed 's/^/| /' conftest.$ac_ext >&5
103925
103926   ac_header_preproc=no
103927 fi
103928 rm -f conftest.err conftest.$ac_ext
103929 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103930 echo "${ECHO_T}$ac_header_preproc" >&6
103931
103932 # So?  What about this header?
103933 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
103934   yes:no: )
103935     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
103936 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
103937     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
103938 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
103939     ac_header_preproc=yes
103940     ;;
103941   no:yes:* )
103942     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
103943 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
103944     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
103945 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
103946     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
103947 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
103948     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
103949 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
103950     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
103951 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
103952     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
103953 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
103954     (
103955       cat <<\_ASBOX
103956 ## ----------------------------------------- ##
103957 ## Report this to the package-unused lists.  ##
103958 ## ----------------------------------------- ##
103959 _ASBOX
103960     ) |
103961       sed "s/^/$as_me: WARNING:     /" >&2
103962     ;;
103963 esac
103964 echo "$as_me:$LINENO: checking for iconv.h" >&5
103965 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
103966 if test "${ac_cv_header_iconv_h+set}" = set; then
103967   echo $ECHO_N "(cached) $ECHO_C" >&6
103968 else
103969   ac_cv_header_iconv_h=$ac_header_preproc
103970 fi
103971 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
103972 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
103973
103974 fi
103975 if test $ac_cv_header_iconv_h = yes; then
103976   ac_has_iconv_h=yes
103977 else
103978   ac_has_iconv_h=no
103979 fi
103980
103981
103982     if test "${ac_cv_header_langinfo_h+set}" = set; then
103983   echo "$as_me:$LINENO: checking for langinfo.h" >&5
103984 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
103985 if test "${ac_cv_header_langinfo_h+set}" = set; then
103986   echo $ECHO_N "(cached) $ECHO_C" >&6
103987 fi
103988 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
103989 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
103990 else
103991   # Is the header compilable?
103992 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
103993 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
103994 cat >conftest.$ac_ext <<_ACEOF
103995 /* confdefs.h.  */
103996 _ACEOF
103997 cat confdefs.h >>conftest.$ac_ext
103998 cat >>conftest.$ac_ext <<_ACEOF
103999 /* end confdefs.h.  */
104000 $ac_includes_default
104001 #include <langinfo.h>
104002 _ACEOF
104003 rm -f conftest.$ac_objext
104004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104005   (eval $ac_compile) 2>conftest.er1
104006   ac_status=$?
104007   grep -v '^ *+' conftest.er1 >conftest.err
104008   rm -f conftest.er1
104009   cat conftest.err >&5
104010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104011   (exit $ac_status); } &&
104012          { ac_try='test -z "$ac_c_werror_flag"
104013                          || test ! -s conftest.err'
104014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104015   (eval $ac_try) 2>&5
104016   ac_status=$?
104017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104018   (exit $ac_status); }; } &&
104019          { ac_try='test -s conftest.$ac_objext'
104020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104021   (eval $ac_try) 2>&5
104022   ac_status=$?
104023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104024   (exit $ac_status); }; }; then
104025   ac_header_compiler=yes
104026 else
104027   echo "$as_me: failed program was:" >&5
104028 sed 's/^/| /' conftest.$ac_ext >&5
104029
104030 ac_header_compiler=no
104031 fi
104032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104033 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104034 echo "${ECHO_T}$ac_header_compiler" >&6
104035
104036 # Is the header present?
104037 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
104038 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
104039 cat >conftest.$ac_ext <<_ACEOF
104040 /* confdefs.h.  */
104041 _ACEOF
104042 cat confdefs.h >>conftest.$ac_ext
104043 cat >>conftest.$ac_ext <<_ACEOF
104044 /* end confdefs.h.  */
104045 #include <langinfo.h>
104046 _ACEOF
104047 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104048   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104049   ac_status=$?
104050   grep -v '^ *+' conftest.er1 >conftest.err
104051   rm -f conftest.er1
104052   cat conftest.err >&5
104053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104054   (exit $ac_status); } >/dev/null; then
104055   if test -s conftest.err; then
104056     ac_cpp_err=$ac_c_preproc_warn_flag
104057     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104058   else
104059     ac_cpp_err=
104060   fi
104061 else
104062   ac_cpp_err=yes
104063 fi
104064 if test -z "$ac_cpp_err"; then
104065   ac_header_preproc=yes
104066 else
104067   echo "$as_me: failed program was:" >&5
104068 sed 's/^/| /' conftest.$ac_ext >&5
104069
104070   ac_header_preproc=no
104071 fi
104072 rm -f conftest.err conftest.$ac_ext
104073 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104074 echo "${ECHO_T}$ac_header_preproc" >&6
104075
104076 # So?  What about this header?
104077 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104078   yes:no: )
104079     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
104080 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
104081     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
104082 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
104083     ac_header_preproc=yes
104084     ;;
104085   no:yes:* )
104086     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
104087 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
104088     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
104089 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
104090     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
104091 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
104092     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
104093 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
104094     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
104095 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
104096     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
104097 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
104098     (
104099       cat <<\_ASBOX
104100 ## ----------------------------------------- ##
104101 ## Report this to the package-unused lists.  ##
104102 ## ----------------------------------------- ##
104103 _ASBOX
104104     ) |
104105       sed "s/^/$as_me: WARNING:     /" >&2
104106     ;;
104107 esac
104108 echo "$as_me:$LINENO: checking for langinfo.h" >&5
104109 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
104110 if test "${ac_cv_header_langinfo_h+set}" = set; then
104111   echo $ECHO_N "(cached) $ECHO_C" >&6
104112 else
104113   ac_cv_header_langinfo_h=$ac_header_preproc
104114 fi
104115 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
104116 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
104117
104118 fi
104119 if test $ac_cv_header_langinfo_h = yes; then
104120   ac_has_langinfo_h=yes
104121 else
104122   ac_has_langinfo_h=no
104123 fi
104124
104125
104126
104127     # Check for existence of libiconv.a providing XPG2 wchar_t support.
104128     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
104129 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
104130 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
104131   echo $ECHO_N "(cached) $ECHO_C" >&6
104132 else
104133   ac_check_lib_save_LIBS=$LIBS
104134 LIBS="-liconv  $LIBS"
104135 if test x$gcc_no_link = xyes; then
104136   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104138    { (exit 1); exit 1; }; }
104139 fi
104140 cat >conftest.$ac_ext <<_ACEOF
104141 /* confdefs.h.  */
104142 _ACEOF
104143 cat confdefs.h >>conftest.$ac_ext
104144 cat >>conftest.$ac_ext <<_ACEOF
104145 /* end confdefs.h.  */
104146
104147 /* Override any gcc2 internal prototype to avoid an error.  */
104148 #ifdef __cplusplus
104149 extern "C"
104150 #endif
104151 /* We use char because int might match the return type of a gcc2
104152    builtin and then its argument prototype would still apply.  */
104153 char iconv ();
104154 int
104155 main ()
104156 {
104157 iconv ();
104158   ;
104159   return 0;
104160 }
104161 _ACEOF
104162 rm -f conftest.$ac_objext conftest$ac_exeext
104163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104164   (eval $ac_link) 2>conftest.er1
104165   ac_status=$?
104166   grep -v '^ *+' conftest.er1 >conftest.err
104167   rm -f conftest.er1
104168   cat conftest.err >&5
104169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104170   (exit $ac_status); } &&
104171          { ac_try='test -z "$ac_c_werror_flag"
104172                          || test ! -s conftest.err'
104173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104174   (eval $ac_try) 2>&5
104175   ac_status=$?
104176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104177   (exit $ac_status); }; } &&
104178          { ac_try='test -s conftest$ac_exeext'
104179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104180   (eval $ac_try) 2>&5
104181   ac_status=$?
104182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104183   (exit $ac_status); }; }; then
104184   ac_cv_lib_iconv_iconv=yes
104185 else
104186   echo "$as_me: failed program was:" >&5
104187 sed 's/^/| /' conftest.$ac_ext >&5
104188
104189 ac_cv_lib_iconv_iconv=no
104190 fi
104191 rm -f conftest.err conftest.$ac_objext \
104192       conftest$ac_exeext conftest.$ac_ext
104193 LIBS=$ac_check_lib_save_LIBS
104194 fi
104195 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
104196 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
104197 if test $ac_cv_lib_iconv_iconv = yes; then
104198   LIBICONV="-liconv"
104199 fi
104200
104201     ac_save_LIBS="$LIBS"
104202     LIBS="$LIBS $LIBICONV"
104203
104204
104205
104206
104207
104208
104209 for ac_func in iconv_open iconv_close iconv nl_langinfo
104210 do
104211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104212 echo "$as_me:$LINENO: checking for $ac_func" >&5
104213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104214 if eval "test \"\${$as_ac_var+set}\" = set"; then
104215   echo $ECHO_N "(cached) $ECHO_C" >&6
104216 else
104217   if test x$gcc_no_link = xyes; then
104218   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104220    { (exit 1); exit 1; }; }
104221 fi
104222 cat >conftest.$ac_ext <<_ACEOF
104223 /* confdefs.h.  */
104224 _ACEOF
104225 cat confdefs.h >>conftest.$ac_ext
104226 cat >>conftest.$ac_ext <<_ACEOF
104227 /* end confdefs.h.  */
104228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104229    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104230 #define $ac_func innocuous_$ac_func
104231
104232 /* System header to define __stub macros and hopefully few prototypes,
104233     which can conflict with char $ac_func (); below.
104234     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104235     <limits.h> exists even on freestanding compilers.  */
104236
104237 #ifdef __STDC__
104238 # include <limits.h>
104239 #else
104240 # include <assert.h>
104241 #endif
104242
104243 #undef $ac_func
104244
104245 /* Override any gcc2 internal prototype to avoid an error.  */
104246 #ifdef __cplusplus
104247 extern "C"
104248 {
104249 #endif
104250 /* We use char because int might match the return type of a gcc2
104251    builtin and then its argument prototype would still apply.  */
104252 char $ac_func ();
104253 /* The GNU C library defines this for functions which it implements
104254     to always fail with ENOSYS.  Some functions are actually named
104255     something starting with __ and the normal name is an alias.  */
104256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104257 choke me
104258 #else
104259 char (*f) () = $ac_func;
104260 #endif
104261 #ifdef __cplusplus
104262 }
104263 #endif
104264
104265 int
104266 main ()
104267 {
104268 return f != $ac_func;
104269   ;
104270   return 0;
104271 }
104272 _ACEOF
104273 rm -f conftest.$ac_objext conftest$ac_exeext
104274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104275   (eval $ac_link) 2>conftest.er1
104276   ac_status=$?
104277   grep -v '^ *+' conftest.er1 >conftest.err
104278   rm -f conftest.er1
104279   cat conftest.err >&5
104280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104281   (exit $ac_status); } &&
104282          { ac_try='test -z "$ac_c_werror_flag"
104283                          || test ! -s conftest.err'
104284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104285   (eval $ac_try) 2>&5
104286   ac_status=$?
104287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104288   (exit $ac_status); }; } &&
104289          { ac_try='test -s conftest$ac_exeext'
104290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104291   (eval $ac_try) 2>&5
104292   ac_status=$?
104293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104294   (exit $ac_status); }; }; then
104295   eval "$as_ac_var=yes"
104296 else
104297   echo "$as_me: failed program was:" >&5
104298 sed 's/^/| /' conftest.$ac_ext >&5
104299
104300 eval "$as_ac_var=no"
104301 fi
104302 rm -f conftest.err conftest.$ac_objext \
104303       conftest$ac_exeext conftest.$ac_ext
104304 fi
104305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104307 if test `eval echo '${'$as_ac_var'}'` = yes; then
104308   cat >>confdefs.h <<_ACEOF
104309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104310 _ACEOF
104311  ac_XPG2funcs=yes
104312 else
104313   ac_XPG2funcs=no
104314 fi
104315 done
104316
104317
104318     LIBS="$ac_save_LIBS"
104319
104320     if test x"$ac_has_iconv_h" = xyes &&
104321        test x"$ac_has_langinfo_h" = xyes &&
104322        test x"$ac_XPG2funcs" = xyes;
104323     then
104324
104325 cat >>confdefs.h <<\_ACEOF
104326 #define _GLIBCXX_USE_ICONV 1
104327 _ACEOF
104328
104329       enable_iconv=yes
104330     fi
104331   fi
104332   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
104333 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
104334   echo "$as_me:$LINENO: result: $enable_iconv" >&5
104335 echo "${ECHO_T}$enable_iconv" >&6
104336
104337     cat >>confdefs.h <<\_ACEOF
104338 #define HAVE_HYPOT 1
104339 _ACEOF
104340
104341     cat >>confdefs.h <<\_ACEOF
104342 #define HAVE_ISINF 1
104343 _ACEOF
104344
104345     cat >>confdefs.h <<\_ACEOF
104346 #define HAVE_ISNAN 1
104347 _ACEOF
104348
104349
104350     # For showmanyc_helper().
104351
104352
104353 for ac_header in sys/ioctl.h sys/filio.h
104354 do
104355 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
104356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104357   echo "$as_me:$LINENO: checking for $ac_header" >&5
104358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104360   echo $ECHO_N "(cached) $ECHO_C" >&6
104361 fi
104362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104364 else
104365   # Is the header compilable?
104366 echo "$as_me:$LINENO: checking $ac_header usability" >&5
104367 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
104368 cat >conftest.$ac_ext <<_ACEOF
104369 /* confdefs.h.  */
104370 _ACEOF
104371 cat confdefs.h >>conftest.$ac_ext
104372 cat >>conftest.$ac_ext <<_ACEOF
104373 /* end confdefs.h.  */
104374 $ac_includes_default
104375 #include <$ac_header>
104376 _ACEOF
104377 rm -f conftest.$ac_objext
104378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104379   (eval $ac_compile) 2>conftest.er1
104380   ac_status=$?
104381   grep -v '^ *+' conftest.er1 >conftest.err
104382   rm -f conftest.er1
104383   cat conftest.err >&5
104384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104385   (exit $ac_status); } &&
104386          { ac_try='test -z "$ac_c_werror_flag"
104387                          || test ! -s conftest.err'
104388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104389   (eval $ac_try) 2>&5
104390   ac_status=$?
104391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104392   (exit $ac_status); }; } &&
104393          { ac_try='test -s conftest.$ac_objext'
104394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104395   (eval $ac_try) 2>&5
104396   ac_status=$?
104397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104398   (exit $ac_status); }; }; then
104399   ac_header_compiler=yes
104400 else
104401   echo "$as_me: failed program was:" >&5
104402 sed 's/^/| /' conftest.$ac_ext >&5
104403
104404 ac_header_compiler=no
104405 fi
104406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104407 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104408 echo "${ECHO_T}$ac_header_compiler" >&6
104409
104410 # Is the header present?
104411 echo "$as_me:$LINENO: checking $ac_header presence" >&5
104412 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
104413 cat >conftest.$ac_ext <<_ACEOF
104414 /* confdefs.h.  */
104415 _ACEOF
104416 cat confdefs.h >>conftest.$ac_ext
104417 cat >>conftest.$ac_ext <<_ACEOF
104418 /* end confdefs.h.  */
104419 #include <$ac_header>
104420 _ACEOF
104421 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104422   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104423   ac_status=$?
104424   grep -v '^ *+' conftest.er1 >conftest.err
104425   rm -f conftest.er1
104426   cat conftest.err >&5
104427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104428   (exit $ac_status); } >/dev/null; then
104429   if test -s conftest.err; then
104430     ac_cpp_err=$ac_c_preproc_warn_flag
104431     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104432   else
104433     ac_cpp_err=
104434   fi
104435 else
104436   ac_cpp_err=yes
104437 fi
104438 if test -z "$ac_cpp_err"; then
104439   ac_header_preproc=yes
104440 else
104441   echo "$as_me: failed program was:" >&5
104442 sed 's/^/| /' conftest.$ac_ext >&5
104443
104444   ac_header_preproc=no
104445 fi
104446 rm -f conftest.err conftest.$ac_ext
104447 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104448 echo "${ECHO_T}$ac_header_preproc" >&6
104449
104450 # So?  What about this header?
104451 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104452   yes:no: )
104453     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
104454 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
104455     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
104456 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
104457     ac_header_preproc=yes
104458     ;;
104459   no:yes:* )
104460     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
104461 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
104462     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
104463 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
104464     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
104465 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
104466     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
104467 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
104468     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
104469 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
104470     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
104471 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
104472     (
104473       cat <<\_ASBOX
104474 ## ----------------------------------------- ##
104475 ## Report this to the package-unused lists.  ##
104476 ## ----------------------------------------- ##
104477 _ASBOX
104478     ) |
104479       sed "s/^/$as_me: WARNING:     /" >&2
104480     ;;
104481 esac
104482 echo "$as_me:$LINENO: checking for $ac_header" >&5
104483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104485   echo $ECHO_N "(cached) $ECHO_C" >&6
104486 else
104487   eval "$as_ac_Header=\$ac_header_preproc"
104488 fi
104489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104491
104492 fi
104493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
104494   cat >>confdefs.h <<_ACEOF
104495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
104496 _ACEOF
104497
104498 fi
104499
104500 done
104501
104502
104503   echo "$as_me:$LINENO: checking for poll" >&5
104504 echo $ECHO_N "checking for poll... $ECHO_C" >&6
104505   if test "${glibcxx_cv_POLL+set}" = set; then
104506   echo $ECHO_N "(cached) $ECHO_C" >&6
104507 else
104508
104509     if test x$gcc_no_link = xyes; then
104510   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104512    { (exit 1); exit 1; }; }
104513 fi
104514 cat >conftest.$ac_ext <<_ACEOF
104515 /* confdefs.h.  */
104516 _ACEOF
104517 cat confdefs.h >>conftest.$ac_ext
104518 cat >>conftest.$ac_ext <<_ACEOF
104519 /* end confdefs.h.  */
104520 #include <poll.h>
104521 int
104522 main ()
104523 {
104524 struct pollfd pfd[1];
104525        pfd[0].events = POLLIN;
104526        poll(pfd, 1, 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_POLL=yes
104554 else
104555   echo "$as_me: failed program was:" >&5
104556 sed 's/^/| /' conftest.$ac_ext >&5
104557
104558 glibcxx_cv_POLL=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_POLL = yes; then
104566
104567 cat >>confdefs.h <<\_ACEOF
104568 #define HAVE_POLL 1
104569 _ACEOF
104570
104571   fi
104572   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
104573 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
104574
104575
104576   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
104577 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
104578   if test "${glibcxx_cv_S_ISREG+set}" = set; then
104579   echo $ECHO_N "(cached) $ECHO_C" >&6
104580 else
104581
104582     if test x$gcc_no_link = xyes; then
104583   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104585    { (exit 1); exit 1; }; }
104586 fi
104587 cat >conftest.$ac_ext <<_ACEOF
104588 /* confdefs.h.  */
104589 _ACEOF
104590 cat confdefs.h >>conftest.$ac_ext
104591 cat >>conftest.$ac_ext <<_ACEOF
104592 /* end confdefs.h.  */
104593 #include <sys/stat.h>
104594 int
104595 main ()
104596 {
104597 struct stat buffer;
104598        fstat(0, &buffer);
104599        S_ISREG(buffer.st_mode);
104600   ;
104601   return 0;
104602 }
104603 _ACEOF
104604 rm -f conftest.$ac_objext conftest$ac_exeext
104605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104606   (eval $ac_link) 2>conftest.er1
104607   ac_status=$?
104608   grep -v '^ *+' conftest.er1 >conftest.err
104609   rm -f conftest.er1
104610   cat conftest.err >&5
104611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104612   (exit $ac_status); } &&
104613          { ac_try='test -z "$ac_c_werror_flag"
104614                          || test ! -s conftest.err'
104615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104616   (eval $ac_try) 2>&5
104617   ac_status=$?
104618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104619   (exit $ac_status); }; } &&
104620          { ac_try='test -s conftest$ac_exeext'
104621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104622   (eval $ac_try) 2>&5
104623   ac_status=$?
104624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104625   (exit $ac_status); }; }; then
104626   glibcxx_cv_S_ISREG=yes
104627 else
104628   echo "$as_me: failed program was:" >&5
104629 sed 's/^/| /' conftest.$ac_ext >&5
104630
104631 glibcxx_cv_S_ISREG=no
104632 fi
104633 rm -f conftest.err conftest.$ac_objext \
104634       conftest$ac_exeext conftest.$ac_ext
104635
104636 fi
104637
104638   if test "${glibcxx_cv_S_IFREG+set}" = set; then
104639   echo $ECHO_N "(cached) $ECHO_C" >&6
104640 else
104641
104642     if test x$gcc_no_link = xyes; then
104643   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104645    { (exit 1); exit 1; }; }
104646 fi
104647 cat >conftest.$ac_ext <<_ACEOF
104648 /* confdefs.h.  */
104649 _ACEOF
104650 cat confdefs.h >>conftest.$ac_ext
104651 cat >>conftest.$ac_ext <<_ACEOF
104652 /* end confdefs.h.  */
104653 #include <sys/stat.h>
104654 int
104655 main ()
104656 {
104657 struct stat buffer;
104658        fstat(0, &buffer);
104659        S_IFREG & buffer.st_mode;
104660   ;
104661   return 0;
104662 }
104663 _ACEOF
104664 rm -f conftest.$ac_objext conftest$ac_exeext
104665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104666   (eval $ac_link) 2>conftest.er1
104667   ac_status=$?
104668   grep -v '^ *+' conftest.er1 >conftest.err
104669   rm -f conftest.er1
104670   cat conftest.err >&5
104671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104672   (exit $ac_status); } &&
104673          { ac_try='test -z "$ac_c_werror_flag"
104674                          || test ! -s conftest.err'
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); }; } &&
104680          { ac_try='test -s conftest$ac_exeext'
104681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104682   (eval $ac_try) 2>&5
104683   ac_status=$?
104684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104685   (exit $ac_status); }; }; then
104686   glibcxx_cv_S_IFREG=yes
104687 else
104688   echo "$as_me: failed program was:" >&5
104689 sed 's/^/| /' conftest.$ac_ext >&5
104690
104691 glibcxx_cv_S_IFREG=no
104692 fi
104693 rm -f conftest.err conftest.$ac_objext \
104694       conftest$ac_exeext conftest.$ac_ext
104695
104696 fi
104697
104698   res=no
104699   if test $glibcxx_cv_S_ISREG = yes; then
104700
104701 cat >>confdefs.h <<\_ACEOF
104702 #define HAVE_S_ISREG 1
104703 _ACEOF
104704
104705     res=S_ISREG
104706   elif test $glibcxx_cv_S_IFREG = yes; then
104707
104708 cat >>confdefs.h <<\_ACEOF
104709 #define HAVE_S_IFREG 1
104710 _ACEOF
104711
104712     res=S_IFREG
104713   fi
104714   echo "$as_me:$LINENO: result: $res" >&5
104715 echo "${ECHO_T}$res" >&6
104716
104717
104718     # For xsputn_2().
104719
104720 for ac_header in sys/uio.h
104721 do
104722 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
104723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104724   echo "$as_me:$LINENO: checking for $ac_header" >&5
104725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104727   echo $ECHO_N "(cached) $ECHO_C" >&6
104728 fi
104729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104730 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104731 else
104732   # Is the header compilable?
104733 echo "$as_me:$LINENO: checking $ac_header usability" >&5
104734 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
104735 cat >conftest.$ac_ext <<_ACEOF
104736 /* confdefs.h.  */
104737 _ACEOF
104738 cat confdefs.h >>conftest.$ac_ext
104739 cat >>conftest.$ac_ext <<_ACEOF
104740 /* end confdefs.h.  */
104741 $ac_includes_default
104742 #include <$ac_header>
104743 _ACEOF
104744 rm -f conftest.$ac_objext
104745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104746   (eval $ac_compile) 2>conftest.er1
104747   ac_status=$?
104748   grep -v '^ *+' conftest.er1 >conftest.err
104749   rm -f conftest.er1
104750   cat conftest.err >&5
104751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104752   (exit $ac_status); } &&
104753          { ac_try='test -z "$ac_c_werror_flag"
104754                          || test ! -s conftest.err'
104755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104756   (eval $ac_try) 2>&5
104757   ac_status=$?
104758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104759   (exit $ac_status); }; } &&
104760          { ac_try='test -s conftest.$ac_objext'
104761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104762   (eval $ac_try) 2>&5
104763   ac_status=$?
104764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104765   (exit $ac_status); }; }; then
104766   ac_header_compiler=yes
104767 else
104768   echo "$as_me: failed program was:" >&5
104769 sed 's/^/| /' conftest.$ac_ext >&5
104770
104771 ac_header_compiler=no
104772 fi
104773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104774 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104775 echo "${ECHO_T}$ac_header_compiler" >&6
104776
104777 # Is the header present?
104778 echo "$as_me:$LINENO: checking $ac_header presence" >&5
104779 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
104780 cat >conftest.$ac_ext <<_ACEOF
104781 /* confdefs.h.  */
104782 _ACEOF
104783 cat confdefs.h >>conftest.$ac_ext
104784 cat >>conftest.$ac_ext <<_ACEOF
104785 /* end confdefs.h.  */
104786 #include <$ac_header>
104787 _ACEOF
104788 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104789   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104790   ac_status=$?
104791   grep -v '^ *+' conftest.er1 >conftest.err
104792   rm -f conftest.er1
104793   cat conftest.err >&5
104794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104795   (exit $ac_status); } >/dev/null; then
104796   if test -s conftest.err; then
104797     ac_cpp_err=$ac_c_preproc_warn_flag
104798     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104799   else
104800     ac_cpp_err=
104801   fi
104802 else
104803   ac_cpp_err=yes
104804 fi
104805 if test -z "$ac_cpp_err"; then
104806   ac_header_preproc=yes
104807 else
104808   echo "$as_me: failed program was:" >&5
104809 sed 's/^/| /' conftest.$ac_ext >&5
104810
104811   ac_header_preproc=no
104812 fi
104813 rm -f conftest.err conftest.$ac_ext
104814 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104815 echo "${ECHO_T}$ac_header_preproc" >&6
104816
104817 # So?  What about this header?
104818 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104819   yes:no: )
104820     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
104821 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
104822     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
104823 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
104824     ac_header_preproc=yes
104825     ;;
104826   no:yes:* )
104827     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
104828 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
104829     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
104830 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
104831     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
104832 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
104833     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
104834 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
104835     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
104836 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
104837     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
104838 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
104839     (
104840       cat <<\_ASBOX
104841 ## ----------------------------------------- ##
104842 ## Report this to the package-unused lists.  ##
104843 ## ----------------------------------------- ##
104844 _ASBOX
104845     ) |
104846       sed "s/^/$as_me: WARNING:     /" >&2
104847     ;;
104848 esac
104849 echo "$as_me:$LINENO: checking for $ac_header" >&5
104850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104852   echo $ECHO_N "(cached) $ECHO_C" >&6
104853 else
104854   eval "$as_ac_Header=\$ac_header_preproc"
104855 fi
104856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104857 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104858
104859 fi
104860 if test `eval echo '${'$as_ac_Header'}'` = yes; then
104861   cat >>confdefs.h <<_ACEOF
104862 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
104863 _ACEOF
104864
104865 fi
104866
104867 done
104868
104869
104870   echo "$as_me:$LINENO: checking for writev" >&5
104871 echo $ECHO_N "checking for writev... $ECHO_C" >&6
104872   if test "${glibcxx_cv_WRITEV+set}" = set; then
104873   echo $ECHO_N "(cached) $ECHO_C" >&6
104874 else
104875
104876     if test x$gcc_no_link = xyes; then
104877   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104879    { (exit 1); exit 1; }; }
104880 fi
104881 cat >conftest.$ac_ext <<_ACEOF
104882 /* confdefs.h.  */
104883 _ACEOF
104884 cat confdefs.h >>conftest.$ac_ext
104885 cat >>conftest.$ac_ext <<_ACEOF
104886 /* end confdefs.h.  */
104887 #include <sys/uio.h>
104888 int
104889 main ()
104890 {
104891 struct iovec iov[2];
104892        writev(0, iov, 0);
104893   ;
104894   return 0;
104895 }
104896 _ACEOF
104897 rm -f conftest.$ac_objext conftest$ac_exeext
104898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104899   (eval $ac_link) 2>conftest.er1
104900   ac_status=$?
104901   grep -v '^ *+' conftest.er1 >conftest.err
104902   rm -f conftest.er1
104903   cat conftest.err >&5
104904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104905   (exit $ac_status); } &&
104906          { ac_try='test -z "$ac_c_werror_flag"
104907                          || test ! -s conftest.err'
104908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104909   (eval $ac_try) 2>&5
104910   ac_status=$?
104911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104912   (exit $ac_status); }; } &&
104913          { ac_try='test -s conftest$ac_exeext'
104914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104915   (eval $ac_try) 2>&5
104916   ac_status=$?
104917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104918   (exit $ac_status); }; }; then
104919   glibcxx_cv_WRITEV=yes
104920 else
104921   echo "$as_me: failed program was:" >&5
104922 sed 's/^/| /' conftest.$ac_ext >&5
104923
104924 glibcxx_cv_WRITEV=no
104925 fi
104926 rm -f conftest.err conftest.$ac_objext \
104927       conftest$ac_exeext conftest.$ac_ext
104928
104929 fi
104930
104931   if test $glibcxx_cv_WRITEV = yes; then
104932
104933 cat >>confdefs.h <<\_ACEOF
104934 #define HAVE_WRITEV 1
104935 _ACEOF
104936
104937   fi
104938   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
104939 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
104940
104941     ;;
104942   *-qnx6.1* | *-qnx6.2*)
104943     SECTION_FLAGS='-ffunction-sections -fdata-sections'
104944
104945
104946   # If we're not using GNU ld, then there's no point in even trying these
104947   # tests.  Check for that first.  We should have already tested for gld
104948   # by now (in libtool), but require it now just to be safe...
104949   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
104950   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
104951
104952
104953
104954   # The name set by libtool depends on the version of libtool.  Shame on us
104955   # for depending on an impl detail, but c'est la vie.  Older versions used
104956   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
104957   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
104958   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
104959   # set (hence we're using an older libtool), then set it.
104960   if test x${with_gnu_ld+set} != xset; then
104961     if test x${ac_cv_prog_gnu_ld+set} != xset; then
104962       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
104963       with_gnu_ld=no
104964     else
104965       with_gnu_ld=$ac_cv_prog_gnu_ld
104966     fi
104967   fi
104968
104969   # Start by getting the version number.  I think the libtool test already
104970   # does some of this, but throws away the result.
104971   echo "$as_me:$LINENO: checking for ld version" >&5
104972 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
104973
104974   ldver=`$LD --version 2>/dev/null | head -1 | \
104975          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
104976
104977   glibcxx_gnu_ld_version=`echo $ldver | \
104978          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
104979   echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
104980 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
104981
104982   # Set --gc-sections.
104983   glibcxx_gcsections_min_ld=21602
104984   if test x"$with_gnu_ld" = x"yes" &&
104985         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
104986
104987     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
104988     # NB: This flag only works reliably after 2.16.1. Configure tests
104989     # for this are difficult, so hard wire a value that should work.
104990
104991     # All these tests are for C++, but run with the "C" compiler driver.
104992     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
104993     ac_test_CFLAGS="${CFLAGS+set}"
104994     ac_save_CFLAGS="$CFLAGS"
104995     CFLAGS='-x c++ -Wl,--gc-sections'
104996
104997     # Check for -Wl,--gc-sections
104998     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
104999 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
105000     if test x$gcc_no_link = xyes; then
105001   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105003    { (exit 1); exit 1; }; }
105004 fi
105005 cat >conftest.$ac_ext <<_ACEOF
105006 /* confdefs.h.  */
105007 _ACEOF
105008 cat confdefs.h >>conftest.$ac_ext
105009 cat >>conftest.$ac_ext <<_ACEOF
105010 /* end confdefs.h.  */
105011  int one(void) { return 1; }
105012      int two(void) { return 2; }
105013
105014 int
105015 main ()
105016 {
105017  two();
105018   ;
105019   return 0;
105020 }
105021 _ACEOF
105022 rm -f conftest.$ac_objext conftest$ac_exeext
105023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105024   (eval $ac_link) 2>conftest.er1
105025   ac_status=$?
105026   grep -v '^ *+' conftest.er1 >conftest.err
105027   rm -f conftest.er1
105028   cat conftest.err >&5
105029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105030   (exit $ac_status); } &&
105031          { ac_try='test -z "$ac_c_werror_flag"
105032                          || test ! -s conftest.err'
105033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105034   (eval $ac_try) 2>&5
105035   ac_status=$?
105036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105037   (exit $ac_status); }; } &&
105038          { ac_try='test -s conftest$ac_exeext'
105039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105040   (eval $ac_try) 2>&5
105041   ac_status=$?
105042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105043   (exit $ac_status); }; }; then
105044   ac_gcsections=yes
105045 else
105046   echo "$as_me: failed program was:" >&5
105047 sed 's/^/| /' conftest.$ac_ext >&5
105048
105049 ac_gcsections=no
105050 fi
105051 rm -f conftest.err conftest.$ac_objext \
105052       conftest$ac_exeext conftest.$ac_ext
105053     if test "$ac_gcsections" = "yes"; then
105054       rm -f conftest.c
105055       touch conftest.c
105056       if $CC -c conftest.c; then
105057         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
105058            grep "Warning: gc-sections option ignored" > /dev/null; then
105059           ac_gcsections=no
105060         fi
105061       fi
105062       rm -f conftest.c conftest.o conftest
105063     fi
105064     if test "$ac_gcsections" = "yes"; then
105065       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
105066     fi
105067     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
105068 echo "${ECHO_T}$ac_gcsections" >&6
105069
105070     if test "$ac_test_CFLAGS" = set; then
105071       CFLAGS="$ac_save_CFLAGS"
105072     else
105073       # this is the suspicious part
105074       CFLAGS=''
105075     fi
105076   fi
105077
105078   # Set -z,relro.
105079   # Note this is only for shared objects.
105080   ac_ld_relro=no
105081   if test x"$with_gnu_ld" = x"yes"; then
105082     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
105083 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
105084     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
105085     if test -n "$cxx_z_relo"; then
105086       OPT_LDFLAGS="-Wl,-z,relro"
105087       ac_ld_relro=yes
105088     fi
105089     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
105090 echo "${ECHO_T}$ac_ld_relro" >&6
105091   fi
105092
105093   # Set linker optimization flags.
105094   if test x"$with_gnu_ld" = x"yes"; then
105095     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
105096   fi
105097
105098
105099
105100
105101
105102
105103 echo "$as_me:$LINENO: checking for main in -lm" >&5
105104 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
105105 if test "${ac_cv_lib_m_main+set}" = set; then
105106   echo $ECHO_N "(cached) $ECHO_C" >&6
105107 else
105108   ac_check_lib_save_LIBS=$LIBS
105109 LIBS="-lm  $LIBS"
105110 if test x$gcc_no_link = xyes; then
105111   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105113    { (exit 1); exit 1; }; }
105114 fi
105115 cat >conftest.$ac_ext <<_ACEOF
105116 /* confdefs.h.  */
105117 _ACEOF
105118 cat confdefs.h >>conftest.$ac_ext
105119 cat >>conftest.$ac_ext <<_ACEOF
105120 /* end confdefs.h.  */
105121
105122
105123 int
105124 main ()
105125 {
105126 main ();
105127   ;
105128   return 0;
105129 }
105130 _ACEOF
105131 rm -f conftest.$ac_objext conftest$ac_exeext
105132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105133   (eval $ac_link) 2>conftest.er1
105134   ac_status=$?
105135   grep -v '^ *+' conftest.er1 >conftest.err
105136   rm -f conftest.er1
105137   cat conftest.err >&5
105138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105139   (exit $ac_status); } &&
105140          { ac_try='test -z "$ac_c_werror_flag"
105141                          || test ! -s conftest.err'
105142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105143   (eval $ac_try) 2>&5
105144   ac_status=$?
105145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105146   (exit $ac_status); }; } &&
105147          { ac_try='test -s conftest$ac_exeext'
105148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105149   (eval $ac_try) 2>&5
105150   ac_status=$?
105151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105152   (exit $ac_status); }; }; then
105153   ac_cv_lib_m_main=yes
105154 else
105155   echo "$as_me: failed program was:" >&5
105156 sed 's/^/| /' conftest.$ac_ext >&5
105157
105158 ac_cv_lib_m_main=no
105159 fi
105160 rm -f conftest.err conftest.$ac_objext \
105161       conftest$ac_exeext conftest.$ac_ext
105162 LIBS=$ac_check_lib_save_LIBS
105163 fi
105164 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
105165 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
105166 if test $ac_cv_lib_m_main = yes; then
105167   cat >>confdefs.h <<_ACEOF
105168 #define HAVE_LIBM 1
105169 _ACEOF
105170
105171   LIBS="-lm $LIBS"
105172
105173 fi
105174
105175
105176 for ac_func in copysignf
105177 do
105178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105179 echo "$as_me:$LINENO: checking for $ac_func" >&5
105180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105181 if eval "test \"\${$as_ac_var+set}\" = set"; then
105182   echo $ECHO_N "(cached) $ECHO_C" >&6
105183 else
105184   if test x$gcc_no_link = xyes; then
105185   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105187    { (exit 1); exit 1; }; }
105188 fi
105189 cat >conftest.$ac_ext <<_ACEOF
105190 /* confdefs.h.  */
105191 _ACEOF
105192 cat confdefs.h >>conftest.$ac_ext
105193 cat >>conftest.$ac_ext <<_ACEOF
105194 /* end confdefs.h.  */
105195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105196    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105197 #define $ac_func innocuous_$ac_func
105198
105199 /* System header to define __stub macros and hopefully few prototypes,
105200     which can conflict with char $ac_func (); below.
105201     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105202     <limits.h> exists even on freestanding compilers.  */
105203
105204 #ifdef __STDC__
105205 # include <limits.h>
105206 #else
105207 # include <assert.h>
105208 #endif
105209
105210 #undef $ac_func
105211
105212 /* Override any gcc2 internal prototype to avoid an error.  */
105213 #ifdef __cplusplus
105214 extern "C"
105215 {
105216 #endif
105217 /* We use char because int might match the return type of a gcc2
105218    builtin and then its argument prototype would still apply.  */
105219 char $ac_func ();
105220 /* The GNU C library defines this for functions which it implements
105221     to always fail with ENOSYS.  Some functions are actually named
105222     something starting with __ and the normal name is an alias.  */
105223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105224 choke me
105225 #else
105226 char (*f) () = $ac_func;
105227 #endif
105228 #ifdef __cplusplus
105229 }
105230 #endif
105231
105232 int
105233 main ()
105234 {
105235 return f != $ac_func;
105236   ;
105237   return 0;
105238 }
105239 _ACEOF
105240 rm -f conftest.$ac_objext conftest$ac_exeext
105241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105242   (eval $ac_link) 2>conftest.er1
105243   ac_status=$?
105244   grep -v '^ *+' conftest.er1 >conftest.err
105245   rm -f conftest.er1
105246   cat conftest.err >&5
105247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105248   (exit $ac_status); } &&
105249          { ac_try='test -z "$ac_c_werror_flag"
105250                          || test ! -s conftest.err'
105251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105252   (eval $ac_try) 2>&5
105253   ac_status=$?
105254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105255   (exit $ac_status); }; } &&
105256          { ac_try='test -s conftest$ac_exeext'
105257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105258   (eval $ac_try) 2>&5
105259   ac_status=$?
105260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105261   (exit $ac_status); }; }; then
105262   eval "$as_ac_var=yes"
105263 else
105264   echo "$as_me: failed program was:" >&5
105265 sed 's/^/| /' conftest.$ac_ext >&5
105266
105267 eval "$as_ac_var=no"
105268 fi
105269 rm -f conftest.err conftest.$ac_objext \
105270       conftest$ac_exeext conftest.$ac_ext
105271 fi
105272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105274 if test `eval echo '${'$as_ac_var'}'` = yes; then
105275   cat >>confdefs.h <<_ACEOF
105276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105277 _ACEOF
105278
105279 else
105280   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
105281 fi
105282 done
105283
105284
105285
105286 for ac_func in __signbit
105287 do
105288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105289 echo "$as_me:$LINENO: checking for $ac_func" >&5
105290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105291 if eval "test \"\${$as_ac_var+set}\" = set"; then
105292   echo $ECHO_N "(cached) $ECHO_C" >&6
105293 else
105294   if test x$gcc_no_link = xyes; then
105295   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105297    { (exit 1); exit 1; }; }
105298 fi
105299 cat >conftest.$ac_ext <<_ACEOF
105300 /* confdefs.h.  */
105301 _ACEOF
105302 cat confdefs.h >>conftest.$ac_ext
105303 cat >>conftest.$ac_ext <<_ACEOF
105304 /* end confdefs.h.  */
105305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105306    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105307 #define $ac_func innocuous_$ac_func
105308
105309 /* System header to define __stub macros and hopefully few prototypes,
105310     which can conflict with char $ac_func (); below.
105311     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105312     <limits.h> exists even on freestanding compilers.  */
105313
105314 #ifdef __STDC__
105315 # include <limits.h>
105316 #else
105317 # include <assert.h>
105318 #endif
105319
105320 #undef $ac_func
105321
105322 /* Override any gcc2 internal prototype to avoid an error.  */
105323 #ifdef __cplusplus
105324 extern "C"
105325 {
105326 #endif
105327 /* We use char because int might match the return type of a gcc2
105328    builtin and then its argument prototype would still apply.  */
105329 char $ac_func ();
105330 /* The GNU C library defines this for functions which it implements
105331     to always fail with ENOSYS.  Some functions are actually named
105332     something starting with __ and the normal name is an alias.  */
105333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105334 choke me
105335 #else
105336 char (*f) () = $ac_func;
105337 #endif
105338 #ifdef __cplusplus
105339 }
105340 #endif
105341
105342 int
105343 main ()
105344 {
105345 return f != $ac_func;
105346   ;
105347   return 0;
105348 }
105349 _ACEOF
105350 rm -f conftest.$ac_objext conftest$ac_exeext
105351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105352   (eval $ac_link) 2>conftest.er1
105353   ac_status=$?
105354   grep -v '^ *+' conftest.er1 >conftest.err
105355   rm -f conftest.er1
105356   cat conftest.err >&5
105357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105358   (exit $ac_status); } &&
105359          { ac_try='test -z "$ac_c_werror_flag"
105360                          || test ! -s conftest.err'
105361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105362   (eval $ac_try) 2>&5
105363   ac_status=$?
105364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105365   (exit $ac_status); }; } &&
105366          { ac_try='test -s conftest$ac_exeext'
105367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105368   (eval $ac_try) 2>&5
105369   ac_status=$?
105370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105371   (exit $ac_status); }; }; then
105372   eval "$as_ac_var=yes"
105373 else
105374   echo "$as_me: failed program was:" >&5
105375 sed 's/^/| /' conftest.$ac_ext >&5
105376
105377 eval "$as_ac_var=no"
105378 fi
105379 rm -f conftest.err conftest.$ac_objext \
105380       conftest$ac_exeext conftest.$ac_ext
105381 fi
105382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105384 if test `eval echo '${'$as_ac_var'}'` = yes; then
105385   cat >>confdefs.h <<_ACEOF
105386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105387 _ACEOF
105388
105389 else
105390   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
105391 fi
105392 done
105393
105394
105395
105396 for ac_func in __signbitf
105397 do
105398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105399 echo "$as_me:$LINENO: checking for $ac_func" >&5
105400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105401 if eval "test \"\${$as_ac_var+set}\" = set"; then
105402   echo $ECHO_N "(cached) $ECHO_C" >&6
105403 else
105404   if test x$gcc_no_link = xyes; then
105405   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105407    { (exit 1); exit 1; }; }
105408 fi
105409 cat >conftest.$ac_ext <<_ACEOF
105410 /* confdefs.h.  */
105411 _ACEOF
105412 cat confdefs.h >>conftest.$ac_ext
105413 cat >>conftest.$ac_ext <<_ACEOF
105414 /* end confdefs.h.  */
105415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105416    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105417 #define $ac_func innocuous_$ac_func
105418
105419 /* System header to define __stub macros and hopefully few prototypes,
105420     which can conflict with char $ac_func (); below.
105421     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105422     <limits.h> exists even on freestanding compilers.  */
105423
105424 #ifdef __STDC__
105425 # include <limits.h>
105426 #else
105427 # include <assert.h>
105428 #endif
105429
105430 #undef $ac_func
105431
105432 /* Override any gcc2 internal prototype to avoid an error.  */
105433 #ifdef __cplusplus
105434 extern "C"
105435 {
105436 #endif
105437 /* We use char because int might match the return type of a gcc2
105438    builtin and then its argument prototype would still apply.  */
105439 char $ac_func ();
105440 /* The GNU C library defines this for functions which it implements
105441     to always fail with ENOSYS.  Some functions are actually named
105442     something starting with __ and the normal name is an alias.  */
105443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105444 choke me
105445 #else
105446 char (*f) () = $ac_func;
105447 #endif
105448 #ifdef __cplusplus
105449 }
105450 #endif
105451
105452 int
105453 main ()
105454 {
105455 return f != $ac_func;
105456   ;
105457   return 0;
105458 }
105459 _ACEOF
105460 rm -f conftest.$ac_objext conftest$ac_exeext
105461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105462   (eval $ac_link) 2>conftest.er1
105463   ac_status=$?
105464   grep -v '^ *+' conftest.er1 >conftest.err
105465   rm -f conftest.er1
105466   cat conftest.err >&5
105467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105468   (exit $ac_status); } &&
105469          { ac_try='test -z "$ac_c_werror_flag"
105470                          || test ! -s conftest.err'
105471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105472   (eval $ac_try) 2>&5
105473   ac_status=$?
105474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105475   (exit $ac_status); }; } &&
105476          { ac_try='test -s conftest$ac_exeext'
105477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105478   (eval $ac_try) 2>&5
105479   ac_status=$?
105480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105481   (exit $ac_status); }; }; then
105482   eval "$as_ac_var=yes"
105483 else
105484   echo "$as_me: failed program was:" >&5
105485 sed 's/^/| /' conftest.$ac_ext >&5
105486
105487 eval "$as_ac_var=no"
105488 fi
105489 rm -f conftest.err conftest.$ac_objext \
105490       conftest$ac_exeext conftest.$ac_ext
105491 fi
105492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105494 if test `eval echo '${'$as_ac_var'}'` = yes; then
105495   cat >>confdefs.h <<_ACEOF
105496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105497 _ACEOF
105498
105499 else
105500   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
105501 fi
105502 done
105503
105504
105505           if test x$ac_cv_func_copysignl = x"yes"; then
105506
105507 for ac_func in __signbitl
105508 do
105509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105510 echo "$as_me:$LINENO: checking for $ac_func" >&5
105511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105512 if eval "test \"\${$as_ac_var+set}\" = set"; then
105513   echo $ECHO_N "(cached) $ECHO_C" >&6
105514 else
105515   if test x$gcc_no_link = xyes; then
105516   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105518    { (exit 1); exit 1; }; }
105519 fi
105520 cat >conftest.$ac_ext <<_ACEOF
105521 /* confdefs.h.  */
105522 _ACEOF
105523 cat confdefs.h >>conftest.$ac_ext
105524 cat >>conftest.$ac_ext <<_ACEOF
105525 /* end confdefs.h.  */
105526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105527    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105528 #define $ac_func innocuous_$ac_func
105529
105530 /* System header to define __stub macros and hopefully few prototypes,
105531     which can conflict with char $ac_func (); below.
105532     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105533     <limits.h> exists even on freestanding compilers.  */
105534
105535 #ifdef __STDC__
105536 # include <limits.h>
105537 #else
105538 # include <assert.h>
105539 #endif
105540
105541 #undef $ac_func
105542
105543 /* Override any gcc2 internal prototype to avoid an error.  */
105544 #ifdef __cplusplus
105545 extern "C"
105546 {
105547 #endif
105548 /* We use char because int might match the return type of a gcc2
105549    builtin and then its argument prototype would still apply.  */
105550 char $ac_func ();
105551 /* The GNU C library defines this for functions which it implements
105552     to always fail with ENOSYS.  Some functions are actually named
105553     something starting with __ and the normal name is an alias.  */
105554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105555 choke me
105556 #else
105557 char (*f) () = $ac_func;
105558 #endif
105559 #ifdef __cplusplus
105560 }
105561 #endif
105562
105563 int
105564 main ()
105565 {
105566 return f != $ac_func;
105567   ;
105568   return 0;
105569 }
105570 _ACEOF
105571 rm -f conftest.$ac_objext conftest$ac_exeext
105572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105573   (eval $ac_link) 2>conftest.er1
105574   ac_status=$?
105575   grep -v '^ *+' conftest.er1 >conftest.err
105576   rm -f conftest.er1
105577   cat conftest.err >&5
105578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105579   (exit $ac_status); } &&
105580          { ac_try='test -z "$ac_c_werror_flag"
105581                          || test ! -s conftest.err'
105582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105583   (eval $ac_try) 2>&5
105584   ac_status=$?
105585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105586   (exit $ac_status); }; } &&
105587          { ac_try='test -s conftest$ac_exeext'
105588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105589   (eval $ac_try) 2>&5
105590   ac_status=$?
105591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105592   (exit $ac_status); }; }; then
105593   eval "$as_ac_var=yes"
105594 else
105595   echo "$as_me: failed program was:" >&5
105596 sed 's/^/| /' conftest.$ac_ext >&5
105597
105598 eval "$as_ac_var=no"
105599 fi
105600 rm -f conftest.err conftest.$ac_objext \
105601       conftest$ac_exeext conftest.$ac_ext
105602 fi
105603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105605 if test `eval echo '${'$as_ac_var'}'` = yes; then
105606   cat >>confdefs.h <<_ACEOF
105607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105608 _ACEOF
105609
105610 else
105611   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
105612 fi
105613 done
105614
105615   fi
105616
105617   # Used in libmath/Makefile.am.
105618   if test -n "$LIBMATHOBJS"; then
105619     need_libmath=yes
105620   fi
105621
105622
105623
105624
105625   enable_iconv=no
105626   # Only continue checking if the ISO C99 headers exist and support is on.
105627   if test x"$enable_wchar_t" = xyes; then
105628
105629     # Use iconv for wchar_t to char conversions. As such, check for
105630     # X/Open Portability Guide, version 2 features (XPG2).
105631     if test "${ac_cv_header_iconv_h+set}" = set; then
105632   echo "$as_me:$LINENO: checking for iconv.h" >&5
105633 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
105634 if test "${ac_cv_header_iconv_h+set}" = set; then
105635   echo $ECHO_N "(cached) $ECHO_C" >&6
105636 fi
105637 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
105638 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
105639 else
105640   # Is the header compilable?
105641 echo "$as_me:$LINENO: checking iconv.h usability" >&5
105642 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
105643 cat >conftest.$ac_ext <<_ACEOF
105644 /* confdefs.h.  */
105645 _ACEOF
105646 cat confdefs.h >>conftest.$ac_ext
105647 cat >>conftest.$ac_ext <<_ACEOF
105648 /* end confdefs.h.  */
105649 $ac_includes_default
105650 #include <iconv.h>
105651 _ACEOF
105652 rm -f conftest.$ac_objext
105653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105654   (eval $ac_compile) 2>conftest.er1
105655   ac_status=$?
105656   grep -v '^ *+' conftest.er1 >conftest.err
105657   rm -f conftest.er1
105658   cat conftest.err >&5
105659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105660   (exit $ac_status); } &&
105661          { ac_try='test -z "$ac_c_werror_flag"
105662                          || test ! -s conftest.err'
105663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105664   (eval $ac_try) 2>&5
105665   ac_status=$?
105666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105667   (exit $ac_status); }; } &&
105668          { ac_try='test -s conftest.$ac_objext'
105669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105670   (eval $ac_try) 2>&5
105671   ac_status=$?
105672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105673   (exit $ac_status); }; }; then
105674   ac_header_compiler=yes
105675 else
105676   echo "$as_me: failed program was:" >&5
105677 sed 's/^/| /' conftest.$ac_ext >&5
105678
105679 ac_header_compiler=no
105680 fi
105681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105682 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
105683 echo "${ECHO_T}$ac_header_compiler" >&6
105684
105685 # Is the header present?
105686 echo "$as_me:$LINENO: checking iconv.h presence" >&5
105687 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
105688 cat >conftest.$ac_ext <<_ACEOF
105689 /* confdefs.h.  */
105690 _ACEOF
105691 cat confdefs.h >>conftest.$ac_ext
105692 cat >>conftest.$ac_ext <<_ACEOF
105693 /* end confdefs.h.  */
105694 #include <iconv.h>
105695 _ACEOF
105696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
105697   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
105698   ac_status=$?
105699   grep -v '^ *+' conftest.er1 >conftest.err
105700   rm -f conftest.er1
105701   cat conftest.err >&5
105702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105703   (exit $ac_status); } >/dev/null; then
105704   if test -s conftest.err; then
105705     ac_cpp_err=$ac_c_preproc_warn_flag
105706     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
105707   else
105708     ac_cpp_err=
105709   fi
105710 else
105711   ac_cpp_err=yes
105712 fi
105713 if test -z "$ac_cpp_err"; then
105714   ac_header_preproc=yes
105715 else
105716   echo "$as_me: failed program was:" >&5
105717 sed 's/^/| /' conftest.$ac_ext >&5
105718
105719   ac_header_preproc=no
105720 fi
105721 rm -f conftest.err conftest.$ac_ext
105722 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
105723 echo "${ECHO_T}$ac_header_preproc" >&6
105724
105725 # So?  What about this header?
105726 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
105727   yes:no: )
105728     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
105729 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
105730     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
105731 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
105732     ac_header_preproc=yes
105733     ;;
105734   no:yes:* )
105735     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
105736 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
105737     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
105738 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
105739     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
105740 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
105741     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
105742 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
105743     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
105744 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
105745     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
105746 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
105747     (
105748       cat <<\_ASBOX
105749 ## ----------------------------------------- ##
105750 ## Report this to the package-unused lists.  ##
105751 ## ----------------------------------------- ##
105752 _ASBOX
105753     ) |
105754       sed "s/^/$as_me: WARNING:     /" >&2
105755     ;;
105756 esac
105757 echo "$as_me:$LINENO: checking for iconv.h" >&5
105758 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
105759 if test "${ac_cv_header_iconv_h+set}" = set; then
105760   echo $ECHO_N "(cached) $ECHO_C" >&6
105761 else
105762   ac_cv_header_iconv_h=$ac_header_preproc
105763 fi
105764 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
105765 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
105766
105767 fi
105768 if test $ac_cv_header_iconv_h = yes; then
105769   ac_has_iconv_h=yes
105770 else
105771   ac_has_iconv_h=no
105772 fi
105773
105774
105775     if test "${ac_cv_header_langinfo_h+set}" = set; then
105776   echo "$as_me:$LINENO: checking for langinfo.h" >&5
105777 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
105778 if test "${ac_cv_header_langinfo_h+set}" = set; then
105779   echo $ECHO_N "(cached) $ECHO_C" >&6
105780 fi
105781 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
105782 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
105783 else
105784   # Is the header compilable?
105785 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
105786 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
105787 cat >conftest.$ac_ext <<_ACEOF
105788 /* confdefs.h.  */
105789 _ACEOF
105790 cat confdefs.h >>conftest.$ac_ext
105791 cat >>conftest.$ac_ext <<_ACEOF
105792 /* end confdefs.h.  */
105793 $ac_includes_default
105794 #include <langinfo.h>
105795 _ACEOF
105796 rm -f conftest.$ac_objext
105797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105798   (eval $ac_compile) 2>conftest.er1
105799   ac_status=$?
105800   grep -v '^ *+' conftest.er1 >conftest.err
105801   rm -f conftest.er1
105802   cat conftest.err >&5
105803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105804   (exit $ac_status); } &&
105805          { ac_try='test -z "$ac_c_werror_flag"
105806                          || test ! -s conftest.err'
105807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105808   (eval $ac_try) 2>&5
105809   ac_status=$?
105810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105811   (exit $ac_status); }; } &&
105812          { ac_try='test -s conftest.$ac_objext'
105813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105814   (eval $ac_try) 2>&5
105815   ac_status=$?
105816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105817   (exit $ac_status); }; }; then
105818   ac_header_compiler=yes
105819 else
105820   echo "$as_me: failed program was:" >&5
105821 sed 's/^/| /' conftest.$ac_ext >&5
105822
105823 ac_header_compiler=no
105824 fi
105825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105826 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
105827 echo "${ECHO_T}$ac_header_compiler" >&6
105828
105829 # Is the header present?
105830 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
105831 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
105832 cat >conftest.$ac_ext <<_ACEOF
105833 /* confdefs.h.  */
105834 _ACEOF
105835 cat confdefs.h >>conftest.$ac_ext
105836 cat >>conftest.$ac_ext <<_ACEOF
105837 /* end confdefs.h.  */
105838 #include <langinfo.h>
105839 _ACEOF
105840 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
105841   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
105842   ac_status=$?
105843   grep -v '^ *+' conftest.er1 >conftest.err
105844   rm -f conftest.er1
105845   cat conftest.err >&5
105846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105847   (exit $ac_status); } >/dev/null; then
105848   if test -s conftest.err; then
105849     ac_cpp_err=$ac_c_preproc_warn_flag
105850     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
105851   else
105852     ac_cpp_err=
105853   fi
105854 else
105855   ac_cpp_err=yes
105856 fi
105857 if test -z "$ac_cpp_err"; then
105858   ac_header_preproc=yes
105859 else
105860   echo "$as_me: failed program was:" >&5
105861 sed 's/^/| /' conftest.$ac_ext >&5
105862
105863   ac_header_preproc=no
105864 fi
105865 rm -f conftest.err conftest.$ac_ext
105866 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
105867 echo "${ECHO_T}$ac_header_preproc" >&6
105868
105869 # So?  What about this header?
105870 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
105871   yes:no: )
105872     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
105873 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
105874     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
105875 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
105876     ac_header_preproc=yes
105877     ;;
105878   no:yes:* )
105879     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
105880 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
105881     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
105882 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
105883     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
105884 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
105885     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
105886 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
105887     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
105888 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
105889     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
105890 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
105891     (
105892       cat <<\_ASBOX
105893 ## ----------------------------------------- ##
105894 ## Report this to the package-unused lists.  ##
105895 ## ----------------------------------------- ##
105896 _ASBOX
105897     ) |
105898       sed "s/^/$as_me: WARNING:     /" >&2
105899     ;;
105900 esac
105901 echo "$as_me:$LINENO: checking for langinfo.h" >&5
105902 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
105903 if test "${ac_cv_header_langinfo_h+set}" = set; then
105904   echo $ECHO_N "(cached) $ECHO_C" >&6
105905 else
105906   ac_cv_header_langinfo_h=$ac_header_preproc
105907 fi
105908 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
105909 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
105910
105911 fi
105912 if test $ac_cv_header_langinfo_h = yes; then
105913   ac_has_langinfo_h=yes
105914 else
105915   ac_has_langinfo_h=no
105916 fi
105917
105918
105919
105920     # Check for existence of libiconv.a providing XPG2 wchar_t support.
105921     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
105922 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
105923 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
105924   echo $ECHO_N "(cached) $ECHO_C" >&6
105925 else
105926   ac_check_lib_save_LIBS=$LIBS
105927 LIBS="-liconv  $LIBS"
105928 if test x$gcc_no_link = xyes; then
105929   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105931    { (exit 1); exit 1; }; }
105932 fi
105933 cat >conftest.$ac_ext <<_ACEOF
105934 /* confdefs.h.  */
105935 _ACEOF
105936 cat confdefs.h >>conftest.$ac_ext
105937 cat >>conftest.$ac_ext <<_ACEOF
105938 /* end confdefs.h.  */
105939
105940 /* Override any gcc2 internal prototype to avoid an error.  */
105941 #ifdef __cplusplus
105942 extern "C"
105943 #endif
105944 /* We use char because int might match the return type of a gcc2
105945    builtin and then its argument prototype would still apply.  */
105946 char iconv ();
105947 int
105948 main ()
105949 {
105950 iconv ();
105951   ;
105952   return 0;
105953 }
105954 _ACEOF
105955 rm -f conftest.$ac_objext conftest$ac_exeext
105956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105957   (eval $ac_link) 2>conftest.er1
105958   ac_status=$?
105959   grep -v '^ *+' conftest.er1 >conftest.err
105960   rm -f conftest.er1
105961   cat conftest.err >&5
105962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105963   (exit $ac_status); } &&
105964          { ac_try='test -z "$ac_c_werror_flag"
105965                          || test ! -s conftest.err'
105966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105967   (eval $ac_try) 2>&5
105968   ac_status=$?
105969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105970   (exit $ac_status); }; } &&
105971          { ac_try='test -s conftest$ac_exeext'
105972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105973   (eval $ac_try) 2>&5
105974   ac_status=$?
105975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105976   (exit $ac_status); }; }; then
105977   ac_cv_lib_iconv_iconv=yes
105978 else
105979   echo "$as_me: failed program was:" >&5
105980 sed 's/^/| /' conftest.$ac_ext >&5
105981
105982 ac_cv_lib_iconv_iconv=no
105983 fi
105984 rm -f conftest.err conftest.$ac_objext \
105985       conftest$ac_exeext conftest.$ac_ext
105986 LIBS=$ac_check_lib_save_LIBS
105987 fi
105988 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
105989 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
105990 if test $ac_cv_lib_iconv_iconv = yes; then
105991   LIBICONV="-liconv"
105992 fi
105993
105994     ac_save_LIBS="$LIBS"
105995     LIBS="$LIBS $LIBICONV"
105996
105997
105998
105999
106000
106001
106002 for ac_func in iconv_open iconv_close iconv nl_langinfo
106003 do
106004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106005 echo "$as_me:$LINENO: checking for $ac_func" >&5
106006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106007 if eval "test \"\${$as_ac_var+set}\" = set"; then
106008   echo $ECHO_N "(cached) $ECHO_C" >&6
106009 else
106010   if test x$gcc_no_link = xyes; then
106011   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106013    { (exit 1); exit 1; }; }
106014 fi
106015 cat >conftest.$ac_ext <<_ACEOF
106016 /* confdefs.h.  */
106017 _ACEOF
106018 cat confdefs.h >>conftest.$ac_ext
106019 cat >>conftest.$ac_ext <<_ACEOF
106020 /* end confdefs.h.  */
106021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106022    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
106023 #define $ac_func innocuous_$ac_func
106024
106025 /* System header to define __stub macros and hopefully few prototypes,
106026     which can conflict with char $ac_func (); below.
106027     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106028     <limits.h> exists even on freestanding compilers.  */
106029
106030 #ifdef __STDC__
106031 # include <limits.h>
106032 #else
106033 # include <assert.h>
106034 #endif
106035
106036 #undef $ac_func
106037
106038 /* Override any gcc2 internal prototype to avoid an error.  */
106039 #ifdef __cplusplus
106040 extern "C"
106041 {
106042 #endif
106043 /* We use char because int might match the return type of a gcc2
106044    builtin and then its argument prototype would still apply.  */
106045 char $ac_func ();
106046 /* The GNU C library defines this for functions which it implements
106047     to always fail with ENOSYS.  Some functions are actually named
106048     something starting with __ and the normal name is an alias.  */
106049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106050 choke me
106051 #else
106052 char (*f) () = $ac_func;
106053 #endif
106054 #ifdef __cplusplus
106055 }
106056 #endif
106057
106058 int
106059 main ()
106060 {
106061 return f != $ac_func;
106062   ;
106063   return 0;
106064 }
106065 _ACEOF
106066 rm -f conftest.$ac_objext conftest$ac_exeext
106067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106068   (eval $ac_link) 2>conftest.er1
106069   ac_status=$?
106070   grep -v '^ *+' conftest.er1 >conftest.err
106071   rm -f conftest.er1
106072   cat conftest.err >&5
106073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106074   (exit $ac_status); } &&
106075          { ac_try='test -z "$ac_c_werror_flag"
106076                          || test ! -s conftest.err'
106077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106078   (eval $ac_try) 2>&5
106079   ac_status=$?
106080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106081   (exit $ac_status); }; } &&
106082          { ac_try='test -s conftest$ac_exeext'
106083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106084   (eval $ac_try) 2>&5
106085   ac_status=$?
106086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106087   (exit $ac_status); }; }; then
106088   eval "$as_ac_var=yes"
106089 else
106090   echo "$as_me: failed program was:" >&5
106091 sed 's/^/| /' conftest.$ac_ext >&5
106092
106093 eval "$as_ac_var=no"
106094 fi
106095 rm -f conftest.err conftest.$ac_objext \
106096       conftest$ac_exeext conftest.$ac_ext
106097 fi
106098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106100 if test `eval echo '${'$as_ac_var'}'` = yes; then
106101   cat >>confdefs.h <<_ACEOF
106102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106103 _ACEOF
106104  ac_XPG2funcs=yes
106105 else
106106   ac_XPG2funcs=no
106107 fi
106108 done
106109
106110
106111     LIBS="$ac_save_LIBS"
106112
106113     if test x"$ac_has_iconv_h" = xyes &&
106114        test x"$ac_has_langinfo_h" = xyes &&
106115        test x"$ac_XPG2funcs" = xyes;
106116     then
106117
106118 cat >>confdefs.h <<\_ACEOF
106119 #define _GLIBCXX_USE_ICONV 1
106120 _ACEOF
106121
106122       enable_iconv=yes
106123     fi
106124   fi
106125   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
106126 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
106127   echo "$as_me:$LINENO: result: $enable_iconv" >&5
106128 echo "${ECHO_T}$enable_iconv" >&6
106129
106130     cat >>confdefs.h <<\_ACEOF
106131 #define HAVE_COSF 1
106132 _ACEOF
106133
106134     cat >>confdefs.h <<\_ACEOF
106135 #define HAVE_COSL 1
106136 _ACEOF
106137
106138     cat >>confdefs.h <<\_ACEOF
106139 #define HAVE_COSHF 1
106140 _ACEOF
106141
106142     cat >>confdefs.h <<\_ACEOF
106143 #define HAVE_COSHL 1
106144 _ACEOF
106145
106146     cat >>confdefs.h <<\_ACEOF
106147 #define HAVE_LOGF 1
106148 _ACEOF
106149
106150     cat >>confdefs.h <<\_ACEOF
106151 #define HAVE_LOGL 1
106152 _ACEOF
106153
106154     cat >>confdefs.h <<\_ACEOF
106155 #define HAVE_LOG10F 1
106156 _ACEOF
106157
106158     cat >>confdefs.h <<\_ACEOF
106159 #define HAVE_LOG10L 1
106160 _ACEOF
106161
106162     cat >>confdefs.h <<\_ACEOF
106163 #define HAVE_SINF 1
106164 _ACEOF
106165
106166     cat >>confdefs.h <<\_ACEOF
106167 #define HAVE_SINL 1
106168 _ACEOF
106169
106170     cat >>confdefs.h <<\_ACEOF
106171 #define HAVE_SINHF 1
106172 _ACEOF
106173
106174     cat >>confdefs.h <<\_ACEOF
106175 #define HAVE_SINHL 1
106176 _ACEOF
106177
106178     ;;
106179   *-solaris*)
106180     case "$target" in
106181     #  *-solaris2.5)
106182     #    os_include_dir="os/solaris/solaris2.5"
106183     #    ;;
106184     #  *-solaris2.6)
106185     #    os_include_dir="os/solaris/solaris2.6"
106186     #    ;;
106187       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
106188          cat >>confdefs.h <<\_ACEOF
106189 #define HAVE_GETPAGESIZE 1
106190 _ACEOF
106191
106192          cat >>confdefs.h <<\_ACEOF
106193 #define HAVE_SIGSETJMP 1
106194 _ACEOF
106195
106196          cat >>confdefs.h <<\_ACEOF
106197 #define HAVE_MBSTATE_T 1
106198 _ACEOF
106199
106200          cat >>confdefs.h <<\_ACEOF
106201 #define HAVE_POLL 1
106202 _ACEOF
106203
106204          cat >>confdefs.h <<\_ACEOF
106205 #define HAVE_S_ISREG 1
106206 _ACEOF
106207
106208          cat >>confdefs.h <<\_ACEOF
106209 #define HAVE_LC_MESSAGES 1
106210 _ACEOF
106211
106212          cat >>confdefs.h <<\_ACEOF
106213 #define HAVE_FINITE 1
106214 _ACEOF
106215
106216          cat >>confdefs.h <<\_ACEOF
106217 #define HAVE_FPCLASS 1
106218 _ACEOF
106219
106220          cat >>confdefs.h <<\_ACEOF
106221 #define HAVE_GETPAGESIZE 1
106222 _ACEOF
106223
106224          cat >>confdefs.h <<\_ACEOF
106225 #define HAVE_NL_LANGINFO 1
106226 _ACEOF
106227
106228          cat >>confdefs.h <<\_ACEOF
106229 #define HAVE_ICONV 1
106230 _ACEOF
106231
106232          cat >>confdefs.h <<\_ACEOF
106233 #define HAVE_ICONV_CLOSE 1
106234 _ACEOF
106235
106236          cat >>confdefs.h <<\_ACEOF
106237 #define HAVE_ICONV_OPEN 1
106238 _ACEOF
106239
106240          # Look for the pieces required for wchar_t support in order to
106241          # get all the right HAVE_* macros defined.
106242
106243
106244   enable_iconv=no
106245   # Only continue checking if the ISO C99 headers exist and support is on.
106246   if test x"$enable_wchar_t" = xyes; then
106247
106248     # Use iconv for wchar_t to char conversions. As such, check for
106249     # X/Open Portability Guide, version 2 features (XPG2).
106250     if test "${ac_cv_header_iconv_h+set}" = set; then
106251   echo "$as_me:$LINENO: checking for iconv.h" >&5
106252 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
106253 if test "${ac_cv_header_iconv_h+set}" = set; then
106254   echo $ECHO_N "(cached) $ECHO_C" >&6
106255 fi
106256 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
106257 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
106258 else
106259   # Is the header compilable?
106260 echo "$as_me:$LINENO: checking iconv.h usability" >&5
106261 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
106262 cat >conftest.$ac_ext <<_ACEOF
106263 /* confdefs.h.  */
106264 _ACEOF
106265 cat confdefs.h >>conftest.$ac_ext
106266 cat >>conftest.$ac_ext <<_ACEOF
106267 /* end confdefs.h.  */
106268 $ac_includes_default
106269 #include <iconv.h>
106270 _ACEOF
106271 rm -f conftest.$ac_objext
106272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106273   (eval $ac_compile) 2>conftest.er1
106274   ac_status=$?
106275   grep -v '^ *+' conftest.er1 >conftest.err
106276   rm -f conftest.er1
106277   cat conftest.err >&5
106278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106279   (exit $ac_status); } &&
106280          { ac_try='test -z "$ac_c_werror_flag"
106281                          || test ! -s conftest.err'
106282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106283   (eval $ac_try) 2>&5
106284   ac_status=$?
106285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106286   (exit $ac_status); }; } &&
106287          { ac_try='test -s conftest.$ac_objext'
106288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106289   (eval $ac_try) 2>&5
106290   ac_status=$?
106291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106292   (exit $ac_status); }; }; then
106293   ac_header_compiler=yes
106294 else
106295   echo "$as_me: failed program was:" >&5
106296 sed 's/^/| /' conftest.$ac_ext >&5
106297
106298 ac_header_compiler=no
106299 fi
106300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106301 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106302 echo "${ECHO_T}$ac_header_compiler" >&6
106303
106304 # Is the header present?
106305 echo "$as_me:$LINENO: checking iconv.h presence" >&5
106306 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
106307 cat >conftest.$ac_ext <<_ACEOF
106308 /* confdefs.h.  */
106309 _ACEOF
106310 cat confdefs.h >>conftest.$ac_ext
106311 cat >>conftest.$ac_ext <<_ACEOF
106312 /* end confdefs.h.  */
106313 #include <iconv.h>
106314 _ACEOF
106315 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106316   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106317   ac_status=$?
106318   grep -v '^ *+' conftest.er1 >conftest.err
106319   rm -f conftest.er1
106320   cat conftest.err >&5
106321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106322   (exit $ac_status); } >/dev/null; then
106323   if test -s conftest.err; then
106324     ac_cpp_err=$ac_c_preproc_warn_flag
106325     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106326   else
106327     ac_cpp_err=
106328   fi
106329 else
106330   ac_cpp_err=yes
106331 fi
106332 if test -z "$ac_cpp_err"; then
106333   ac_header_preproc=yes
106334 else
106335   echo "$as_me: failed program was:" >&5
106336 sed 's/^/| /' conftest.$ac_ext >&5
106337
106338   ac_header_preproc=no
106339 fi
106340 rm -f conftest.err conftest.$ac_ext
106341 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106342 echo "${ECHO_T}$ac_header_preproc" >&6
106343
106344 # So?  What about this header?
106345 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106346   yes:no: )
106347     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
106348 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
106349     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
106350 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
106351     ac_header_preproc=yes
106352     ;;
106353   no:yes:* )
106354     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
106355 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
106356     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
106357 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
106358     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
106359 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
106360     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
106361 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
106362     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
106363 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
106364     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
106365 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
106366     (
106367       cat <<\_ASBOX
106368 ## ----------------------------------------- ##
106369 ## Report this to the package-unused lists.  ##
106370 ## ----------------------------------------- ##
106371 _ASBOX
106372     ) |
106373       sed "s/^/$as_me: WARNING:     /" >&2
106374     ;;
106375 esac
106376 echo "$as_me:$LINENO: checking for iconv.h" >&5
106377 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
106378 if test "${ac_cv_header_iconv_h+set}" = set; then
106379   echo $ECHO_N "(cached) $ECHO_C" >&6
106380 else
106381   ac_cv_header_iconv_h=$ac_header_preproc
106382 fi
106383 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
106384 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
106385
106386 fi
106387 if test $ac_cv_header_iconv_h = yes; then
106388   ac_has_iconv_h=yes
106389 else
106390   ac_has_iconv_h=no
106391 fi
106392
106393
106394     if test "${ac_cv_header_langinfo_h+set}" = set; then
106395   echo "$as_me:$LINENO: checking for langinfo.h" >&5
106396 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
106397 if test "${ac_cv_header_langinfo_h+set}" = set; then
106398   echo $ECHO_N "(cached) $ECHO_C" >&6
106399 fi
106400 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
106401 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
106402 else
106403   # Is the header compilable?
106404 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
106405 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
106406 cat >conftest.$ac_ext <<_ACEOF
106407 /* confdefs.h.  */
106408 _ACEOF
106409 cat confdefs.h >>conftest.$ac_ext
106410 cat >>conftest.$ac_ext <<_ACEOF
106411 /* end confdefs.h.  */
106412 $ac_includes_default
106413 #include <langinfo.h>
106414 _ACEOF
106415 rm -f conftest.$ac_objext
106416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106417   (eval $ac_compile) 2>conftest.er1
106418   ac_status=$?
106419   grep -v '^ *+' conftest.er1 >conftest.err
106420   rm -f conftest.er1
106421   cat conftest.err >&5
106422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106423   (exit $ac_status); } &&
106424          { ac_try='test -z "$ac_c_werror_flag"
106425                          || test ! -s conftest.err'
106426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106427   (eval $ac_try) 2>&5
106428   ac_status=$?
106429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106430   (exit $ac_status); }; } &&
106431          { ac_try='test -s conftest.$ac_objext'
106432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106433   (eval $ac_try) 2>&5
106434   ac_status=$?
106435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106436   (exit $ac_status); }; }; then
106437   ac_header_compiler=yes
106438 else
106439   echo "$as_me: failed program was:" >&5
106440 sed 's/^/| /' conftest.$ac_ext >&5
106441
106442 ac_header_compiler=no
106443 fi
106444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106446 echo "${ECHO_T}$ac_header_compiler" >&6
106447
106448 # Is the header present?
106449 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
106450 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
106451 cat >conftest.$ac_ext <<_ACEOF
106452 /* confdefs.h.  */
106453 _ACEOF
106454 cat confdefs.h >>conftest.$ac_ext
106455 cat >>conftest.$ac_ext <<_ACEOF
106456 /* end confdefs.h.  */
106457 #include <langinfo.h>
106458 _ACEOF
106459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106460   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106461   ac_status=$?
106462   grep -v '^ *+' conftest.er1 >conftest.err
106463   rm -f conftest.er1
106464   cat conftest.err >&5
106465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106466   (exit $ac_status); } >/dev/null; then
106467   if test -s conftest.err; then
106468     ac_cpp_err=$ac_c_preproc_warn_flag
106469     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106470   else
106471     ac_cpp_err=
106472   fi
106473 else
106474   ac_cpp_err=yes
106475 fi
106476 if test -z "$ac_cpp_err"; then
106477   ac_header_preproc=yes
106478 else
106479   echo "$as_me: failed program was:" >&5
106480 sed 's/^/| /' conftest.$ac_ext >&5
106481
106482   ac_header_preproc=no
106483 fi
106484 rm -f conftest.err conftest.$ac_ext
106485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106486 echo "${ECHO_T}$ac_header_preproc" >&6
106487
106488 # So?  What about this header?
106489 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106490   yes:no: )
106491     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
106492 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
106493     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
106494 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
106495     ac_header_preproc=yes
106496     ;;
106497   no:yes:* )
106498     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
106499 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
106500     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
106501 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
106502     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
106503 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
106504     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
106505 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
106506     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
106507 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
106508     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
106509 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
106510     (
106511       cat <<\_ASBOX
106512 ## ----------------------------------------- ##
106513 ## Report this to the package-unused lists.  ##
106514 ## ----------------------------------------- ##
106515 _ASBOX
106516     ) |
106517       sed "s/^/$as_me: WARNING:     /" >&2
106518     ;;
106519 esac
106520 echo "$as_me:$LINENO: checking for langinfo.h" >&5
106521 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
106522 if test "${ac_cv_header_langinfo_h+set}" = set; then
106523   echo $ECHO_N "(cached) $ECHO_C" >&6
106524 else
106525   ac_cv_header_langinfo_h=$ac_header_preproc
106526 fi
106527 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
106528 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
106529
106530 fi
106531 if test $ac_cv_header_langinfo_h = yes; then
106532   ac_has_langinfo_h=yes
106533 else
106534   ac_has_langinfo_h=no
106535 fi
106536
106537
106538
106539     # Check for existence of libiconv.a providing XPG2 wchar_t support.
106540     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
106541 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
106542 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
106543   echo $ECHO_N "(cached) $ECHO_C" >&6
106544 else
106545   ac_check_lib_save_LIBS=$LIBS
106546 LIBS="-liconv  $LIBS"
106547 if test x$gcc_no_link = xyes; then
106548   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106550    { (exit 1); exit 1; }; }
106551 fi
106552 cat >conftest.$ac_ext <<_ACEOF
106553 /* confdefs.h.  */
106554 _ACEOF
106555 cat confdefs.h >>conftest.$ac_ext
106556 cat >>conftest.$ac_ext <<_ACEOF
106557 /* end confdefs.h.  */
106558
106559 /* Override any gcc2 internal prototype to avoid an error.  */
106560 #ifdef __cplusplus
106561 extern "C"
106562 #endif
106563 /* We use char because int might match the return type of a gcc2
106564    builtin and then its argument prototype would still apply.  */
106565 char iconv ();
106566 int
106567 main ()
106568 {
106569 iconv ();
106570   ;
106571   return 0;
106572 }
106573 _ACEOF
106574 rm -f conftest.$ac_objext conftest$ac_exeext
106575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106576   (eval $ac_link) 2>conftest.er1
106577   ac_status=$?
106578   grep -v '^ *+' conftest.er1 >conftest.err
106579   rm -f conftest.er1
106580   cat conftest.err >&5
106581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106582   (exit $ac_status); } &&
106583          { ac_try='test -z "$ac_c_werror_flag"
106584                          || test ! -s conftest.err'
106585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106586   (eval $ac_try) 2>&5
106587   ac_status=$?
106588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106589   (exit $ac_status); }; } &&
106590          { ac_try='test -s conftest$ac_exeext'
106591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106592   (eval $ac_try) 2>&5
106593   ac_status=$?
106594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106595   (exit $ac_status); }; }; then
106596   ac_cv_lib_iconv_iconv=yes
106597 else
106598   echo "$as_me: failed program was:" >&5
106599 sed 's/^/| /' conftest.$ac_ext >&5
106600
106601 ac_cv_lib_iconv_iconv=no
106602 fi
106603 rm -f conftest.err conftest.$ac_objext \
106604       conftest$ac_exeext conftest.$ac_ext
106605 LIBS=$ac_check_lib_save_LIBS
106606 fi
106607 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
106608 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
106609 if test $ac_cv_lib_iconv_iconv = yes; then
106610   LIBICONV="-liconv"
106611 fi
106612
106613     ac_save_LIBS="$LIBS"
106614     LIBS="$LIBS $LIBICONV"
106615
106616
106617
106618
106619
106620
106621 for ac_func in iconv_open iconv_close iconv nl_langinfo
106622 do
106623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106624 echo "$as_me:$LINENO: checking for $ac_func" >&5
106625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106626 if eval "test \"\${$as_ac_var+set}\" = set"; then
106627   echo $ECHO_N "(cached) $ECHO_C" >&6
106628 else
106629   if test x$gcc_no_link = xyes; then
106630   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106632    { (exit 1); exit 1; }; }
106633 fi
106634 cat >conftest.$ac_ext <<_ACEOF
106635 /* confdefs.h.  */
106636 _ACEOF
106637 cat confdefs.h >>conftest.$ac_ext
106638 cat >>conftest.$ac_ext <<_ACEOF
106639 /* end confdefs.h.  */
106640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106641    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
106642 #define $ac_func innocuous_$ac_func
106643
106644 /* System header to define __stub macros and hopefully few prototypes,
106645     which can conflict with char $ac_func (); below.
106646     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106647     <limits.h> exists even on freestanding compilers.  */
106648
106649 #ifdef __STDC__
106650 # include <limits.h>
106651 #else
106652 # include <assert.h>
106653 #endif
106654
106655 #undef $ac_func
106656
106657 /* Override any gcc2 internal prototype to avoid an error.  */
106658 #ifdef __cplusplus
106659 extern "C"
106660 {
106661 #endif
106662 /* We use char because int might match the return type of a gcc2
106663    builtin and then its argument prototype would still apply.  */
106664 char $ac_func ();
106665 /* The GNU C library defines this for functions which it implements
106666     to always fail with ENOSYS.  Some functions are actually named
106667     something starting with __ and the normal name is an alias.  */
106668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106669 choke me
106670 #else
106671 char (*f) () = $ac_func;
106672 #endif
106673 #ifdef __cplusplus
106674 }
106675 #endif
106676
106677 int
106678 main ()
106679 {
106680 return f != $ac_func;
106681   ;
106682   return 0;
106683 }
106684 _ACEOF
106685 rm -f conftest.$ac_objext conftest$ac_exeext
106686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106687   (eval $ac_link) 2>conftest.er1
106688   ac_status=$?
106689   grep -v '^ *+' conftest.er1 >conftest.err
106690   rm -f conftest.er1
106691   cat conftest.err >&5
106692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106693   (exit $ac_status); } &&
106694          { ac_try='test -z "$ac_c_werror_flag"
106695                          || test ! -s conftest.err'
106696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106697   (eval $ac_try) 2>&5
106698   ac_status=$?
106699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106700   (exit $ac_status); }; } &&
106701          { ac_try='test -s conftest$ac_exeext'
106702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106703   (eval $ac_try) 2>&5
106704   ac_status=$?
106705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106706   (exit $ac_status); }; }; then
106707   eval "$as_ac_var=yes"
106708 else
106709   echo "$as_me: failed program was:" >&5
106710 sed 's/^/| /' conftest.$ac_ext >&5
106711
106712 eval "$as_ac_var=no"
106713 fi
106714 rm -f conftest.err conftest.$ac_objext \
106715       conftest$ac_exeext conftest.$ac_ext
106716 fi
106717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106719 if test `eval echo '${'$as_ac_var'}'` = yes; then
106720   cat >>confdefs.h <<_ACEOF
106721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106722 _ACEOF
106723  ac_XPG2funcs=yes
106724 else
106725   ac_XPG2funcs=no
106726 fi
106727 done
106728
106729
106730     LIBS="$ac_save_LIBS"
106731
106732     if test x"$ac_has_iconv_h" = xyes &&
106733        test x"$ac_has_langinfo_h" = xyes &&
106734        test x"$ac_XPG2funcs" = xyes;
106735     then
106736
106737 cat >>confdefs.h <<\_ACEOF
106738 #define _GLIBCXX_USE_ICONV 1
106739 _ACEOF
106740
106741       enable_iconv=yes
106742     fi
106743   fi
106744   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
106745 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
106746   echo "$as_me:$LINENO: result: $enable_iconv" >&5
106747 echo "${ECHO_T}$enable_iconv" >&6
106748
106749          # All of the dependencies for wide character support are here, so
106750          # turn it on.  This requires some syncronization with the
106751          # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
106752          cat >>confdefs.h <<\_ACEOF
106753 #define _GLIBCXX_USE_WCHAR_T 1
106754 _ACEOF
106755
106756          # Are these tested for even when cross?
106757          cat >>confdefs.h <<\_ACEOF
106758 #define HAVE_FLOAT_H 1
106759 _ACEOF
106760
106761          cat >>confdefs.h <<\_ACEOF
106762 #define HAVE_IEEEFP_H 1
106763 _ACEOF
106764
106765          cat >>confdefs.h <<\_ACEOF
106766 #define HAVE_INTTYPES_H 1
106767 _ACEOF
106768
106769          cat >>confdefs.h <<\_ACEOF
106770 #define HAVE_LOCALE_H 1
106771 _ACEOF
106772
106773          cat >>confdefs.h <<\_ACEOF
106774 #define HAVE_NAN_H 1
106775 _ACEOF
106776
106777          cat >>confdefs.h <<\_ACEOF
106778 #define HAVE_SYS_FILIO_H 1
106779 _ACEOF
106780
106781          cat >>confdefs.h <<\_ACEOF
106782 #define HAVE_SYS_IOCTL_H 1
106783 _ACEOF
106784
106785          cat >>confdefs.h <<\_ACEOF
106786 #define HAVE_SYS_ISA_DEFS_H 1
106787 _ACEOF
106788
106789          cat >>confdefs.h <<\_ACEOF
106790 #define HAVE_SYS_RESOURCE_H 1
106791 _ACEOF
106792
106793          cat >>confdefs.h <<\_ACEOF
106794 #define HAVE_SYS_TIME_H 1
106795 _ACEOF
106796
106797          cat >>confdefs.h <<\_ACEOF
106798 #define HAVE_SYS_TYPES_H 1
106799 _ACEOF
106800
106801          cat >>confdefs.h <<\_ACEOF
106802 #define HAVE_UNISTD_H 1
106803 _ACEOF
106804
106805          cat >>confdefs.h <<\_ACEOF
106806 #define HAVE_WCHAR_H 1
106807 _ACEOF
106808
106809          cat >>confdefs.h <<\_ACEOF
106810 #define HAVE_WCTYPE_H 1
106811 _ACEOF
106812
106813          cat >>confdefs.h <<\_ACEOF
106814 #define HAVE_LIBM 1
106815 _ACEOF
106816
106817         ;;
106818     esac
106819     case "$target" in
106820       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
106821         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
106822         cat >>confdefs.h <<\_ACEOF
106823 #define HAVE___BUILTIN_ABS 1
106824 _ACEOF
106825
106826         cat >>confdefs.h <<\_ACEOF
106827 #define HAVE___BUILTIN_LABS 1
106828 _ACEOF
106829
106830         cat >>confdefs.h <<\_ACEOF
106831 #define HAVE___BUILTIN_FABS 1
106832 _ACEOF
106833
106834         cat >>confdefs.h <<\_ACEOF
106835 #define HAVE___BUILTIN_FABSF 1
106836 _ACEOF
106837
106838         cat >>confdefs.h <<\_ACEOF
106839 #define HAVE___BUILTIN_FABSL 1
106840 _ACEOF
106841
106842         cat >>confdefs.h <<\_ACEOF
106843 #define HAVE___BUILTIN_COS 1
106844 _ACEOF
106845
106846         cat >>confdefs.h <<\_ACEOF
106847 #define HAVE___BUILTIN_COSF 1
106848 _ACEOF
106849
106850         cat >>confdefs.h <<\_ACEOF
106851 #define HAVE___BUILTIN_SIN 1
106852 _ACEOF
106853
106854         cat >>confdefs.h <<\_ACEOF
106855 #define HAVE___BUILTIN_SINF 1
106856 _ACEOF
106857
106858        ;;
106859     esac
106860     case "$target" in
106861       *-*-solaris2.10)
106862       # These two C99 functions are present only in Solaris >= 10
106863       cat >>confdefs.h <<\_ACEOF
106864 #define HAVE_STRTOF 1
106865 _ACEOF
106866
106867       cat >>confdefs.h <<\_ACEOF
106868 #define HAVE_STRTOLD 1
106869 _ACEOF
106870
106871      ;;
106872     esac
106873     cat >>confdefs.h <<\_ACEOF
106874 #define HAVE_MMAP 1
106875 _ACEOF
106876
106877     cat >>confdefs.h <<\_ACEOF
106878 #define HAVE_COPYSIGN 1
106879 _ACEOF
106880
106881     cat >>confdefs.h <<\_ACEOF
106882 #define HAVE_ISNAN 1
106883 _ACEOF
106884
106885     cat >>confdefs.h <<\_ACEOF
106886 #define HAVE_ISNANF 1
106887 _ACEOF
106888
106889     cat >>confdefs.h <<\_ACEOF
106890 #define HAVE_MODFF 1
106891 _ACEOF
106892
106893     cat >>confdefs.h <<\_ACEOF
106894 #define HAVE_HYPOT 1
106895 _ACEOF
106896
106897     ;;
106898   *-tpf)
106899
106900
106901
106902
106903
106904
106905
106906
106907 for ac_header in nan.h endian.h machine/endian.h  \
106908       sys/param.h sys/types.h locale.h float.h inttypes.h
106909 do
106910 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
106911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
106912   echo "$as_me:$LINENO: checking for $ac_header" >&5
106913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
106914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
106915   echo $ECHO_N "(cached) $ECHO_C" >&6
106916 fi
106917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
106918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
106919 else
106920   # Is the header compilable?
106921 echo "$as_me:$LINENO: checking $ac_header usability" >&5
106922 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
106923 cat >conftest.$ac_ext <<_ACEOF
106924 /* confdefs.h.  */
106925 _ACEOF
106926 cat confdefs.h >>conftest.$ac_ext
106927 cat >>conftest.$ac_ext <<_ACEOF
106928 /* end confdefs.h.  */
106929 $ac_includes_default
106930 #include <$ac_header>
106931 _ACEOF
106932 rm -f conftest.$ac_objext
106933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106934   (eval $ac_compile) 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_objext'
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_header_compiler=yes
106955 else
106956   echo "$as_me: failed program was:" >&5
106957 sed 's/^/| /' conftest.$ac_ext >&5
106958
106959 ac_header_compiler=no
106960 fi
106961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106963 echo "${ECHO_T}$ac_header_compiler" >&6
106964
106965 # Is the header present?
106966 echo "$as_me:$LINENO: checking $ac_header presence" >&5
106967 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
106968 cat >conftest.$ac_ext <<_ACEOF
106969 /* confdefs.h.  */
106970 _ACEOF
106971 cat confdefs.h >>conftest.$ac_ext
106972 cat >>conftest.$ac_ext <<_ACEOF
106973 /* end confdefs.h.  */
106974 #include <$ac_header>
106975 _ACEOF
106976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106977   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106978   ac_status=$?
106979   grep -v '^ *+' conftest.er1 >conftest.err
106980   rm -f conftest.er1
106981   cat conftest.err >&5
106982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106983   (exit $ac_status); } >/dev/null; then
106984   if test -s conftest.err; then
106985     ac_cpp_err=$ac_c_preproc_warn_flag
106986     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106987   else
106988     ac_cpp_err=
106989   fi
106990 else
106991   ac_cpp_err=yes
106992 fi
106993 if test -z "$ac_cpp_err"; then
106994   ac_header_preproc=yes
106995 else
106996   echo "$as_me: failed program was:" >&5
106997 sed 's/^/| /' conftest.$ac_ext >&5
106998
106999   ac_header_preproc=no
107000 fi
107001 rm -f conftest.err conftest.$ac_ext
107002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107003 echo "${ECHO_T}$ac_header_preproc" >&6
107004
107005 # So?  What about this header?
107006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107007   yes:no: )
107008     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
107009 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
107010     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
107011 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
107012     ac_header_preproc=yes
107013     ;;
107014   no:yes:* )
107015     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
107016 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
107017     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
107018 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
107019     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
107020 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
107021     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
107022 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
107023     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
107024 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
107025     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
107026 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
107027     (
107028       cat <<\_ASBOX
107029 ## ----------------------------------------- ##
107030 ## Report this to the package-unused lists.  ##
107031 ## ----------------------------------------- ##
107032 _ASBOX
107033     ) |
107034       sed "s/^/$as_me: WARNING:     /" >&2
107035     ;;
107036 esac
107037 echo "$as_me:$LINENO: checking for $ac_header" >&5
107038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107040   echo $ECHO_N "(cached) $ECHO_C" >&6
107041 else
107042   eval "$as_ac_Header=\$ac_header_preproc"
107043 fi
107044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107046
107047 fi
107048 if test `eval echo '${'$as_ac_Header'}'` = yes; then
107049   cat >>confdefs.h <<_ACEOF
107050 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
107051 _ACEOF
107052
107053 fi
107054
107055 done
107056
107057     SECTION_FLAGS='-ffunction-sections -fdata-sections'
107058
107059
107060   # If we're not using GNU ld, then there's no point in even trying these
107061   # tests.  Check for that first.  We should have already tested for gld
107062   # by now (in libtool), but require it now just to be safe...
107063   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
107064   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
107065
107066
107067
107068   # The name set by libtool depends on the version of libtool.  Shame on us
107069   # for depending on an impl detail, but c'est la vie.  Older versions used
107070   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
107071   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
107072   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
107073   # set (hence we're using an older libtool), then set it.
107074   if test x${with_gnu_ld+set} != xset; then
107075     if test x${ac_cv_prog_gnu_ld+set} != xset; then
107076       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
107077       with_gnu_ld=no
107078     else
107079       with_gnu_ld=$ac_cv_prog_gnu_ld
107080     fi
107081   fi
107082
107083   # Start by getting the version number.  I think the libtool test already
107084   # does some of this, but throws away the result.
107085   echo "$as_me:$LINENO: checking for ld version" >&5
107086 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
107087
107088   ldver=`$LD --version 2>/dev/null | head -1 | \
107089          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
107090
107091   glibcxx_gnu_ld_version=`echo $ldver | \
107092          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
107093   echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
107094 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
107095
107096   # Set --gc-sections.
107097   glibcxx_gcsections_min_ld=21602
107098   if test x"$with_gnu_ld" = x"yes" &&
107099         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
107100
107101     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
107102     # NB: This flag only works reliably after 2.16.1. Configure tests
107103     # for this are difficult, so hard wire a value that should work.
107104
107105     # All these tests are for C++, but run with the "C" compiler driver.
107106     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
107107     ac_test_CFLAGS="${CFLAGS+set}"
107108     ac_save_CFLAGS="$CFLAGS"
107109     CFLAGS='-x c++ -Wl,--gc-sections'
107110
107111     # Check for -Wl,--gc-sections
107112     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
107113 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
107114     if test x$gcc_no_link = xyes; then
107115   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107117    { (exit 1); exit 1; }; }
107118 fi
107119 cat >conftest.$ac_ext <<_ACEOF
107120 /* confdefs.h.  */
107121 _ACEOF
107122 cat confdefs.h >>conftest.$ac_ext
107123 cat >>conftest.$ac_ext <<_ACEOF
107124 /* end confdefs.h.  */
107125  int one(void) { return 1; }
107126      int two(void) { return 2; }
107127
107128 int
107129 main ()
107130 {
107131  two();
107132   ;
107133   return 0;
107134 }
107135 _ACEOF
107136 rm -f conftest.$ac_objext conftest$ac_exeext
107137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107138   (eval $ac_link) 2>conftest.er1
107139   ac_status=$?
107140   grep -v '^ *+' conftest.er1 >conftest.err
107141   rm -f conftest.er1
107142   cat conftest.err >&5
107143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107144   (exit $ac_status); } &&
107145          { ac_try='test -z "$ac_c_werror_flag"
107146                          || test ! -s conftest.err'
107147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107148   (eval $ac_try) 2>&5
107149   ac_status=$?
107150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107151   (exit $ac_status); }; } &&
107152          { ac_try='test -s conftest$ac_exeext'
107153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107154   (eval $ac_try) 2>&5
107155   ac_status=$?
107156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107157   (exit $ac_status); }; }; then
107158   ac_gcsections=yes
107159 else
107160   echo "$as_me: failed program was:" >&5
107161 sed 's/^/| /' conftest.$ac_ext >&5
107162
107163 ac_gcsections=no
107164 fi
107165 rm -f conftest.err conftest.$ac_objext \
107166       conftest$ac_exeext conftest.$ac_ext
107167     if test "$ac_gcsections" = "yes"; then
107168       rm -f conftest.c
107169       touch conftest.c
107170       if $CC -c conftest.c; then
107171         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
107172            grep "Warning: gc-sections option ignored" > /dev/null; then
107173           ac_gcsections=no
107174         fi
107175       fi
107176       rm -f conftest.c conftest.o conftest
107177     fi
107178     if test "$ac_gcsections" = "yes"; then
107179       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
107180     fi
107181     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
107182 echo "${ECHO_T}$ac_gcsections" >&6
107183
107184     if test "$ac_test_CFLAGS" = set; then
107185       CFLAGS="$ac_save_CFLAGS"
107186     else
107187       # this is the suspicious part
107188       CFLAGS=''
107189     fi
107190   fi
107191
107192   # Set -z,relro.
107193   # Note this is only for shared objects.
107194   ac_ld_relro=no
107195   if test x"$with_gnu_ld" = x"yes"; then
107196     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
107197 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
107198     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
107199     if test -n "$cxx_z_relo"; then
107200       OPT_LDFLAGS="-Wl,-z,relro"
107201       ac_ld_relro=yes
107202     fi
107203     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
107204 echo "${ECHO_T}$ac_ld_relro" >&6
107205   fi
107206
107207   # Set linker optimization flags.
107208   if test x"$with_gnu_ld" = x"yes"; then
107209     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
107210   fi
107211
107212
107213
107214
107215
107216
107217 echo "$as_me:$LINENO: checking for main in -lm" >&5
107218 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
107219 if test "${ac_cv_lib_m_main+set}" = set; then
107220   echo $ECHO_N "(cached) $ECHO_C" >&6
107221 else
107222   ac_check_lib_save_LIBS=$LIBS
107223 LIBS="-lm  $LIBS"
107224 if test x$gcc_no_link = xyes; then
107225   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107227    { (exit 1); exit 1; }; }
107228 fi
107229 cat >conftest.$ac_ext <<_ACEOF
107230 /* confdefs.h.  */
107231 _ACEOF
107232 cat confdefs.h >>conftest.$ac_ext
107233 cat >>conftest.$ac_ext <<_ACEOF
107234 /* end confdefs.h.  */
107235
107236
107237 int
107238 main ()
107239 {
107240 main ();
107241   ;
107242   return 0;
107243 }
107244 _ACEOF
107245 rm -f conftest.$ac_objext conftest$ac_exeext
107246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107247   (eval $ac_link) 2>conftest.er1
107248   ac_status=$?
107249   grep -v '^ *+' conftest.er1 >conftest.err
107250   rm -f conftest.er1
107251   cat conftest.err >&5
107252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107253   (exit $ac_status); } &&
107254          { ac_try='test -z "$ac_c_werror_flag"
107255                          || test ! -s conftest.err'
107256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107257   (eval $ac_try) 2>&5
107258   ac_status=$?
107259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107260   (exit $ac_status); }; } &&
107261          { ac_try='test -s conftest$ac_exeext'
107262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107263   (eval $ac_try) 2>&5
107264   ac_status=$?
107265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107266   (exit $ac_status); }; }; then
107267   ac_cv_lib_m_main=yes
107268 else
107269   echo "$as_me: failed program was:" >&5
107270 sed 's/^/| /' conftest.$ac_ext >&5
107271
107272 ac_cv_lib_m_main=no
107273 fi
107274 rm -f conftest.err conftest.$ac_objext \
107275       conftest$ac_exeext conftest.$ac_ext
107276 LIBS=$ac_check_lib_save_LIBS
107277 fi
107278 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107279 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107280 if test $ac_cv_lib_m_main = yes; then
107281   cat >>confdefs.h <<_ACEOF
107282 #define HAVE_LIBM 1
107283 _ACEOF
107284
107285   LIBS="-lm $LIBS"
107286
107287 fi
107288
107289
107290 for ac_func in copysignf
107291 do
107292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107293 echo "$as_me:$LINENO: checking for $ac_func" >&5
107294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107295 if eval "test \"\${$as_ac_var+set}\" = set"; then
107296   echo $ECHO_N "(cached) $ECHO_C" >&6
107297 else
107298   if test x$gcc_no_link = xyes; then
107299   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107301    { (exit 1); exit 1; }; }
107302 fi
107303 cat >conftest.$ac_ext <<_ACEOF
107304 /* confdefs.h.  */
107305 _ACEOF
107306 cat confdefs.h >>conftest.$ac_ext
107307 cat >>conftest.$ac_ext <<_ACEOF
107308 /* end confdefs.h.  */
107309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107310    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107311 #define $ac_func innocuous_$ac_func
107312
107313 /* System header to define __stub macros and hopefully few prototypes,
107314     which can conflict with char $ac_func (); below.
107315     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107316     <limits.h> exists even on freestanding compilers.  */
107317
107318 #ifdef __STDC__
107319 # include <limits.h>
107320 #else
107321 # include <assert.h>
107322 #endif
107323
107324 #undef $ac_func
107325
107326 /* Override any gcc2 internal prototype to avoid an error.  */
107327 #ifdef __cplusplus
107328 extern "C"
107329 {
107330 #endif
107331 /* We use char because int might match the return type of a gcc2
107332    builtin and then its argument prototype would still apply.  */
107333 char $ac_func ();
107334 /* The GNU C library defines this for functions which it implements
107335     to always fail with ENOSYS.  Some functions are actually named
107336     something starting with __ and the normal name is an alias.  */
107337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107338 choke me
107339 #else
107340 char (*f) () = $ac_func;
107341 #endif
107342 #ifdef __cplusplus
107343 }
107344 #endif
107345
107346 int
107347 main ()
107348 {
107349 return f != $ac_func;
107350   ;
107351   return 0;
107352 }
107353 _ACEOF
107354 rm -f conftest.$ac_objext conftest$ac_exeext
107355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107356   (eval $ac_link) 2>conftest.er1
107357   ac_status=$?
107358   grep -v '^ *+' conftest.er1 >conftest.err
107359   rm -f conftest.er1
107360   cat conftest.err >&5
107361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107362   (exit $ac_status); } &&
107363          { ac_try='test -z "$ac_c_werror_flag"
107364                          || test ! -s conftest.err'
107365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107366   (eval $ac_try) 2>&5
107367   ac_status=$?
107368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107369   (exit $ac_status); }; } &&
107370          { ac_try='test -s conftest$ac_exeext'
107371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107372   (eval $ac_try) 2>&5
107373   ac_status=$?
107374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107375   (exit $ac_status); }; }; then
107376   eval "$as_ac_var=yes"
107377 else
107378   echo "$as_me: failed program was:" >&5
107379 sed 's/^/| /' conftest.$ac_ext >&5
107380
107381 eval "$as_ac_var=no"
107382 fi
107383 rm -f conftest.err conftest.$ac_objext \
107384       conftest$ac_exeext conftest.$ac_ext
107385 fi
107386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107388 if test `eval echo '${'$as_ac_var'}'` = yes; then
107389   cat >>confdefs.h <<_ACEOF
107390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107391 _ACEOF
107392
107393 else
107394   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107395 fi
107396 done
107397
107398
107399
107400 for ac_func in __signbit
107401 do
107402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107403 echo "$as_me:$LINENO: checking for $ac_func" >&5
107404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107405 if eval "test \"\${$as_ac_var+set}\" = set"; then
107406   echo $ECHO_N "(cached) $ECHO_C" >&6
107407 else
107408   if test x$gcc_no_link = xyes; then
107409   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107411    { (exit 1); exit 1; }; }
107412 fi
107413 cat >conftest.$ac_ext <<_ACEOF
107414 /* confdefs.h.  */
107415 _ACEOF
107416 cat confdefs.h >>conftest.$ac_ext
107417 cat >>conftest.$ac_ext <<_ACEOF
107418 /* end confdefs.h.  */
107419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107420    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107421 #define $ac_func innocuous_$ac_func
107422
107423 /* System header to define __stub macros and hopefully few prototypes,
107424     which can conflict with char $ac_func (); below.
107425     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107426     <limits.h> exists even on freestanding compilers.  */
107427
107428 #ifdef __STDC__
107429 # include <limits.h>
107430 #else
107431 # include <assert.h>
107432 #endif
107433
107434 #undef $ac_func
107435
107436 /* Override any gcc2 internal prototype to avoid an error.  */
107437 #ifdef __cplusplus
107438 extern "C"
107439 {
107440 #endif
107441 /* We use char because int might match the return type of a gcc2
107442    builtin and then its argument prototype would still apply.  */
107443 char $ac_func ();
107444 /* The GNU C library defines this for functions which it implements
107445     to always fail with ENOSYS.  Some functions are actually named
107446     something starting with __ and the normal name is an alias.  */
107447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107448 choke me
107449 #else
107450 char (*f) () = $ac_func;
107451 #endif
107452 #ifdef __cplusplus
107453 }
107454 #endif
107455
107456 int
107457 main ()
107458 {
107459 return f != $ac_func;
107460   ;
107461   return 0;
107462 }
107463 _ACEOF
107464 rm -f conftest.$ac_objext conftest$ac_exeext
107465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107466   (eval $ac_link) 2>conftest.er1
107467   ac_status=$?
107468   grep -v '^ *+' conftest.er1 >conftest.err
107469   rm -f conftest.er1
107470   cat conftest.err >&5
107471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107472   (exit $ac_status); } &&
107473          { ac_try='test -z "$ac_c_werror_flag"
107474                          || test ! -s conftest.err'
107475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107476   (eval $ac_try) 2>&5
107477   ac_status=$?
107478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107479   (exit $ac_status); }; } &&
107480          { ac_try='test -s conftest$ac_exeext'
107481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107482   (eval $ac_try) 2>&5
107483   ac_status=$?
107484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107485   (exit $ac_status); }; }; then
107486   eval "$as_ac_var=yes"
107487 else
107488   echo "$as_me: failed program was:" >&5
107489 sed 's/^/| /' conftest.$ac_ext >&5
107490
107491 eval "$as_ac_var=no"
107492 fi
107493 rm -f conftest.err conftest.$ac_objext \
107494       conftest$ac_exeext conftest.$ac_ext
107495 fi
107496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107498 if test `eval echo '${'$as_ac_var'}'` = yes; then
107499   cat >>confdefs.h <<_ACEOF
107500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107501 _ACEOF
107502
107503 else
107504   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107505 fi
107506 done
107507
107508
107509
107510 for ac_func in __signbitf
107511 do
107512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107513 echo "$as_me:$LINENO: checking for $ac_func" >&5
107514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107515 if eval "test \"\${$as_ac_var+set}\" = set"; then
107516   echo $ECHO_N "(cached) $ECHO_C" >&6
107517 else
107518   if test x$gcc_no_link = xyes; then
107519   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107521    { (exit 1); exit 1; }; }
107522 fi
107523 cat >conftest.$ac_ext <<_ACEOF
107524 /* confdefs.h.  */
107525 _ACEOF
107526 cat confdefs.h >>conftest.$ac_ext
107527 cat >>conftest.$ac_ext <<_ACEOF
107528 /* end confdefs.h.  */
107529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107530    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107531 #define $ac_func innocuous_$ac_func
107532
107533 /* System header to define __stub macros and hopefully few prototypes,
107534     which can conflict with char $ac_func (); below.
107535     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107536     <limits.h> exists even on freestanding compilers.  */
107537
107538 #ifdef __STDC__
107539 # include <limits.h>
107540 #else
107541 # include <assert.h>
107542 #endif
107543
107544 #undef $ac_func
107545
107546 /* Override any gcc2 internal prototype to avoid an error.  */
107547 #ifdef __cplusplus
107548 extern "C"
107549 {
107550 #endif
107551 /* We use char because int might match the return type of a gcc2
107552    builtin and then its argument prototype would still apply.  */
107553 char $ac_func ();
107554 /* The GNU C library defines this for functions which it implements
107555     to always fail with ENOSYS.  Some functions are actually named
107556     something starting with __ and the normal name is an alias.  */
107557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107558 choke me
107559 #else
107560 char (*f) () = $ac_func;
107561 #endif
107562 #ifdef __cplusplus
107563 }
107564 #endif
107565
107566 int
107567 main ()
107568 {
107569 return f != $ac_func;
107570   ;
107571   return 0;
107572 }
107573 _ACEOF
107574 rm -f conftest.$ac_objext conftest$ac_exeext
107575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107576   (eval $ac_link) 2>conftest.er1
107577   ac_status=$?
107578   grep -v '^ *+' conftest.er1 >conftest.err
107579   rm -f conftest.er1
107580   cat conftest.err >&5
107581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107582   (exit $ac_status); } &&
107583          { ac_try='test -z "$ac_c_werror_flag"
107584                          || test ! -s conftest.err'
107585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107586   (eval $ac_try) 2>&5
107587   ac_status=$?
107588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107589   (exit $ac_status); }; } &&
107590          { ac_try='test -s conftest$ac_exeext'
107591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107592   (eval $ac_try) 2>&5
107593   ac_status=$?
107594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107595   (exit $ac_status); }; }; then
107596   eval "$as_ac_var=yes"
107597 else
107598   echo "$as_me: failed program was:" >&5
107599 sed 's/^/| /' conftest.$ac_ext >&5
107600
107601 eval "$as_ac_var=no"
107602 fi
107603 rm -f conftest.err conftest.$ac_objext \
107604       conftest$ac_exeext conftest.$ac_ext
107605 fi
107606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107608 if test `eval echo '${'$as_ac_var'}'` = yes; then
107609   cat >>confdefs.h <<_ACEOF
107610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107611 _ACEOF
107612
107613 else
107614   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
107615 fi
107616 done
107617
107618
107619           if test x$ac_cv_func_copysignl = x"yes"; then
107620
107621 for ac_func in __signbitl
107622 do
107623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107624 echo "$as_me:$LINENO: checking for $ac_func" >&5
107625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107626 if eval "test \"\${$as_ac_var+set}\" = set"; then
107627   echo $ECHO_N "(cached) $ECHO_C" >&6
107628 else
107629   if test x$gcc_no_link = xyes; then
107630   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107632    { (exit 1); exit 1; }; }
107633 fi
107634 cat >conftest.$ac_ext <<_ACEOF
107635 /* confdefs.h.  */
107636 _ACEOF
107637 cat confdefs.h >>conftest.$ac_ext
107638 cat >>conftest.$ac_ext <<_ACEOF
107639 /* end confdefs.h.  */
107640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107641    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107642 #define $ac_func innocuous_$ac_func
107643
107644 /* System header to define __stub macros and hopefully few prototypes,
107645     which can conflict with char $ac_func (); below.
107646     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107647     <limits.h> exists even on freestanding compilers.  */
107648
107649 #ifdef __STDC__
107650 # include <limits.h>
107651 #else
107652 # include <assert.h>
107653 #endif
107654
107655 #undef $ac_func
107656
107657 /* Override any gcc2 internal prototype to avoid an error.  */
107658 #ifdef __cplusplus
107659 extern "C"
107660 {
107661 #endif
107662 /* We use char because int might match the return type of a gcc2
107663    builtin and then its argument prototype would still apply.  */
107664 char $ac_func ();
107665 /* The GNU C library defines this for functions which it implements
107666     to always fail with ENOSYS.  Some functions are actually named
107667     something starting with __ and the normal name is an alias.  */
107668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107669 choke me
107670 #else
107671 char (*f) () = $ac_func;
107672 #endif
107673 #ifdef __cplusplus
107674 }
107675 #endif
107676
107677 int
107678 main ()
107679 {
107680 return f != $ac_func;
107681   ;
107682   return 0;
107683 }
107684 _ACEOF
107685 rm -f conftest.$ac_objext conftest$ac_exeext
107686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107687   (eval $ac_link) 2>conftest.er1
107688   ac_status=$?
107689   grep -v '^ *+' conftest.er1 >conftest.err
107690   rm -f conftest.er1
107691   cat conftest.err >&5
107692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107693   (exit $ac_status); } &&
107694          { ac_try='test -z "$ac_c_werror_flag"
107695                          || test ! -s conftest.err'
107696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107697   (eval $ac_try) 2>&5
107698   ac_status=$?
107699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107700   (exit $ac_status); }; } &&
107701          { ac_try='test -s conftest$ac_exeext'
107702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107703   (eval $ac_try) 2>&5
107704   ac_status=$?
107705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107706   (exit $ac_status); }; }; then
107707   eval "$as_ac_var=yes"
107708 else
107709   echo "$as_me: failed program was:" >&5
107710 sed 's/^/| /' conftest.$ac_ext >&5
107711
107712 eval "$as_ac_var=no"
107713 fi
107714 rm -f conftest.err conftest.$ac_objext \
107715       conftest$ac_exeext conftest.$ac_ext
107716 fi
107717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107719 if test `eval echo '${'$as_ac_var'}'` = yes; then
107720   cat >>confdefs.h <<_ACEOF
107721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107722 _ACEOF
107723
107724 else
107725   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107726 fi
107727 done
107728
107729   fi
107730
107731   # Used in libmath/Makefile.am.
107732   if test -n "$LIBMATHOBJS"; then
107733     need_libmath=yes
107734   fi
107735
107736
107737
107738
107739   enable_iconv=no
107740   # Only continue checking if the ISO C99 headers exist and support is on.
107741   if test x"$enable_wchar_t" = xyes; then
107742
107743     # Use iconv for wchar_t to char conversions. As such, check for
107744     # X/Open Portability Guide, version 2 features (XPG2).
107745     if test "${ac_cv_header_iconv_h+set}" = set; then
107746   echo "$as_me:$LINENO: checking for iconv.h" >&5
107747 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
107748 if test "${ac_cv_header_iconv_h+set}" = set; then
107749   echo $ECHO_N "(cached) $ECHO_C" >&6
107750 fi
107751 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
107752 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
107753 else
107754   # Is the header compilable?
107755 echo "$as_me:$LINENO: checking iconv.h usability" >&5
107756 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
107757 cat >conftest.$ac_ext <<_ACEOF
107758 /* confdefs.h.  */
107759 _ACEOF
107760 cat confdefs.h >>conftest.$ac_ext
107761 cat >>conftest.$ac_ext <<_ACEOF
107762 /* end confdefs.h.  */
107763 $ac_includes_default
107764 #include <iconv.h>
107765 _ACEOF
107766 rm -f conftest.$ac_objext
107767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107768   (eval $ac_compile) 2>conftest.er1
107769   ac_status=$?
107770   grep -v '^ *+' conftest.er1 >conftest.err
107771   rm -f conftest.er1
107772   cat conftest.err >&5
107773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107774   (exit $ac_status); } &&
107775          { ac_try='test -z "$ac_c_werror_flag"
107776                          || test ! -s conftest.err'
107777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107778   (eval $ac_try) 2>&5
107779   ac_status=$?
107780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107781   (exit $ac_status); }; } &&
107782          { ac_try='test -s conftest.$ac_objext'
107783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107784   (eval $ac_try) 2>&5
107785   ac_status=$?
107786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107787   (exit $ac_status); }; }; then
107788   ac_header_compiler=yes
107789 else
107790   echo "$as_me: failed program was:" >&5
107791 sed 's/^/| /' conftest.$ac_ext >&5
107792
107793 ac_header_compiler=no
107794 fi
107795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107796 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107797 echo "${ECHO_T}$ac_header_compiler" >&6
107798
107799 # Is the header present?
107800 echo "$as_me:$LINENO: checking iconv.h presence" >&5
107801 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
107802 cat >conftest.$ac_ext <<_ACEOF
107803 /* confdefs.h.  */
107804 _ACEOF
107805 cat confdefs.h >>conftest.$ac_ext
107806 cat >>conftest.$ac_ext <<_ACEOF
107807 /* end confdefs.h.  */
107808 #include <iconv.h>
107809 _ACEOF
107810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107811   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107812   ac_status=$?
107813   grep -v '^ *+' conftest.er1 >conftest.err
107814   rm -f conftest.er1
107815   cat conftest.err >&5
107816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107817   (exit $ac_status); } >/dev/null; then
107818   if test -s conftest.err; then
107819     ac_cpp_err=$ac_c_preproc_warn_flag
107820     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107821   else
107822     ac_cpp_err=
107823   fi
107824 else
107825   ac_cpp_err=yes
107826 fi
107827 if test -z "$ac_cpp_err"; then
107828   ac_header_preproc=yes
107829 else
107830   echo "$as_me: failed program was:" >&5
107831 sed 's/^/| /' conftest.$ac_ext >&5
107832
107833   ac_header_preproc=no
107834 fi
107835 rm -f conftest.err conftest.$ac_ext
107836 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107837 echo "${ECHO_T}$ac_header_preproc" >&6
107838
107839 # So?  What about this header?
107840 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107841   yes:no: )
107842     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
107843 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
107844     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
107845 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
107846     ac_header_preproc=yes
107847     ;;
107848   no:yes:* )
107849     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
107850 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
107851     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
107852 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
107853     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
107854 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
107855     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
107856 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
107857     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
107858 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
107859     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
107860 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
107861     (
107862       cat <<\_ASBOX
107863 ## ----------------------------------------- ##
107864 ## Report this to the package-unused lists.  ##
107865 ## ----------------------------------------- ##
107866 _ASBOX
107867     ) |
107868       sed "s/^/$as_me: WARNING:     /" >&2
107869     ;;
107870 esac
107871 echo "$as_me:$LINENO: checking for iconv.h" >&5
107872 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
107873 if test "${ac_cv_header_iconv_h+set}" = set; then
107874   echo $ECHO_N "(cached) $ECHO_C" >&6
107875 else
107876   ac_cv_header_iconv_h=$ac_header_preproc
107877 fi
107878 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
107879 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
107880
107881 fi
107882 if test $ac_cv_header_iconv_h = yes; then
107883   ac_has_iconv_h=yes
107884 else
107885   ac_has_iconv_h=no
107886 fi
107887
107888
107889     if test "${ac_cv_header_langinfo_h+set}" = set; then
107890   echo "$as_me:$LINENO: checking for langinfo.h" >&5
107891 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
107892 if test "${ac_cv_header_langinfo_h+set}" = set; then
107893   echo $ECHO_N "(cached) $ECHO_C" >&6
107894 fi
107895 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
107896 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
107897 else
107898   # Is the header compilable?
107899 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
107900 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
107901 cat >conftest.$ac_ext <<_ACEOF
107902 /* confdefs.h.  */
107903 _ACEOF
107904 cat confdefs.h >>conftest.$ac_ext
107905 cat >>conftest.$ac_ext <<_ACEOF
107906 /* end confdefs.h.  */
107907 $ac_includes_default
107908 #include <langinfo.h>
107909 _ACEOF
107910 rm -f conftest.$ac_objext
107911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107912   (eval $ac_compile) 2>conftest.er1
107913   ac_status=$?
107914   grep -v '^ *+' conftest.er1 >conftest.err
107915   rm -f conftest.er1
107916   cat conftest.err >&5
107917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107918   (exit $ac_status); } &&
107919          { ac_try='test -z "$ac_c_werror_flag"
107920                          || test ! -s conftest.err'
107921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107922   (eval $ac_try) 2>&5
107923   ac_status=$?
107924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107925   (exit $ac_status); }; } &&
107926          { ac_try='test -s conftest.$ac_objext'
107927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107928   (eval $ac_try) 2>&5
107929   ac_status=$?
107930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107931   (exit $ac_status); }; }; then
107932   ac_header_compiler=yes
107933 else
107934   echo "$as_me: failed program was:" >&5
107935 sed 's/^/| /' conftest.$ac_ext >&5
107936
107937 ac_header_compiler=no
107938 fi
107939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107940 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107941 echo "${ECHO_T}$ac_header_compiler" >&6
107942
107943 # Is the header present?
107944 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
107945 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
107946 cat >conftest.$ac_ext <<_ACEOF
107947 /* confdefs.h.  */
107948 _ACEOF
107949 cat confdefs.h >>conftest.$ac_ext
107950 cat >>conftest.$ac_ext <<_ACEOF
107951 /* end confdefs.h.  */
107952 #include <langinfo.h>
107953 _ACEOF
107954 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107955   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107956   ac_status=$?
107957   grep -v '^ *+' conftest.er1 >conftest.err
107958   rm -f conftest.er1
107959   cat conftest.err >&5
107960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107961   (exit $ac_status); } >/dev/null; then
107962   if test -s conftest.err; then
107963     ac_cpp_err=$ac_c_preproc_warn_flag
107964     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107965   else
107966     ac_cpp_err=
107967   fi
107968 else
107969   ac_cpp_err=yes
107970 fi
107971 if test -z "$ac_cpp_err"; then
107972   ac_header_preproc=yes
107973 else
107974   echo "$as_me: failed program was:" >&5
107975 sed 's/^/| /' conftest.$ac_ext >&5
107976
107977   ac_header_preproc=no
107978 fi
107979 rm -f conftest.err conftest.$ac_ext
107980 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107981 echo "${ECHO_T}$ac_header_preproc" >&6
107982
107983 # So?  What about this header?
107984 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107985   yes:no: )
107986     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
107987 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
107988     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
107989 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
107990     ac_header_preproc=yes
107991     ;;
107992   no:yes:* )
107993     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
107994 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
107995     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
107996 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
107997     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
107998 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
107999     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
108000 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
108001     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
108002 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
108003     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
108004 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
108005     (
108006       cat <<\_ASBOX
108007 ## ----------------------------------------- ##
108008 ## Report this to the package-unused lists.  ##
108009 ## ----------------------------------------- ##
108010 _ASBOX
108011     ) |
108012       sed "s/^/$as_me: WARNING:     /" >&2
108013     ;;
108014 esac
108015 echo "$as_me:$LINENO: checking for langinfo.h" >&5
108016 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
108017 if test "${ac_cv_header_langinfo_h+set}" = set; then
108018   echo $ECHO_N "(cached) $ECHO_C" >&6
108019 else
108020   ac_cv_header_langinfo_h=$ac_header_preproc
108021 fi
108022 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
108023 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
108024
108025 fi
108026 if test $ac_cv_header_langinfo_h = yes; then
108027   ac_has_langinfo_h=yes
108028 else
108029   ac_has_langinfo_h=no
108030 fi
108031
108032
108033
108034     # Check for existence of libiconv.a providing XPG2 wchar_t support.
108035     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
108036 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
108037 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
108038   echo $ECHO_N "(cached) $ECHO_C" >&6
108039 else
108040   ac_check_lib_save_LIBS=$LIBS
108041 LIBS="-liconv  $LIBS"
108042 if test x$gcc_no_link = xyes; then
108043   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108045    { (exit 1); exit 1; }; }
108046 fi
108047 cat >conftest.$ac_ext <<_ACEOF
108048 /* confdefs.h.  */
108049 _ACEOF
108050 cat confdefs.h >>conftest.$ac_ext
108051 cat >>conftest.$ac_ext <<_ACEOF
108052 /* end confdefs.h.  */
108053
108054 /* Override any gcc2 internal prototype to avoid an error.  */
108055 #ifdef __cplusplus
108056 extern "C"
108057 #endif
108058 /* We use char because int might match the return type of a gcc2
108059    builtin and then its argument prototype would still apply.  */
108060 char iconv ();
108061 int
108062 main ()
108063 {
108064 iconv ();
108065   ;
108066   return 0;
108067 }
108068 _ACEOF
108069 rm -f conftest.$ac_objext conftest$ac_exeext
108070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108071   (eval $ac_link) 2>conftest.er1
108072   ac_status=$?
108073   grep -v '^ *+' conftest.er1 >conftest.err
108074   rm -f conftest.er1
108075   cat conftest.err >&5
108076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108077   (exit $ac_status); } &&
108078          { ac_try='test -z "$ac_c_werror_flag"
108079                          || test ! -s conftest.err'
108080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108081   (eval $ac_try) 2>&5
108082   ac_status=$?
108083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108084   (exit $ac_status); }; } &&
108085          { ac_try='test -s conftest$ac_exeext'
108086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108087   (eval $ac_try) 2>&5
108088   ac_status=$?
108089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108090   (exit $ac_status); }; }; then
108091   ac_cv_lib_iconv_iconv=yes
108092 else
108093   echo "$as_me: failed program was:" >&5
108094 sed 's/^/| /' conftest.$ac_ext >&5
108095
108096 ac_cv_lib_iconv_iconv=no
108097 fi
108098 rm -f conftest.err conftest.$ac_objext \
108099       conftest$ac_exeext conftest.$ac_ext
108100 LIBS=$ac_check_lib_save_LIBS
108101 fi
108102 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
108103 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
108104 if test $ac_cv_lib_iconv_iconv = yes; then
108105   LIBICONV="-liconv"
108106 fi
108107
108108     ac_save_LIBS="$LIBS"
108109     LIBS="$LIBS $LIBICONV"
108110
108111
108112
108113
108114
108115
108116 for ac_func in iconv_open iconv_close iconv nl_langinfo
108117 do
108118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108119 echo "$as_me:$LINENO: checking for $ac_func" >&5
108120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108121 if eval "test \"\${$as_ac_var+set}\" = set"; then
108122   echo $ECHO_N "(cached) $ECHO_C" >&6
108123 else
108124   if test x$gcc_no_link = xyes; then
108125   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108127    { (exit 1); exit 1; }; }
108128 fi
108129 cat >conftest.$ac_ext <<_ACEOF
108130 /* confdefs.h.  */
108131 _ACEOF
108132 cat confdefs.h >>conftest.$ac_ext
108133 cat >>conftest.$ac_ext <<_ACEOF
108134 /* end confdefs.h.  */
108135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108136    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
108137 #define $ac_func innocuous_$ac_func
108138
108139 /* System header to define __stub macros and hopefully few prototypes,
108140     which can conflict with char $ac_func (); below.
108141     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108142     <limits.h> exists even on freestanding compilers.  */
108143
108144 #ifdef __STDC__
108145 # include <limits.h>
108146 #else
108147 # include <assert.h>
108148 #endif
108149
108150 #undef $ac_func
108151
108152 /* Override any gcc2 internal prototype to avoid an error.  */
108153 #ifdef __cplusplus
108154 extern "C"
108155 {
108156 #endif
108157 /* We use char because int might match the return type of a gcc2
108158    builtin and then its argument prototype would still apply.  */
108159 char $ac_func ();
108160 /* The GNU C library defines this for functions which it implements
108161     to always fail with ENOSYS.  Some functions are actually named
108162     something starting with __ and the normal name is an alias.  */
108163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108164 choke me
108165 #else
108166 char (*f) () = $ac_func;
108167 #endif
108168 #ifdef __cplusplus
108169 }
108170 #endif
108171
108172 int
108173 main ()
108174 {
108175 return f != $ac_func;
108176   ;
108177   return 0;
108178 }
108179 _ACEOF
108180 rm -f conftest.$ac_objext conftest$ac_exeext
108181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108182   (eval $ac_link) 2>conftest.er1
108183   ac_status=$?
108184   grep -v '^ *+' conftest.er1 >conftest.err
108185   rm -f conftest.er1
108186   cat conftest.err >&5
108187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108188   (exit $ac_status); } &&
108189          { ac_try='test -z "$ac_c_werror_flag"
108190                          || test ! -s conftest.err'
108191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108192   (eval $ac_try) 2>&5
108193   ac_status=$?
108194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108195   (exit $ac_status); }; } &&
108196          { ac_try='test -s conftest$ac_exeext'
108197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108198   (eval $ac_try) 2>&5
108199   ac_status=$?
108200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108201   (exit $ac_status); }; }; then
108202   eval "$as_ac_var=yes"
108203 else
108204   echo "$as_me: failed program was:" >&5
108205 sed 's/^/| /' conftest.$ac_ext >&5
108206
108207 eval "$as_ac_var=no"
108208 fi
108209 rm -f conftest.err conftest.$ac_objext \
108210       conftest$ac_exeext conftest.$ac_ext
108211 fi
108212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108214 if test `eval echo '${'$as_ac_var'}'` = yes; then
108215   cat >>confdefs.h <<_ACEOF
108216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108217 _ACEOF
108218  ac_XPG2funcs=yes
108219 else
108220   ac_XPG2funcs=no
108221 fi
108222 done
108223
108224
108225     LIBS="$ac_save_LIBS"
108226
108227     if test x"$ac_has_iconv_h" = xyes &&
108228        test x"$ac_has_langinfo_h" = xyes &&
108229        test x"$ac_XPG2funcs" = xyes;
108230     then
108231
108232 cat >>confdefs.h <<\_ACEOF
108233 #define _GLIBCXX_USE_ICONV 1
108234 _ACEOF
108235
108236       enable_iconv=yes
108237     fi
108238   fi
108239   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
108240 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
108241   echo "$as_me:$LINENO: result: $enable_iconv" >&5
108242 echo "${ECHO_T}$enable_iconv" >&6
108243
108244     cat >>confdefs.h <<\_ACEOF
108245 #define HAVE_COPYSIGN 1
108246 _ACEOF
108247
108248     cat >>confdefs.h <<\_ACEOF
108249 #define HAVE_COPYSIGNF 1
108250 _ACEOF
108251
108252     cat >>confdefs.h <<\_ACEOF
108253 #define HAVE_FINITE 1
108254 _ACEOF
108255
108256     cat >>confdefs.h <<\_ACEOF
108257 #define HAVE_FINITEF 1
108258 _ACEOF
108259
108260     cat >>confdefs.h <<\_ACEOF
108261 #define HAVE_FREXPF 1
108262 _ACEOF
108263
108264     cat >>confdefs.h <<\_ACEOF
108265 #define HAVE_HYPOTF 1
108266 _ACEOF
108267
108268     cat >>confdefs.h <<\_ACEOF
108269 #define HAVE_ISINF 1
108270 _ACEOF
108271
108272     cat >>confdefs.h <<\_ACEOF
108273 #define HAVE_ISINFF 1
108274 _ACEOF
108275
108276     cat >>confdefs.h <<\_ACEOF
108277 #define HAVE_ISNAN 1
108278 _ACEOF
108279
108280     cat >>confdefs.h <<\_ACEOF
108281 #define HAVE_ISNANF 1
108282 _ACEOF
108283
108284     cat >>confdefs.h <<\_ACEOF
108285 #define HAVE_SINCOS 1
108286 _ACEOF
108287
108288     cat >>confdefs.h <<\_ACEOF
108289 #define HAVE_SINCOSF 1
108290 _ACEOF
108291
108292     if test x"long_double_math_on_this_cpu" = x"yes"; then
108293       cat >>confdefs.h <<\_ACEOF
108294 #define HAVE_FINITEL 1
108295 _ACEOF
108296
108297       cat >>confdefs.h <<\_ACEOF
108298 #define HAVE_HYPOTL 1
108299 _ACEOF
108300
108301       cat >>confdefs.h <<\_ACEOF
108302 #define HAVE_ISINFL 1
108303 _ACEOF
108304
108305       cat >>confdefs.h <<\_ACEOF
108306 #define HAVE_ISNANL 1
108307 _ACEOF
108308
108309     fi
108310     ;;
108311   *-vxworks)
108312     cat >>confdefs.h <<\_ACEOF
108313 #define HAVE_MMAP 1
108314 _ACEOF
108315
108316     cat >>confdefs.h <<\_ACEOF
108317 #define HAVE_ACOSF 1
108318 _ACEOF
108319
108320     cat >>confdefs.h <<\_ACEOF
108321 #define HAVE_ASINF 1
108322 _ACEOF
108323
108324     cat >>confdefs.h <<\_ACEOF
108325 #define HAVE_ATAN2F 1
108326 _ACEOF
108327
108328     cat >>confdefs.h <<\_ACEOF
108329 #define HAVE_ATANF 1
108330 _ACEOF
108331
108332     cat >>confdefs.h <<\_ACEOF
108333 #define HAVE_CEILF 1
108334 _ACEOF
108335
108336     cat >>confdefs.h <<\_ACEOF
108337 #define HAVE_COSF 1
108338 _ACEOF
108339
108340     cat >>confdefs.h <<\_ACEOF
108341 #define HAVE_COSHF 1
108342 _ACEOF
108343
108344     cat >>confdefs.h <<\_ACEOF
108345 #define HAVE_EXPF 1
108346 _ACEOF
108347
108348     cat >>confdefs.h <<\_ACEOF
108349 #define HAVE_FABSF 1
108350 _ACEOF
108351
108352     cat >>confdefs.h <<\_ACEOF
108353 #define HAVE_FLOORF 1
108354 _ACEOF
108355
108356     cat >>confdefs.h <<\_ACEOF
108357 #define HAVE_FMODF 1
108358 _ACEOF
108359
108360     cat >>confdefs.h <<\_ACEOF
108361 #define HAVE_HYPOT 1
108362 _ACEOF
108363
108364     cat >>confdefs.h <<\_ACEOF
108365 #define HAVE_LOG10F 1
108366 _ACEOF
108367
108368     cat >>confdefs.h <<\_ACEOF
108369 #define HAVE_LOGF 1
108370 _ACEOF
108371
108372     cat >>confdefs.h <<\_ACEOF
108373 #define HAVE_POWF 1
108374 _ACEOF
108375
108376     cat >>confdefs.h <<\_ACEOF
108377 #define HAVE_SINF 1
108378 _ACEOF
108379
108380     cat >>confdefs.h <<\_ACEOF
108381 #define HAVE_SINHF 1
108382 _ACEOF
108383
108384     cat >>confdefs.h <<\_ACEOF
108385 #define HAVE_SQRTF 1
108386 _ACEOF
108387
108388     cat >>confdefs.h <<\_ACEOF
108389 #define HAVE_TANF 1
108390 _ACEOF
108391
108392     cat >>confdefs.h <<\_ACEOF
108393 #define HAVE_TANHF 1
108394 _ACEOF
108395
108396     ;;
108397   *-windiss*)
108398     cat >>confdefs.h <<\_ACEOF
108399 #define HAVE_ACOSF 1
108400 _ACEOF
108401
108402     cat >>confdefs.h <<\_ACEOF
108403 #define HAVE_ACOSL 1
108404 _ACEOF
108405
108406     cat >>confdefs.h <<\_ACEOF
108407 #define HAVE_ASINF 1
108408 _ACEOF
108409
108410     cat >>confdefs.h <<\_ACEOF
108411 #define HAVE_ASINL 1
108412 _ACEOF
108413
108414     cat >>confdefs.h <<\_ACEOF
108415 #define HAVE_ATAN2F 1
108416 _ACEOF
108417
108418     cat >>confdefs.h <<\_ACEOF
108419 #define HAVE_ATAN2L 1
108420 _ACEOF
108421
108422     cat >>confdefs.h <<\_ACEOF
108423 #define HAVE_ATANF 1
108424 _ACEOF
108425
108426     cat >>confdefs.h <<\_ACEOF
108427 #define HAVE_ATANL 1
108428 _ACEOF
108429
108430     cat >>confdefs.h <<\_ACEOF
108431 #define HAVE_CEILF 1
108432 _ACEOF
108433
108434     cat >>confdefs.h <<\_ACEOF
108435 #define HAVE_CEILL 1
108436 _ACEOF
108437
108438     cat >>confdefs.h <<\_ACEOF
108439 #define HAVE_COPYSIGN 1
108440 _ACEOF
108441
108442     cat >>confdefs.h <<\_ACEOF
108443 #define HAVE_COPYSIGNF 1
108444 _ACEOF
108445
108446     cat >>confdefs.h <<\_ACEOF
108447 #define HAVE_COSF 1
108448 _ACEOF
108449
108450     cat >>confdefs.h <<\_ACEOF
108451 #define HAVE_COSL 1
108452 _ACEOF
108453
108454     cat >>confdefs.h <<\_ACEOF
108455 #define HAVE_COSHF 1
108456 _ACEOF
108457
108458     cat >>confdefs.h <<\_ACEOF
108459 #define HAVE_COSHL 1
108460 _ACEOF
108461
108462     cat >>confdefs.h <<\_ACEOF
108463 #define HAVE_EXPF 1
108464 _ACEOF
108465
108466     cat >>confdefs.h <<\_ACEOF
108467 #define HAVE_EXPL 1
108468 _ACEOF
108469
108470     cat >>confdefs.h <<\_ACEOF
108471 #define HAVE_FABSF 1
108472 _ACEOF
108473
108474     cat >>confdefs.h <<\_ACEOF
108475 #define HAVE_FABSL 1
108476 _ACEOF
108477
108478     cat >>confdefs.h <<\_ACEOF
108479 #define HAVE_FLOORF 1
108480 _ACEOF
108481
108482     cat >>confdefs.h <<\_ACEOF
108483 #define HAVE_FLOORL 1
108484 _ACEOF
108485
108486     cat >>confdefs.h <<\_ACEOF
108487 #define HAVE_FMODF 1
108488 _ACEOF
108489
108490     cat >>confdefs.h <<\_ACEOF
108491 #define HAVE_FMODL 1
108492 _ACEOF
108493
108494     cat >>confdefs.h <<\_ACEOF
108495 #define HAVE_FREXPF 1
108496 _ACEOF
108497
108498     cat >>confdefs.h <<\_ACEOF
108499 #define HAVE_FREXPL 1
108500 _ACEOF
108501
108502     cat >>confdefs.h <<\_ACEOF
108503 #define HAVE_LDEXPF 1
108504 _ACEOF
108505
108506     cat >>confdefs.h <<\_ACEOF
108507 #define HAVE_LDEXPL 1
108508 _ACEOF
108509
108510     cat >>confdefs.h <<\_ACEOF
108511 #define HAVE_LOG10F 1
108512 _ACEOF
108513
108514     cat >>confdefs.h <<\_ACEOF
108515 #define HAVE_LOG10L 1
108516 _ACEOF
108517
108518     cat >>confdefs.h <<\_ACEOF
108519 #define HAVE_LOGF 1
108520 _ACEOF
108521
108522     cat >>confdefs.h <<\_ACEOF
108523 #define HAVE_MODFF 1
108524 _ACEOF
108525
108526     cat >>confdefs.h <<\_ACEOF
108527 #define HAVE_MODFL 1
108528 _ACEOF
108529
108530     cat >>confdefs.h <<\_ACEOF
108531 #define HAVE_POWF 1
108532 _ACEOF
108533
108534     cat >>confdefs.h <<\_ACEOF
108535 #define HAVE_POWL 1
108536 _ACEOF
108537
108538     cat >>confdefs.h <<\_ACEOF
108539 #define HAVE_SINF 1
108540 _ACEOF
108541
108542     cat >>confdefs.h <<\_ACEOF
108543 #define HAVE_SINL 1
108544 _ACEOF
108545
108546     cat >>confdefs.h <<\_ACEOF
108547 #define HAVE_SINHF 1
108548 _ACEOF
108549
108550     cat >>confdefs.h <<\_ACEOF
108551 #define HAVE_SINHL 1
108552 _ACEOF
108553
108554     cat >>confdefs.h <<\_ACEOF
108555 #define HAVE_SQRTF 1
108556 _ACEOF
108557
108558     cat >>confdefs.h <<\_ACEOF
108559 #define HAVE_SQRTL 1
108560 _ACEOF
108561
108562     cat >>confdefs.h <<\_ACEOF
108563 #define HAVE_TANF 1
108564 _ACEOF
108565
108566     cat >>confdefs.h <<\_ACEOF
108567 #define HAVE_TANL 1
108568 _ACEOF
108569
108570     cat >>confdefs.h <<\_ACEOF
108571 #define HAVE_TANHF 1
108572 _ACEOF
108573
108574     cat >>confdefs.h <<\_ACEOF
108575 #define HAVE_TANHL 1
108576 _ACEOF
108577
108578     ;;
108579   *)
108580     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
108581 echo "$as_me: error: No support for this host/target combination." >&2;}
108582    { (exit 1); exit 1; }; }
108583    ;;
108584 esac
108585
108586   fi
108587
108588   # At some point, we should differentiate between architectures
108589   # like x86, which have long double versions, and alpha/powerpc/etc.,
108590   # which don't. For the time being, punt.
108591   if test x"long_double_math_on_this_cpu" = x"yes"; then
108592     cat >>confdefs.h <<\_ACEOF
108593 #define HAVE_ACOSL 1
108594 _ACEOF
108595
108596     cat >>confdefs.h <<\_ACEOF
108597 #define HAVE_ASINL 1
108598 _ACEOF
108599
108600     cat >>confdefs.h <<\_ACEOF
108601 #define HAVE_ATAN2L 1
108602 _ACEOF
108603
108604     cat >>confdefs.h <<\_ACEOF
108605 #define HAVE_ATANL 1
108606 _ACEOF
108607
108608     cat >>confdefs.h <<\_ACEOF
108609 #define HAVE_CEILL 1
108610 _ACEOF
108611
108612     cat >>confdefs.h <<\_ACEOF
108613 #define HAVE_COPYSIGNL 1
108614 _ACEOF
108615
108616     cat >>confdefs.h <<\_ACEOF
108617 #define HAVE_COSL 1
108618 _ACEOF
108619
108620     cat >>confdefs.h <<\_ACEOF
108621 #define HAVE_COSHL 1
108622 _ACEOF
108623
108624     cat >>confdefs.h <<\_ACEOF
108625 #define HAVE_EXPL 1
108626 _ACEOF
108627
108628     cat >>confdefs.h <<\_ACEOF
108629 #define HAVE_FABSL 1
108630 _ACEOF
108631
108632     cat >>confdefs.h <<\_ACEOF
108633 #define HAVE_FLOORL 1
108634 _ACEOF
108635
108636     cat >>confdefs.h <<\_ACEOF
108637 #define HAVE_FMODL 1
108638 _ACEOF
108639
108640     cat >>confdefs.h <<\_ACEOF
108641 #define HAVE_FREXPL 1
108642 _ACEOF
108643
108644     cat >>confdefs.h <<\_ACEOF
108645 #define HAVE_LDEXPL 1
108646 _ACEOF
108647
108648     cat >>confdefs.h <<\_ACEOF
108649 #define HAVE_LOG10L 1
108650 _ACEOF
108651
108652     cat >>confdefs.h <<\_ACEOF
108653 #define HAVE_LOGL 1
108654 _ACEOF
108655
108656     cat >>confdefs.h <<\_ACEOF
108657 #define HAVE_MODFL 1
108658 _ACEOF
108659
108660     cat >>confdefs.h <<\_ACEOF
108661 #define HAVE_POWL 1
108662 _ACEOF
108663
108664     cat >>confdefs.h <<\_ACEOF
108665 #define HAVE_SINCOSL 1
108666 _ACEOF
108667
108668     cat >>confdefs.h <<\_ACEOF
108669 #define HAVE_SINL 1
108670 _ACEOF
108671
108672     cat >>confdefs.h <<\_ACEOF
108673 #define HAVE_SINHL 1
108674 _ACEOF
108675
108676     cat >>confdefs.h <<\_ACEOF
108677 #define HAVE_SQRTL 1
108678 _ACEOF
108679
108680     cat >>confdefs.h <<\_ACEOF
108681 #define HAVE_TANL 1
108682 _ACEOF
108683
108684     cat >>confdefs.h <<\_ACEOF
108685 #define HAVE_TANHL 1
108686 _ACEOF
108687
108688   fi
108689
108690   # Assume we have _Unwind_GetIPInfo for cross-compiles.
108691   cat >>confdefs.h <<\_ACEOF
108692 #define HAVE_GETIPINFO 1
108693 _ACEOF
108694
108695
108696 fi
108697
108698 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
108699
108700
108701  # Check whether --enable-symvers or --disable-symvers was given.
108702 if test "${enable_symvers+set}" = set; then
108703   enableval="$enable_symvers"
108704
108705       case "$enableval" in
108706        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
108707        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
108708 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
108709    { (exit 1); exit 1; }; } ;;
108710                           esac
108711
108712 else
108713   enable_symvers=yes
108714 fi;
108715
108716
108717 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
108718 # don't know enough about $LD to do tricks...
108719
108720
108721 # Turn a 'yes' into a suitable default.
108722 if test x$enable_symvers = xyes ; then
108723   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
108724     enable_symvers=no
108725   else
108726     if test $with_gnu_ld = yes ; then
108727       enable_symvers=gnu
108728     else
108729       case ${target_os} in
108730         darwin*)
108731           enable_symvers=darwin ;;
108732         *)
108733           enable_symvers=no ;;
108734       esac
108735     fi
108736   fi
108737 fi
108738
108739 # Check to see if 'darwin' or 'darwin-export' can win.
108740 if test x$enable_symvers = xdarwin-export ; then
108741     enable_symvers=darwin
108742 fi
108743
108744 # Check to see if 'gnu' can win.
108745 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
108746   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
108747   echo "$as_me:$LINENO: checking for shared libgcc" >&5
108748 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
108749   ac_save_CFLAGS="$CFLAGS"
108750   CFLAGS=' -lgcc_s'
108751   if test x$gcc_no_link = xyes; then
108752   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108754    { (exit 1); exit 1; }; }
108755 fi
108756 cat >conftest.$ac_ext <<_ACEOF
108757 /* confdefs.h.  */
108758 _ACEOF
108759 cat confdefs.h >>conftest.$ac_ext
108760 cat >>conftest.$ac_ext <<_ACEOF
108761 /* end confdefs.h.  */
108762
108763 int
108764 main ()
108765 {
108766 return 0;
108767   ;
108768   return 0;
108769 }
108770 _ACEOF
108771 rm -f conftest.$ac_objext conftest$ac_exeext
108772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108773   (eval $ac_link) 2>conftest.er1
108774   ac_status=$?
108775   grep -v '^ *+' conftest.er1 >conftest.err
108776   rm -f conftest.er1
108777   cat conftest.err >&5
108778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108779   (exit $ac_status); } &&
108780          { ac_try='test -z "$ac_c_werror_flag"
108781                          || test ! -s conftest.err'
108782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108783   (eval $ac_try) 2>&5
108784   ac_status=$?
108785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108786   (exit $ac_status); }; } &&
108787          { ac_try='test -s conftest$ac_exeext'
108788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108789   (eval $ac_try) 2>&5
108790   ac_status=$?
108791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108792   (exit $ac_status); }; }; then
108793   glibcxx_shared_libgcc=yes
108794 else
108795   echo "$as_me: failed program was:" >&5
108796 sed 's/^/| /' conftest.$ac_ext >&5
108797
108798 glibcxx_shared_libgcc=no
108799 fi
108800 rm -f conftest.err conftest.$ac_objext \
108801       conftest$ac_exeext conftest.$ac_ext
108802   CFLAGS="$ac_save_CFLAGS"
108803   if test $glibcxx_shared_libgcc = no; then
108804     cat > conftest.c <<EOF
108805 int main (void) { return 0; }
108806 EOF
108807     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
108808                              -shared -shared-libgcc -o conftest.so \
108809                              conftest.c -v 2>&1 >/dev/null \
108810                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
108811     rm -f conftest.c conftest.so
108812     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
108813       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
108814       if test x$gcc_no_link = xyes; then
108815   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108817    { (exit 1); exit 1; }; }
108818 fi
108819 cat >conftest.$ac_ext <<_ACEOF
108820 /* confdefs.h.  */
108821 _ACEOF
108822 cat confdefs.h >>conftest.$ac_ext
108823 cat >>conftest.$ac_ext <<_ACEOF
108824 /* end confdefs.h.  */
108825
108826 int
108827 main ()
108828 {
108829 return 0;
108830   ;
108831   return 0;
108832 }
108833 _ACEOF
108834 rm -f conftest.$ac_objext conftest$ac_exeext
108835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108836   (eval $ac_link) 2>conftest.er1
108837   ac_status=$?
108838   grep -v '^ *+' conftest.er1 >conftest.err
108839   rm -f conftest.er1
108840   cat conftest.err >&5
108841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108842   (exit $ac_status); } &&
108843          { ac_try='test -z "$ac_c_werror_flag"
108844                          || test ! -s conftest.err'
108845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108846   (eval $ac_try) 2>&5
108847   ac_status=$?
108848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108849   (exit $ac_status); }; } &&
108850          { ac_try='test -s conftest$ac_exeext'
108851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108852   (eval $ac_try) 2>&5
108853   ac_status=$?
108854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108855   (exit $ac_status); }; }; then
108856   glibcxx_shared_libgcc=yes
108857 else
108858   echo "$as_me: failed program was:" >&5
108859 sed 's/^/| /' conftest.$ac_ext >&5
108860
108861 fi
108862 rm -f conftest.err conftest.$ac_objext \
108863       conftest$ac_exeext conftest.$ac_ext
108864       CFLAGS="$ac_save_CFLAGS"
108865     fi
108866   fi
108867   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
108868 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
108869
108870   # For GNU ld, we need at least this version.  The format is described in
108871   # GLIBCXX_CHECK_LINKER_FEATURES above.
108872   glibcxx_min_gnu_ld_version=21400
108873
108874   # If no shared libgcc, can't win.
108875   if test $glibcxx_shared_libgcc != yes; then
108876       { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
108877 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
108878       { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
108879 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
108880       { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108881 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108882       enable_symvers=no
108883   elif test $with_gnu_ld != yes ; then
108884     # just fail for now
108885     { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
108886 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
108887     { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
108888 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
108889     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108890 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108891     enable_symvers=no
108892   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
108893     # The right tools, the right setup, but too old.  Fallbacks?
108894     { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
108895 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
108896     { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
108897 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
108898     { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
108899 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
108900     { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
108901 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
108902     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108903 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108904     enable_symvers=no
108905   fi
108906 fi
108907
108908 # Everything parsed; figure out what file to use.
108909 case $enable_symvers in
108910   no)
108911     SYMVER_FILE=config/abi/pre/none.ver
108912     ;;
108913   gnu)
108914     SYMVER_FILE=config/abi/pre/gnu.ver
108915
108916 cat >>confdefs.h <<\_ACEOF
108917 #define _GLIBCXX_SYMVER_GNU 1
108918 _ACEOF
108919
108920     ;;
108921   gnu-versioned-namespace)
108922     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
108923
108924 cat >>confdefs.h <<\_ACEOF
108925 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
108926 _ACEOF
108927
108928     ;;
108929   darwin)
108930     SYMVER_FILE=config/abi/pre/gnu.ver
108931
108932 cat >>confdefs.h <<\_ACEOF
108933 #define _GLIBCXX_SYMVER_DARWIN 1
108934 _ACEOF
108935
108936     ;;
108937 esac
108938
108939 if test x$enable_symvers != xno ; then
108940
108941 cat >>confdefs.h <<\_ACEOF
108942 #define _GLIBCXX_SYMVER 1
108943 _ACEOF
108944
108945 fi
108946
108947
108948
108949
108950
108951
108952
108953 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
108954 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
108955
108956 # Now, set up compatibility support, if any.
108957 # In addition, need this to deal with std::size_t mangling in
108958 # src/compatibility.cc.  In a perfect world, could use
108959 # typeid(std::size_t).name()[0] to do direct substitution.
108960 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
108961 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
108962 ac_save_CFLAGS="$CFLAGS"
108963 CFLAGS="-Werror"
108964 cat >conftest.$ac_ext <<_ACEOF
108965 /* confdefs.h.  */
108966 _ACEOF
108967 cat confdefs.h >>conftest.$ac_ext
108968 cat >>conftest.$ac_ext <<_ACEOF
108969 /* end confdefs.h.  */
108970
108971 int
108972 main ()
108973 {
108974 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
108975   ;
108976   return 0;
108977 }
108978 _ACEOF
108979 rm -f conftest.$ac_objext
108980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108981   (eval $ac_compile) 2>conftest.er1
108982   ac_status=$?
108983   grep -v '^ *+' conftest.er1 >conftest.err
108984   rm -f conftest.er1
108985   cat conftest.err >&5
108986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108987   (exit $ac_status); } &&
108988          { ac_try='test -z "$ac_c_werror_flag"
108989                          || test ! -s conftest.err'
108990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108991   (eval $ac_try) 2>&5
108992   ac_status=$?
108993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108994   (exit $ac_status); }; } &&
108995          { ac_try='test -s conftest.$ac_objext'
108996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108997   (eval $ac_try) 2>&5
108998   ac_status=$?
108999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109000   (exit $ac_status); }; }; then
109001   glibcxx_size_t_is_i=yes
109002 else
109003   echo "$as_me: failed program was:" >&5
109004 sed 's/^/| /' conftest.$ac_ext >&5
109005
109006 glibcxx_size_t_is_i=no
109007 fi
109008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109009 CFLAGS=$ac_save_CFLAGS
109010 if test "$glibcxx_size_t_is_i" = yes; then
109011
109012 cat >>confdefs.h <<\_ACEOF
109013 #define _GLIBCXX_SIZE_T_IS_UINT 1
109014 _ACEOF
109015
109016 fi
109017 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
109018 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
109019
109020 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
109021 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
109022 ac_save_CFLAGS="$CFLAGS"
109023 CFLAGS="-Werror"
109024 cat >conftest.$ac_ext <<_ACEOF
109025 /* confdefs.h.  */
109026 _ACEOF
109027 cat confdefs.h >>conftest.$ac_ext
109028 cat >>conftest.$ac_ext <<_ACEOF
109029 /* end confdefs.h.  */
109030
109031 int
109032 main ()
109033 {
109034 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
109035   ;
109036   return 0;
109037 }
109038 _ACEOF
109039 rm -f conftest.$ac_objext
109040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109041   (eval $ac_compile) 2>conftest.er1
109042   ac_status=$?
109043   grep -v '^ *+' conftest.er1 >conftest.err
109044   rm -f conftest.er1
109045   cat conftest.err >&5
109046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109047   (exit $ac_status); } &&
109048          { ac_try='test -z "$ac_c_werror_flag"
109049                          || test ! -s conftest.err'
109050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109051   (eval $ac_try) 2>&5
109052   ac_status=$?
109053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109054   (exit $ac_status); }; } &&
109055          { ac_try='test -s conftest.$ac_objext'
109056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109057   (eval $ac_try) 2>&5
109058   ac_status=$?
109059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109060   (exit $ac_status); }; }; then
109061   glibcxx_ptrdiff_t_is_i=yes
109062 else
109063   echo "$as_me: failed program was:" >&5
109064 sed 's/^/| /' conftest.$ac_ext >&5
109065
109066 glibcxx_ptrdiff_t_is_i=no
109067 fi
109068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109069 CFLAGS=$ac_save_CFLAGS
109070 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
109071
109072 cat >>confdefs.h <<\_ACEOF
109073 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
109074 _ACEOF
109075
109076 fi
109077 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
109078 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
109079
109080
109081  # Check whether --enable-visibility or --disable-visibility was given.
109082 if test "${enable_visibility+set}" = set; then
109083   enableval="$enable_visibility"
109084
109085       case "$enableval" in
109086        yes|no) ;;
109087        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
109088 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
109089    { (exit 1); exit 1; }; } ;;
109090       esac
109091
109092 else
109093   enable_visibility=yes
109094 fi;
109095
109096
109097 if test x$enable_visibility = xyes ; then
109098       echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
109099 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
109100 if test "${have_attribute_visibility+set}" = set; then
109101   echo $ECHO_N "(cached) $ECHO_C" >&6
109102 else
109103
109104   save_CFLAGS="$CFLAGS"
109105   CFLAGS="$CFLAGS -Werror"
109106   cat >conftest.$ac_ext <<_ACEOF
109107 /* confdefs.h.  */
109108 _ACEOF
109109 cat confdefs.h >>conftest.$ac_ext
109110 cat >>conftest.$ac_ext <<_ACEOF
109111 /* end confdefs.h.  */
109112 void __attribute__((visibility("hidden"))) foo(void) { }
109113 int
109114 main ()
109115 {
109116
109117   ;
109118   return 0;
109119 }
109120 _ACEOF
109121 rm -f conftest.$ac_objext
109122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109123   (eval $ac_compile) 2>conftest.er1
109124   ac_status=$?
109125   grep -v '^ *+' conftest.er1 >conftest.err
109126   rm -f conftest.er1
109127   cat conftest.err >&5
109128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109129   (exit $ac_status); } &&
109130          { ac_try='test -z "$ac_c_werror_flag"
109131                          || test ! -s conftest.err'
109132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109133   (eval $ac_try) 2>&5
109134   ac_status=$?
109135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109136   (exit $ac_status); }; } &&
109137          { ac_try='test -s conftest.$ac_objext'
109138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109139   (eval $ac_try) 2>&5
109140   ac_status=$?
109141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109142   (exit $ac_status); }; }; then
109143   have_attribute_visibility=yes
109144 else
109145   echo "$as_me: failed program was:" >&5
109146 sed 's/^/| /' conftest.$ac_ext >&5
109147
109148 have_attribute_visibility=no
109149 fi
109150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109151   CFLAGS="$save_CFLAGS"
109152 fi
109153 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
109154 echo "${ECHO_T}$have_attribute_visibility" >&6
109155   if test $have_attribute_visibility = no; then
109156     enable_visibility=no
109157   fi
109158 fi
109159
109160
109161 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
109162 echo "$as_me: visibility supported: $enable_visibility" >&6;}
109163
109164
109165 ac_ldbl_compat=no
109166 case "$target" in
109167   powerpc*-*-*gnu* | \
109168   sparc*-*-linux* | \
109169   s390*-*-linux* | \
109170   alpha*-*-linux*)
109171   cat >conftest.$ac_ext <<_ACEOF
109172 /* confdefs.h.  */
109173 _ACEOF
109174 cat confdefs.h >>conftest.$ac_ext
109175 cat >>conftest.$ac_ext <<_ACEOF
109176 /* end confdefs.h.  */
109177
109178 int
109179 main ()
109180 {
109181
109182 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
109183 #error no need for long double compatibility
109184 #endif
109185
109186   ;
109187   return 0;
109188 }
109189 _ACEOF
109190 rm -f conftest.$ac_objext
109191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109192   (eval $ac_compile) 2>conftest.er1
109193   ac_status=$?
109194   grep -v '^ *+' conftest.er1 >conftest.err
109195   rm -f conftest.er1
109196   cat conftest.err >&5
109197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109198   (exit $ac_status); } &&
109199          { ac_try='test -z "$ac_c_werror_flag"
109200                          || test ! -s conftest.err'
109201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109202   (eval $ac_try) 2>&5
109203   ac_status=$?
109204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109205   (exit $ac_status); }; } &&
109206          { ac_try='test -s conftest.$ac_objext'
109207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109208   (eval $ac_try) 2>&5
109209   ac_status=$?
109210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109211   (exit $ac_status); }; }; then
109212   ac_ldbl_compat=yes
109213 else
109214   echo "$as_me: failed program was:" >&5
109215 sed 's/^/| /' conftest.$ac_ext >&5
109216
109217 ac_ldbl_compat=no
109218 fi
109219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109220   if test "$ac_ldbl_compat" = yes; then
109221
109222 cat >>confdefs.h <<\_ACEOF
109223 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
109224 _ACEOF
109225
109226     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
109227   fi
109228 esac
109229
109230
109231 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
109232
109233   if $GLIBCXX_IS_NATIVE ; then
109234     # Do checks for resource limit functions.
109235
109236   setrlimit_have_headers=yes
109237
109238
109239
109240 for ac_header in unistd.h sys/time.h sys/resource.h
109241 do
109242 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109244   echo "$as_me:$LINENO: checking for $ac_header" >&5
109245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109247   echo $ECHO_N "(cached) $ECHO_C" >&6
109248 fi
109249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109251 else
109252   # Is the header compilable?
109253 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109254 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109255 cat >conftest.$ac_ext <<_ACEOF
109256 /* confdefs.h.  */
109257 _ACEOF
109258 cat confdefs.h >>conftest.$ac_ext
109259 cat >>conftest.$ac_ext <<_ACEOF
109260 /* end confdefs.h.  */
109261 $ac_includes_default
109262 #include <$ac_header>
109263 _ACEOF
109264 rm -f conftest.$ac_objext
109265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109266   (eval $ac_compile) 2>conftest.er1
109267   ac_status=$?
109268   grep -v '^ *+' conftest.er1 >conftest.err
109269   rm -f conftest.er1
109270   cat conftest.err >&5
109271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109272   (exit $ac_status); } &&
109273          { ac_try='test -z "$ac_c_werror_flag"
109274                          || test ! -s conftest.err'
109275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109276   (eval $ac_try) 2>&5
109277   ac_status=$?
109278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109279   (exit $ac_status); }; } &&
109280          { ac_try='test -s conftest.$ac_objext'
109281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109282   (eval $ac_try) 2>&5
109283   ac_status=$?
109284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109285   (exit $ac_status); }; }; then
109286   ac_header_compiler=yes
109287 else
109288   echo "$as_me: failed program was:" >&5
109289 sed 's/^/| /' conftest.$ac_ext >&5
109290
109291 ac_header_compiler=no
109292 fi
109293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109295 echo "${ECHO_T}$ac_header_compiler" >&6
109296
109297 # Is the header present?
109298 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109299 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109300 cat >conftest.$ac_ext <<_ACEOF
109301 /* confdefs.h.  */
109302 _ACEOF
109303 cat confdefs.h >>conftest.$ac_ext
109304 cat >>conftest.$ac_ext <<_ACEOF
109305 /* end confdefs.h.  */
109306 #include <$ac_header>
109307 _ACEOF
109308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109309   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109310   ac_status=$?
109311   grep -v '^ *+' conftest.er1 >conftest.err
109312   rm -f conftest.er1
109313   cat conftest.err >&5
109314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109315   (exit $ac_status); } >/dev/null; then
109316   if test -s conftest.err; then
109317     ac_cpp_err=$ac_c_preproc_warn_flag
109318     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109319   else
109320     ac_cpp_err=
109321   fi
109322 else
109323   ac_cpp_err=yes
109324 fi
109325 if test -z "$ac_cpp_err"; then
109326   ac_header_preproc=yes
109327 else
109328   echo "$as_me: failed program was:" >&5
109329 sed 's/^/| /' conftest.$ac_ext >&5
109330
109331   ac_header_preproc=no
109332 fi
109333 rm -f conftest.err conftest.$ac_ext
109334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109335 echo "${ECHO_T}$ac_header_preproc" >&6
109336
109337 # So?  What about this header?
109338 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109339   yes:no: )
109340     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109341 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109342     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109343 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109344     ac_header_preproc=yes
109345     ;;
109346   no:yes:* )
109347     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109348 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109349     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
109350 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
109351     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109352 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109353     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
109354 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
109355     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109356 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109357     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109358 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109359     (
109360       cat <<\_ASBOX
109361 ## ----------------------------------------- ##
109362 ## Report this to the package-unused lists.  ##
109363 ## ----------------------------------------- ##
109364 _ASBOX
109365     ) |
109366       sed "s/^/$as_me: WARNING:     /" >&2
109367     ;;
109368 esac
109369 echo "$as_me:$LINENO: checking for $ac_header" >&5
109370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109372   echo $ECHO_N "(cached) $ECHO_C" >&6
109373 else
109374   eval "$as_ac_Header=\$ac_header_preproc"
109375 fi
109376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109378
109379 fi
109380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109381   cat >>confdefs.h <<_ACEOF
109382 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109383 _ACEOF
109384
109385 else
109386   setrlimit_have_headers=no
109387 fi
109388
109389 done
109390
109391   # If don't have the headers, then we can't run the tests now, and we
109392   # won't be seeing any of these during testsuite compilation.
109393   if test $setrlimit_have_headers = yes; then
109394     # Can't do these in a loop, else the resulting syntax is wrong.
109395
109396   echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
109397 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
109398   cat >conftest.$ac_ext <<_ACEOF
109399 /* confdefs.h.  */
109400 _ACEOF
109401 cat confdefs.h >>conftest.$ac_ext
109402 cat >>conftest.$ac_ext <<_ACEOF
109403 /* end confdefs.h.  */
109404 #include <unistd.h>
109405      #include <sys/time.h>
109406      #include <sys/resource.h>
109407
109408 int
109409 main ()
109410 {
109411  int f = RLIMIT_DATA ;
109412   ;
109413   return 0;
109414 }
109415 _ACEOF
109416 rm -f conftest.$ac_objext
109417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109418   (eval $ac_compile) 2>conftest.er1
109419   ac_status=$?
109420   grep -v '^ *+' conftest.er1 >conftest.err
109421   rm -f conftest.er1
109422   cat conftest.err >&5
109423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109424   (exit $ac_status); } &&
109425          { ac_try='test -z "$ac_c_werror_flag"
109426                          || test ! -s conftest.err'
109427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109428   (eval $ac_try) 2>&5
109429   ac_status=$?
109430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109431   (exit $ac_status); }; } &&
109432          { ac_try='test -s conftest.$ac_objext'
109433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109434   (eval $ac_try) 2>&5
109435   ac_status=$?
109436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109437   (exit $ac_status); }; }; then
109438   glibcxx_mresult=1
109439 else
109440   echo "$as_me: failed program was:" >&5
109441 sed 's/^/| /' conftest.$ac_ext >&5
109442
109443 glibcxx_mresult=0
109444 fi
109445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109446
109447 cat >>confdefs.h <<_ACEOF
109448 #define HAVE_LIMIT_DATA $glibcxx_mresult
109449 _ACEOF
109450
109451   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109452   echo "$as_me:$LINENO: result: $res" >&5
109453 echo "${ECHO_T}$res" >&6
109454
109455
109456   echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
109457 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
109458   cat >conftest.$ac_ext <<_ACEOF
109459 /* confdefs.h.  */
109460 _ACEOF
109461 cat confdefs.h >>conftest.$ac_ext
109462 cat >>conftest.$ac_ext <<_ACEOF
109463 /* end confdefs.h.  */
109464 #include <unistd.h>
109465      #include <sys/time.h>
109466      #include <sys/resource.h>
109467
109468 int
109469 main ()
109470 {
109471  int f = RLIMIT_RSS ;
109472   ;
109473   return 0;
109474 }
109475 _ACEOF
109476 rm -f conftest.$ac_objext
109477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109478   (eval $ac_compile) 2>conftest.er1
109479   ac_status=$?
109480   grep -v '^ *+' conftest.er1 >conftest.err
109481   rm -f conftest.er1
109482   cat conftest.err >&5
109483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109484   (exit $ac_status); } &&
109485          { ac_try='test -z "$ac_c_werror_flag"
109486                          || test ! -s conftest.err'
109487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109488   (eval $ac_try) 2>&5
109489   ac_status=$?
109490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109491   (exit $ac_status); }; } &&
109492          { ac_try='test -s conftest.$ac_objext'
109493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109494   (eval $ac_try) 2>&5
109495   ac_status=$?
109496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109497   (exit $ac_status); }; }; then
109498   glibcxx_mresult=1
109499 else
109500   echo "$as_me: failed program was:" >&5
109501 sed 's/^/| /' conftest.$ac_ext >&5
109502
109503 glibcxx_mresult=0
109504 fi
109505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109506
109507 cat >>confdefs.h <<_ACEOF
109508 #define HAVE_LIMIT_RSS $glibcxx_mresult
109509 _ACEOF
109510
109511   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109512   echo "$as_me:$LINENO: result: $res" >&5
109513 echo "${ECHO_T}$res" >&6
109514
109515
109516   echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
109517 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
109518   cat >conftest.$ac_ext <<_ACEOF
109519 /* confdefs.h.  */
109520 _ACEOF
109521 cat confdefs.h >>conftest.$ac_ext
109522 cat >>conftest.$ac_ext <<_ACEOF
109523 /* end confdefs.h.  */
109524 #include <unistd.h>
109525      #include <sys/time.h>
109526      #include <sys/resource.h>
109527
109528 int
109529 main ()
109530 {
109531  int f = RLIMIT_VMEM ;
109532   ;
109533   return 0;
109534 }
109535 _ACEOF
109536 rm -f conftest.$ac_objext
109537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109538   (eval $ac_compile) 2>conftest.er1
109539   ac_status=$?
109540   grep -v '^ *+' conftest.er1 >conftest.err
109541   rm -f conftest.er1
109542   cat conftest.err >&5
109543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109544   (exit $ac_status); } &&
109545          { ac_try='test -z "$ac_c_werror_flag"
109546                          || test ! -s conftest.err'
109547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109548   (eval $ac_try) 2>&5
109549   ac_status=$?
109550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109551   (exit $ac_status); }; } &&
109552          { ac_try='test -s conftest.$ac_objext'
109553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109554   (eval $ac_try) 2>&5
109555   ac_status=$?
109556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109557   (exit $ac_status); }; }; then
109558   glibcxx_mresult=1
109559 else
109560   echo "$as_me: failed program was:" >&5
109561 sed 's/^/| /' conftest.$ac_ext >&5
109562
109563 glibcxx_mresult=0
109564 fi
109565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109566
109567 cat >>confdefs.h <<_ACEOF
109568 #define HAVE_LIMIT_VMEM $glibcxx_mresult
109569 _ACEOF
109570
109571   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109572   echo "$as_me:$LINENO: result: $res" >&5
109573 echo "${ECHO_T}$res" >&6
109574
109575
109576   echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
109577 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
109578   cat >conftest.$ac_ext <<_ACEOF
109579 /* confdefs.h.  */
109580 _ACEOF
109581 cat confdefs.h >>conftest.$ac_ext
109582 cat >>conftest.$ac_ext <<_ACEOF
109583 /* end confdefs.h.  */
109584 #include <unistd.h>
109585      #include <sys/time.h>
109586      #include <sys/resource.h>
109587
109588 int
109589 main ()
109590 {
109591  int f = RLIMIT_AS ;
109592   ;
109593   return 0;
109594 }
109595 _ACEOF
109596 rm -f conftest.$ac_objext
109597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109598   (eval $ac_compile) 2>conftest.er1
109599   ac_status=$?
109600   grep -v '^ *+' conftest.er1 >conftest.err
109601   rm -f conftest.er1
109602   cat conftest.err >&5
109603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109604   (exit $ac_status); } &&
109605          { ac_try='test -z "$ac_c_werror_flag"
109606                          || test ! -s conftest.err'
109607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109608   (eval $ac_try) 2>&5
109609   ac_status=$?
109610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109611   (exit $ac_status); }; } &&
109612          { ac_try='test -s conftest.$ac_objext'
109613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109614   (eval $ac_try) 2>&5
109615   ac_status=$?
109616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109617   (exit $ac_status); }; }; then
109618   glibcxx_mresult=1
109619 else
109620   echo "$as_me: failed program was:" >&5
109621 sed 's/^/| /' conftest.$ac_ext >&5
109622
109623 glibcxx_mresult=0
109624 fi
109625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109626
109627 cat >>confdefs.h <<_ACEOF
109628 #define HAVE_LIMIT_AS $glibcxx_mresult
109629 _ACEOF
109630
109631   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109632   echo "$as_me:$LINENO: result: $res" >&5
109633 echo "${ECHO_T}$res" >&6
109634
109635
109636   echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
109637 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
109638   cat >conftest.$ac_ext <<_ACEOF
109639 /* confdefs.h.  */
109640 _ACEOF
109641 cat confdefs.h >>conftest.$ac_ext
109642 cat >>conftest.$ac_ext <<_ACEOF
109643 /* end confdefs.h.  */
109644 #include <unistd.h>
109645      #include <sys/time.h>
109646      #include <sys/resource.h>
109647
109648 int
109649 main ()
109650 {
109651  int f = RLIMIT_FSIZE ;
109652   ;
109653   return 0;
109654 }
109655 _ACEOF
109656 rm -f conftest.$ac_objext
109657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109658   (eval $ac_compile) 2>conftest.er1
109659   ac_status=$?
109660   grep -v '^ *+' conftest.er1 >conftest.err
109661   rm -f conftest.er1
109662   cat conftest.err >&5
109663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109664   (exit $ac_status); } &&
109665          { ac_try='test -z "$ac_c_werror_flag"
109666                          || test ! -s conftest.err'
109667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109668   (eval $ac_try) 2>&5
109669   ac_status=$?
109670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109671   (exit $ac_status); }; } &&
109672          { ac_try='test -s conftest.$ac_objext'
109673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109674   (eval $ac_try) 2>&5
109675   ac_status=$?
109676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109677   (exit $ac_status); }; }; then
109678   glibcxx_mresult=1
109679 else
109680   echo "$as_me: failed program was:" >&5
109681 sed 's/^/| /' conftest.$ac_ext >&5
109682
109683 glibcxx_mresult=0
109684 fi
109685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109686
109687 cat >>confdefs.h <<_ACEOF
109688 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
109689 _ACEOF
109690
109691   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109692   echo "$as_me:$LINENO: result: $res" >&5
109693 echo "${ECHO_T}$res" >&6
109694
109695
109696     # Check for rlimit, setrlimit.
109697     if test "${ac_setrlimit+set}" = set; then
109698   echo $ECHO_N "(cached) $ECHO_C" >&6
109699 else
109700
109701       cat >conftest.$ac_ext <<_ACEOF
109702 /* confdefs.h.  */
109703 _ACEOF
109704 cat confdefs.h >>conftest.$ac_ext
109705 cat >>conftest.$ac_ext <<_ACEOF
109706 /* end confdefs.h.  */
109707 #include <unistd.h>
109708          #include <sys/time.h>
109709          #include <sys/resource.h>
109710
109711 int
109712 main ()
109713 {
109714 struct rlimit r;
109715          setrlimit(0, &r);
109716   ;
109717   return 0;
109718 }
109719 _ACEOF
109720 rm -f conftest.$ac_objext
109721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109722   (eval $ac_compile) 2>conftest.er1
109723   ac_status=$?
109724   grep -v '^ *+' conftest.er1 >conftest.err
109725   rm -f conftest.er1
109726   cat conftest.err >&5
109727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109728   (exit $ac_status); } &&
109729          { ac_try='test -z "$ac_c_werror_flag"
109730                          || test ! -s conftest.err'
109731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109732   (eval $ac_try) 2>&5
109733   ac_status=$?
109734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109735   (exit $ac_status); }; } &&
109736          { ac_try='test -s conftest.$ac_objext'
109737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109738   (eval $ac_try) 2>&5
109739   ac_status=$?
109740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109741   (exit $ac_status); }; }; then
109742   ac_setrlimit=yes
109743 else
109744   echo "$as_me: failed program was:" >&5
109745 sed 's/^/| /' conftest.$ac_ext >&5
109746
109747 ac_setrlimit=no
109748 fi
109749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109750
109751 fi
109752
109753   fi
109754
109755   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
109756 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
109757   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
109758     ac_res_limits=yes
109759
109760 cat >>confdefs.h <<\_ACEOF
109761 #define _GLIBCXX_RES_LIMITS 1
109762 _ACEOF
109763
109764   else
109765     ac_res_limits=no
109766   fi
109767   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
109768 echo "${ECHO_T}$ac_res_limits" >&6
109769
109770
109771     # Look for setenv, so that extended locale tests can be performed.
109772
109773   echo "$as_me:$LINENO: checking for setenv declaration" >&5
109774 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
109775   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
109776     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
109777   echo $ECHO_N "(cached) $ECHO_C" >&6
109778 else
109779
109780
109781
109782       ac_ext=cc
109783 ac_cpp='$CXXCPP $CPPFLAGS'
109784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109787
109788       cat >conftest.$ac_ext <<_ACEOF
109789 /* confdefs.h.  */
109790 _ACEOF
109791 cat confdefs.h >>conftest.$ac_ext
109792 cat >>conftest.$ac_ext <<_ACEOF
109793 /* end confdefs.h.  */
109794 #include <stdlib.h>
109795 int
109796 main ()
109797 {
109798  setenv(0, 0, 0);
109799   ;
109800   return 0;
109801 }
109802 _ACEOF
109803 rm -f conftest.$ac_objext
109804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109805   (eval $ac_compile) 2>conftest.er1
109806   ac_status=$?
109807   grep -v '^ *+' conftest.er1 >conftest.err
109808   rm -f conftest.er1
109809   cat conftest.err >&5
109810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109811   (exit $ac_status); } &&
109812          { ac_try='test -z "$ac_cxx_werror_flag"
109813                          || test ! -s conftest.err'
109814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109815   (eval $ac_try) 2>&5
109816   ac_status=$?
109817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109818   (exit $ac_status); }; } &&
109819          { ac_try='test -s conftest.$ac_objext'
109820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109821   (eval $ac_try) 2>&5
109822   ac_status=$?
109823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109824   (exit $ac_status); }; }; then
109825   glibcxx_cv_func_setenv_use=yes
109826 else
109827   echo "$as_me: failed program was:" >&5
109828 sed 's/^/| /' conftest.$ac_ext >&5
109829
109830 glibcxx_cv_func_setenv_use=no
109831 fi
109832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109833       ac_ext=c
109834 ac_cpp='$CPP $CPPFLAGS'
109835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109838
109839
109840 fi
109841
109842   fi
109843   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
109844 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
109845   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
109846
109847 for ac_func in setenv
109848 do
109849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109850 echo "$as_me:$LINENO: checking for $ac_func" >&5
109851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109852 if eval "test \"\${$as_ac_var+set}\" = set"; then
109853   echo $ECHO_N "(cached) $ECHO_C" >&6
109854 else
109855   if test x$gcc_no_link = xyes; then
109856   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109858    { (exit 1); exit 1; }; }
109859 fi
109860 cat >conftest.$ac_ext <<_ACEOF
109861 /* confdefs.h.  */
109862 _ACEOF
109863 cat confdefs.h >>conftest.$ac_ext
109864 cat >>conftest.$ac_ext <<_ACEOF
109865 /* end confdefs.h.  */
109866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109867    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
109868 #define $ac_func innocuous_$ac_func
109869
109870 /* System header to define __stub macros and hopefully few prototypes,
109871     which can conflict with char $ac_func (); below.
109872     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109873     <limits.h> exists even on freestanding compilers.  */
109874
109875 #ifdef __STDC__
109876 # include <limits.h>
109877 #else
109878 # include <assert.h>
109879 #endif
109880
109881 #undef $ac_func
109882
109883 /* Override any gcc2 internal prototype to avoid an error.  */
109884 #ifdef __cplusplus
109885 extern "C"
109886 {
109887 #endif
109888 /* We use char because int might match the return type of a gcc2
109889    builtin and then its argument prototype would still apply.  */
109890 char $ac_func ();
109891 /* The GNU C library defines this for functions which it implements
109892     to always fail with ENOSYS.  Some functions are actually named
109893     something starting with __ and the normal name is an alias.  */
109894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109895 choke me
109896 #else
109897 char (*f) () = $ac_func;
109898 #endif
109899 #ifdef __cplusplus
109900 }
109901 #endif
109902
109903 int
109904 main ()
109905 {
109906 return f != $ac_func;
109907   ;
109908   return 0;
109909 }
109910 _ACEOF
109911 rm -f conftest.$ac_objext conftest$ac_exeext
109912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109913   (eval $ac_link) 2>conftest.er1
109914   ac_status=$?
109915   grep -v '^ *+' conftest.er1 >conftest.err
109916   rm -f conftest.er1
109917   cat conftest.err >&5
109918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109919   (exit $ac_status); } &&
109920          { ac_try='test -z "$ac_c_werror_flag"
109921                          || test ! -s conftest.err'
109922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109923   (eval $ac_try) 2>&5
109924   ac_status=$?
109925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109926   (exit $ac_status); }; } &&
109927          { ac_try='test -s conftest$ac_exeext'
109928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109929   (eval $ac_try) 2>&5
109930   ac_status=$?
109931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109932   (exit $ac_status); }; }; then
109933   eval "$as_ac_var=yes"
109934 else
109935   echo "$as_me: failed program was:" >&5
109936 sed 's/^/| /' conftest.$ac_ext >&5
109937
109938 eval "$as_ac_var=no"
109939 fi
109940 rm -f conftest.err conftest.$ac_objext \
109941       conftest$ac_exeext conftest.$ac_ext
109942 fi
109943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109945 if test `eval echo '${'$as_ac_var'}'` = yes; then
109946   cat >>confdefs.h <<_ACEOF
109947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109948 _ACEOF
109949
109950 fi
109951 done
109952
109953   fi
109954
109955   fi
109956
109957   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
109958      test $enable_symvers != no; then
109959     case "$host" in
109960       *-*-cygwin*)
109961         enable_abi_check=no ;;
109962       *)
109963         enable_abi_check=yes ;;
109964     esac
109965   else
109966     # Only build this as native, since automake does not understand
109967     # CXX_FOR_BUILD.
109968     enable_abi_check=no
109969   fi
109970
109971   # Export file names for ABI checking.
109972   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
109973
109974
109975
109976 # Propagate the target-specific source directories through the build chain.
109977 ATOMICITY_SRCDIR=config/${atomicity_dir}
109978 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
109979 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
109980 OS_INC_SRCDIR=config/${os_include_dir}
109981 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
109982
109983
109984
109985
109986
109987
109988
109989 # Determine cross-compile flags and AM_CONDITIONALs.
109990 #AC_SUBST(GLIBCXX_IS_NATIVE)
109991 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
109992 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
109993 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
109994
109995
109996 if test $is_hosted = yes; then
109997   GLIBCXX_HOSTED_TRUE=
109998   GLIBCXX_HOSTED_FALSE='#'
109999 else
110000   GLIBCXX_HOSTED_TRUE='#'
110001   GLIBCXX_HOSTED_FALSE=
110002 fi
110003
110004
110005
110006
110007 if test $enable_libstdcxx_pch = yes; then
110008   GLIBCXX_BUILD_PCH_TRUE=
110009   GLIBCXX_BUILD_PCH_FALSE='#'
110010 else
110011   GLIBCXX_BUILD_PCH_TRUE='#'
110012   GLIBCXX_BUILD_PCH_FALSE=
110013 fi
110014
110015
110016
110017
110018 if test $enable_cheaders = c; then
110019   GLIBCXX_C_HEADERS_C_TRUE=
110020   GLIBCXX_C_HEADERS_C_FALSE='#'
110021 else
110022   GLIBCXX_C_HEADERS_C_TRUE='#'
110023   GLIBCXX_C_HEADERS_C_FALSE=
110024 fi
110025
110026
110027
110028
110029 if test $enable_cheaders = c_std; then
110030   GLIBCXX_C_HEADERS_C_STD_TRUE=
110031   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
110032 else
110033   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
110034   GLIBCXX_C_HEADERS_C_STD_FALSE=
110035 fi
110036
110037
110038
110039
110040 if test $c_compatibility = yes; then
110041   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
110042   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
110043 else
110044   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
110045   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
110046 fi
110047
110048
110049
110050
110051 if test $enable_libstdcxx_debug = yes; then
110052   GLIBCXX_BUILD_DEBUG_TRUE=
110053   GLIBCXX_BUILD_DEBUG_FALSE='#'
110054 else
110055   GLIBCXX_BUILD_DEBUG_TRUE='#'
110056   GLIBCXX_BUILD_DEBUG_FALSE=
110057 fi
110058
110059
110060
110061
110062 if test $enable_symvers != no; then
110063   ENABLE_SYMVERS_TRUE=
110064   ENABLE_SYMVERS_FALSE='#'
110065 else
110066   ENABLE_SYMVERS_TRUE='#'
110067   ENABLE_SYMVERS_FALSE=
110068 fi
110069
110070
110071
110072
110073 if test $enable_symvers = gnu; then
110074   ENABLE_SYMVERS_GNU_TRUE=
110075   ENABLE_SYMVERS_GNU_FALSE='#'
110076 else
110077   ENABLE_SYMVERS_GNU_TRUE='#'
110078   ENABLE_SYMVERS_GNU_FALSE=
110079 fi
110080
110081
110082
110083
110084 if test $enable_symvers = gnu-versioned-namespace; then
110085   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
110086   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
110087 else
110088   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
110089   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
110090 fi
110091
110092
110093
110094
110095 if test $enable_symvers = darwin; then
110096   ENABLE_SYMVERS_DARWIN_TRUE=
110097   ENABLE_SYMVERS_DARWIN_FALSE='#'
110098 else
110099   ENABLE_SYMVERS_DARWIN_TRUE='#'
110100   ENABLE_SYMVERS_DARWIN_FALSE=
110101 fi
110102
110103
110104
110105
110106 if test $enable_visibility = yes; then
110107   ENABLE_VISIBILITY_TRUE=
110108   ENABLE_VISIBILITY_FALSE='#'
110109 else
110110   ENABLE_VISIBILITY_TRUE='#'
110111   ENABLE_VISIBILITY_FALSE=
110112 fi
110113
110114
110115
110116
110117 if test $ac_ldbl_compat = yes; then
110118   GLIBCXX_LDBL_COMPAT_TRUE=
110119   GLIBCXX_LDBL_COMPAT_FALSE='#'
110120 else
110121   GLIBCXX_LDBL_COMPAT_TRUE='#'
110122   GLIBCXX_LDBL_COMPAT_FALSE=
110123 fi
110124
110125
110126
110127
110128 cat >confcache <<\_ACEOF
110129 # This file is a shell script that caches the results of configure
110130 # tests run on this system so they can be shared between configure
110131 # scripts and configure runs, see configure's option --config-cache.
110132 # It is not useful on other systems.  If it contains results you don't
110133 # want to keep, you may remove or edit it.
110134 #
110135 # config.status only pays attention to the cache file if you give it
110136 # the --recheck option to rerun configure.
110137 #
110138 # `ac_cv_env_foo' variables (set or unset) will be overridden when
110139 # loading this file, other *unset* `ac_cv_foo' will be assigned the
110140 # following values.
110141
110142 _ACEOF
110143
110144 # The following way of writing the cache mishandles newlines in values,
110145 # but we know of no workaround that is simple, portable, and efficient.
110146 # So, don't put newlines in cache variables' values.
110147 # Ultrix sh set writes to stderr and can't be redirected directly,
110148 # and sets the high bit in the cache file unless we assign to the vars.
110149 {
110150   (set) 2>&1 |
110151     case `(ac_space=' '; set | grep ac_space) 2>&1` in
110152     *ac_space=\ *)
110153       # `set' does not quote correctly, so add quotes (double-quote
110154       # substitution turns \\\\ into \\, and sed turns \\ into \).
110155       sed -n \
110156         "s/'/'\\\\''/g;
110157           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
110158       ;;
110159     *)
110160       # `set' quotes correctly as required by POSIX, so do not add quotes.
110161       sed -n \
110162         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
110163       ;;
110164     esac;
110165 } |
110166   sed '
110167      t clear
110168      : clear
110169      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
110170      t end
110171      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
110172      : end' >>confcache
110173 if diff $cache_file confcache >/dev/null 2>&1; then :; else
110174   if test -w $cache_file; then
110175     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
110176     cat confcache >$cache_file
110177   else
110178     echo "not updating unwritable cache $cache_file"
110179   fi
110180 fi
110181 rm -f confcache
110182
110183 if test ${multilib} = yes; then
110184   multilib_arg="--enable-multilib"
110185 else
110186   multilib_arg=
110187 fi
110188
110189 # Export all the install information.
110190
110191   glibcxx_toolexecdir=no
110192   glibcxx_toolexeclibdir=no
110193   glibcxx_prefixdir=$prefix
110194
110195   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
110196 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
110197
110198 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
110199 if test "${with_gxx_include_dir+set}" = set; then
110200   withval="$with_gxx_include_dir"
110201   case "$withval" in
110202       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
110203 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
110204    { (exit 1); exit 1; }; } ;;
110205       no)  gxx_include_dir=no ;;
110206       *)   gxx_include_dir=$withval ;;
110207      esac
110208 else
110209   gxx_include_dir=no
110210 fi;
110211   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
110212 echo "${ECHO_T}$gxx_include_dir" >&6
110213
110214   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
110215 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
110216   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
110217 if test "${enable_version_specific_runtime_libs+set}" = set; then
110218   enableval="$enable_version_specific_runtime_libs"
110219   case "$enableval" in
110220       yes) version_specific_libs=yes ;;
110221       no)  version_specific_libs=no ;;
110222       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
110223 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
110224    { (exit 1); exit 1; }; };;
110225      esac
110226 else
110227   version_specific_libs=no
110228 fi;
110229   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
110230 echo "${ECHO_T}$version_specific_libs" >&6
110231
110232   # Default case for install directory for include files.
110233   if test $version_specific_libs = no && test $gxx_include_dir = no; then
110234     gxx_include_dir='include/c++/${gcc_version}'
110235     if test -n "$with_cross_host" &&
110236        test x"$with_cross_host" != x"no"; then
110237       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
110238     else
110239       gxx_include_dir='${prefix}/'"$gxx_include_dir"
110240     fi
110241   fi
110242
110243   # Version-specific runtime libs processing.
110244   if test $version_specific_libs = yes; then
110245     # Need the gcc compiler version to know where to install libraries
110246     # and header files if --enable-version-specific-runtime-libs option
110247     # is selected.  FIXME: these variables are misnamed, there are
110248     # no executables installed in _toolexecdir or _toolexeclibdir.
110249     if test x"$gxx_include_dir" = x"no"; then
110250       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
110251     fi
110252     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
110253     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
110254   fi
110255
110256   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
110257   # Install a library built with a cross compiler in tooldir, not libdir.
110258   if test x"$glibcxx_toolexecdir" = x"no"; then
110259     if test -n "$with_cross_host" &&
110260        test x"$with_cross_host" != x"no"; then
110261       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
110262       glibcxx_toolexeclibdir='${toolexecdir}/lib'
110263     else
110264       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
110265       glibcxx_toolexeclibdir='${libdir}'
110266     fi
110267     multi_os_directory=`$CXX -print-multi-os-directory`
110268     case $multi_os_directory in
110269       .) ;; # Avoid trailing /.
110270       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
110271     esac
110272   fi
110273
110274   echo "$as_me:$LINENO: checking for install location" >&5
110275 echo $ECHO_N "checking for install location... $ECHO_C" >&6
110276   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
110277 echo "${ECHO_T}$gxx_include_dir" >&6
110278
110279
110280
110281
110282
110283
110284
110285 # Export all the include and flag information to Makefiles.
110286
110287   # Used for every C++ compile we perform.
110288   GLIBCXX_INCLUDES="\
110289 -I$glibcxx_builddir/include/$host_alias \
110290 -I$glibcxx_builddir/include \
110291 -I$glibcxx_srcdir/libsupc++"
110292
110293   # For Canadian crosses, pick this up too.
110294   if test $CANADIAN = yes; then
110295     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
110296   fi
110297
110298   # Stuff in the actual top level.  Currently only used by libsupc++ to
110299   # get unwind* headers from the gcc dir.
110300   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
110301   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
110302
110303   # Now, export this to all the little Makefiles....
110304
110305
110306
110307
110308   # Optimization flags that are probably a good idea for thrill-seekers. Just
110309   # uncomment the lines below and make, everything else is ready to go...
110310   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
110311   OPTIMIZE_CXXFLAGS=
110312
110313
110314   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
110315
110316
110317
110318 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
110319    grep "enable shared" > /dev/null;
110320 then
110321   LIBSUPCXX_PICFLAGS=-prefer-pic
110322 else
110323   LIBSUPCXX_PICFLAGS=
110324 fi
110325
110326
110327                                                                       ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
110328
110329           ac_config_files="$ac_config_files scripts/testsuite_flags"
110330
110331
110332           ac_config_commands="$ac_config_commands default"
110333
110334
110335 cat >confcache <<\_ACEOF
110336 # This file is a shell script that caches the results of configure
110337 # tests run on this system so they can be shared between configure
110338 # scripts and configure runs, see configure's option --config-cache.
110339 # It is not useful on other systems.  If it contains results you don't
110340 # want to keep, you may remove or edit it.
110341 #
110342 # config.status only pays attention to the cache file if you give it
110343 # the --recheck option to rerun configure.
110344 #
110345 # `ac_cv_env_foo' variables (set or unset) will be overridden when
110346 # loading this file, other *unset* `ac_cv_foo' will be assigned the
110347 # following values.
110348
110349 _ACEOF
110350
110351 # The following way of writing the cache mishandles newlines in values,
110352 # but we know of no workaround that is simple, portable, and efficient.
110353 # So, don't put newlines in cache variables' values.
110354 # Ultrix sh set writes to stderr and can't be redirected directly,
110355 # and sets the high bit in the cache file unless we assign to the vars.
110356 {
110357   (set) 2>&1 |
110358     case `(ac_space=' '; set | grep ac_space) 2>&1` in
110359     *ac_space=\ *)
110360       # `set' does not quote correctly, so add quotes (double-quote
110361       # substitution turns \\\\ into \\, and sed turns \\ into \).
110362       sed -n \
110363         "s/'/'\\\\''/g;
110364           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
110365       ;;
110366     *)
110367       # `set' quotes correctly as required by POSIX, so do not add quotes.
110368       sed -n \
110369         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
110370       ;;
110371     esac;
110372 } |
110373   sed '
110374      t clear
110375      : clear
110376      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
110377      t end
110378      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
110379      : end' >>confcache
110380 if diff $cache_file confcache >/dev/null 2>&1; then :; else
110381   if test -w $cache_file; then
110382     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
110383     cat confcache >$cache_file
110384   else
110385     echo "not updating unwritable cache $cache_file"
110386   fi
110387 fi
110388 rm -f confcache
110389
110390 test "x$prefix" = xNONE && prefix=$ac_default_prefix
110391 # Let make expand exec_prefix.
110392 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
110393
110394 # VPATH may cause trouble with some makes, so we remove $(srcdir),
110395 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
110396 # trailing colons and then remove the whole line if VPATH becomes empty
110397 # (actually we leave an empty line to preserve line numbers).
110398 if test "x$srcdir" = x.; then
110399   ac_vpsub='/^[  ]*VPATH[        ]*=/{
110400 s/:*\$(srcdir):*/:/;
110401 s/:*\${srcdir}:*/:/;
110402 s/:*@srcdir@:*/:/;
110403 s/^\([^=]*=[     ]*\):*/\1/;
110404 s/:*$//;
110405 s/^[^=]*=[       ]*$//;
110406 }'
110407 fi
110408
110409 DEFS=-DHAVE_CONFIG_H
110410
110411 ac_libobjs=
110412 ac_ltlibobjs=
110413 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
110414   # 1. Remove the extension, and $U if already installed.
110415   ac_i=`echo "$ac_i" |
110416          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
110417   # 2. Add them.
110418   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
110419   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
110420 done
110421 LIBOBJS=$ac_libobjs
110422
110423 LTLIBOBJS=$ac_ltlibobjs
110424
110425
110426 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
110427   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
110428 Usually this means the macro was only invoked conditionally." >&5
110429 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
110430 Usually this means the macro was only invoked conditionally." >&2;}
110431    { (exit 1); exit 1; }; }
110432 fi
110433 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
110434   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
110435 Usually this means the macro was only invoked conditionally." >&5
110436 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
110437 Usually this means the macro was only invoked conditionally." >&2;}
110438    { (exit 1); exit 1; }; }
110439 fi
110440 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
110441   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
110442 Usually this means the macro was only invoked conditionally." >&5
110443 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
110444 Usually this means the macro was only invoked conditionally." >&2;}
110445    { (exit 1); exit 1; }; }
110446 fi
110447 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
110448   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
110449 Usually this means the macro was only invoked conditionally." >&5
110450 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
110451 Usually this means the macro was only invoked conditionally." >&2;}
110452    { (exit 1); exit 1; }; }
110453 fi
110454 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
110455   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
110456 Usually this means the macro was only invoked conditionally." >&5
110457 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
110458 Usually this means the macro was only invoked conditionally." >&2;}
110459    { (exit 1); exit 1; }; }
110460 fi
110461 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
110462   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
110463 Usually this means the macro was only invoked conditionally." >&5
110464 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
110465 Usually this means the macro was only invoked conditionally." >&2;}
110466    { (exit 1); exit 1; }; }
110467 fi
110468 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
110469   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
110470 Usually this means the macro was only invoked conditionally." >&5
110471 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
110472 Usually this means the macro was only invoked conditionally." >&2;}
110473    { (exit 1); exit 1; }; }
110474 fi
110475 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
110476   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
110477 Usually this means the macro was only invoked conditionally." >&5
110478 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
110479 Usually this means the macro was only invoked conditionally." >&2;}
110480    { (exit 1); exit 1; }; }
110481 fi
110482 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
110483   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
110484 Usually this means the macro was only invoked conditionally." >&5
110485 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
110486 Usually this means the macro was only invoked conditionally." >&2;}
110487    { (exit 1); exit 1; }; }
110488 fi
110489 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
110490   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
110491 Usually this means the macro was only invoked conditionally." >&5
110492 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
110493 Usually this means the macro was only invoked conditionally." >&2;}
110494    { (exit 1); exit 1; }; }
110495 fi
110496 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
110497   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
110498 Usually this means the macro was only invoked conditionally." >&5
110499 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
110500 Usually this means the macro was only invoked conditionally." >&2;}
110501    { (exit 1); exit 1; }; }
110502 fi
110503 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
110504   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
110505 Usually this means the macro was only invoked conditionally." >&5
110506 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
110507 Usually this means the macro was only invoked conditionally." >&2;}
110508    { (exit 1); exit 1; }; }
110509 fi
110510 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
110511   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
110512 Usually this means the macro was only invoked conditionally." >&5
110513 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
110514 Usually this means the macro was only invoked conditionally." >&2;}
110515    { (exit 1); exit 1; }; }
110516 fi
110517
110518 : ${CONFIG_STATUS=./config.status}
110519 ac_clean_files_save=$ac_clean_files
110520 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
110521 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
110522 echo "$as_me: creating $CONFIG_STATUS" >&6;}
110523 cat >$CONFIG_STATUS <<_ACEOF
110524 #! $SHELL
110525 # Generated by $as_me.
110526 # Run this file to recreate the current configuration.
110527 # Compiler output produced by configure, useful for debugging
110528 # configure, is in config.log if it exists.
110529
110530 debug=false
110531 ac_cs_recheck=false
110532 ac_cs_silent=false
110533 SHELL=\${CONFIG_SHELL-$SHELL}
110534 _ACEOF
110535
110536 cat >>$CONFIG_STATUS <<\_ACEOF
110537 ## --------------------- ##
110538 ## M4sh Initialization.  ##
110539 ## --------------------- ##
110540
110541 # Be Bourne compatible
110542 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
110543   emulate sh
110544   NULLCMD=:
110545   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
110546   # is contrary to our usage.  Disable this feature.
110547   alias -g '${1+"$@"}'='"$@"'
110548 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
110549   set -o posix
110550 fi
110551 DUALCASE=1; export DUALCASE # for MKS sh
110552
110553 # Support unset when possible.
110554 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
110555   as_unset=unset
110556 else
110557   as_unset=false
110558 fi
110559
110560
110561 # Work around bugs in pre-3.0 UWIN ksh.
110562 $as_unset ENV MAIL MAILPATH
110563 PS1='$ '
110564 PS2='> '
110565 PS4='+ '
110566
110567 # NLS nuisances.
110568 for as_var in \
110569   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
110570   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110571   LC_TELEPHONE LC_TIME
110572 do
110573   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
110574     eval $as_var=C; export $as_var
110575   else
110576     $as_unset $as_var
110577   fi
110578 done
110579
110580 # Required to use basename.
110581 if expr a : '\(a\)' >/dev/null 2>&1; then
110582   as_expr=expr
110583 else
110584   as_expr=false
110585 fi
110586
110587 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
110588   as_basename=basename
110589 else
110590   as_basename=false
110591 fi
110592
110593
110594 # Name of the executable.
110595 as_me=`$as_basename "$0" ||
110596 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
110597          X"$0" : 'X\(//\)$' \| \
110598          X"$0" : 'X\(/\)$' \| \
110599          .     : '\(.\)' 2>/dev/null ||
110600 echo X/"$0" |
110601     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
110602           /^X\/\(\/\/\)$/{ s//\1/; q; }
110603           /^X\/\(\/\).*/{ s//\1/; q; }
110604           s/.*/./; q'`
110605
110606
110607 # PATH needs CR, and LINENO needs CR and PATH.
110608 # Avoid depending upon Character Ranges.
110609 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
110610 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
110611 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
110612 as_cr_digits='0123456789'
110613 as_cr_alnum=$as_cr_Letters$as_cr_digits
110614
110615 # The user is always right.
110616 if test "${PATH_SEPARATOR+set}" != set; then
110617   echo "#! /bin/sh" >conf$$.sh
110618   echo  "exit 0"   >>conf$$.sh
110619   chmod +x conf$$.sh
110620   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
110621     PATH_SEPARATOR=';'
110622   else
110623     PATH_SEPARATOR=:
110624   fi
110625   rm -f conf$$.sh
110626 fi
110627
110628
110629   as_lineno_1=$LINENO
110630   as_lineno_2=$LINENO
110631   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
110632   test "x$as_lineno_1" != "x$as_lineno_2" &&
110633   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
110634   # Find who we are.  Look in the path if we contain no path at all
110635   # relative or not.
110636   case $0 in
110637     *[\\/]* ) as_myself=$0 ;;
110638     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110639 for as_dir in $PATH
110640 do
110641   IFS=$as_save_IFS
110642   test -z "$as_dir" && as_dir=.
110643   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110644 done
110645
110646        ;;
110647   esac
110648   # We did not find ourselves, most probably we were run as `sh COMMAND'
110649   # in which case we are not to be found in the path.
110650   if test "x$as_myself" = x; then
110651     as_myself=$0
110652   fi
110653   if test ! -f "$as_myself"; then
110654     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
110655 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
110656    { (exit 1); exit 1; }; }
110657   fi
110658   case $CONFIG_SHELL in
110659   '')
110660     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110661 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
110662 do
110663   IFS=$as_save_IFS
110664   test -z "$as_dir" && as_dir=.
110665   for as_base in sh bash ksh sh5; do
110666          case $as_dir in
110667          /*)
110668            if ("$as_dir/$as_base" -c '
110669   as_lineno_1=$LINENO
110670   as_lineno_2=$LINENO
110671   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
110672   test "x$as_lineno_1" != "x$as_lineno_2" &&
110673   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
110674              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
110675              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
110676              CONFIG_SHELL=$as_dir/$as_base
110677              export CONFIG_SHELL
110678              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
110679            fi;;
110680          esac
110681        done
110682 done
110683 ;;
110684   esac
110685
110686   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
110687   # uniformly replaced by the line number.  The first 'sed' inserts a
110688   # line-number line before each line; the second 'sed' does the real
110689   # work.  The second script uses 'N' to pair each line-number line
110690   # with the numbered line, and appends trailing '-' during
110691   # substitution so that $LINENO is not a special case at line end.
110692   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
110693   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
110694   sed '=' <$as_myself |
110695     sed '
110696       N
110697       s,$,-,
110698       : loop
110699       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
110700       t loop
110701       s,-$,,
110702       s,^['$as_cr_digits']*\n,,
110703     ' >$as_me.lineno &&
110704   chmod +x $as_me.lineno ||
110705     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
110706 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
110707    { (exit 1); exit 1; }; }
110708
110709   # Don't try to exec as it changes $[0], causing all sort of problems
110710   # (the dirname of $[0] is not the place where we might find the
110711   # original and so on.  Autoconf is especially sensible to this).
110712   . ./$as_me.lineno
110713   # Exit status is that of the last command.
110714   exit
110715 }
110716
110717
110718 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
110719   *c*,-n*) ECHO_N= ECHO_C='
110720 ' ECHO_T='      ' ;;
110721   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
110722   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
110723 esac
110724
110725 if expr a : '\(a\)' >/dev/null 2>&1; then
110726   as_expr=expr
110727 else
110728   as_expr=false
110729 fi
110730
110731 rm -f conf$$ conf$$.exe conf$$.file
110732 echo >conf$$.file
110733 if ln -s conf$$.file conf$$ 2>/dev/null; then
110734   # We could just check for DJGPP; but this test a) works b) is more generic
110735   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
110736   if test -f conf$$.exe; then
110737     # Don't use ln at all; we don't have any links
110738     as_ln_s='cp -p'
110739   else
110740     as_ln_s='ln -s'
110741   fi
110742 elif ln conf$$.file conf$$ 2>/dev/null; then
110743   as_ln_s=ln
110744 else
110745   as_ln_s='cp -p'
110746 fi
110747 rm -f conf$$ conf$$.exe conf$$.file
110748
110749 if mkdir -p . 2>/dev/null; then
110750   as_mkdir_p=:
110751 else
110752   test -d ./-p && rmdir ./-p
110753   as_mkdir_p=false
110754 fi
110755
110756 as_executable_p="test -f"
110757
110758 # Sed expression to map a string onto a valid CPP name.
110759 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
110760
110761 # Sed expression to map a string onto a valid variable name.
110762 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
110763
110764
110765 # IFS
110766 # We need space, tab and new line, in precisely that order.
110767 as_nl='
110768 '
110769 IFS="   $as_nl"
110770
110771 # CDPATH.
110772 $as_unset CDPATH
110773
110774 exec 6>&1
110775
110776 # Open the log real soon, to keep \$[0] and so on meaningful, and to
110777 # report actual input values of CONFIG_FILES etc. instead of their
110778 # values after options handling.  Logging --version etc. is OK.
110779 exec 5>>config.log
110780 {
110781   echo
110782   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
110783 ## Running $as_me. ##
110784 _ASBOX
110785 } >&5
110786 cat >&5 <<_CSEOF
110787
110788 This file was extended by package-unused $as_me version-unused, which was
110789 generated by GNU Autoconf 2.59.  Invocation command line was
110790
110791   CONFIG_FILES    = $CONFIG_FILES
110792   CONFIG_HEADERS  = $CONFIG_HEADERS
110793   CONFIG_LINKS    = $CONFIG_LINKS
110794   CONFIG_COMMANDS = $CONFIG_COMMANDS
110795   $ $0 $@
110796
110797 _CSEOF
110798 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
110799 echo >&5
110800 _ACEOF
110801
110802 # Files that config.status was made for.
110803 if test -n "$ac_config_files"; then
110804   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
110805 fi
110806
110807 if test -n "$ac_config_headers"; then
110808   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
110809 fi
110810
110811 if test -n "$ac_config_links"; then
110812   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
110813 fi
110814
110815 if test -n "$ac_config_commands"; then
110816   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
110817 fi
110818
110819 cat >>$CONFIG_STATUS <<\_ACEOF
110820
110821 ac_cs_usage="\
110822 \`$as_me' instantiates files from templates according to the
110823 current configuration.
110824
110825 Usage: $0 [OPTIONS] [FILE]...
110826
110827   -h, --help       print this help, then exit
110828   -V, --version    print version number, then exit
110829   -q, --quiet      do not print progress messages
110830   -d, --debug      don't remove temporary files
110831       --recheck    update $as_me by reconfiguring in the same conditions
110832   --file=FILE[:TEMPLATE]
110833                    instantiate the configuration file FILE
110834   --header=FILE[:TEMPLATE]
110835                    instantiate the configuration header FILE
110836
110837 Configuration files:
110838 $config_files
110839
110840 Configuration headers:
110841 $config_headers
110842
110843 Configuration commands:
110844 $config_commands
110845
110846 Report bugs to <bug-autoconf@gnu.org>."
110847 _ACEOF
110848
110849 cat >>$CONFIG_STATUS <<_ACEOF
110850 ac_cs_version="\\
110851 package-unused config.status version-unused
110852 configured by $0, generated by GNU Autoconf 2.59,
110853   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
110854
110855 Copyright (C) 2003 Free Software Foundation, Inc.
110856 This config.status script is free software; the Free Software Foundation
110857 gives unlimited permission to copy, distribute and modify it."
110858 srcdir=$srcdir
110859 INSTALL="$INSTALL"
110860 _ACEOF
110861
110862 cat >>$CONFIG_STATUS <<\_ACEOF
110863 # If no file are specified by the user, then we need to provide default
110864 # value.  By we need to know if files were specified by the user.
110865 ac_need_defaults=:
110866 while test $# != 0
110867 do
110868   case $1 in
110869   --*=*)
110870     ac_option=`expr "x$1" : 'x\([^=]*\)='`
110871     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
110872     ac_shift=:
110873     ;;
110874   -*)
110875     ac_option=$1
110876     ac_optarg=$2
110877     ac_shift=shift
110878     ;;
110879   *) # This is not an option, so the user has probably given explicit
110880      # arguments.
110881      ac_option=$1
110882      ac_need_defaults=false;;
110883   esac
110884
110885   case $ac_option in
110886   # Handling of the options.
110887 _ACEOF
110888 cat >>$CONFIG_STATUS <<\_ACEOF
110889   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
110890     ac_cs_recheck=: ;;
110891   --version | --vers* | -V )
110892     echo "$ac_cs_version"; exit 0 ;;
110893   --he | --h)
110894     # Conflict between --help and --header
110895     { { echo "$as_me:$LINENO: error: ambiguous option: $1
110896 Try \`$0 --help' for more information." >&5
110897 echo "$as_me: error: ambiguous option: $1
110898 Try \`$0 --help' for more information." >&2;}
110899    { (exit 1); exit 1; }; };;
110900   --help | --hel | -h )
110901     echo "$ac_cs_usage"; exit 0 ;;
110902   --debug | --d* | -d )
110903     debug=: ;;
110904   --file | --fil | --fi | --f )
110905     $ac_shift
110906     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
110907     ac_need_defaults=false;;
110908   --header | --heade | --head | --hea )
110909     $ac_shift
110910     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
110911     ac_need_defaults=false;;
110912   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
110913   | -silent | --silent | --silen | --sile | --sil | --si | --s)
110914     ac_cs_silent=: ;;
110915
110916   # This is an error.
110917   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
110918 Try \`$0 --help' for more information." >&5
110919 echo "$as_me: error: unrecognized option: $1
110920 Try \`$0 --help' for more information." >&2;}
110921    { (exit 1); exit 1; }; } ;;
110922
110923   *) ac_config_targets="$ac_config_targets $1" ;;
110924
110925   esac
110926   shift
110927 done
110928
110929 ac_configure_extra_args=
110930
110931 if $ac_cs_silent; then
110932   exec 6>/dev/null
110933   ac_configure_extra_args="$ac_configure_extra_args --silent"
110934 fi
110935
110936 _ACEOF
110937 cat >>$CONFIG_STATUS <<_ACEOF
110938 if \$ac_cs_recheck; then
110939   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
110940   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
110941 fi
110942
110943 _ACEOF
110944
110945 cat >>$CONFIG_STATUS <<_ACEOF
110946 #
110947 # INIT-COMMANDS section.
110948 #
110949
110950
110951 srcdir="$srcdir"
110952 host="$host"
110953 target="$target"
110954 with_multisubdir="$with_multisubdir"
110955 with_multisrctop="$with_multisrctop"
110956 with_target_subdir="$with_target_subdir"
110957 ac_configure_args="${multilib_arg} ${ac_configure_args}"
110958 multi_basedir="$multi_basedir"
110959 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
110960 CC="$CC"
110961
110962 # Variables needed in config.status (file generation) which aren't already
110963 # passed by autoconf.
110964 SUBDIRS="$SUBDIRS"
110965
110966
110967 _ACEOF
110968
110969
110970
110971 cat >>$CONFIG_STATUS <<\_ACEOF
110972 for ac_config_target in $ac_config_targets
110973 do
110974   case "$ac_config_target" in
110975   # Handling of arguments.
110976   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
110977   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
110978   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
110979   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
110980   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
110981   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
110982   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
110983   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
110984   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
110985   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
110986   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
110987   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
110988 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
110989    { (exit 1); exit 1; }; };;
110990   esac
110991 done
110992
110993 # If the user did not use the arguments to specify the items to instantiate,
110994 # then the envvar interface is used.  Set only those that are not.
110995 # We use the long form for the default assignment because of an extremely
110996 # bizarre bug on SunOS 4.1.3.
110997 if $ac_need_defaults; then
110998   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
110999   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
111000   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
111001 fi
111002
111003 # Have a temporary directory for convenience.  Make it in the build tree
111004 # simply because there is no reason to put it here, and in addition,
111005 # creating and moving files from /tmp can sometimes cause problems.
111006 # Create a temporary directory, and hook for its removal unless debugging.
111007 $debug ||
111008 {
111009   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
111010   trap '{ (exit 1); exit 1; }' 1 2 13 15
111011 }
111012
111013 # Create a (secure) tmp directory for tmp files.
111014
111015 {
111016   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
111017   test -n "$tmp" && test -d "$tmp"
111018 }  ||
111019 {
111020   tmp=./confstat$$-$RANDOM
111021   (umask 077 && mkdir $tmp)
111022 } ||
111023 {
111024    echo "$me: cannot create a temporary directory in ." >&2
111025    { (exit 1); exit 1; }
111026 }
111027
111028 _ACEOF
111029
111030 cat >>$CONFIG_STATUS <<_ACEOF
111031
111032 #
111033 # CONFIG_FILES section.
111034 #
111035
111036 # No need to generate the scripts if there are no CONFIG_FILES.
111037 # This happens for instance when ./config.status config.h
111038 if test -n "\$CONFIG_FILES"; then
111039   # Protect against being on the right side of a sed subst in config.status.
111040   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
111041    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
111042 s,@SHELL@,$SHELL,;t t
111043 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
111044 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
111045 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
111046 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
111047 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
111048 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
111049 s,@exec_prefix@,$exec_prefix,;t t
111050 s,@prefix@,$prefix,;t t
111051 s,@program_transform_name@,$program_transform_name,;t t
111052 s,@bindir@,$bindir,;t t
111053 s,@sbindir@,$sbindir,;t t
111054 s,@libexecdir@,$libexecdir,;t t
111055 s,@datadir@,$datadir,;t t
111056 s,@sysconfdir@,$sysconfdir,;t t
111057 s,@sharedstatedir@,$sharedstatedir,;t t
111058 s,@localstatedir@,$localstatedir,;t t
111059 s,@libdir@,$libdir,;t t
111060 s,@includedir@,$includedir,;t t
111061 s,@oldincludedir@,$oldincludedir,;t t
111062 s,@infodir@,$infodir,;t t
111063 s,@mandir@,$mandir,;t t
111064 s,@build_alias@,$build_alias,;t t
111065 s,@host_alias@,$host_alias,;t t
111066 s,@target_alias@,$target_alias,;t t
111067 s,@DEFS@,$DEFS,;t t
111068 s,@ECHO_C@,$ECHO_C,;t t
111069 s,@ECHO_N@,$ECHO_N,;t t
111070 s,@ECHO_T@,$ECHO_T,;t t
111071 s,@LIBS@,$LIBS,;t t
111072 s,@libtool_VERSION@,$libtool_VERSION,;t t
111073 s,@multi_basedir@,$multi_basedir,;t t
111074 s,@build@,$build,;t t
111075 s,@build_cpu@,$build_cpu,;t t
111076 s,@build_vendor@,$build_vendor,;t t
111077 s,@build_os@,$build_os,;t t
111078 s,@host@,$host,;t t
111079 s,@host_cpu@,$host_cpu,;t t
111080 s,@host_vendor@,$host_vendor,;t t
111081 s,@host_os@,$host_os,;t t
111082 s,@target@,$target,;t t
111083 s,@target_cpu@,$target_cpu,;t t
111084 s,@target_vendor@,$target_vendor,;t t
111085 s,@target_os@,$target_os,;t t
111086 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
111087 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
111088 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
111089 s,@CYGPATH_W@,$CYGPATH_W,;t t
111090 s,@PACKAGE@,$PACKAGE,;t t
111091 s,@VERSION@,$VERSION,;t t
111092 s,@ACLOCAL@,$ACLOCAL,;t t
111093 s,@AUTOCONF@,$AUTOCONF,;t t
111094 s,@AUTOMAKE@,$AUTOMAKE,;t t
111095 s,@AUTOHEADER@,$AUTOHEADER,;t t
111096 s,@MAKEINFO@,$MAKEINFO,;t t
111097 s,@install_sh@,$install_sh,;t t
111098 s,@STRIP@,$STRIP,;t t
111099 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
111100 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
111101 s,@mkdir_p@,$mkdir_p,;t t
111102 s,@AWK@,$AWK,;t t
111103 s,@SET_MAKE@,$SET_MAKE,;t t
111104 s,@am__leading_dot@,$am__leading_dot,;t t
111105 s,@AMTAR@,$AMTAR,;t t
111106 s,@am__tar@,$am__tar,;t t
111107 s,@am__untar@,$am__untar,;t t
111108 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
111109 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
111110 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
111111 s,@CC@,$CC,;t t
111112 s,@ac_ct_CC@,$ac_ct_CC,;t t
111113 s,@EXEEXT@,$EXEEXT,;t t
111114 s,@OBJEXT@,$OBJEXT,;t t
111115 s,@CXX@,$CXX,;t t
111116 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
111117 s,@CFLAGS@,$CFLAGS,;t t
111118 s,@CXXFLAGS@,$CXXFLAGS,;t t
111119 s,@LN_S@,$LN_S,;t t
111120 s,@AS@,$AS,;t t
111121 s,@ac_ct_AS@,$ac_ct_AS,;t t
111122 s,@AR@,$AR,;t t
111123 s,@ac_ct_AR@,$ac_ct_AR,;t t
111124 s,@RANLIB@,$RANLIB,;t t
111125 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
111126 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
111127 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
111128 s,@MAINT@,$MAINT,;t t
111129 s,@CPP@,$CPP,;t t
111130 s,@CPPFLAGS@,$CPPFLAGS,;t t
111131 s,@EGREP@,$EGREP,;t t
111132 s,@LIBTOOL@,$LIBTOOL,;t t
111133 s,@CXXCPP@,$CXXCPP,;t t
111134 s,@enable_shared@,$enable_shared,;t t
111135 s,@enable_static@,$enable_static,;t t
111136 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
111137 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
111138 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
111139 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
111140 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
111141 s,@CSTDIO_H@,$CSTDIO_H,;t t
111142 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
111143 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
111144 s,@check_msgfmt@,$check_msgfmt,;t t
111145 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
111146 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
111147 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
111148 s,@USE_NLS@,$USE_NLS,;t t
111149 s,@CLOCALE_H@,$CLOCALE_H,;t t
111150 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
111151 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
111152 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
111153 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
111154 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
111155 s,@CMONEY_CC@,$CMONEY_CC,;t t
111156 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
111157 s,@CTIME_H@,$CTIME_H,;t t
111158 s,@CTIME_CC@,$CTIME_CC,;t t
111159 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
111160 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
111161 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
111162 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
111163 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
111164 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
111165 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
111166 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
111167 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
111168 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
111169 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
111170 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
111171 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
111172 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
111173 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
111174 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
111175 s,@WERROR@,$WERROR,;t t
111176 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
111177 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
111178 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
111179 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
111180 s,@LIBICONV@,$LIBICONV,;t t
111181 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
111182 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
111183 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
111184 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
111185 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
111186 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
111187 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
111188 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
111189 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
111190 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
111191 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
111192 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
111193 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
111194 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
111195 s,@baseline_dir@,$baseline_dir,;t t
111196 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
111197 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
111198 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
111199 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
111200 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
111201 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
111202 s,@gxx_include_dir@,$gxx_include_dir,;t t
111203 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
111204 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
111205 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
111206 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
111207 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
111208 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
111209 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
111210 s,@LIBOBJS@,$LIBOBJS,;t t
111211 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
111212 CEOF
111213
111214 _ACEOF
111215
111216   cat >>$CONFIG_STATUS <<\_ACEOF
111217   # Split the substitutions into bite-sized pieces for seds with
111218   # small command number limits, like on Digital OSF/1 and HP-UX.
111219   ac_max_sed_lines=48
111220   ac_sed_frag=1 # Number of current file.
111221   ac_beg=1 # First line for current file.
111222   ac_end=$ac_max_sed_lines # Line after last line for current file.
111223   ac_more_lines=:
111224   ac_sed_cmds=
111225   while $ac_more_lines; do
111226     if test $ac_beg -gt 1; then
111227       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
111228     else
111229       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
111230     fi
111231     if test ! -s $tmp/subs.frag; then
111232       ac_more_lines=false
111233     else
111234       # The purpose of the label and of the branching condition is to
111235       # speed up the sed processing (if there are no `@' at all, there
111236       # is no need to browse any of the substitutions).
111237       # These are the two extra sed commands mentioned above.
111238       (echo ':t
111239   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
111240       if test -z "$ac_sed_cmds"; then
111241         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
111242       else
111243         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
111244       fi
111245       ac_sed_frag=`expr $ac_sed_frag + 1`
111246       ac_beg=$ac_end
111247       ac_end=`expr $ac_end + $ac_max_sed_lines`
111248     fi
111249   done
111250   if test -z "$ac_sed_cmds"; then
111251     ac_sed_cmds=cat
111252   fi
111253 fi # test -n "$CONFIG_FILES"
111254
111255 _ACEOF
111256 cat >>$CONFIG_STATUS <<\_ACEOF
111257 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
111258   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
111259   case $ac_file in
111260   - | *:- | *:-:* ) # input from stdin
111261         cat >$tmp/stdin
111262         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111263         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111264   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111265         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111266   * )   ac_file_in=$ac_file.in ;;
111267   esac
111268
111269   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
111270   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
111271 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111272          X"$ac_file" : 'X\(//\)[^/]' \| \
111273          X"$ac_file" : 'X\(//\)$' \| \
111274          X"$ac_file" : 'X\(/\)' \| \
111275          .     : '\(.\)' 2>/dev/null ||
111276 echo X"$ac_file" |
111277     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111278           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111279           /^X\(\/\/\)$/{ s//\1/; q; }
111280           /^X\(\/\).*/{ s//\1/; q; }
111281           s/.*/./; q'`
111282   { if $as_mkdir_p; then
111283     mkdir -p "$ac_dir"
111284   else
111285     as_dir="$ac_dir"
111286     as_dirs=
111287     while test ! -d "$as_dir"; do
111288       as_dirs="$as_dir $as_dirs"
111289       as_dir=`(dirname "$as_dir") 2>/dev/null ||
111290 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111291          X"$as_dir" : 'X\(//\)[^/]' \| \
111292          X"$as_dir" : 'X\(//\)$' \| \
111293          X"$as_dir" : 'X\(/\)' \| \
111294          .     : '\(.\)' 2>/dev/null ||
111295 echo X"$as_dir" |
111296     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111297           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111298           /^X\(\/\/\)$/{ s//\1/; q; }
111299           /^X\(\/\).*/{ s//\1/; q; }
111300           s/.*/./; q'`
111301     done
111302     test ! -n "$as_dirs" || mkdir $as_dirs
111303   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111304 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111305    { (exit 1); exit 1; }; }; }
111306
111307   ac_builddir=.
111308
111309 if test "$ac_dir" != .; then
111310   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
111311   # A "../" for each directory in $ac_dir_suffix.
111312   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
111313 else
111314   ac_dir_suffix= ac_top_builddir=
111315 fi
111316
111317 case $srcdir in
111318   .)  # No --srcdir option.  We are building in place.
111319     ac_srcdir=.
111320     if test -z "$ac_top_builddir"; then
111321        ac_top_srcdir=.
111322     else
111323        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
111324     fi ;;
111325   [\\/]* | ?:[\\/]* )  # Absolute path.
111326     ac_srcdir=$srcdir$ac_dir_suffix;
111327     ac_top_srcdir=$srcdir ;;
111328   *) # Relative path.
111329     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
111330     ac_top_srcdir=$ac_top_builddir$srcdir ;;
111331 esac
111332
111333 # Do not use `cd foo && pwd` to compute absolute paths, because
111334 # the directories may not exist.
111335 case `pwd` in
111336 .) ac_abs_builddir="$ac_dir";;
111337 *)
111338   case "$ac_dir" in
111339   .) ac_abs_builddir=`pwd`;;
111340   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
111341   *) ac_abs_builddir=`pwd`/"$ac_dir";;
111342   esac;;
111343 esac
111344 case $ac_abs_builddir in
111345 .) ac_abs_top_builddir=${ac_top_builddir}.;;
111346 *)
111347   case ${ac_top_builddir}. in
111348   .) ac_abs_top_builddir=$ac_abs_builddir;;
111349   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
111350   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
111351   esac;;
111352 esac
111353 case $ac_abs_builddir in
111354 .) ac_abs_srcdir=$ac_srcdir;;
111355 *)
111356   case $ac_srcdir in
111357   .) ac_abs_srcdir=$ac_abs_builddir;;
111358   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
111359   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
111360   esac;;
111361 esac
111362 case $ac_abs_builddir in
111363 .) ac_abs_top_srcdir=$ac_top_srcdir;;
111364 *)
111365   case $ac_top_srcdir in
111366   .) ac_abs_top_srcdir=$ac_abs_builddir;;
111367   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
111368   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
111369   esac;;
111370 esac
111371
111372
111373   case $INSTALL in
111374   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
111375   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
111376   esac
111377
111378   if test x"$ac_file" != x-; then
111379     { echo "$as_me:$LINENO: creating $ac_file" >&5
111380 echo "$as_me: creating $ac_file" >&6;}
111381     rm -f "$ac_file"
111382   fi
111383   # Let's still pretend it is `configure' which instantiates (i.e., don't
111384   # use $as_me), people would be surprised to read:
111385   #    /* config.h.  Generated by config.status.  */
111386   if test x"$ac_file" = x-; then
111387     configure_input=
111388   else
111389     configure_input="$ac_file.  "
111390   fi
111391   configure_input=$configure_input"Generated from `echo $ac_file_in |
111392                                      sed 's,.*/,,'` by configure."
111393
111394   # First look for the input files in the build tree, otherwise in the
111395   # src tree.
111396   ac_file_inputs=`IFS=:
111397     for f in $ac_file_in; do
111398       case $f in
111399       -) echo $tmp/stdin ;;
111400       [\\/$]*)
111401          # Absolute (can't be DOS-style, as IFS=:)
111402          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111403 echo "$as_me: error: cannot find input file: $f" >&2;}
111404    { (exit 1); exit 1; }; }
111405          echo "$f";;
111406       *) # Relative
111407          if test -f "$f"; then
111408            # Build tree
111409            echo "$f"
111410          elif test -f "$srcdir/$f"; then
111411            # Source tree
111412            echo "$srcdir/$f"
111413          else
111414            # /dev/null tree
111415            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111416 echo "$as_me: error: cannot find input file: $f" >&2;}
111417    { (exit 1); exit 1; }; }
111418          fi;;
111419       esac
111420     done` || { (exit 1); exit 1; }
111421 _ACEOF
111422 cat >>$CONFIG_STATUS <<_ACEOF
111423   sed "$ac_vpsub
111424 $extrasub
111425 _ACEOF
111426 cat >>$CONFIG_STATUS <<\_ACEOF
111427 :t
111428 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
111429 s,@configure_input@,$configure_input,;t t
111430 s,@srcdir@,$ac_srcdir,;t t
111431 s,@abs_srcdir@,$ac_abs_srcdir,;t t
111432 s,@top_srcdir@,$ac_top_srcdir,;t t
111433 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
111434 s,@builddir@,$ac_builddir,;t t
111435 s,@abs_builddir@,$ac_abs_builddir,;t t
111436 s,@top_builddir@,$ac_top_builddir,;t t
111437 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
111438 s,@INSTALL@,$ac_INSTALL,;t t
111439 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
111440   rm -f $tmp/stdin
111441   if test x"$ac_file" != x-; then
111442     mv $tmp/out $ac_file
111443   else
111444     cat $tmp/out
111445     rm -f $tmp/out
111446   fi
111447
111448   # Run the commands associated with the file.
111449   case $ac_file in
111450     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
111451   esac
111452 done
111453 _ACEOF
111454 cat >>$CONFIG_STATUS <<\_ACEOF
111455
111456 #
111457 # CONFIG_HEADER section.
111458 #
111459
111460 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
111461 # NAME is the cpp macro being defined and VALUE is the value it is being given.
111462 #
111463 # ac_d sets the value in "#define NAME VALUE" lines.
111464 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
111465 ac_dB='[         ].*$,\1#\2'
111466 ac_dC=' '
111467 ac_dD=',;t'
111468 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
111469 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
111470 ac_uB='$,\1#\2define\3'
111471 ac_uC=' '
111472 ac_uD=',;t'
111473
111474 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
111475   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
111476   case $ac_file in
111477   - | *:- | *:-:* ) # input from stdin
111478         cat >$tmp/stdin
111479         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111480         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111481   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111482         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111483   * )   ac_file_in=$ac_file.in ;;
111484   esac
111485
111486   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
111487 echo "$as_me: creating $ac_file" >&6;}
111488
111489   # First look for the input files in the build tree, otherwise in the
111490   # src tree.
111491   ac_file_inputs=`IFS=:
111492     for f in $ac_file_in; do
111493       case $f in
111494       -) echo $tmp/stdin ;;
111495       [\\/$]*)
111496          # Absolute (can't be DOS-style, as IFS=:)
111497          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111498 echo "$as_me: error: cannot find input file: $f" >&2;}
111499    { (exit 1); exit 1; }; }
111500          # Do quote $f, to prevent DOS paths from being IFS'd.
111501          echo "$f";;
111502       *) # Relative
111503          if test -f "$f"; then
111504            # Build tree
111505            echo "$f"
111506          elif test -f "$srcdir/$f"; then
111507            # Source tree
111508            echo "$srcdir/$f"
111509          else
111510            # /dev/null tree
111511            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111512 echo "$as_me: error: cannot find input file: $f" >&2;}
111513    { (exit 1); exit 1; }; }
111514          fi;;
111515       esac
111516     done` || { (exit 1); exit 1; }
111517   # Remove the trailing spaces.
111518   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
111519
111520 _ACEOF
111521
111522 # Transform confdefs.h into two sed scripts, `conftest.defines' and
111523 # `conftest.undefs', that substitutes the proper values into
111524 # config.h.in to produce config.h.  The first handles `#define'
111525 # templates, and the second `#undef' templates.
111526 # And first: Protect against being on the right side of a sed subst in
111527 # config.status.  Protect against being in an unquoted here document
111528 # in config.status.
111529 rm -f conftest.defines conftest.undefs
111530 # Using a here document instead of a string reduces the quoting nightmare.
111531 # Putting comments in sed scripts is not portable.
111532 #
111533 # `end' is used to avoid that the second main sed command (meant for
111534 # 0-ary CPP macros) applies to n-ary macro definitions.
111535 # See the Autoconf documentation for `clear'.
111536 cat >confdef2sed.sed <<\_ACEOF
111537 s/[\\&,]/\\&/g
111538 s,[\\$`],\\&,g
111539 t clear
111540 : clear
111541 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
111542 t end
111543 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
111544 : end
111545 _ACEOF
111546 # If some macros were called several times there might be several times
111547 # the same #defines, which is useless.  Nevertheless, we may not want to
111548 # sort them, since we want the *last* AC-DEFINE to be honored.
111549 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
111550 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
111551 rm -f confdef2sed.sed
111552
111553 # This sed command replaces #undef with comments.  This is necessary, for
111554 # example, in the case of _POSIX_SOURCE, which is predefined and required
111555 # on some systems where configure will not decide to define it.
111556 cat >>conftest.undefs <<\_ACEOF
111557 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
111558 _ACEOF
111559
111560 # Break up conftest.defines because some shells have a limit on the size
111561 # of here documents, and old seds have small limits too (100 cmds).
111562 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
111563 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
111564 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
111565 echo '  :' >>$CONFIG_STATUS
111566 rm -f conftest.tail
111567 while grep . conftest.defines >/dev/null
111568 do
111569   # Write a limited-size here document to $tmp/defines.sed.
111570   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
111571   # Speed up: don't consider the non `#define' lines.
111572   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
111573   # Work around the forget-to-reset-the-flag bug.
111574   echo 't clr' >>$CONFIG_STATUS
111575   echo ': clr' >>$CONFIG_STATUS
111576   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
111577   echo 'CEOF
111578   sed -f $tmp/defines.sed $tmp/in >$tmp/out
111579   rm -f $tmp/in
111580   mv $tmp/out $tmp/in
111581 ' >>$CONFIG_STATUS
111582   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
111583   rm -f conftest.defines
111584   mv conftest.tail conftest.defines
111585 done
111586 rm -f conftest.defines
111587 echo '  fi # grep' >>$CONFIG_STATUS
111588 echo >>$CONFIG_STATUS
111589
111590 # Break up conftest.undefs because some shells have a limit on the size
111591 # of here documents, and old seds have small limits too (100 cmds).
111592 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
111593 rm -f conftest.tail
111594 while grep . conftest.undefs >/dev/null
111595 do
111596   # Write a limited-size here document to $tmp/undefs.sed.
111597   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
111598   # Speed up: don't consider the non `#undef'
111599   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
111600   # Work around the forget-to-reset-the-flag bug.
111601   echo 't clr' >>$CONFIG_STATUS
111602   echo ': clr' >>$CONFIG_STATUS
111603   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
111604   echo 'CEOF
111605   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
111606   rm -f $tmp/in
111607   mv $tmp/out $tmp/in
111608 ' >>$CONFIG_STATUS
111609   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
111610   rm -f conftest.undefs
111611   mv conftest.tail conftest.undefs
111612 done
111613 rm -f conftest.undefs
111614
111615 cat >>$CONFIG_STATUS <<\_ACEOF
111616   # Let's still pretend it is `configure' which instantiates (i.e., don't
111617   # use $as_me), people would be surprised to read:
111618   #    /* config.h.  Generated by config.status.  */
111619   if test x"$ac_file" = x-; then
111620     echo "/* Generated by configure.  */" >$tmp/config.h
111621   else
111622     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
111623   fi
111624   cat $tmp/in >>$tmp/config.h
111625   rm -f $tmp/in
111626   if test x"$ac_file" != x-; then
111627     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
111628       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
111629 echo "$as_me: $ac_file is unchanged" >&6;}
111630     else
111631       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
111632 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111633          X"$ac_file" : 'X\(//\)[^/]' \| \
111634          X"$ac_file" : 'X\(//\)$' \| \
111635          X"$ac_file" : 'X\(/\)' \| \
111636          .     : '\(.\)' 2>/dev/null ||
111637 echo X"$ac_file" |
111638     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111639           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111640           /^X\(\/\/\)$/{ s//\1/; q; }
111641           /^X\(\/\).*/{ s//\1/; q; }
111642           s/.*/./; q'`
111643       { if $as_mkdir_p; then
111644     mkdir -p "$ac_dir"
111645   else
111646     as_dir="$ac_dir"
111647     as_dirs=
111648     while test ! -d "$as_dir"; do
111649       as_dirs="$as_dir $as_dirs"
111650       as_dir=`(dirname "$as_dir") 2>/dev/null ||
111651 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111652          X"$as_dir" : 'X\(//\)[^/]' \| \
111653          X"$as_dir" : 'X\(//\)$' \| \
111654          X"$as_dir" : 'X\(/\)' \| \
111655          .     : '\(.\)' 2>/dev/null ||
111656 echo X"$as_dir" |
111657     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111658           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111659           /^X\(\/\/\)$/{ s//\1/; q; }
111660           /^X\(\/\).*/{ s//\1/; q; }
111661           s/.*/./; q'`
111662     done
111663     test ! -n "$as_dirs" || mkdir $as_dirs
111664   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111665 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111666    { (exit 1); exit 1; }; }; }
111667
111668       rm -f $ac_file
111669       mv $tmp/config.h $ac_file
111670     fi
111671   else
111672     cat $tmp/config.h
111673     rm -f $tmp/config.h
111674   fi
111675 # Compute $ac_file's index in $config_headers.
111676 _am_stamp_count=1
111677 for _am_header in $config_headers :; do
111678   case $_am_header in
111679     $ac_file | $ac_file:* )
111680       break ;;
111681     * )
111682       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
111683   esac
111684 done
111685 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
111686 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111687          X$ac_file : 'X\(//\)[^/]' \| \
111688          X$ac_file : 'X\(//\)$' \| \
111689          X$ac_file : 'X\(/\)' \| \
111690          .     : '\(.\)' 2>/dev/null ||
111691 echo X$ac_file |
111692     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111693           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111694           /^X\(\/\/\)$/{ s//\1/; q; }
111695           /^X\(\/\).*/{ s//\1/; q; }
111696           s/.*/./; q'`/stamp-h$_am_stamp_count
111697 done
111698 _ACEOF
111699 cat >>$CONFIG_STATUS <<\_ACEOF
111700
111701 #
111702 # CONFIG_COMMANDS section.
111703 #
111704 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
111705   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
111706   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
111707   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
111708 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111709          X"$ac_dest" : 'X\(//\)[^/]' \| \
111710          X"$ac_dest" : 'X\(//\)$' \| \
111711          X"$ac_dest" : 'X\(/\)' \| \
111712          .     : '\(.\)' 2>/dev/null ||
111713 echo X"$ac_dest" |
111714     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111715           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111716           /^X\(\/\/\)$/{ s//\1/; q; }
111717           /^X\(\/\).*/{ s//\1/; q; }
111718           s/.*/./; q'`
111719   { if $as_mkdir_p; then
111720     mkdir -p "$ac_dir"
111721   else
111722     as_dir="$ac_dir"
111723     as_dirs=
111724     while test ! -d "$as_dir"; do
111725       as_dirs="$as_dir $as_dirs"
111726       as_dir=`(dirname "$as_dir") 2>/dev/null ||
111727 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111728          X"$as_dir" : 'X\(//\)[^/]' \| \
111729          X"$as_dir" : 'X\(//\)$' \| \
111730          X"$as_dir" : 'X\(/\)' \| \
111731          .     : '\(.\)' 2>/dev/null ||
111732 echo X"$as_dir" |
111733     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111734           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111735           /^X\(\/\/\)$/{ s//\1/; q; }
111736           /^X\(\/\).*/{ s//\1/; q; }
111737           s/.*/./; q'`
111738     done
111739     test ! -n "$as_dirs" || mkdir $as_dirs
111740   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111741 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111742    { (exit 1); exit 1; }; }; }
111743
111744   ac_builddir=.
111745
111746 if test "$ac_dir" != .; then
111747   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
111748   # A "../" for each directory in $ac_dir_suffix.
111749   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
111750 else
111751   ac_dir_suffix= ac_top_builddir=
111752 fi
111753
111754 case $srcdir in
111755   .)  # No --srcdir option.  We are building in place.
111756     ac_srcdir=.
111757     if test -z "$ac_top_builddir"; then
111758        ac_top_srcdir=.
111759     else
111760        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
111761     fi ;;
111762   [\\/]* | ?:[\\/]* )  # Absolute path.
111763     ac_srcdir=$srcdir$ac_dir_suffix;
111764     ac_top_srcdir=$srcdir ;;
111765   *) # Relative path.
111766     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
111767     ac_top_srcdir=$ac_top_builddir$srcdir ;;
111768 esac
111769
111770 # Do not use `cd foo && pwd` to compute absolute paths, because
111771 # the directories may not exist.
111772 case `pwd` in
111773 .) ac_abs_builddir="$ac_dir";;
111774 *)
111775   case "$ac_dir" in
111776   .) ac_abs_builddir=`pwd`;;
111777   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
111778   *) ac_abs_builddir=`pwd`/"$ac_dir";;
111779   esac;;
111780 esac
111781 case $ac_abs_builddir in
111782 .) ac_abs_top_builddir=${ac_top_builddir}.;;
111783 *)
111784   case ${ac_top_builddir}. in
111785   .) ac_abs_top_builddir=$ac_abs_builddir;;
111786   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
111787   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
111788   esac;;
111789 esac
111790 case $ac_abs_builddir in
111791 .) ac_abs_srcdir=$ac_srcdir;;
111792 *)
111793   case $ac_srcdir in
111794   .) ac_abs_srcdir=$ac_abs_builddir;;
111795   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
111796   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
111797   esac;;
111798 esac
111799 case $ac_abs_builddir in
111800 .) ac_abs_top_srcdir=$ac_top_srcdir;;
111801 *)
111802   case $ac_top_srcdir in
111803   .) ac_abs_top_srcdir=$ac_abs_builddir;;
111804   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
111805   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
111806   esac;;
111807 esac
111808
111809
111810   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
111811 echo "$as_me: executing $ac_dest commands" >&6;}
111812   case $ac_dest in
111813     default-1 )
111814 # Only add multilib support code if we just rebuilt the top-level
111815 # Makefile.
111816 case " $CONFIG_FILES " in
111817  *" Makefile "*)
111818    ac_file=Makefile . ${multi_basedir}/config-ml.in
111819    ;;
111820 esac ;;
111821     default ) if test -n "$CONFIG_FILES"; then
111822    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
111823    # that multilib installs will end up installed in the correct place.
111824    # The testsuite needs it for multilib-aware ABI baseline files.
111825    # To work around this not being passed down from config-ml.in ->
111826    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
111827    # append it here.  Only modify Makefiles that have just been created.
111828    #
111829    # Also, get rid of this simulated-VPATH thing that automake does.
111830    cat > vpsed << \_EOF
111831 s!`test -f '$<' || echo '$(srcdir)/'`!!
111832 _EOF
111833    for i in $SUBDIRS; do
111834     case $CONFIG_FILES in
111835      *${i}/Makefile*)
111836        #echo "Adding MULTISUBDIR to $i/Makefile"
111837        sed -f vpsed $i/Makefile > tmp
111838        grep '^MULTISUBDIR =' Makefile >> tmp
111839        mv tmp $i/Makefile
111840        ;;
111841     esac
111842    done
111843    rm vpsed
111844  fi
111845  (cd include && ${MAKE-make})
111846  ;;
111847   esac
111848 done
111849 _ACEOF
111850
111851 cat >>$CONFIG_STATUS <<\_ACEOF
111852
111853 { (exit 0); exit 0; }
111854 _ACEOF
111855 chmod +x $CONFIG_STATUS
111856 ac_clean_files=$ac_clean_files_save
111857
111858
111859 # configure is writing to config.log, and then calls config.status.
111860 # config.status does its own redirection, appending to config.log.
111861 # Unfortunately, on DOS this fails, as config.log is still kept open
111862 # by configure, so config.status won't be able to write to it; its
111863 # output is simply discarded.  So we exec the FD to /dev/null,
111864 # effectively closing config.log, so it can be properly (re)opened and
111865 # appended to by config.status.  When coming back to configure, we
111866 # need to make the FD available again.
111867 if test "$no_create" != yes; then
111868   ac_cs_success=:
111869   ac_config_status_args=
111870   test "$silent" = yes &&
111871     ac_config_status_args="$ac_config_status_args --quiet"
111872   exec 5>/dev/null
111873   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
111874   exec 5>>config.log
111875   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
111876   # would make configure fail if this is the last instruction.
111877   $ac_cs_success || { (exit 1); exit 1; }
111878 fi
111879